From bfce6dd773bdc00fa305b9b2b663f2f4b4ec297a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=8A=B2=E9=BE=99?= <2860996570@qq.com> Date: Mon, 2 Dec 2024 09:43:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 6 +-- src/views/auditPages/taskManagement/info.vue | 21 +++++++---- src/views/unitPages/myTask/info.vue | 39 +++++++++++++++++++- 3 files changed, 55 insertions(+), 11 deletions(-) diff --git a/.env.development b/.env.development index 49a25d4..53e8c6e 100644 --- a/.env.development +++ b/.env.development @@ -5,8 +5,8 @@ VUE_APP_TITLE = 太仓资产管理系统 ENV = 'development' # 若依管理系统/开发环境 -# VUE_APP_BASE_API = 'http://192.168.0.109:9115' -VUE_APP_BASE_API = 'http://39.101.188.84:9115' +VUE_APP_BASE_API = 'http://192.168.0.108:9115' +# VUE_APP_BASE_API = 'http://39.101.188.84:9115' # 路由懒加载 -VUE_CLI_BABEL_TRANSPILE_MODULES = true +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/views/auditPages/taskManagement/info.vue b/src/views/auditPages/taskManagement/info.vue index e1c33bb..673cd21 100644 --- a/src/views/auditPages/taskManagement/info.vue +++ b/src/views/auditPages/taskManagement/info.vue @@ -39,7 +39,7 @@ - + @@ -105,14 +105,14 @@ - + @@ -220,10 +220,10 @@ export default { components: { myPagination,myDialog }, data() { return { - activeName:0, index: 1, formInline: { - xtlx:"" + xtlx:"", + type:0, }, formInlineTwo: { dwmc: "", @@ -244,6 +244,7 @@ export default { timeLineData: [], titleInfoObj: {}, chakanyuanyin:"", + activeName:"0", chanckList:[ { lable:"0", @@ -282,6 +283,9 @@ export default { methods: { handleClick(tab, event) { console.log(tab.name); + this.formInline.type = tab.name + this.activeName = tab.name + this.handleQuery() }, //返回图片 returnidimg(iswenzi){ @@ -383,13 +387,16 @@ export default { }, // 重置 resetQuery() { + this.activeName = "0" this.pagination = { current: 1, size: 10, } if (this.index == 1) { this.formInline = { - xtlx:"" + xtlx:"", + type:0, + } this.getList(); } else if (this.index == 2) { diff --git a/src/views/unitPages/myTask/info.vue b/src/views/unitPages/myTask/info.vue index e064bbb..fa8f734 100644 --- a/src/views/unitPages/myTask/info.vue +++ b/src/views/unitPages/myTask/info.vue @@ -96,6 +96,10 @@
+ + + + @@ -218,7 +222,30 @@ export default { tabHeader: undefined, timeLineData: [], titleInfoObj: {}, - chakanyuanyin:"" + chakanyuanyin:"", + activeName:"0", + chanckList:[ + { + lable:"0", + conent:"web资产" + }, + { + lable:"1", + conent:"小程序资产" + }, + { + lable:"2", + conent:"公众号资产" + }, + { + lable:"3", + conent:"电子邮件资产" + }, + { + lable:"4", + conent:"移动应用程序资产" + }, + ] } }, mounted() { @@ -235,6 +262,13 @@ export default { }, methods: { + handleClick(tab, event) { + console.log(tab.name); + this.formInline.type = tab.name + this.activeName = tab.name + this.handleQuery() + + }, //返回图片 returnidimg(iswenzi){ // let obj = { @@ -332,12 +366,15 @@ export default { }, // 重置 resetQuery() { + this.activeName = "0" + this.pagination = { current: 1, size: 10, } if (this.index == 1) { this.formInline = { + type:0, } this.getList();