From af43cda6bbc645591893bd45ead60cf7f8bb41ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Wed, 2 Jun 2021 15:57:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=81=E6=B1=82=E6=84=8F=E8=A7=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/details/categoryDetails/index.vue | 138 +++++++------------- 1 file changed, 50 insertions(+), 88 deletions(-) diff --git a/src/pages/details/categoryDetails/index.vue b/src/pages/details/categoryDetails/index.vue index 615ff4f64..b21b69040 100644 --- a/src/pages/details/categoryDetails/index.vue +++ b/src/pages/details/categoryDetails/index.vue @@ -5,7 +5,7 @@
-
征求意见详情
+
管理征求意见
@@ -27,7 +27,7 @@
- 添加 + 导出
@@ -38,6 +38,11 @@ style="width: 100%" :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', fontWeight: 'bold', height: '48px'}"> + + - - + + + +
-
- -
-
- - - - - - - - -
- -
-
+ + + + + + + + + 取消 + 提交 + + @@ -106,8 +97,8 @@ export default { name: 'categoryDetails', data () { return { - opiniontitle: '新增意见', - isDialog: false, //新增抽屉状态 + exportName:'', + exportModelFlag: false, //导出模态窗状态 heightShow: true, isSubmit: false, opinionList: { @@ -123,18 +114,28 @@ export default { standinfoList: [{ date: '1.1.2', name: '文章内容不清晰', + department: '事业部', + proposer: '徐磊', }, { date: '1.2.3.1', name: '标准有错误', + department: '标准法规部', + proposer: '汪重阳', }, { date: '1.21.1', name: '标准延时', + department: '政策部', + proposer: '吕毅', }, { date: '1.21.1', name: '实用性不高', + department: '技术部', + proposer: '王浩宇', }, { date: '1.2.31', name: '不贴合国家标准', + department: '事业部', + proposer: '胡佳硕', }, ], newModelPageConfig: { page: 1, @@ -165,54 +166,15 @@ export default { name:'standardForComments' }) }, - // 更多 - handleCommand (command) { - switch (command[1]) { - case '编辑': - this.selectStandardPro(command[0], 'edit') - break - case '删除': - this.deleteStand(1, command[0].id) - break - } + exportStandard() { + this.exportModelFlag = true }, - //编辑 - selectStandardPro(){ - this.opiniontitle = '编辑意见内容' - this.isDialog = true + cancal () { + this.exportModelFlag = false }, - //删除 - deleteStand(flag,itemid){ - if(flag === 1){ - ( - this.$confirm('确认删除这些意见?', '提示', { - confirmButtonText: '确定', - confirmButtonClass: 'common-button-primary', - cancelButtonText: '取消', - type: 'warning', - roundButton: false - }).then(() => { - //确认事件 - }).catch(() => { - //取消事件 - }) - ) - } - }, - //新增意见模态窗 - addModel() { - this.opiniontitle = '新增意见' - this.isDialog = true - }, - //点击抽屉按钮提交事件 - saveUserInfo() { - this.isDialog = false - }, - //点击抽屉按钮取消事件 - closeDrawer() { - this.isDialog = false - }, - + exportTestItem() { + this.exportModelFlag = false + } }, mounted () {} }