first commit
This commit is contained in:
@@ -177,7 +177,7 @@
|
||||
|
||||
go(value) {
|
||||
var url = window.location.href
|
||||
|
||||
console.log(url.split('#')[0])
|
||||
if (value[url.split('#')[0]]) {
|
||||
window.open(value[url.split('#')[0]])
|
||||
} else {
|
||||
|
||||
@@ -656,7 +656,10 @@
|
||||
|
||||
}
|
||||
if (!value.weight && value.weight != 0) {
|
||||
console.log(value.weight)
|
||||
if (!Z.test(value.condition)) {
|
||||
alert(value.condition)
|
||||
console.log(value.condition)
|
||||
issumm.is = false
|
||||
issumm.msg = '请检查是否有范围未填'
|
||||
}
|
||||
|
||||
@@ -556,6 +556,7 @@
|
||||
},
|
||||
|
||||
getdeepArr(obj) {
|
||||
console.log(obj)
|
||||
if (Array.isArray(obj)) {
|
||||
return false
|
||||
} else if (typeof obj == 'object') {
|
||||
@@ -598,6 +599,7 @@
|
||||
}
|
||||
},
|
||||
FieldUserArr() {
|
||||
console.log(this.FieldUserObj)
|
||||
if (this.FieldUserObj.length == 0) {
|
||||
return []
|
||||
} else {
|
||||
@@ -613,7 +615,8 @@
|
||||
obj.children = this.getdeepArr(JSON.parse(value.jsonValue))
|
||||
return obj
|
||||
})
|
||||
// console.log(arr)
|
||||
console.log(111111)
|
||||
console.log(arr)
|
||||
return arr
|
||||
}
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<el-upload
|
||||
:headers="header"
|
||||
class="upload-demo"
|
||||
action="Riskmanage/models/uploadAndParseFile"
|
||||
action="/models/uploadAndParseFile"
|
||||
:on-remove="handleRemove"
|
||||
:before-remove="beforeRemove"
|
||||
:before-upload="beforeUpload"
|
||||
|
||||
Reference in New Issue
Block a user