From 0efcf618f642c4c42315a26e49c0749abc9ebb32 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 08 八月 2023 10:50:54 +0800 Subject: [PATCH] 主题库分类注入 枚举注入等清空 --- Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue | 44 ++++++++++++++++++++++---------------------- 1 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue index 6d4c5a1..f7c83ad 100644 --- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue +++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue @@ -16,7 +16,7 @@ }} </el-button> <span v-if="tableHeadFindData.length > 0"> - <el-select v-model="keyWordFind" slot="prepend" placeholder="璇烽�夋嫨" size="small"> + <el-select slot="prepend" v-model="keyWordFind" placeholder="璇烽�夋嫨" size="small"> <el-option v-for="item in tableHeadFindData" :label="item.label" :value="item.prop"></el-option> </el-select> <el-input v-model="WupinFindValue" placeholder="璇疯緭鍏ュ叧閿瓧鎸夊洖杞︽煡璇�" @@ -66,8 +66,8 @@ <FormTemplateDialog :codeClassifyOid="this.codeClassifyOid" :codeRuleOid="this.codeRuleOid" :disabledProp="disabledProp" :rowOid="rowOid" :templateOid="templateOid" :title="'宸插彂甯冩暟鎹洿鏀�'" - type="edit" - :visible.sync="DataVisible" @submit="updataSumbit"></FormTemplateDialog> + :visible.sync="DataVisible" + type="edit" @submit="updataSumbit"></FormTemplateDialog> <!-- 鍙戝竷--> <set-personnel :parameter="this.parameter" :title="title" :visible.sync="visibleFlow" @onLoad="onLoad"></set-personnel> @@ -175,8 +175,8 @@ tableHeadBtnData: { type: Array, }, - Treedata:{ - type:Array + Treedata: { + type: Array } }, data() { @@ -184,7 +184,7 @@ // 鐘舵�佹悳绱� statusSelect: "all", // 鍏抽敭瀛楁煡璇� - keyWordFind:"", + keyWordFind: "", searchResults: [], //棣栭〉鍙充晶鎼滅储 WupinFindValue: "", @@ -193,7 +193,7 @@ //鍙戝竷 parameter: { ids: [], - btmtype:'', + btmtype: '', code: "", type: '', // this.visibleDeactivate ?'ENABLE':this.visibleEnable ? 'DISABLE' :this.visibleRecovery ? 'ROLLBACK' :'PUBLIC' @@ -272,9 +272,9 @@ created() { // const index = this.$route.query.id.indexOf('@name=') + '@name='.length; // this.result = this.$route.query.id.substring(index); - getUserInfo().then(res=>{ + getUserInfo().then(res => { console.log(res.data.data) - this.result=res.data.data.realName + this.result = res.data.data.realName }) }, mounted() { @@ -322,12 +322,12 @@ } } - if(_index==0){ - this.keyWordFind=record.field + if (_index == 0) { + this.keyWordFind = record.field } }) this.tableHeadFindDatas = newval; - this.WupinFindValue='' + this.WupinFindValue = '' }, }, total: { @@ -434,7 +434,7 @@ }, // 鍙戝竷 setHandler() { - console.log('Treedata',this.Treedata) + console.log('Treedata', this.Treedata) if (this.selectRow.length > 0) { let hasEditing = this.selectRow.some(item => item.lcstatus !== 'Editing'); let showMessage = true; @@ -451,7 +451,7 @@ this.parameter.processName = this.result + '-鐢宠[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']'; this.parameter.type = 'PUBLIC'; this.parameter.code = this.templateOid; - this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype; + this.parameter.btmtype = this.selectRow[0].btmname || this.selectRow[0].btmtype; this.title = '娴佺▼瀹℃壒' this.visibleFlow = true; } else { @@ -501,7 +501,7 @@ this.parameter.processName = this.result + '-鍋滅敤[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']'; this.parameter.type = 'DISABLE'; this.parameter.code = this.templateOid - this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype; + this.parameter.btmtype = this.selectRow[0].btmname || this.selectRow[0].btmtype; this.title = '鍋滅敤锛堝喕缁擄級缂栫爜鏁版嵁' this.visibleDeactivate = true; } else { @@ -528,7 +528,7 @@ } } }); - } else if(this.selectRow.length == 1 && !hasEditing && showMessage ) { + } else if (this.selectRow.length == 1 && !hasEditing && showMessage) { this.$message.warning('鎮ㄩ�夋嫨鐨勬暟鎹负銆愬彂甯冪姸鎬併�戞墠鍙互鍙戣捣娴佺▼') } }); @@ -552,7 +552,7 @@ this.parameter.processName = this.result + '-鍚敤[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']'; this.parameter.type = 'Released'; this.parameter.code = this.templateOid - this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype; + this.parameter.btmtype = this.selectRow[0].btmname || this.selectRow[0].btmtype; this.title = '鍚敤缂栫爜鏁版嵁' this.visibleDeactivate = true; } else { @@ -609,7 +609,7 @@ this.parameter.processName = this.result + '-鍥炴敹[' + this.selectRow[0].btmname + '-' + this.selectRow[0].name + ']'; this.parameter.type = 'TakeBack'; this.parameter.code = this.templateOid - this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype; + this.parameter.btmtype = this.selectRow[0].btmname || this.selectRow[0].btmtype; this.title = '鍥炴敹缂栫爜鏁版嵁' this.visibleDeactivate = true; } else { @@ -874,12 +874,12 @@ }) }, //鏁版嵁鏇存敼鍥炶皟 - updataSumbit(val){ + updataSumbit(val) { this.DataVisible = false; val.copyFromVersion = this.rowOid; - val.oid='' + val.oid = ''; console.log(val) - upSaveCode(val).then(res=>{ + upSaveCode(val).then(res => { console.log(res) this.$nextTick(() => { this.onLoad() @@ -902,7 +902,7 @@ codeClassifyOid: this.codeClassifyOid, page: this.page.currentPage, limit: this.page.pageSize, - [ 'conditionMap[' + this.keyWordFind + ']']: '*' + this.WupinFindValue + '*' + ['conditionMap[' + this.keyWordFind + ']']: '*' + this.WupinFindValue + '*' }).then(res => { this.tableData = res.data.data }) -- Gitblit v1.9.3