|
|
@ -328,18 +328,6 @@ export default { |
|
|
|
}, '*') |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
init() { |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.formobj.useOrgSid = resp.data |
|
|
|
fetchBySid(this.formobj.useOrgSid).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.formobj.useOrgName = res.data.name |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 输入数字正则 |
|
|
|
oninput(val, limit = 0) { |
|
|
|
val = val.replace(/[^\d]/g, '') // 保留数字 |
|
|
@ -713,9 +701,6 @@ export default { |
|
|
|
} else { |
|
|
|
this.policyThreeByThreeChecked = false |
|
|
|
} |
|
|
|
this.$nextTick(() => { |
|
|
|
this.init() |
|
|
|
}) |
|
|
|
}).catch(e => { |
|
|
|
this.formobj = {} |
|
|
|
}) |
|
|
|