瀏覽代碼

fix: 修改

han 2 年之前
父節點
當前提交
12e082e7a9
共有 3 個文件被更改,包括 12 次插入13 次删除
  1. 1 1
      src/views/biz/visit/check/formModal.vue
  2. 1 1
      src/views/biz/visit/check/index.vue
  3. 10 11
      src/views/biz/visit/check/viewDrawer.vue

+ 1 - 1
src/views/biz/visit/check/formModal.vue

@@ -23,7 +23,7 @@
     archivesPatrolWardAdd,
     archivesPatrolWardEdit,
     archivesPatrolWardDetail,
-  } from '/@/api/biz/archives/patrolWardApi';
+  } from '/@/api/biz/visit/checkApi';
 
   const emit = defineEmits(['success', 'register']);
 

+ 1 - 1
src/views/biz/visit/check/index.vue

@@ -83,7 +83,7 @@
   import {
     archivesPatrolWardQueryCheckRoomRecord,
     archivesPatrolWardQueryPersonNumber,
-  } from '/@/api/biz/archives/patrolWardApi';
+  } from '/@/api/biz/visit/checkApi';
   // import { formatDictColor, formatDictFontColor, formatDictValue } from '/@/utils';
   import { onMounted, reactive } from 'vue';
   import dayjs from 'dayjs';

+ 10 - 11
src/views/biz/visit/check/viewDrawer.vue

@@ -9,16 +9,15 @@
     >
       <Description @register="registerDesc" :data="descData" />
     </BasicDrawer>
-    <template>
-      <Button
-        v-auth="['storage:config:add']"
-        type="primary"
-        @click="handleCreate"
-        preIcon="icon-plus|iconfont"
-      >
-        新增
-      </Button>
-    </template>
+
+    <Button
+      v-auth="['storage:config:add']"
+      type="primary"
+      @click="handleCreate"
+      preIcon="icon-plus|iconfont"
+    >
+      新增
+    </Button>
     <FormModal @register="registerModal" @success="handleSuccess" />
   </div>
 </template>
@@ -28,7 +27,7 @@
   import { Description, useDescription } from '/@/components/Description';
   import { viewSchema } from './data';
 
-  import { archivesPatrolWardDetail } from '/@/api/biz/archives/patrolWardApi';
+  import { archivesPatrolWardDetail } from '/@/api/biz/visit/checkApi';
   import { listDictModel } from '/@/api/common';
   import FormModal from './formModal.vue';
   import { formatDictValue } from '/@/utils';