From 0bd98f8ac6eb537e618ad00c8bc3f3b40e46ab69 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 28 七月 2023 14:46:35 +0800 Subject: [PATCH] 重构项目名称 --- Source/UBCS-WEB/src/components/code-dialog-page/referConfigFormDialog.vue | 64 ++++++++++++++++---------------- 1 files changed, 32 insertions(+), 32 deletions(-) diff --git a/Source/UBCS-WEB/src/components/code-dialog-page/referConfigFormDialog.vue b/Source/UBCS-WEB/src/components/code-dialog-page/referConfigFormDialog.vue index 4f43e79..c093722 100644 --- a/Source/UBCS-WEB/src/components/code-dialog-page/referConfigFormDialog.vue +++ b/Source/UBCS-WEB/src/components/code-dialog-page/referConfigFormDialog.vue @@ -16,7 +16,7 @@ <el-input :disabled="disabled" :size="size" v-model="form.referTypeName" - ref="referTypeName" + ref="referTypeName" placeholder="璇烽�夋嫨 鍙傜収鐨勪笟鍔$被鍨�" prefix-icon="el-icon-search" readonly="true" @@ -28,7 +28,7 @@ <el-input :disabled="disabled" :size="size" v-model="form.sortField" - ref="sortField" + ref="sortField" placeholder="璇烽�夋嫨 鎺掑簭瀛楁" prefix-icon="el-icon-search" readonly="true" @@ -48,7 +48,7 @@ <el-input :disabled="disabled" :size="size" v-model="form.sortField" - ref="sortField" + ref="sortField" placeholder="璇烽�夋嫨 鎺掑簭瀛楁" prefix-icon="el-icon-search" readonly="true" @@ -109,7 +109,7 @@ <span slot="label"><i class="el-icon-search"></i>娣诲姞鏌ヨ鏉′欢</span> <avue-crud ref="crudAddCondition" - :option="addSearchCondtionOption" + :option="addSearchCondtionOption" @cell-click="clickAddSearchCondtionEdit" :data="form.codeSrchCondConfigVOS"> <!-- 琛ㄦ牸鍐呮搷浣滄寜閽� --> @@ -231,13 +231,13 @@ </el-dialog> </template> - + <script> import func from "@/util/func"; export default { name: "referConfigFormDialog", props: { - + }, data() { let element = ''; @@ -312,7 +312,7 @@ dialogClickModal: false, highlightCurrentRow: true, indexFixed: false, - menuFixed: false, + menuFixed: false, column: [ { label: "鍒楀瓧娈�(*)", @@ -486,7 +486,7 @@ emptyBtn: false, labelWidth: '145', //榛樿鏍囩瀹藉害 group: [ - { + { // 鍩虹琛ㄥ崟淇℃伅灞曠ず鍖哄煙 //display: this.form.type=='default'||this.form.type=='grid', icon: 'el-icon-info', @@ -586,7 +586,7 @@ change: ({ value, column }) => { // console.log("start",value); // 澶嶅師琛ㄥ崟,鍥犱负鍏朵粬鍒嗙粍涓鏋滃瓨鍦ㄥ�硷紝鍦ㄥ垏鎹㈡椂,浼氫繚鐣欒緭鍏ョ殑瀛楁鍊兼墍浠ラ渶瑕佽繕鍘� - let addFrom = {}; + let addFrom = {}; this.activeName = 'first'; // 榛樿鍒囨崲鑷崇涓�涓猼ab //鏍规嵁绫诲瀷瀵筬orm琛ㄥ崟灞炴�ц繘琛岃皟鏁� if(value == 'stand'){ @@ -661,10 +661,10 @@ }], span: 6, } - + ] }, - { + { icon: 'el-icon-info', label: '椤甸潰鍙傛暟閰嶇疆', collapse: false, @@ -716,7 +716,7 @@ } ] }, - { + { icon: 'el-icon-info', label: '鍚庡彴鍙傛暟閰嶇疆', collapse: false, @@ -725,7 +725,7 @@ { label: '鑷畾涔夌殑鍚庡彴璺緞', prop: 'url', - tip: '閫氬父涓虹┖;濡傛灉鏄垪琛紝鍚庡彴蹇呴』杩斿洖DataGrid锛屽鏋滄槸鏍戯紝鍚庡彴蹇呴』杩斿洖List<Tree>', + tip: '閫氬父涓虹┖;濡傛灉鏄垪琛紝鍚庡彴蹇呴』杩斿洖DataGrid锛屽鏋滄槸鏍戯紝鍚庡彴蹇呴』杩斿洖List<Theme>', tipPlacement: 'right', span: 7, },{ @@ -763,7 +763,7 @@ emptyBtn: false, labelWidth: '145', //榛樿鏍囩瀹藉害 group: [ - { + { display: this.form.type=='default'||this.form.type=='grid', icon: 'el-icon-info', label: this.form.type=='default' ? '榛樿鍙傜収鐨勯厤缃�(涓嬫柟鍒楄〃)':'鍒楄〃鍙傜収鐨勯厤缃紙涓嬫柟鍒楄〃)', @@ -800,7 +800,7 @@ } ] }, - { + { display: this.form.type=='stand', icon: 'el-icon-info', label: 'stand(骞冲彴閰嶇疆)鍙傜収', @@ -823,7 +823,7 @@ }, ] }, - { + { display: this.form.type=='tree', icon: 'el-icon-info', label: '鏍戝舰鍙傜収淇℃伅', @@ -902,11 +902,11 @@ this.element = document.getElementById('refer-config-form'); this.element.addEventListener("click", (e) => { //<table cellspacing="0" cellpadding="0" border="0" class="el-table__body" style="width: 911px;"> - if (!this.$refs.crudAttr.$el.contains(e.target) && + if (!this.$refs.crudAttr.$el.contains(e.target) && this.preClickAttrRow != '') { this.preClickAttrRow.$cellEdit = false; } - if (!this.$refs.crudAddCondition.$el.contains(e.target) && + if (!this.$refs.crudAddCondition.$el.contains(e.target) && this.preClickAddSearchConditionRow != '') { this.preClickAddSearchConditionRow.$cellEdit = false; } @@ -925,7 +925,7 @@ } }, methods: { - + // 閫夋嫨瀹屽弬鐓ч厤缃箣鍚庣偣鍑讳繚瀛樻寜閽Е鍙� async selectedListReferConfig(){ // 鏍囪鎵�鏈夎〃鍗曟槸鍚﹂�氳繃鏍¢獙鐨勫彉閲� @@ -940,7 +940,7 @@ } isValid = false; //console.log(valid); - } + } done(); }) }) @@ -965,7 +965,7 @@ // 灞炴�ц〃鏍艰缂栬緫澶卞幓鐒︾偣鏃朵繚瀛樻柟娉� // updateAttrBlur(value){ //console.log(this.codeShowFieldConfigVOS[0]); - + // }, // 鍗曞嚮琛ㄦ牸瀹炵幇琛ㄦ牸琛岀紪杈� @@ -1048,11 +1048,11 @@ // this.form.displayTable = ''; return; } - Object.assign(this.$data,this.$options.data()); + Object.assign(this.$data,this.$options.data()); // 绉婚櫎缁戝畾鍦ㄨ椤甸潰瀵硅瘽妗嗕笂鐨勫叏灞�鐩戝惉浜嬩欢 if(this.element != ''){ let te = window.removeEventListener('click', this.element) - } + } }, // 鎻愪氦琛ㄥ崟涔嬪墠杩囨护鎺夌┖鎴栦笉闇�瑕佺殑琛ㄥ崟鏁版嵁 filterForm(){ @@ -1070,8 +1070,8 @@ 'useFormKey', 'paramForFormKey', 'isMuti', - 'mapFields', - 'codeSrchCondConfigVOS', + 'mapFields', + 'codeSrchCondConfigVOS', 'isOpenGlobal', //鏄惁寮�鍚叏灞� 'isPersistence', ]; @@ -1084,9 +1084,9 @@ addArray = ['limit', 'sortField', 'sortType']; } else if(oldForm.type == 'tree'){ addArray = [ - "parentFieldName", + "parentFieldName", 'parentUsedField', - 'parentValue', + 'parentValue', 'loadType', 'onlyLeaf', 'sortField', @@ -1111,7 +1111,7 @@ // console.log(!this.checkStringIsEmpty(oldForm[item]) || !this.checkArrayIsUndefined(oldForm[item])); if((item == 'isMuti' || item == 'onlyLeaf') || (!this.checkStringIsEmpty(oldForm[item]) || !this.checkArrayIsUndefined(oldForm[item]))){ //console.log(item,oldForm[item]); - newForm = Object.assign(newForm,{[item]:oldForm[item]}); + newForm = Object.assign(newForm,{[item]:oldForm[item]}); } }); //console.log(newForm); @@ -1183,7 +1183,7 @@ this.$refs[this.selectedBtmTypeAttrParams.ref].selectedBtmTypeAttrOnLoad(params); this.selectedBtmTypeAttrParams.selectedBtmTypeAttrSettingBox = true; }, - + /** 涓恒�愬弬鐓у紩鐢ㄧ殑涓氬姟绫诲瀷銆戦�夊彇鍊间箣鍚庣殑鍐呭鍥炴樉鏃惰皟鐢� */ echoReferBtmType(content){ // 瀹炵幇鍥炴樉 @@ -1202,7 +1202,7 @@ { filterField: item.id, filterType: '_equal', - filterTypeText: item.name, + filterTypeText: item.name, filterValue: '', $cellEdit: false } @@ -1253,5 +1253,5 @@ -webkit-transition:opacity .0s !important; transition:opacity .0s !important; } - -</style> \ No newline at end of file + +</style> -- Gitblit v1.9.3