From 740caba0bd53bda276846028e9c620c23ffdb7ea Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 10 七月 2023 16:28:53 +0800 Subject: [PATCH] 主题库实施bug以及样式 --- Source/UBCS-WEB/src/mixins/codeApply.js | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/mixins/codeApply.js b/Source/UBCS-WEB/src/mixins/codeApply.js index 4b84617..4ed57d6 100644 --- a/Source/UBCS-WEB/src/mixins/codeApply.js +++ b/Source/UBCS-WEB/src/mixins/codeApply.js @@ -41,15 +41,10 @@ codeApplyForm: {}, } }, - created() { - if (this.type === 'batchImportApply') { - this.getCodeRule() - } - }, methods: { // 鑾峰彇鐮佸�肩敵璇锋暟鎹� getCodeRule() { - getCodeRule({ codeClassifyOid: this.codeClassifyOid }).then((res) => { + getCodeRule({ codeClassifyOid: this.localCodeClassifyOid }).then((res) => { if (res.data && res.data.code === 200) { const typeList = [ "codefixedsec", @@ -73,6 +68,7 @@ }, getCodeApplyFormData(codeApplyForm) { this.codeApplyForm = codeApplyForm; + this.batchApplyCodeTableData[this.codeRuleOid]["codeApply"] = codeApplyForm }, getType(item) { console.log(item.secType, 'item.secType'); -- Gitblit v1.9.3