| | |
| | | if (this.localSecVOList.length > 0) {
|
| | | this.showCodeApply = true
|
| | | this.$nextTick(() => {
|
| | | if (this.batchApplyCodeTableData) {
|
| | | this.batchApplyCodeTableData[this.codeRuleOid]["localSecVOList"] = this.localSecVOList
|
| | | }
|
| | | this.$refs.CodeApply.templateRender(this.localSecVOList);
|
| | | });
|
| | | }
|
| | |
| | | },
|
| | | getCodeApplyFormData(codeApplyForm) {
|
| | | this.codeApplyForm = codeApplyForm;
|
| | | this.batchApplyCodeTableData[this.codeRuleOid]["codeApply"] = codeApplyForm
|
| | | if (this.batchApplyCodeTableData) {
|
| | | this.batchApplyCodeTableData[this.codeRuleOid]["codeApply"] = codeApplyForm
|
| | | }
|
| | | },
|
| | | getType(item) {
|
| | | console.log(item.secType, 'item.secType');
|
| | |
| | | // 参照组件数据变更
|
| | | referConfigDataUpdate(data) {
|
| | | const { field } = data;
|
| | | this.secVOList = this.secVOList.map((item) => {
|
| | | this.localSecVOList = this.localSecVOList.map((item) => {
|
| | | if (item.parentClassifySecOid === field) {
|
| | | this.$refs.CodeApply.form[item.oid] = undefined;
|
| | | this.$refs.CodeApply.form[item.name] = undefined;
|
| | | }
|
| | | return item;
|
| | | });
|
| | | this.$refs.CodeApply.templateRender(this.secVOList);
|
| | | this.$refs.CodeApply.templateRender(this.localSecVOList);
|
| | | },
|
| | | }
|
| | | } |