浏览代码

按钮统一

buzhi 2 年之前
父节点
当前提交
0fc4499ff7

+ 6 - 6
src/views/InformationAudit/enterWarehouseAudit/index.vue

@@ -22,7 +22,7 @@
22 22
         </el-col>
23 23
         <el-col :span="6">
24 24
           <el-button type="primary" :icon="Search" @click="handleSearch">查询</el-button>
25
-          <el-button type="primary" :icon="RefreshRight" @click="handleReSearch">重置</el-button>
25
+          <el-button :icon="RefreshRight" @click="handleReSearch">清空</el-button>
26 26
         </el-col>
27 27
       </el-row>
28 28
       <el-row :gutter="20">
@@ -63,19 +63,19 @@
63 63
           {{ scope.row.submitTime }}
64 64
         </template>
65 65
       </el-table-column>
66
-      <el-table-column label="操作" header-align="center" align="center" width="160">
66
+      <el-table-column label="操作" header-align="center" width="160">
67 67
         <template #default="scope">
68
-          <el-button size="" type="primary" style="backgroundcolor: #949aef" @click="handleShow(scope.row)"
68
+          <el-button link type="success" size="small" style="margin-left:30px" @click="handleShow(scope.row)"
69 69
             >查看</el-button
70 70
           >
71 71
           <el-button
72
-            size=""
73 72
             v-if="
74 73
               (deptId == '9' && scope.row.status == '3') ||
75 74
               (deptId == '10' && (scope.row.status == '2' || scope.row.status == '6'))
76 75
             "
77
-            type="warning"
78
-            style="backgroundcolor: #dbc262"
76
+            link
77
+            type="primary"
78
+            size="small"
79 79
             @click="handleProcess(scope.row)"
80 80
             >审核</el-button
81 81
           >

+ 5 - 7
src/views/InformationAudit/outWarehouseAudit/index.vue

@@ -29,7 +29,7 @@
29 29
         </el-col>
30 30
         <el-col :span="6">
31 31
           <el-button type="primary" :icon="Search" @click="handleSearch">查询</el-button>
32
-          <el-button type="primary" :icon="RefreshRight" @click="handleReSearch">重置</el-button>
32
+          <el-button :icon="RefreshRight" @click="handleReSearch">清空</el-button>
33 33
         </el-col>
34 34
       </el-row>
35 35
     </el-form>
@@ -63,17 +63,15 @@
63 63
       </el-table-column>
64 64
       <el-table-column label="操作" header-align="center" width="160">
65 65
         <template #default="scope">
66
-          <el-button size="" type="primary" style="backgroundcolor: #949aef" @click="handleShow(scope.row)"
67
-            >查看</el-button
68
-          >
66
+          <el-button link type="success" size="small" style="margin-left:30px" @click="handleShow(scope.row)">查看</el-button>
69 67
           <el-button
70
-            size=""
71 68
             v-if="
72 69
               (deptId == '9' && scope.row.status == '3') ||
73 70
               (deptId == '10' && (scope.row.status == '2' || scope.row.status == '6'))
74 71
             "
75
-            type="warning"
76
-            style="backgroundcolor: #dbc262"
72
+            link
73
+            type="primary"
74
+            size="small"
77 75
             @click="handleProcess(scope.row)"
78 76
             >审核</el-button
79 77
           >

+ 3 - 3
src/views/InformationFilling/enterWarehouseInfo/index.vue

@@ -16,8 +16,8 @@
16 16
           </el-form-item>
17 17
         </el-col>
18 18
         <el-col :span="6">
19
-          <el-button type="primary" @click="getList">搜索</el-button>
20
-          <el-button @click="clearSearch">清空</el-button>
19
+          <el-button :icon="Search" type="primary" @click="getList">查询</el-button>
20
+          <el-button :icon="RefreshRight" @click="clearSearch">清空</el-button>
21 21
           <el-button type="primary" :icon="Plus" @click="openDetail">新增</el-button>
22 22
         </el-col>
23 23
       </el-row>
@@ -68,7 +68,7 @@
68 68
 </template>
69 69
 
70 70
 <script setup lang="ts">
71
-import { Plus } from "@element-plus/icons-vue";
71
+import { Plus, Search, RefreshRight } from "@element-plus/icons-vue";
72 72
 import { ref, reactive, onMounted } from "vue";
73 73
 import { getInPage, deleteInData } from "@/api/inAndOut/formationFilling/in";
74 74
 import router from "@/router";

+ 3 - 3
src/views/InformationFilling/outIssue/index.vue

@@ -16,8 +16,8 @@
16 16
           </el-form-item>
17 17
         </el-col>
18 18
         <el-col :span="6">
19
-          <el-button type="primary" @click="getList">搜索</el-button>
20
-          <el-button @click="clearSearch">清空</el-button>
19
+          <el-button :icon="Search" type="primary" @click="getList">查询</el-button>
20
+          <el-button :icon="RefreshRight" @click="clearSearch">清空</el-button>
21 21
           <el-button type="primary" :icon="Plus" @click="openDetail">新增</el-button>
22 22
         </el-col>
23 23
       </el-row>
