|
@@ -145,10 +145,14 @@ |
|
|
<view v-if="ready" class="padding"> |
|
|
<view v-if="ready" class="padding"> |
|
|
<l-customlist-sidepage-datefilter v-model="dateRange" @change="searchChange" title="按申请时间查询: " |
|
|
<l-customlist-sidepage-datefilter v-model="dateRange" @change="searchChange" title="按申请时间查询: " |
|
|
ref="datefilter" class="margin-bottom" /> |
|
|
ref="datefilter" class="margin-bottom" /> |
|
|
|
|
|
<l-organize-picker @input="queryData.Name=$event" :value="queryData.Name" type="user" title="姓名" |
|
|
|
|
|
@change="searchChange" /> |
|
|
|
|
|
<l-organize-picker @input="queryData.Department=$event" :value="queryData.Department" |
|
|
|
|
|
type="department" title="处室部门" @change="searchChange"/> |
|
|
<!-- 重置查询条件按钮 --> |
|
|
<!-- 重置查询条件按钮 --> |
|
|
<!-- <view class="padding-tb"> |
|
|
|
|
|
|
|
|
<view class="padding-tb"> |
|
|
<l-button @click="reset" line="orange" class="block" block>重置查询条件</l-button> |
|
|
<l-button @click="reset" line="orange" class="block" block>重置查询条件</l-button> |
|
|
</view> --> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
|
|
|
|
|
@@ -198,7 +202,7 @@ |
|
|
}, |
|
|
}, |
|
|
CheckTime: { |
|
|
CheckTime: { |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
dateformat:'0', |
|
|
|
|
|
|
|
|
dateformat: '0', |
|
|
}, |
|
|
}, |
|
|
Question: { |
|
|
Question: { |
|
|
type: 'text' |
|
|
type: 'text' |
|
@@ -235,7 +239,9 @@ |
|
|
// 查询条件 |
|
|
// 查询条件 |
|
|
searchData: {}, |
|
|
searchData: {}, |
|
|
defaultQueryData: {}, |
|
|
defaultQueryData: {}, |
|
|
queryData: {}, |
|
|
|
|
|
|
|
|
queryData: { |
|
|
|
|
|
Name: '' |
|
|
|
|
|
}, |
|
|
// 时间查询参数 |
|
|
// 时间查询参数 |
|
|
dateRange: null, |
|
|
dateRange: null, |
|
|
|
|
|
|
|
@@ -315,7 +321,7 @@ |
|
|
rows: 10, |
|
|
rows: 10, |
|
|
page: this.page, |
|
|
page: this.page, |
|
|
sord: 'ASC', |
|
|
sord: 'ASC', |
|
|
sidx:"CheckTime desc", |
|
|
|
|
|
|
|
|
sidx: "CheckTime desc", |
|
|
}, |
|
|
}, |
|
|
queryJson: JSON.stringify(this.searchData) |
|
|
queryJson: JSON.stringify(this.searchData) |
|
|
}, |
|
|
}, |
|
@@ -458,7 +464,16 @@ |
|
|
default: |
|
|
default: |
|
|
return value === null || value === undefined ? '' : value |
|
|
return value === null || value === undefined ? '' : value |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
// 获取表单值 |
|
|
|
|
|
getValue(path) { |
|
|
|
|
|
return get(this.current, path) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 设置表单值 |
|
|
|
|
|
setValue(path, val) { |
|
|
|
|
|
set(this.current, path, val) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|