tangning пре 2 година
родитељ
комит
2b0ef80611

+ 1 - 1
src/api/staff/list.ts

@@ -5,7 +5,7 @@ import { encodeStr } from '/@/utils/encodeUtil';
 
 enum Api {
   pageList = '/service/sale/sysUser/list',
-  userList = '/service/sale/user/allList',
+  userList = '/service/sale/sysUser/allList',
   sysUserAdd = '/service/sale/sysUser/add',
   updatePassword = '/service/sale/sysUser/rePassword',
   preDel = '/service/sale/sysUser/delete',

+ 1 - 1
src/layouts/page/index.vue

@@ -49,11 +49,11 @@
       const { getBasicTransition, getEnableTransition } = useTransitionSetting();
 
       const openCache = computed(() => unref(getOpenKeepAlive) && unref(getShowMultipleTab));
-      console.log('openCache',openCache)
       const getCaches = computed((): string[] => {
         if (!unref(getOpenKeepAlive)) {
           return [];
         }
+        console.log('openCache',tabStore.getCachedTabList)
         return tabStore.getCachedTabList;
       });
 

+ 0 - 31
src/views/staff/adddetailsModal.vue

@@ -34,37 +34,6 @@
       const preventAutoFill = ref(true);
       const { companyId } = userinfo.value;
       const schemas: FormSchema[] = [
-        // {
-        //   field: 'nickName',
-        //   component: 'Input',
-        //   label: '姓名',
-        //   colProps: {
-        //     span: 20,
-        //   },
-        //   componentProps: {
-        //     maxLength: 15,
-        //   },
-        //   rules: [
-        //     {
-        //       required: true,
-        //       // @ts-ignore
-        //       validator: async (rule, value) => {
-        //         var reg_tel = /^[a-zA-Z\u4e00-\u9fa5]+$/;
-        //         // var reg = /\S+@\S+\.\S+/;
-        //         if (!value) {
-        //           return Promise.reject('请输入姓名');
-        //         }
-        //         if (!reg_tel.test(value)) {
-        //           /* eslint-disable-next-line */
-        //           return Promise.reject('请输入正确的姓名');
-        //         }
-        //         return Promise.resolve();
-        //       },
-        //       trigger: 'change',
-        //     },
-        //   ],
-        // },
-        
         {
           field: 'userName',
           component: 'Select',

+ 13 - 13
src/views/system/menu/menu.data.ts

@@ -282,17 +282,17 @@ export const formSchema: FormSchema[] = [
     },
     ifShow: ({ values }) => !isButton(values.type),
   },
-  {
-    field: 'ignoreKeepAlive',
-    label: t('routes.system.ignoreKeepAlive'),
-    component: 'RadioButtonGroup',
-    defaultValue: false,
-    componentProps: {
-      options: [
-        { label: t('routes.system.isExt.0'), value: false },
-        { label: t('routes.system.isExt.1'), value: true },
-      ],
-    },
-    ifShow: ({ values }) => isMenu(values.type),
-  },
+  // {
+  //   field: 'ignoreKeepAlive',
+  //   label: t('routes.system.ignoreKeepAlive'),
+  //   component: 'RadioButtonGroup',
+  //   defaultValue: 0,
+  //   componentProps: {
+  //     options: [
+  //       { label: t('routes.system.isExt.0'), value: 0 },
+  //       { label: t('routes.system.isExt.1'), value: 1 },
+  //     ],
+  //   },
+  //   ifShow: ({ values }) => isMenu(values.type),
+  // },
 ];

+ 1 - 0
src/views/work/aftermarket.vue

@@ -27,6 +27,7 @@ import { repairPayList, DownExport } from '/@/api/spares';
 import { useMessage } from '/@/hooks/web/useMessage';
 import { useLocaleStore } from '/@/store/modules/locale';
 export default defineComponent({
+  name:'售后订单',
   components: {
     BasicTable,
     TableAction,

+ 1 - 0
src/views/work/followedList.vue

@@ -97,6 +97,7 @@ import { useModal } from '/@/components/Modal';
 import { useRouter } from 'vue-router'
 import { saleOrderList } from '/@/api/spares';
 export default defineComponent({
+  name:'工单跟进',
   components: {
     BasicTable,
     TableAction,

+ 1 - 0
src/views/work/maintenance.vue

@@ -68,6 +68,7 @@ import { useModal } from '/@/components/Modal';
 import { useRouter } from 'vue-router'
 import { saleOrderList, repairOrderList } from '/@/api/spares';
 export default defineComponent({
+  name:'维修管理',
   components: {
     BasicTable,
     TableAction,

+ 1 - 0
src/views/work/query.vue

@@ -56,6 +56,7 @@ import { useModal } from '/@/components/Modal';
 import { useRouter } from 'vue-router'
 import { queryList, faultAllList, getByRoleType } from '/@/api/spares';
 export default defineComponent({
+  name:'工单查询',
   components: {
     BasicTable,
     TableAction,

+ 1 - 0
src/views/work/repairsparesList.vue

@@ -57,6 +57,7 @@ import { useModal } from '/@/components/Modal';
 import { useRouter } from 'vue-router'
 import { supplyOrderList } from '/@/api/spares';
 export default defineComponent({
+  name:'维修备件管理',
   components: {
     BasicTable,
     TableAction,

+ 1 - 0
src/views/work/testList.vue

@@ -54,6 +54,7 @@ import { useModal } from '/@/components/Modal';
 import { useRouter } from 'vue-router'
 import { repairTesterList } from '/@/api/spares';
 export default defineComponent({
+  name:'维修测试',
   components: {
     BasicTable,
     TableAction,