|
@@ -41,6 +41,15 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="破锁编号" prop="lockNo" label-width="130px">
|
|
|
+ <el-input
|
|
|
+ v-model="queryParams.lockNo"
|
|
|
+ placeholder="请输入破锁编号"
|
|
|
+ clearable
|
|
|
+ size="small"
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
|
|
|
<el-form-item label="状态" prop="status">
|
|
|
<el-select v-model="queryParams.status" placeholder="请选择状态" clearable size="small" @change="handleQuery">
|
|
@@ -216,7 +225,8 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="单元" prop="unit">
|
|
|
- <el-select v-model="form.unit" placeholder="请选择单元" clearable size="small" filterable style="width: 100%" @change="getLocks(form.unit)">
|
|
|
+ <el-select v-model="form.unit" placeholder="请选择单元" clearable size="small" filterable style="width: 100%"
|
|
|
+ @change="getLocks(form.unit)">
|
|
|
<el-option
|
|
|
v-for="dict in unitOptions"
|
|
|
:key="dict.name"
|
|
@@ -573,6 +583,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ this.queryParams.lockNo = this.$route.query.lockNo;
|
|
|
listUserPost({
|
|
|
actualposts: "20,36,10,11,28,30,32,38,15,12,34",
|
|
|
deptId: 103
|
|
@@ -603,7 +614,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
getLocks(unit) {
|
|
|
- listAllLock({lockPost: unit,status:0}).then(res => {
|
|
|
+ listAllLock({lockPost: unit, status: 0}).then(res => {
|
|
|
this.lockList = res.data;
|
|
|
})
|
|
|
},
|