排查处理

main
limingtao 11 months ago
parent a754c9b8b1
commit 9a691ac7fb
  1. 4
      pages/governance/index.vue
  2. 4
      pages/index/index.vue
  3. 4
      pages/investigation/index.vue
  4. 50
      pages/investigation/task.vue

@ -272,8 +272,8 @@ page {
box-shadow: 1px 1px 3px #ccc;
.trapezoidal {
position: absolute;
top: -4px;
right: 0;
top: 0px;
right: 0px;
color: #ffffff;
font-size: 14px;
font-weight: normal;

@ -331,8 +331,8 @@ page {
box-shadow: 1px 1px 3px #ccc;
.trapezoidal {
position: absolute;
top: -4px;
right: 0;
top: 0px;
right: 0px;
color: #ffffff;
font-size: 14px;
font-weight: normal;

@ -275,8 +275,8 @@
box-shadow: 1px 1px 3px #ccc;
.trapezoidal {
position: absolute;
top: -4px;
right: 0;
top: -0px;
right: 4px;
color: #ffffff;
font-size: 14px;
font-weight: normal;

@ -892,15 +892,15 @@
}
},
submit(temporary) {
console.log(this.formData);
console.log(this.investigationSelectList);
console.log({
...this.formData,
businessId: this.businessId,
extraConfigs: extraConfigs,
describe: this.hiddenDangerList,
temporary,
});
// console.log(this.formData);
// console.log(this.investigationSelectList);
// console.log({
// ...this.formData,
// businessId: this.businessId,
// extraConfigs: extraConfigs,
// describe: this.hiddenDangerList,
// temporary,
// });
let extraConfigs = [];
this.investigationSelectList.map((r) => {
r.extraConfigs.map((s) => {
@ -914,13 +914,33 @@
extraConfigs.push(s);
});
});
let describe = JSON.parse(JSON.stringify(this.hiddenDangerList))
try {
for (let item of describe) {
if (item.nid) {
delete item.nid
}
if (item.businessId) {
delete item.businessId
}
if (item.pcCount||item.pcCount==null) {
delete item.pcCount
}
if (item.dangerProblem) {
delete item.dangerProblem
}
}
} catch (e) {
//TODO handle the exception
}
this.$request
.globalRequest(
"/hiddenDanger/highDanger/saveManualInvestigation", {
...this.formData,
businessId: this.businessId,
extraConfigs: extraConfigs,
describe: this.hiddenDangerList,
describe: describe,
temporary,
},
"POST"
@ -929,11 +949,11 @@
console.log(res);
if (res.code === 200) {
this.$.toast("保存成功");
setTimeout(() => {
uni.navigateBack({
delta: 1, // 1
});
}, 1000);
// setTimeout(() => {
// uni.navigateBack({
// delta: 1, // 1
// });
// }, 1000);
// this.data = res.result;
// this.rname = this.data[0].name;

Loading…
Cancel
Save