Просмотр исходного кода

fix(bugs): 修改操作的icon

tangning 3 лет назад
Родитель
Сommit
f10c1f0ede

+ 1 - 3
src/views/advertisement/list.vue

@@ -14,12 +14,10 @@
         <TableAction
           :actions="[
             {
-              icon: 'clarity:note-edit-line',
               label: '编辑',
               onClick: handleEdit.bind(null, record),
             },
             {
-              icon: 'ant-design:delete-outlined',
               color: 'error',
               label: '删除',
               popConfirm: {
@@ -83,7 +81,7 @@
           dataIndex: '',
           fixed: 'right',
           slots: { customRender: 'action' },
-          width: 150,
+          width: 130,
         },
       ];
 

+ 1 - 3
src/views/advertisement/pads.vue

@@ -11,12 +11,10 @@
         <TableAction
           :actions="[
             {
-              icon: 'clarity:note-edit-line',
               label: '编辑',
               onClick: handleEdit.bind(null, record),
             },
             {
-              icon: 'ant-design:delete-outlined',
               color: 'error',
               label: '删除',
               popConfirm: {
@@ -95,7 +93,7 @@
           dataIndex: '',
           fixed: 'right',
           slots: { customRender: 'action' },
-          width: 150,
+          width: 130,
         },
       ];
 

+ 1 - 3
src/views/bulletin/decoration.vue

@@ -9,14 +9,12 @@
         <TableAction
           :actions="[
             {
-              icon: 'clarity:note-edit-line',
               label: '编辑',
               onClick: () => {
                 createMessage.info(`暂未接入`);
               },
             },
             {
-              icon: 'ant-design:delete-outlined',
               color: 'error',
               label: '删除',
               popConfirm: {
@@ -106,7 +104,7 @@
           title: '操作',
           dataIndex: '',
           slots: { customRender: 'action' },
-          width: 150,
+          width: 130,
         },
       ];
 

+ 1 - 3
src/views/bulletin/rent.vue

@@ -11,14 +11,12 @@
         <TableAction
           :actions="[
             {
-              icon: 'clarity:note-edit-line',
               label: '编辑',
               onClick: () => {
                 createMessage.info(`暂未接入`);
               },
             },
             {
-              icon: 'ant-design:delete-outlined',
               color: 'error',
               label: '删除',
               popConfirm: {
@@ -106,7 +104,7 @@
           title: '操作',
           dataIndex: '',
           slots: { customRender: 'action' },
-          width: 150,
+          width: 130,
         },
       ];
 

+ 1 - 3
src/views/bulletin/sell.vue

@@ -9,14 +9,12 @@
         <TableAction
           :actions="[
             {
-              icon: 'clarity:note-edit-line',
               label: '编辑',
               onClick: () => {
                 createMessage.info(`暂未接入`);
               },
             },
             {
-              icon: 'ant-design:delete-outlined',
               color: 'error',
               label: '删除',
               popConfirm: {
@@ -106,7 +104,7 @@
           title: '操作',
           dataIndex: '',
           slots: { customRender: 'action' },
-          width: 150,
+          width: 130,
         },
       ];
 

+ 2 - 2
src/views/corporation/SubaccountModal.vue

@@ -40,9 +40,9 @@
                 //   label: '编辑',
                 //   icon: 'mdi:account-edit-outline',
                 //   onClick: handleDelete.bind(null, record, 'edit'),
+                //   label: t('common.unbind'), -->
                 // },
                 {
-                  label: t('common.unbind'),
                   icon: 'mdi:account-multiple-remove-outline',
                   onClick: handleDelete.bind(null, record, 'unbond'),
                 },
@@ -112,7 +112,7 @@
           title: t('common.operating'),
           dataIndex: '',
           slots: { customRender: 'action' },
