From cefe914628acd813a729a8a7ec697fe9810812f3 Mon Sep 17 00:00:00 2001 From: zhangzeli <123456> Date: 星期三, 05 一月 2022 11:37:06 +0800 Subject: [PATCH] 优化 --- src/views/sys/message-manage/messageManage.vue | 144 ++++++++++++++++++++++++------------------------ 1 files changed, 72 insertions(+), 72 deletions(-) diff --git a/src/views/sys/message-manage/messageManage.vue b/src/views/sys/message-manage/messageManage.vue index 59b3b8b..045161e 100644 --- a/src/views/sys/message-manage/messageManage.vue +++ b/src/views/sys/message-manage/messageManage.vue @@ -11,10 +11,10 @@ /> <detail v-model="showDetail" :transferData="transferData" /> <Card v-show="currView == 'index'"> - <Tabs v-model="tabName" @on-click="changeTab"> - <TabPane label="鏅�氭秷鎭�" name="normal"></TabPane> - <TabPane label="绯荤粺娑堟伅妯$増" name="system"></TabPane> - </Tabs> + <!--<Tabs v-model="tabName" @on-click="changeTab">--> + <!--<TabPane label="鏅�氭秷鎭�" name="normal"></TabPane>--> + <!--<TabPane label="绯荤粺娑堟伅妯$増" name="system"></TabPane>--> + <!--</Tabs>--> <Row v-show="openSearch" @keydown.enter.native="handleSearch"> <Form ref="searchForm" :model="searchForm" inline :label-width="70"> <FormItem label="娑堟伅鏍囬" prop="title"> @@ -60,11 +60,11 @@ <Button @click="handleSearch" type="primary" icon="ios-search" >鎼滅储</Button > - <Button @click="handleReset">閲嶇疆</Button> - <a class="drop-down" @click="dropDown"> - {{ dropDownContent }} - <Icon :type="dropDownIcon"></Icon> - </a> + <!--<Button @click="handleReset">閲嶇疆</Button>--> + <!--<a class="drop-down" @click="dropDown">--> + <!--{{ dropDownContent }}--> + <!--<Icon :type="dropDownIcon"></Icon>--> + <!--</a>--> </FormItem> </Form> </Row> @@ -85,12 +85,12 @@ > <Button @click="delAll" icon="md-trash">鎵归噺鍒犻櫎</Button> <Button @click="getDataList" icon="md-refresh">鍒锋柊</Button> - <Button type="dashed" @click="openSearch = !openSearch">{{ - openSearch ? "鍏抽棴鎼滅储" : "寮�鍚悳绱�" - }}</Button> - <Button type="dashed" @click="openTip = !openTip">{{ - openTip ? "鍏抽棴鎻愮ず" : "寮�鍚彁绀�" - }}</Button> + <!--<Button type="dashed" @click="openSearch = !openSearch">{{--> + <!--openSearch ? "鍏抽棴鎼滅储" : "寮�鍚悳绱�"--> + <!--}}</Button>--> + <!--<Button type="dashed" @click="openTip = !openTip">{{--> + <!--openTip ? "鍏抽棴鎻愮ず" : "寮�鍚彁绀�"--> + <!--}}</Button>--> </Row> <Alert show-icon v-show="openTip"> 宸查�夋嫨 @@ -147,7 +147,7 @@ currView: "index", showDetail: false, openSearch: true, - openTip: true, + openTip: false, loading: true, // 琛ㄥ崟鍔犺浇鐘舵�� userLoading: true, selectList: [], // 澶氶�夋暟鎹� @@ -183,12 +183,12 @@ width: 60, align: "center", }, - { - title: "娑堟伅ID", - key: "id", - minWidth: 160, - sortable: true, - }, + // { + // title: "娑堟伅ID", + // key: "id", + // minWidth: 160, + // sortable: true, + // }, { title: "娑堟伅鏍囬", key: "title", @@ -208,39 +208,39 @@ width: 120, align: "center", }, - { - title: "鏂板垱寤鸿处鍙锋帹閫�", - key: "createSend", - align: "center", - width: 135, - render: (h, params) => { - if (params.row.createSend) { - return h("div", [ - h( - "Tag", - { - props: { - color: "blue", - }, - }, - "寮�鍚�" - ), - ]); - } else { - return h("div", [ - h( - "Tag", - { - props: { - color: "default", - }, - }, - "鍏抽棴" - ), - ]); - } - }, - }, + // { + // title: "鏂板垱寤鸿处鍙锋帹閫�", + // key: "createSend", + // align: "center", + // width: 135, + // render: (h, params) => { + // if (params.row.createSend) { + // return h("div", [ + // h( + // "Tag", + // { + // props: { + // color: "blue", + // }, + // }, + // "寮�鍚�" + // ), + // ]); + // } else { + // return h("div", [ + // h( + // "Tag", + // { + // props: { + // color: "default", + // }, + // }, + // "鍏抽棴" + // ), + // ]); + // } + // }, + // }, { title: "鍒涘缓鏃堕棿", key: "createTime", @@ -267,22 +267,22 @@ }, "缂栬緫" ), - h("Divider", { - props: { - type: "vertical", - }, - }), - h( - "a", - { - on: { - click: () => { - this.sendDetail(params.row); - }, - }, - }, - "鍙戦�佽鎯�" - ), + // h("Divider", { + // props: { + // type: "vertical", + // }, + // }), + // h( + // "a", + // { + // on: { + // click: () => { + // this.sendDetail(params.row); + // }, + // }, + // }, + // "鍙戦�佽鎯�" + // ), h("Divider", { props: { type: "vertical", @@ -297,7 +297,7 @@ }, }, }, - "鍒犻櫎鎾ゅ洖" + "鍒犻櫎" ), ]); }, -- Gitblit v1.9.1