@@ -63,7 +63,7 @@
63 63
 </template>
64 64
 
65 65
 <script setup lang="ts">
66
-import { Plus } from "@element-plus/icons-vue";
66
+import { Plus, Search, RefreshRight } from "@element-plus/icons-vue";
67 67
 import { ref, reactive, onMounted } from "vue";
68 68
 import { getOutPage, deleteOutData } from "@/api/inAndOut/formationFilling/out";
69 69
 import router from "@/router";

+ 3 - 3
src/views/InformationFilling/outWarehouseInfo/index.vue

@@ -16,8 +16,8 @@
16 16
           </el-form-item>
17 17
         </el-col>
18 18
         <el-col :span="6">
19
-          <el-button type="primary" @click="getList">搜索</el-button>
20
-          <el-button @click="clearSearch">清空</el-button>
19
+          <el-button :icon="Search" type="primary" @click="getList">查询</el-button>
20
+          <el-button :icon="RefreshRight" @click="clearSearch">清空</el-button>
21 21
           <el-button type="primary" :icon="Plus" @click="openDetail">新增</el-button>
22 22
         </el-col>
23 23
       </el-row>
@@ -73,7 +73,7 @@
73 73
 </template>
74 74
 
75 75
 <script setup lang="ts">
76
-import { Plus } from "@element-plus/icons-vue";
76
+import { Plus, Search, RefreshRight } from "@element-plus/icons-vue";
77 77
 import { ref, reactive, onMounted } from "vue";
78 78
 import { getOutPage, deleteOutData } from "@/api/inAndOut/formationFilling/out";
79 79
 import router from "@/router";

+ 2 - 2
src/views/admin/dept/index.vue

@@ -9,8 +9,8 @@
9 9
           </el-form-item>
10 10
         </el-col>
11 11
         <el-col :span="6">
12
-          <el-button type="primary" :icon="Search" @click="getList">搜索</el-button>
13
-          <el-button type="primary" :icon="EditPen" @click="addOrUpdateHandle(false)">添加</el-button>
12
+          <el-button type="primary" :icon="Search" @click="getList">查询</el-button>
13
+          <el-button type="primary" :icon="Plus" @click="addOrUpdateHandle(false)">新增</el-button>
14 14
         </el-col>
15 15
       </el-row>
16 16
     </el-form>

+ 3 - 3
src/views/admin/dict/index.vue

@@ -16,8 +16,8 @@
16 16
           </el-form-item>
17 17
         </el-col>
18 18
         <el-col :span="6">
19
-          <el-button type="primary" :icon="Search" @click="getList">搜索</el-button>
20
-          <el-button :icon="Delete" @click="clearSearch">清空</el-button>
19
+          <el-button type="primary" :icon="Search" @click="getList">查询</el-button>
20
+          <el-button :icon="Refresh" @click="clearSearch">清空</el-button>
21 21
         </el-col>
22 22
       </el-row>
23 23
     </el-form>
@@ -187,7 +187,7 @@
187 187
 import { ref } from "vue";
188 188
 import { ElMessage, ElMessageBox } from "element-plus";
189 189
 import type { FormInstance, FormRules } from "element-plus";
190
-import { Search, EditPen, Plus, Delete, Menu } from "@element-plus/icons-vue";
190
+import { Search, Refresh, EditPen, Plus, Delete, Menu } from "@element-plus/icons-vue";
191 191
 
192 192
 import { deepClone } from "@/utils/util";
193 193
 import { ITablePage } from "@//const/interface_type";

+ 2 - 2
src/views/admin/menu/index.vue

@@ -5,8 +5,8 @@
5 5
         <el-input v-model="queryParams.menuName" placeholder="请输入菜单名称" clearable />
6 6
       </el-form-item>
7 7
       <el-form-item>
8
-        <el-button type="primary" :icon="Search" @click="getList">搜索</el-button>
9
-        <el-button :icon="Plus" type="primary" @click="addOrUpdateHandle(false)"> 添加 </el-button>
8
+        <el-button type="primary" :icon="Search" @click="getList">查询</el-button>
9
+        <el-button :icon="Plus" type="primary" @click="addOrUpdateHandle(false)"> 新增 </el-button>
10 10
       </el-form-item>
11 11
     </el-form>
12 12
 

+ 3 - 3
src/views/admin/role/index.vue

@@ -21,8 +21,8 @@
21 21
           </el-form-item>
22 22
         </el-col>
23 23
         <el-col :span="6">
24
-          <el-button type="primary" :icon="Search" @click="getList">搜索</el-button>
25
-          <el-button :icon="Delete" @click="clearSearch">清空</el-button>
24
+          <el-button type="primary" :icon="Search" @click="getList">查询</el-button>
25
+          <el-button :icon="Refresh" @click="clearSearch">清空</el-button>
26 26
         </el-col>
27 27
       </el-row>
28 28
     </el-form>
@@ -147,7 +147,7 @@
147 147
 import { ref } from "vue";
148 148
 import { ElMessage, ElMessageBox } from "element-plus";
149 149
 import type { FormInstance, FormRules } from "element-plus";
