From fbe9459ed908eef6c25c3bcd244d0a7e74dfa792 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期四, 19 十月 2023 13:45:08 +0800 Subject: [PATCH] feat: 产品列表添加查看编辑按钮;弹窗根据情况展示对应标题 --- src/views/operate/allot/index.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/operate/allot/index.vue b/src/views/operate/allot/index.vue index 53dc714..6c29d52 100644 --- a/src/views/operate/allot/index.vue +++ b/src/views/operate/allot/index.vue @@ -23,7 +23,12 @@ </div> </div> <!-- 鏂板缓/缂栬緫 --> - <AddOverviewDialog v-if="editConfig.visible" :work-type="'鍐呴儴璋冩嫧'" :edit-common-config="editConfig" /> + <AddOverviewDialog + v-if="editConfig.visible" + :show-operation-type="true" + :work-type="3" + :edit-common-config="editConfig" + /> </div> </template> @@ -44,11 +49,6 @@ tableList: {}, showcol: ["浠�", "鑷�", "鑱旂郴浜�", "鏃ユ湡", "鏉ユ簮鍗曟嵁", "鍏徃", "鐘舵��"], searchOptions: [], - commonDetail: { - visible: false, - title: "鏂板缓", - infomation: {} - }, editConfig: { visible: false, title: "鏂板缓", @@ -65,7 +65,8 @@ setTable() { this.tableList = { tableInfomation: [], - selectBox: true, + selectBox: false, + selectIndex: true, showcol: this.showcol, allcol: [], tableColumn: this.setTableColumn(this.showcol) @@ -213,8 +214,7 @@ await getAllList({ number: this.keyword, page: this.pagerOptions.currPage, - pageSize: this.pagerOptions.pageSize, - sourceNumber: this.keyword + pageSize: this.pagerOptions.pageSize }).then((res) => { if (res.code === 200) { const list = res.data.map((item) => { -- Gitblit v1.8.0