|
|
|
@ -92,18 +92,18 @@
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="创建人" prop="createdBy">
|
|
|
|
|
<el-form-item label="创建人" prop="createBy">
|
|
|
|
|
<el-input
|
|
|
|
|
class="my-select-input"
|
|
|
|
|
v-model="queryParams.createdBy"
|
|
|
|
|
v-model="queryParams.createBy"
|
|
|
|
|
placeholder="请输入创建人"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="创建时间" prop="createdTime">
|
|
|
|
|
<el-form-item label="创建时间" prop="createTime">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="queryParams.createdTimeArray"
|
|
|
|
|
v-model="queryParams.createTimeArray"
|
|
|
|
|
type="daterange"
|
|
|
|
|
align="right"
|
|
|
|
|
unlink-panels
|
|
|
|
@ -114,16 +114,16 @@
|
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="更新人" prop="updatedBy">
|
|
|
|
|
<el-form-item label="更新人" prop="updateBy">
|
|
|
|
|
<el-input
|
|
|
|
|
class="my-select-input"
|
|
|
|
|
v-model="queryParams.updatedBy"
|
|
|
|
|
v-model="queryParams.updateBy"
|
|
|
|
|
placeholder="请输入更新人"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="更新时间" prop="updatedTime">
|
|
|
|
|
<el-form-item label="更新时间" prop="updateTime">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="queryParams.updateTimeArray"
|
|
|
|
|
type="daterange"
|
|
|
|
@ -207,18 +207,18 @@
|
|
|
|
|
<el-table-column v-if="false" label="备用字段2" align="center" prop="attr2"/>
|
|
|
|
|
<el-table-column v-if="false" label="备用字段3" align="center" prop="attr3"/>
|
|
|
|
|
<el-table-column v-if="false" label="删除标识" align="center" prop="delFlag"/>
|
|
|
|
|
<el-table-column width="180" label="创建时间" align="center" prop="createdTime">
|
|
|
|
|
<el-table-column width="180" label="创建时间" align="center" prop="createTime">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.createdTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column width="120" label="创建人" align="center" prop="createdBy"/>
|
|
|
|
|
<el-table-column width="180" label="更新时间" align="center" prop="updatedTime">
|
|
|
|
|
<el-table-column width="120" label="创建人" align="center" prop="createBy"/>
|
|
|
|
|
<el-table-column width="180" label="更新时间" align="center" prop="updateTime">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.updatedTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
<span>{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column width="120" label="更新人" align="center" prop="updatedBy"/>
|
|
|
|
|
<el-table-column width="120" label="更新人" align="center" prop="updateBy"/>
|
|
|
|
|
<el-table-column width="180" label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
@ -457,11 +457,11 @@ export default {
|
|
|
|
|
attr2: null,
|
|
|
|
|
attr3: null,
|
|
|
|
|
delFlag: null,
|
|
|
|
|
createdTime: null,
|
|
|
|
|
createdBy: null,
|
|
|
|
|
updatedTime: null,
|
|
|
|
|
updatedBy: null,
|
|
|
|
|
createdTimeArray: [],
|
|
|
|
|
createTime: null,
|
|
|
|
|
createBy: null,
|
|
|
|
|
updateTime: null,
|
|
|
|
|
updateBy: null,
|
|
|
|
|
createTimeArray: [],
|
|
|
|
|
updateTimeArray: [],
|
|
|
|
|
},
|
|
|
|
|
// 表单参数
|
|
|
|
@ -538,10 +538,10 @@ export default {
|
|
|
|
|
attr2: null,
|
|
|
|
|
attr3: null,
|
|
|
|
|
delFlag: null,
|
|
|
|
|
createdTime: null,
|
|
|
|
|
createdBy: null,
|
|
|
|
|
updatedTime: null,
|
|
|
|
|
updatedBy: null,
|
|
|
|
|
createTime: null,
|
|
|
|
|
createBy: null,
|
|
|
|
|
updateTime: null,
|
|
|
|
|
updateBy: null,
|
|
|
|
|
formStandard: [],
|
|
|
|
|
};
|
|
|
|
|
this.formStandard = [{
|
|
|
|
@ -564,7 +564,7 @@ export default {
|
|
|
|
|
resetQuery() {
|
|
|
|
|
this.resetForm("queryForm");
|
|
|
|
|
// 重置日期范围
|
|
|
|
|
this.queryParams.createdTimeArray = [];
|
|
|
|
|
this.queryParams.createTimeArray = [];
|
|
|
|
|
this.queryParams.updateTimeArray = [];
|
|
|
|
|
this.handleQuery();
|
|
|
|
|
},
|
|
|
|
|