bill hai 18 horas
pai
achega
de282b5450
Modificáronse 6 ficheiros con 11 adicións e 11 borrados
  1. 0 1
      src/api/tagging.ts
  2. 2 2
      src/env/index.ts
  3. 1 1
      src/layout/show/index.vue
  4. 0 1
      src/store/setting.ts
  5. 6 4
      src/views/record/index.vue
  6. 2 2
      vite.config.ts

+ 0 - 1
src/api/tagging.ts

@@ -106,7 +106,6 @@ const localToService = (tagging: Tagging, update = false): PartialProps<ServerTa
 
 
 export const fetchTaggings = async () => {
-  axios.get(TAGGING_TYPE_LIST)
   const staggings = await axios.get<ServerTagging[]>(TAGGING_LIST, { params: { fusionId: params.caseId } })
   return staggings.map(serviceToLocal)
 }

+ 2 - 2
src/env/index.ts

@@ -135,7 +135,7 @@ if (offline) {
     params.root = ''
     params.ossRoot = '/'
   }
-  params.root = ''
+  // params.root = ''
   params.static = '/oss/'
 } else {
   // jar服务链接
@@ -216,4 +216,4 @@ watch(
     onCleanup(showFullStack.push(ref(pure)));
   },
   { immediate: true }
-);
+);

+ 1 - 1
src/layout/show/index.vue

@@ -96,7 +96,7 @@ const initialSys = async () => {
     initialFuseModels(),
     initialScenes(),
     // initialViews(),
-    initialRecords(),
+    // initialRecords(),
     // initialFloders(),
     // initialFloderTypes(),
     initialTaggings(),

+ 0 - 1
src/store/setting.ts

@@ -15,7 +15,6 @@ export const initialSetting = async () => {
 }
 
 export const updataSetting = async () => {
-  console.error(setting.value)
   if (setting.value) {
     const cover = await uploadFile(setting.value.cover)
     await updateSetting({ ...setting.value, cover })

+ 6 - 4
src/views/record/index.vue

@@ -2,7 +2,9 @@
   <RightFillPano>
     <template #header>
       <div class="btns header-btns">
-        <ui-button class="start" @click="start" type="primary">{{ $t('record.start') }}</ui-button>
+        <ui-button class="start" @click="start" type="primary">{{
+          $t("record.start")
+        }}</ui-button>
       </div>
     </template>
 
@@ -58,7 +60,7 @@ initialPaths();
 const start = () => records.value.push(createRecord());
 const deleteRecord = async (record: Record) => {
   const isTemp = getRecordFragmentBlobs(record).length === 0 && isTemploraryID(record.id);
-  if (isTemp || (await Dialog.confirm($t('record.delConfirm')))) {
+  if (isTemp || (await Dialog.confirm($t("record.delConfirm")))) {
     const index = records.value.indexOf(record);
     if (~index) {
       records.value.splice(index, 1);
@@ -72,8 +74,8 @@ const getSignRecord = (record: Record): RecordProcess => ({
 });
 
 const setOptions = [
-  { value: "tagging", label: ui18n.t('record.tag') },
-  { value: "measure", label: ui18n.t('measure.name') },
+  { value: "tagging", label: ui18n.t("record.tag") },
+  { value: "measure", label: ui18n.t("measure.name") },
 ] as const;
 
 type SetKey = typeof setOptions[number]["value"];

+ 2 - 2
vite.config.ts

@@ -3,8 +3,8 @@ import vue from "@vitejs/plugin-vue";
 
 import { resolve } from "path";
 
-const oss = `http://192.168.0.125:1804/`;
-const ip = `http://192.168.0.125:1804/`;
+const oss = `http://192.168.0.13:8080/`;
+const ip = `http://192.168.0.13:8080/`;
 const langProt = 7700;
 const proxy = {
   "/dev": {