From 9db558324bafc153052ab3af6d9235af6c5452d0 Mon Sep 17 00:00:00 2001
From: zhangzeli <123456>
Date: 星期三, 05 一月 2022 09:57:01 +0800
Subject: [PATCH] 车辆管理
---
src/views/sys/user-manage/userManage.vue | 186 +++++++++++++++++++++++-----------------------
1 files changed, 93 insertions(+), 93 deletions(-)
diff --git a/src/views/sys/user-manage/userManage.vue b/src/views/sys/user-manage/userManage.vue
index ca4a755..9558e46 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">{{
@@ -367,18 +367,18 @@
minWidth: 125,
sortable: true,
},
- {
- title: "閭",
- key: "email",
- minWidth: 180,
- sortable: true,
- },
- {
- title: "鎬у埆",
- key: "sex",
- width: 70,
- align: "center",
- },
+ // {
+ // title: "閭",
+ // key: "email",
+ // minWidth: 180,
+ // sortable: true,
+ // },
+ // {
+ // title: "鎬у埆",
+ // key: "sex",
+ // width: 70,
+ // align: "center",
+ // },
{
title: "绫诲瀷",
key: "type",
@@ -427,60 +427,60 @@
this.getDataList();
},
},
- {
- title: "鐘舵��",
- key: "status",
- align: "center",
- width: 100,
- render: (h, params) => {
- if (params.row.status == 0) {
- return h("div", [
- h("Badge", {
- props: {
- status: "success",
- text: "鍚敤",
- },
- }),
- ]);
- } else if (params.row.status == -1) {
- return h("div", [
- h("Badge", {
- props: {
- status: "error",
- text: "绂佺敤",
- },
- }),
- ]);
- }
- },
- filters: [
- {
- label: "鍚敤",
- value: 0,
- },
- {
- label: "绂佺敤",
- value: -1,
- },
- ],
- filterMultiple: false,
- filterRemote: (e) => {
- let v = "";
- if (e.length > 0) {
- v = e[0];
- }
- this.searchForm.status = v;
- this.searchForm.pageNumber = 1;
- this.getDataList();
- },
- },
- {
- title: "鍒涘缓鏃堕棿",
- key: "createTime",
- sortable: true,
- sortType: "desc",
- width: 180,
- },
+ // {
+ // title: "鐘舵��",
+ // key: "status",
+ // align: "center",
+ // width: 100,
+ // render: (h, params) => {
+ // if (params.row.status == 0) {
+ // return h("div", [
+ // h("Badge", {
+ // props: {
+ // status: "success",
+ // text: "鍚敤",
+ // },
+ // }),
+ // ]);
+ // } else if (params.row.status == -1) {
+ // return h("div", [
+ // h("Badge", {
+ // props: {
+ // status: "error",
+ // text: "绂佺敤",
+ // },
+ // }),
+ // ]);
+ // }
+ // },
+ // filters: [
+ // {
+ // label: "鍚敤",
+ // value: 0,
+ // },
+ // {
+ // label: "绂佺敤",
+ // value: -1,
+ // },
+ // ],
+ // filterMultiple: false,
+ // filterRemote: (e) => {
+ // let v = "";
+ // if (e.length > 0) {
+ // v = e[0];
+ // }
+ // this.searchForm.status = v;
+ // this.searchForm.pageNumber = 1;
+ // this.getDataList();
+ // },
+ // },
+ // {
+ // title: "鍒涘缓鏃堕棿",
+ // key: "createTime",
+ // sortable: true,
+ // sortType: "desc",
+ // width: 180,
+ // },
{
title: "鎿嶄綔",
key: "action",
@@ -489,31 +489,31 @@
fixed: "right",
render: (h, params) => {
let enableOrDisable = "";
- if (params.row.status == 0) {
- enableOrDisable = h(
- "a",
- {
- on: {
- click: () => {
- this.disable(params.row);
- },
- },
- },
- "绂佺敤"
- );
- } else {
- enableOrDisable = h(
- "a",
- {
- on: {
- click: () => {
- this.enable(params.row);
- },
- },
- },
- "鍚敤"
- );
- }
+ // if (params.row.status == 0) {
+ // enableOrDisable = h(
+ // "a",
+ // {
+ // on: {
+ // click: () => {
+ // this.disable(params.row);
+ // },
+ // },
+ // },
+ // "绂佺敤"
+ // );
+ // } else {
+ // enableOrDisable = h(
+ // "a",
+ // {
+ // on: {
+ // click: () => {
+ // this.enable(params.row);
+ // },
+ // },
+ // },
+ // "鍚敤"
+ // );
+ // }
return h("div", [
h(
"a",
--
Gitblit v1.9.1