Browse Source

预案修改

wangqin
zhoule 7 months ago
parent
commit
5677298001
  1. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/ScopeTable.vue
  2. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/index.vue

6
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/ScopeTable.vue

@ -155,7 +155,7 @@
<el-option label="智能发布" :value="2"></el-option> <el-option label="智能发布" :value="2"></el-option>
</el-select> </el-select>
</el-col> --> </el-col> -->
<el-col v-if="tableInfo.deviceType == 5 && tableInfo.hf_operationType == 1" :span="4"> <el-col v-if="tableInfo.deviceType == 5" :span="4">
<el-input v-model="tableInfo.hf_content" placeholder="请输入发布内容"></el-input> <el-input v-model="tableInfo.hf_content" placeholder="请输入发布内容"></el-input>
</el-col> </el-col>
</el-row> </el-row>
@ -213,10 +213,6 @@ export default {
}, },
{ {
value: 3, value: 3,
label: '事发下游最近'
},
{
value: 4,
label: '最近公里数' label: '最近公里数'
}, },
], ],

4
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/index.vue

@ -273,7 +273,7 @@ export default {
let dcArr = []; let dcArr = [];
this.tableData.forEach(item => { this.tableData.forEach(item => {
let dcData = { let dcData = {
id: item.id || '', id: null,
deviceType: item.deviceType, deviceType: item.deviceType,
searchRule: item.searchRule, searchRule: item.searchRule,
number: item.number number: item.number
@ -346,13 +346,13 @@ export default {
if (result.code != 200) return Message.error(result?.msg); if (result.code != 200) return Message.error(result?.msg);
Message.success("提交成功"); Message.success("提交成功");
this.modelVisible = false; this.modelVisible = false;
this.$emit("reInitData", true);
}) })
.catch(() => { .catch(() => {
Message.error("提交失败"); Message.error("提交失败");
}) })
.finally(() => { .finally(() => {
this.submitting = false; this.submitting = false;
this.$emit("reInitData", true);
}); });
} }
} }

Loading…
Cancel
Save