提交修改

pg_adapter
dshclm 8 months ago
parent f87f993b52
commit 008cfbb6d6

@ -28,7 +28,8 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="检查开始日期:" prop="checkStartTime">
<el-date-picker
type="date"
@ -38,6 +39,21 @@
disabled>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="检查类型:" prop="chackType">
<el-select v-model="postForm.checkType">
<el-option
v-for="item in checkTypeList"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="所属地市:" prop="framework">
@ -143,8 +159,10 @@
adduser: [[${user.userName}]],
depart: [[${user.dept.deptName}]],
checkStartTime: '',
checkType: '',
},
reportCheckList: [],
checkTypeList:[],
rules: {
adduser: [
{ required: true, message: '报告人员不能为空!' }
@ -181,6 +199,14 @@
this.reportCheckList = res.rows
})
})
$.ajax({
url:'/system/dict/data/list',
type:'POST',
data:{dictType: 'sys_check_type'},
success:((res)=>{
this.checkTypeList = res.rows
})
})
var date = new Date();
this.postForm.checkStartTime = this.formatDateToCustomString(date);
},

@ -29,6 +29,8 @@
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="检查开始日期:" prop="checkStartTime">
<el-date-picker
type="date"
@ -38,6 +40,21 @@
disabled>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="检查类型:" prop="chackType">
<el-select v-model="postForm.checkType">
<el-option
v-for="item in checkTypeList"
:key="item.dictValue"
:label="item.dictLabel"
:value="item.dictValue"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="所属地市:" prop="framework">
@ -143,8 +160,10 @@
adduser: [[${tdCheckReportDTO.adduser}]],
depart: [[${tdCheckReportDTO.depart}]],
checkStartTime: '',
checkType: '',
},
reportCheckList: [],
checkTypeList:[],
rules: {
adduser: [
{ required: true, message: '报告人员不能为空!' }
@ -187,6 +206,14 @@
this.reportCheckList = res.rows
})
})
$.ajax({
url:'/system/dict/data/list',
type:'POST',
data:{dictType: 'sys_check_type'},
success:((res)=>{
this.checkTypeList = res.rows
})
})
var date = new Date();
this.postForm.checkStartTime = this.formatDateToCustomString(date);
this.postForm.createTime = this.formatISO8601ToDateTime([[${tdCheckReportDTO}]].createTime);

@ -28,7 +28,8 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="检查开始日期:" prop="checkStartTime">
<el-date-picker
type="date"
@ -38,18 +39,21 @@
disabled>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="检查类型:" prop="chackType">
<el-radio-group v-model="postForm.checkType">
<el-radio
<el-select disabled v-model="postForm.checkType">
<el-option
v-for="item in checkTypeList"
:key="item.dictValue"
:label="item.dictValue"
disabled
:label="item.dictLabel"
:value="item.dictValue"
>
{{item.dictLabel}}
</el-radio>
</el-radio-group>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-card>
<div class="filter-container" style="margin-top: 25px;height: 300px">
<!-- <el-button class="filter-item" type="primary" icon="el-icon-plus" size="small" plain @click="handleAdd">-->
@ -84,7 +88,7 @@
</template>
</el-table-column>
<el-table-column
label="自查状态"
label="状态"
align="center"
width="200px"
>

@ -56,16 +56,15 @@
</el-col>
<el-col :span="12">
<el-form-item label="检查类型:" prop="checkType">
<el-radio-group v-model="postForm.checkType">
<el-radio
<el-select style="width: 100%;" disabled v-model="postForm.checkType">
<el-option
v-for="item in checkTypeList"
:key="item.dictValue"
:label="item.dictValue"
disabled
:label="item.dictLabel"
:value="item.dictValue"
>
{{item.dictLabel}}
</el-radio>
</el-radio-group>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>

Loading…
Cancel
Save