-          width: 100,
+          width: 80,
         },
       ];
       const schemas: FormSchema[] = [

+ 1 - 2
src/views/corporation/verify.vue

@@ -18,7 +18,6 @@
         <TableAction
           :actions="[
             {
-              icon: 'clarity:info-standard-line',
               // tooltip: '详细信息',
               label: t('routes.corporation.detailed'),
               onClick: () => {
@@ -83,7 +82,7 @@
           title: t('common.operation'),
           dataIndex: '',
           slots: { customRender: 'action' },
-          width: 120,
+          width: 100,
         },
       ];
 

+ 1 - 3
src/views/devices/list.vue

@@ -32,12 +32,10 @@
         <TableAction
           :actions="[
             {
-              icon: 'clarity:note-edit-line',
               label: t('common.edit'),
               onClick: handleEditScenes.bind(null, record),
             },
             {
-              icon: 'clarity:unlink-line',
               label: t('common.unbind'),
               ifShow: !!record.userName,
               popConfirm: {
@@ -124,7 +122,7 @@
           dataIndex: 'action',
           slots: { customRender: 'action' },
           // auth: [RoleEnum.SUPER, RoleEnum.PLAT_ADMIN],
-          width: 140,
+          width: 130,
         },
       ];
 

+ 0 - 2
src/views/feedback/list.vue

@@ -14,14 +14,12 @@
         <TableAction
           :actions="[
             {
-              icon: 'mdi:information-outline',
               label: '详情',
               onClick: () => {
                 go(`/order/list/detail/${record.orderNo}`);
               },
             },
             {
-              icon: 'mdi:printer-outline',
               label: '打印',
               color: 'error',
               onClick: () => {

+ 0 - 2
src/views/member/list.vue

@@ -45,14 +45,12 @@ weixinOpenid: "oeADe5U9uLeMYsNigq98zdu8J96A"
         <TableAction
           :actions="[
             {
-              icon: 'mdi:information-outline',
               label: '详情',
               onClick: () => {
                 go(`/order/list/detail/${record.orderNo}`);
               },
             },
             {
-              icon: 'mdi:printer-outline',
               label: '打印',
               color: 'error',
               onClick: () => {

+ 1 - 5
src/views/order/list.vue

@@ -24,14 +24,12 @@
         <TableAction
           :actions="[
             {
-              icon: 'mdi:truck-delivery',
               label: '发货',
               color: 'warning',
               disabled: record.shippingStatus == 1,
               onClick: sendPackage.bind(null, record),
             },
             {
-              icon: 'mdi:information-outline',
               label: '详情',
               onClick: () => {
                 go(
@@ -40,7 +38,6 @@
               },
             },
             {
-              icon: 'ic:outline-living',
               label: '收货',
               color: 'warning',
               disabled: record.orderStatus !== 1,
@@ -50,7 +47,6 @@
               },
             },
             {
-              icon: 'mdi:printer-outline',
               label: '打印',
               color: 'error',
               onClick: printDetail.bind(null, record),
@@ -187,7 +183,7 @@
           slots: { customRender: 'action' },
           fixed: 'right',
           align: 'center',
-          width: 280,
+          width: 250,
         },
       ];
 

+ 1 - 3
src/views/product/category.vue

@@ -10,12 +10,10 @@
         <TableAction
           :actions="[
             {
-              icon: 'clarity:note-edit-line',
               label: '编辑',
               onClick: handleEdit.bind(null, record),
             },
             {
-              icon: 'ant-design:delete-outlined',
               color: 'error',
               label: '删除',
               popConfirm: {
@@ -130,7 +128,7 @@
         bordered: true,
         actionColumn: {
           ifShow: !getCheckRole('tourist'),
-          width: 120,
+          width: 100,
           title: '操作',
           dataIndex: 'action',
           slots: { customRender: 'action' },

+ 1 - 1
src/views/product/list.data.ts

@@ -141,6 +141,6 @@ export const columns: BasicColumn[] = [
     slots: { customRender: 'action' },
     ifShow: !getCheckRole('tourist'),
     fixed: 'right',
-    width: 140,
+    width: 120,
   },
 ];

+ 0 - 2
src/views/product/list.vue

@@ -42,12 +42,10 @@
         <TableAction
           :actions="[
             {
-              icon: 'clarity:note-edit-line',
               label: '编辑',
               onClick: handleEdit.bind(null, record),
             },
             {
-              icon: 'ant-design:delete-outlined',
               color: 'error',
               label: '删除',
               popConfirm: {

+ 0 - 2
src/views/product/ref.vue

@@ -180,14 +180,12 @@
           return [
             {
               label: '编辑',
-              icon: 'clarity:note-edit-line',
               disabled: currentEditKeyRef.value ? currentEditKeyRef.value !== record.key : false,
               onClick: handleEdit.bind(null, record),
             },
             {
               label: '删除',
               color: 'error',
-              icon: 'ant-design:delete-outlined',
               disabled: currentEditKeyRef.value ? currentEditKeyRef.value !== record.key : false,
               onClick: handleDelete.bind(null, record),
             },

+ 1 - 4
src/views/scenes/live.vue

@@ -27,19 +27,16 @@
         <TableAction
           :actions="[
             {
-              icon: 'eos-icons:role-binding',
               label: t('routes.scenes.bindAnchor'),
               color: 'success',
               onClick: handleBindAnchor.bind(null, record),
             },
             {
-              icon: 'ant-design:delete-outlined',
               color: 'warning',
               label: '编辑',
               onClick: handleEditLiveScene.bind(null, record),
             },
             {
-              icon: 'ant-design:delete-outlined',
               color: 'error',
               label: '删除',
               popConfirm: {
@@ -156,7 +153,7 @@
           dataIndex: '',
           slots: { customRender: 'action' },
           ifShow: !getCheckRole(['host', 'tourist']),
-          width: 250,
+          width: 220,
           fixed: 'right',
         },
       ];

+ 1 - 4
src/views/staff/list.vue

@@ -24,11 +24,9 @@
           :actions="[
             {
               label: '编辑',
-              icon: 'mdi:information-outline',
               onClick: handleEdit.bind(null, record),
             },
             {
-              icon: 'typcn:lock-closed',
               color: 'warning',
               label: t('routes.staff.setpaswd'),
               onClick: handleOpenModal.bind(null, record),
@@ -36,7 +34,6 @@
             {
               label: '删除',
               color: 'error',
-              icon: 'ant-design:delete-outlined',
               popConfirm: {
                 title: '是否确认删除',
                 confirm: handleDelete.bind(null, record),
@@ -155,7 +152,7 @@
           dataIndex: '',
           slots: { customRender: 'action' },
           fixed: 'right',
-          width: 180,
+          width: 150,
         },
       ];
 

+ 1 - 3
src/views/system/account/index.vue

@@ -18,13 +18,11 @@
             //   onClick: handleView.bind(null, record),
             // },
             {
-              icon: 'clarity:note-edit-line',
               label: '编辑',
               tooltip: '编辑用户资料',
               onClick: handleEdit.bind(null, record),
             },
             {
-              icon: 'ant-design:delete-outlined',
               color: 'error',
               label: '删除',
               tooltip: '删除此账号',
@@ -86,7 +84,7 @@
           return info;
         },
         actionColumn: {
-          width: 140,
+          width: 120,
           title: '操作',
           dataIndex: 'action',
           slots: { customRender: 'action' },

+ 1 - 3
src/views/system/role/index.vue

@@ -8,12 +8,10 @@
         <TableAction
           :actions="[
             {
-              icon: 'clarity:note-edit-line',
               label: '编辑',
               onClick: handleEdit.bind(null, record),
             },
             {
-              icon: 'ant-design:delete-outlined',
               label: '删除',
               color: 'error',
               popConfirm: {
@@ -60,7 +58,7 @@
         showIndexColumn: false,
         actionColumn: {
           ifShow: getCheckRole('super'),
-          width: 130,
+          width: 110,
           title: '操作',
           dataIndex: 'action',
           slots: { customRender: 'action' },