|
|
|
|
@ -63,7 +63,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item label="巡查片区" prop="area_id">
|
|
|
|
|
<el-select style="width:100%" v-model="form.area_id" placeholder="请选择巡查片区">
|
|
|
|
|
<el-select filterable style="width:100%" v-model="form.area_id" placeholder="请选择巡查片区">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in areaList"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
@ -102,7 +102,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item label="巡查责任人" prop="responsible_id">
|
|
|
|
|
<el-select style="width:100%" v-model="form.responsible_id" placeholder="请选择巡查责任人">
|
|
|
|
|
<el-select filterable style="width:100%" v-model="form.responsible_id" placeholder="请选择巡查责任人">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in usersList"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
@ -142,8 +142,8 @@
|
|
|
|
|
del
|
|
|
|
|
} from '../../../api/inspectionmanagement/index.js'
|
|
|
|
|
import {
|
|
|
|
|
listuser
|
|
|
|
|
} from '../../../api/system/user.js'
|
|
|
|
|
listCommonuser
|
|
|
|
|
} from '../../../api/common.js'
|
|
|
|
|
import {
|
|
|
|
|
listarea
|
|
|
|
|
} from '../../../api/basic/area.js'
|
|
|
|
|
@ -289,7 +289,10 @@
|
|
|
|
|
console.log(error)
|
|
|
|
|
reject(error)
|
|
|
|
|
});
|
|
|
|
|
listuser().then(res => {
|
|
|
|
|
listCommonuser({
|
|
|
|
|
page:1,
|
|
|
|
|
page_size:999
|
|
|
|
|
}).then(res => {
|
|
|
|
|
that.usersList = res.data;
|
|
|
|
|
}).catch(error => {
|
|
|
|
|
console.log(error)
|
|
|
|
|
|