参数替换

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

@ -131,7 +131,10 @@
let arr = item.standar.split(',') let arr = item.standar.split(',')
for (let itm of arr) { for (let itm of arr) {
if (itm) { if (itm) {
item.fileList.push({ url: itm, name: '' }) item.fileList.push({
url: itm,
name: ''
})
} }
} }
@ -172,7 +175,10 @@
console.log(arr, 4343242342423) console.log(arr, 4343242342423)
for (let item of arr) { for (let item of arr) {
if (item) { if (item) {
this.fileList.push({ url: item, name: '' }) this.fileList.push({
url: item,
name: ''
})
} }
} }
@ -313,11 +319,12 @@
this.$emit("change", this.formData); this.$emit("change", this.formData);
}, },
getData2() { getData2() {
console.log(this.$props.json)
this.$request this.$request
.globalRequest( .globalRequest(
"/hiddenDanger/highDanger/getImportDangerInfo", "/hiddenDanger/highDanger/getImportDangerInfo", {
{ // sid: this.$props.json.nid,
sid: this.$props.json.nid, dangerId: this.$props.json.id,
}, },
"GET" "GET"
) )
@ -351,8 +358,7 @@
getData() { getData() {
this.$request this.$request
.globalRequest( .globalRequest(
"/hiddenDanger/highDanger/getImportDangerDisplayDetail", "/hiddenDanger/highDanger/getImportDangerDisplayDetail", {
{
dangerId: this.$props.json.id, dangerId: this.$props.json.id,
businessId: this.$props.businessId, businessId: this.$props.businessId,
}, },

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

Loading…
Cancel
Save