Commit c5a1dc8c authored by 13841799530's avatar 13841799530

bug修复解润东

20220516
parent 855117e2
...@@ -393,6 +393,13 @@ export default { ...@@ -393,6 +393,13 @@ export default {
this.hdLev=this.$route.query.hdLev this.hdLev=this.$route.query.hdLev
this.getList(); this.getList();
//隐患巡查跳转回显 //隐患巡查跳转回显
if(this.proId){
var obj={
id:this.proId,
projectName:this.projectName
}
this.onConProjectName(obj)
}
if(this.hdType){ if(this.hdType){
this.onConRange(this.hdRange) this.onConRange(this.hdRange)
} }
......
...@@ -107,6 +107,7 @@ export default { ...@@ -107,6 +107,7 @@ export default {
name: "implement", name: "implement",
query:{ query:{
id:val.title, id:val.title,
content:val.content
} }
}); });
} }
......
...@@ -100,7 +100,8 @@ export default { ...@@ -100,7 +100,8 @@ export default {
data() { data() {
return { return {
id: "", //巡查周期id id: "", //巡查周期id
text: "执行巡查", content:'',
text: this.$route.query.content?this.$route.query.content:'执行巡查',
messageList: [], messageList: [],
active: 0, active: 0,
hdType:'', hdType:'',
...@@ -131,6 +132,9 @@ export default { ...@@ -131,6 +132,9 @@ export default {
if (this.$route.query.cycle) { if (this.$route.query.cycle) {
this.cycle = this.$route.query.cycle; this.cycle = this.$route.query.cycle;
} }
if (this.$route.query.content) {
this.content = this.$route.query.content;
}
this.loadingTabs() this.loadingTabs()
}, },
methods: { methods: {
...@@ -210,6 +214,11 @@ export default { ...@@ -210,6 +214,11 @@ export default {
}); });
}, },
finish() { finish() {
this.$dialog
.confirm({
title: "提示",
message: "确定提交吗?"
}).then(() => {
this.$toast.loading({ this.$toast.loading({
message: "提交中...", message: "提交中...",
forbidClick: true, forbidClick: true,
...@@ -233,6 +242,10 @@ export default { ...@@ -233,6 +242,10 @@ export default {
this.$toast.clear(); this.$toast.clear();
this.$toast.fail("提交失败,请稍后再试"); this.$toast.fail("提交失败,请稍后再试");
}); });
})
.catch(() => {
});
} }
} }
}; };
......
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
endTime:'', endTime:'',
date: '', date: '',
id:'',//巡查周期id id:'',//巡查周期id
text: "巡查记录", text: this.$route.query.content?this.$route.query.content:"巡查记录",
value:'',//搜索值 value:'',//搜索值
show:false,//是否显示日历 show:false,//是否显示日历
searchValue: "", searchValue: "",
......
...@@ -110,7 +110,8 @@ export default { ...@@ -110,7 +110,8 @@ export default {
this.$router.push({ this.$router.push({
name: "record-patrol", name: "record-patrol",
query:{ query:{
id:val.title id:val.title,
content:val.content
} }
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment