From 1f8e24520ed07be80f2190656fd35bf24a0cd14f Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期一, 04 十一月 2024 18:23:01 +0800 Subject: [PATCH] 业务类型添加修改窗口 --- Source/plt-web/plt-web-ui/src/views/systemModel/businessModel/index.vue | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/systemModel/businessModel/index.vue b/Source/plt-web/plt-web-ui/src/views/systemModel/businessModel/index.vue index ef5069c..a4838f3 100644 --- a/Source/plt-web/plt-web-ui/src/views/systemModel/businessModel/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/systemModel/businessModel/index.vue @@ -89,8 +89,9 @@ <el-form-item label="搴忓彿锛�"> <el-input v-model="form.sort" :disabled="!editStatus && !addStatus" placeholder="鏁板瓧锛屾弿杩拌妯″潡鍦ㄥ叾鐖舵ā鍧椾笅鐨勬樉绀洪『搴�"></el-input> </el-form-item> - <el-form-item label="绠�鍥撅細"> - <el-input v-model="form.source" :disabled="!editStatus && !addStatus"></el-input> + <el-form-item label="鍥炬爣锛�"> + <avue-input-icon v-model="form.source" :disabled="!editStatus && !addStatus" :icon-list="iconList" placeholder="璇烽�夋嫨鍥炬爣"> + </avue-input-icon> </el-form-item> <el-form-item label="鎻忚堪锛�"> <el-input v-model="form.remark" :disabled="!editStatus && !addStatus" :rows="3" placeholder="璇疯緭鍏ユ弿杩�" type="textarea"></el-input> @@ -139,7 +140,7 @@ append-to-body="true" class="avue-dialog" title="鎿嶄綔鍒嗙被" - width="60%" + width="500px" > <avue-crud ref="methodsCrud" @@ -148,11 +149,10 @@ :table-loading="methodsLoading" @row-click="rowMethodsClickHandler" @selection-change="selectMethodsChange"> - </avue-crud> <span slot="footer" class="dialog-footer"> - <el-button @click="methodsVisble = false">鍙� 娑�</el-button> <el-button type="primary" @click="methodsSaveClickHandler">淇� 瀛�</el-button> + <el-button @click="methodsVisble = false">鍙� 娑�</el-button> </span> </el-dialog> <!--瀵煎叆 --> @@ -176,11 +176,13 @@ } from "@/api/systemModel/mangeModel/api" import func from "@/util/func"; import basicOption from "@/util/basic-option"; +import iconList from "@/config/iconList"; export default { name: "index", data() { return { + iconList: iconList, tipList: [], upFileType: ['xls', 'xlsx'], fileUrl: 'api/hmSysModConfigController/importModule', @@ -193,6 +195,7 @@ addBtn: false, menu: false, height: 500, + header:false, column: [ { label: '鎿嶄綔鍒嗙被', @@ -408,10 +411,10 @@ // 澧炲姞鎿嶄綔绫诲瀷 addMethodsClickHandler() { this.methodsLoading = true; - getSysModelTreeMenuByPID({parentId: 'sysOptionNode'}).then(res => { + getSysModelTreeMenuByPID({parentId: 'operateNode'}).then(res => { if (res.data.code === 200 && res.data.data.length>0) { this.methodsVisble = true; - const data = res.data.data[0].children; + const data = res.data.data; this.methodsData = data; this.methodsLoading = false; }else { -- Gitblit v1.9.3