150
-import { Search, EditPen, UploadFilled, Download, View, Plus, Edit, Delete } from "@element-plus/icons-vue";
150
+import { Search, Refresh, EditPen, UploadFilled, Download, View, Plus, Edit, Delete } from "@element-plus/icons-vue";
151 151
 
152 152
 import { deepClone } from "@/utils/util";
153 153
 import { validatorKey } from "@/utils/validate";

+ 3 - 3
src/views/admin/user/index.vue

@@ -56,9 +56,9 @@
56 56
               </el-form-item>
57 57
             </el-col>
58 58
             <el-col :span="12">
59
-              <el-button :icon="Search" type="primary" @click="getList">搜索</el-button>
60
-              <el-button :icon="Refresh" @click="clearSearch">重置</el-button>
61
-              <el-button :icon="Plus" @click="addOrUpdateHandle(false)">新增</el-button>
59
+              <el-button :icon="Search" type="primary" @click="getList">查询</el-button>
60
+              <el-button :icon="Refresh" @click="clearSearch">清空</el-button>
61
+              <el-button :icon="Plus" type="primary" @click="addOrUpdateHandle(false)">新增</el-button>
62 62
               <!-- <el-button>导入</el-button>
63 63
               <el-button>导出</el-button> -->
64 64
             </el-col>

+ 3 - 2
src/views/dataStatistics/droughtResistant/index.vue

@@ -54,8 +54,8 @@
54 54
         </el-col>
55 55
       </el-row>
56 56
       <el-row class="btn_center">
57
-        <el-button type="primary" @click="getList">搜索</el-button>
58
-        <el-button @click="clearSearch">清空</el-button>
57
+        <el-button :icon="Search" type="primary" @click="getList">查询</el-button>
58
+        <el-button :icon="RefreshRight" @click="clearSearch">清空</el-button>
59 59
       </el-row>
60 60
     </el-form>
61 61
 
@@ -89,6 +89,7 @@ import {
89 89
   getCityList,
90 90
   getSysTreeDict
91 91
 } from "@/api/dataStatistics/index";
92
+import { Search, RefreshRight } from "@element-plus/icons-vue";
92 93
 
93 94
 const headerName: any = ref([]);
94 95
 const headerProps: any = ref([]);

+ 3 - 2
src/views/dataStatistics/emergencySupplies/index.vue

@@ -29,8 +29,8 @@
29 29
           </el-form-item>
30 30
         </el-col>
31 31
         <el-col :span="6">
32
-          <el-button type="primary" @click="getList">搜索</el-button>
33
-          <el-button @click="clearSearch">清空</el-button>
32
+        <el-button :icon="Search" type="primary" @click="getList">查询</el-button>
33
+        <el-button :icon="RefreshRight" @click="clearSearch">清空</el-button>
34 34
         </el-col>
35 35
       </el-row>
36 36
     </el-form>
@@ -54,6 +54,7 @@
54 54
 <script setup lang="ts">
55 55
 import { ref, reactive } from "vue";
56 56
 import { getSuppliesType, getSysTreeDict } from "@/api/dataStatistics/index";
57
+import { Search, RefreshRight } from "@element-plus/icons-vue";
57 58
 
58 59
 const tableData: any = ref([]);
59 60
 const searchList = ref({

+ 3 - 2
src/views/dataStatistics/reliefMaterial/index.vue

@@ -54,8 +54,8 @@
54 54
         </el-col>
55 55
       </el-row>
56 56
       <el-row class="btn_center">
57
-        <el-button type="primary" @click="getList">搜索</el-button>
58
-        <el-button @click="clearSearch">清空</el-button>
57
+        <el-button :icon="Search" type="primary" @click="getList">查询</el-button>
58
+        <el-button :icon="RefreshRight" @click="clearSearch">清空</el-button>
59 59
       </el-row>
60 60
     </el-form>
61 61
 
@@ -89,6 +89,7 @@ import {
89 89
   getCityList,
90 90
   getSysTreeDict
91 91
 } from "@/api/dataStatistics/index";
92
+import { Search, RefreshRight } from "@element-plus/icons-vue";
92 93
 
93 94
 const headerName: any = ref([]);
94 95
 const headerProps: any = ref([]);

+ 3 - 3
src/views/orderType/supply/index.vue

@@ -14,9 +14,9 @@
14 14
       </div>
15 15
       <div class="mti-form">
16 16
         <div class="filter-container">
17
-          <el-button size="mini" :icon="Plus" type="primary" round @click="handlerAdd">添加</el-button>
18
-          <el-button size="mini" :icon="Edit" round @click="handlerEdit">编辑</el-button>
19
-          <el-button size="mini" :icon="Delete" round @click="handleDelete">删除</el-button>
17
+          <el-button size="mini" :icon="Plus" type="primary" round @click="handlerAdd">新增</el-button>
18
+          <el-button size="mini" :icon="Edit" type="primary"  round @click="handlerEdit">编辑</el-button>
19
+          <el-button size="mini" :icon="Delete" type="danger" round @click="handleDelete">删除</el-button>
20 20
         </div>
21 21
         <div class="box-card">
22 22
           <el-form