参数替换

main
limingtao 11 months ago
parent 905bd8dfdd
commit cf163012ee
  1. 32
      pages/investigation/components/investigation-item2.vue
  2. 2
      pages/investigation/task.vue

@ -114,7 +114,7 @@
item.fileList = [];
}
switch (
item.type
item.type
) {
// case "1":
@ -131,7 +131,10 @@
let arr = item.standar.split(',')
for (let itm of arr) {
if (itm) {
item.fileList.push({ url: itm, name: '' })
item.fileList.push({
url: itm,
name: ''
})
}
}
@ -172,7 +175,10 @@
console.log(arr, 4343242342423)
for (let item of arr) {
if (item) {
this.fileList.push({ url: item, name: '' })
this.fileList.push({
url: item,
name: ''
})
}
}
@ -187,7 +193,7 @@
}
},
//
onShow() { },
onShow() {},
//
computed: {},
//
@ -201,7 +207,7 @@
len = !len ? 36 : len;
binary = !binary ? 16 : binary;
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"
.replace(/[xy]/g, function (c) {
.replace(/[xy]/g, function(c) {
var r = (Math.random() * binary) | 0,
v = c == "x" ? r : (r & 0x3) | 0x8;
return v.toString(binary);
@ -313,11 +319,12 @@
this.$emit("change", this.formData);
},
getData2() {
console.log(this.$props.json)
this.$request
.globalRequest(
"/hiddenDanger/highDanger/getImportDangerInfo",
{
sid: this.$props.json.nid,
"/hiddenDanger/highDanger/getImportDangerInfo", {
// sid: this.$props.json.nid,
dangerId: this.$props.json.id,
},
"GET"
)
@ -351,8 +358,7 @@
getData() {
this.$request
.globalRequest(
"/hiddenDanger/highDanger/getImportDangerDisplayDetail",
{
"/hiddenDanger/highDanger/getImportDangerDisplayDetail", {
dangerId: this.$props.json.id,
businessId: this.$props.businessId,
},
@ -416,9 +422,9 @@
});
},
},
onReady() { },
onReady() {},
//
onUnload() { },
onUnload() {},
//
onPullDownRefresh() {
//
@ -427,7 +433,7 @@
}, 1500);
},
//
onReachBottom() { },
onReachBottom() {},
};
</script>

@ -590,7 +590,7 @@
},
showInvestigationTag2(v) {
console.log(v, this.investigationSelectList)
// console.log(v, this.investigationSelectList)
if (this.checked.includes(v.id)) {
this.showInvestigation2 = true;
this.showInvestigation2Item = v

Loading…
Cancel
Save