Kaynağa Gözat

上传附件接口更改

duy 1 yıl önce
ebeveyn
işleme
5ffefebd95
2 değiştirilmiş dosya ile 8 ekleme ve 2 silme
  1. 6 0
      src/api/modules/other.js
  2. 2 2
      src/views/data-fill/wbs.vue

+ 6 - 0
src/api/modules/other.js

@@ -57,6 +57,12 @@ export const getDictionary = (form, msg = true) => httpApi({
     method: 'get',
     params: form,
 }, msg)
+//业务字典
+export const getDictionaryBiz = (form, msg = true) => httpApi({
+    url: '/api/blade-system/dict-biz/dictionary',
+    method: 'get',
+    params: form,
+}, msg)
 
 
 //获取表单的下拉框测站点数据

+ 2 - 2
src/views/data-fill/wbs.vue

@@ -554,7 +554,7 @@ import {
     isString,
     setCopyText,
 } from 'js-fast-way'
-import { eVisaTaskCheckApi, getDictionary } from '~api/other'
+import { eVisaTaskCheckApi, getDictionary, getDictionaryBiz } from '~api/other'
 import wbsApi from '~api/data-fill/wbs'
 import queryApi from '~api/data-fill/query'
 import Draggable from 'vuedraggable'
@@ -2007,7 +2007,7 @@ const typeoptions = ref([
   },
 ])
 const getFileTypeApi = async () => {
-    const { data } = await getDictionary({
+    const { data } = await getDictionaryBiz({
         code: 'table_file_type',
     })
     //处理数据