From 74fae92c3fd076359385d27c5ac4e769a38522ab Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期二, 10 十月 2023 15:41:15 +0800 Subject: [PATCH] feat: 销售机会/报价单销售总单/销售子单 列表添加序号 --- src/views/backgroundConfig/rolePermssion/index.vue | 38 +++++++++----------------------------- 1 files changed, 9 insertions(+), 29 deletions(-) diff --git a/src/views/backgroundConfig/rolePermssion/index.vue b/src/views/backgroundConfig/rolePermssion/index.vue index 7be9125..9f965a6 100644 --- a/src/views/backgroundConfig/rolePermssion/index.vue +++ b/src/views/backgroundConfig/rolePermssion/index.vue @@ -1,7 +1,7 @@ <template> <div class="role-peimission"> <div class="btn-pager"> - <el-button @click="addpermssionClick" type="primary" size="small">鏂板鏉冮檺</el-button> + <el-button @click="addBtnClick" type="primary" size="small">鏂板鏉冮檺</el-button> </div> <TableCommonView ref="tableListRef" :select-box="false" :table-list="tableList"> <template slot="tableButton"> @@ -19,18 +19,18 @@ </template> </TableCommonView> <!-- 鏂板缓/缂栬緫 --> - <AddContractManageDialog v-if="editConfig.visible" :edit-common-config="editConfig" /> + <AddRolePermssionDialog v-if="editConfig.visible" :edit-common-config="editConfig" /> </div> </template> <script> -import AddContractManageDialog from "@/views/sales/contractManage/AddContractManageDialog" +import AddRolePermssionDialog from "@/views/backgroundConfig/rolePermssion/AddRolePermssionDialog" export default { name: "RoleOeimission", props: {}, components: { - AddContractManageDialog + AddRolePermssionDialog }, computed: { searchCommonHeight() { @@ -42,7 +42,7 @@ tableList: {}, editConfig: { visible: false, - title: "鏂板缓", + title: "鏂板鏉冮檺", infomation: {} } } @@ -56,13 +56,13 @@ tableInfomation: [ { number: "1", - owner: "鎬荤粡鐞�", + authorityName: "鎬荤粡鐞�", notes: "" } ], tableColumn: [ { label: "#", prop: "number", width: 80 }, - { label: "鏉冮檺鍚嶇О", prop: "owner", width: 160 }, + { label: "鏉冮檺鍚嶇О", prop: "authorityName", width: 160 }, { label: "澶囨敞", prop: "notes" } ] } @@ -76,34 +76,14 @@ addBtnClick() { this.editConfig.visible = true this.editConfig.title = "鏂板缓" - this.editConfig.infomation = { - customName: "", - documentNumber: "ZDYBD01-3", - owner: "", - contractStatus: "", - salesQuotation: "", - approvalWorkflow: "", - approvalSteps: "", - approvalPerson: "", - approvalOpinion: "" - } + this.editConfig.infomation = {} }, // 缂栬緫 handleClick(row) { console.log(row) this.editConfig.visible = true this.editConfig.title = "缂栬緫" - this.editConfig.infomation = { - customName: "", - documentNumber: "TKD20230521-12", - owner: "", - contractStatus: "", - salesQuotation: "", - approvalWorkflow: "", - approvalSteps: "", - approvalPerson: "", - approvalOpinion: "" - } + this.editConfig.infomation = { ...row } } } } -- Gitblit v1.8.0