Commit a5f12ea4 authored by 何远江's avatar 何远江

添加区域类型,关联区域限制

parent 23677c39
import axios from 'axios'
const formHeader = {
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
}
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
}
/**
* 根据id查询码表及明细表
......@@ -9,8 +9,20 @@ const formHeader = {
* @returns
*/
export const apiDictFindById = (dictCode: string) => {
return axios.get('/api/dict/findDictItemsByDictCode',{
params: { dictCode },
headers: formHeader
})
}
\ No newline at end of file
return axios.get('/api/dict/findDictItemsByDictCode', {
params: { dictCode },
headers: formHeader
})
}
/**
* 获取码表分组
* @param params
* @returns
*/
export const apiDictList = (params: any) => {
return axios.get('/api/dict/list', {
params,
headers: formHeader
})
}
......@@ -106,7 +106,8 @@ const submitForm = async () => {
customerId: formState.customerId
}
apiSaveUpload(params).then(({ data }) => {
useCommentExcel(data.result)
const { setFileInfo } = useCommentExcel()
setFileInfo(data.result)
emit('upload', data.result)
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment