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