From c73d38d71545cea55f5ce0f5a95cb2b3e199a6e6 Mon Sep 17 00:00:00 2001
From: wang-hao-jie <1550036656@qq.com>
Date: 星期一, 01 十一月 2021 11:21:53 +0800
Subject: [PATCH] 默认更改列表
---
src/views/sys/user-manage/userManage.vue | 4
src/views/sys/message-manage/addEdit.vue | 44 ++++----
src/views/main-components/user.vue | 10 +-
src/views/sys/message-manage/messageManage.vue | 144 ++++++++++++++--------------
src/views/sys/oss-manage/ossManage.vue | 86 ++++++++--------
5 files changed, 144 insertions(+), 144 deletions(-)
diff --git a/src/views/main-components/user.vue b/src/views/main-components/user.vue
index ce16b8f..2d18402 100644
--- a/src/views/main-components/user.vue
+++ b/src/views/main-components/user.vue
@@ -9,11 +9,11 @@
</div>
</div>
<DropdownMenu slot="list">
- <DropdownItem name="ownSpace">
- <Icon type="md-person" style="margin: 0 10px 0 0" />{{
- $t("userCenter")
- }}</DropdownItem
- >
+ <!--<DropdownItem name="ownSpace">-->
+ <!--<Icon type="md-person" style="margin: 0 10px 0 0" />{{-->
+ <!--$t("userCenter")-->
+ <!--}}</DropdownItem-->
+ <!-->-->
<DropdownItem name="changePass">
<Icon type="md-unlock" style="margin: 0 10px 0 0" />{{
$t("changePass")
diff --git a/src/views/sys/message-manage/addEdit.vue b/src/views/sys/message-manage/addEdit.vue
index 8882b57..d53ad23 100644
--- a/src/views/sys/message-manage/addEdit.vue
+++ b/src/views/sys/message-manage/addEdit.vue
@@ -48,28 +48,28 @@
<FormItem label="鍐呭" prop="content">
<editor v-model="form.content" height="250"></editor>
</FormItem>
- <FormItem label="鏂板垱寤虹殑璐﹀彿涔熸帹閫�" prop="createSend">
- <i-switch size="large" v-model="form.createSend">
- <span slot="open">寮�鍚�</span>
- <span slot="close">鍏抽棴</span>
- </i-switch>
- </FormItem>
- <div v-if="type == 0">
- <FormItem label="鍙戦�佽寖鍥�">
- <RadioGroup v-model="form.range">
- <Radio :label="0" border>鍏ㄤ綋鐢ㄦ埛</Radio>
- <Radio :label="1" border>鎸囧畾鐢ㄦ埛鎴愬憳</Radio>
- </RadioGroup>
- </FormItem>
- <div>
- <FormItem label="閫夋嫨鐢ㄦ埛" v-if="form.range == 1">
- <user-choose
- text="閫夋嫨鍙戦�佺敤鎴�"
- v-model="selectUsers"
- ></user-choose>
- </FormItem>
- </div>
- </div>
+ <!--<FormItem label="鏂板垱寤虹殑璐﹀彿涔熸帹閫�" prop="createSend">-->
+ <!--<i-switch size="large" v-model="form.createSend">-->
+ <!--<span slot="open">寮�鍚�</span>-->
+ <!--<span slot="close">鍏抽棴</span>-->
+ <!--</i-switch>-->
+ <!--</FormItem>-->
+ <!--<div v-if="type == 0">-->
+ <!--<FormItem label="鍙戦�佽寖鍥�">-->
+ <!--<RadioGroup v-model="form.range">-->
+ <!--<Radio :label="0" border>鍏ㄤ綋鐢ㄦ埛</Radio>-->
+ <!--<Radio :label="1" border>鎸囧畾鐢ㄦ埛鎴愬憳</Radio>-->
+ <!--</RadioGroup>-->
+ <!--</FormItem>-->
+ <!--<div>-->
+ <!--<FormItem label="閫夋嫨鐢ㄦ埛" v-if="form.range == 1">-->
+ <!--<user-choose-->
+ <!--text="閫夋嫨鍙戦�佺敤鎴�"-->
+ <!--v-model="selectUsers"-->
+ <!--></user-choose>-->
+ <!--</FormItem>-->
+ <!--</div>-->
+ <!--</div>-->
<FormItem class="br">
<Button
type="primary"
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 @@
},
},
},
- "鍒犻櫎鎾ゅ洖"
+ "鍒犻櫎"
),
]);
},
diff --git a/src/views/sys/oss-manage/ossManage.vue b/src/views/sys/oss-manage/ossManage.vue
index 3514ccc..dcf8910 100644
--- a/src/views/sys/oss-manage/ossManage.vue
+++ b/src/views/sys/oss-manage/ossManage.vue
@@ -385,12 +385,12 @@
minWidth: 130,
sortable: true,
},
- {
- title: "瀛樺偍鏂囦欢鍚�",
- key: "fkey",
- minWidth: 165,
- sortable: true,
- },
+ // {
+ // title: "瀛樺偍鏂囦欢鍚�",
+ // key: "fkey",
+ // minWidth: 165,
+ // sortable: true,
+ // },
{
title: "缂╃暐鍥�(鐐瑰嚮棰勮)",
key: "url",
@@ -664,43 +664,43 @@
);
},
},
- {
- title: "瀛樺偍浣嶇疆",
- key: "location",
- align: "center",
- width: 110,
- render: (h, params) => {
- let location = "",
- color = "";
- if (params.row.location == 0) {
- location = "鏈湴鏈嶅姟鍣�";
- color = "green";
- } else if (params.row.location == 1) {
- location = "涓冪墰浜�";
- color = "blue";
- } else if (params.row.location == 2) {
- location = "闃块噷浜�";
- color = "orange";
- } else if (params.row.location == 3) {
- location = "鑵捐浜�";
- color = "geekblue";
- } else if (params.row.location == 4) {
- location = "MinIO";
- color = "magenta";
- }
- return h("div", [
- h(
- "Tag",
- {
- props: {
- color: color,
- },
- },
- location
- ),
- ]);
- },
- },
+ // {
+ // title: "瀛樺偍浣嶇疆",
+ // key: "location",
+ // align: "center",
+ // width: 110,
+ // render: (h, params) => {
+ // let location = "",
+ // color = "";
+ // if (params.row.location == 0) {
+ // location = "鏈湴鏈嶅姟鍣�";
+ // color = "green";
+ // } else if (params.row.location == 1) {
+ // location = "涓冪墰浜�";
+ // color = "blue";
+ // } else if (params.row.location == 2) {
+ // location = "闃块噷浜�";
+ // color = "orange";
+ // } else if (params.row.location == 3) {
+ // location = "鑵捐浜�";
+ // color = "geekblue";
+ // } else if (params.row.location == 4) {
+ // location = "MinIO";
+ // color = "magenta";
+ // }
+ // return h("div", [
+ // h(
+ // "Tag",
+ // {
+ // props: {
+ // color: color,
+ // },
+ // },
+ // location
+ // ),
+ // ]);
+ // },
+ // },
{
title: "鍒涘缓鏃堕棿",
key: "createTime",
diff --git a/src/views/sys/user-manage/userManage.vue b/src/views/sys/user-manage/userManage.vue
index ca4a755..bf13d15 100644
--- a/src/views/sys/user-manage/userManage.vue
+++ b/src/views/sys/user-manage/userManage.vue
@@ -101,10 +101,10 @@
<DropdownItem name="reset">閲嶇疆鐢ㄦ埛瀵嗙爜</DropdownItem>
<DropdownItem name="exportData">瀵煎嚭鎵�閫夋暟鎹�</DropdownItem>
<DropdownItem name="exportAll">瀵煎嚭鍏ㄩ儴鏁版嵁</DropdownItem>
- <DropdownItem name="importData">瀵煎叆鏁版嵁(浠樿垂)</DropdownItem>
+ <!--<DropdownItem name="importData">瀵煎叆鏁版嵁(浠樿垂)</DropdownItem>-->
</DropdownMenu>
</Dropdown>
- <Button type="dashed" @click="openSearch = !openSearch">{{
+ <Button typ e="dashed" @click="openSearch = !openSearch">{{
openSearch ? "鍏抽棴鎼滅储" : "寮�鍚悳绱�"
}}</Button>
<Button type="dashed" @click="openTip = !openTip">{{
--
Gitblit v1.9.1