解决接口调用错误问题
This commit is contained in:
parent
002dfe99e1
commit
9c8d8ec5e2
|
@ -4,7 +4,8 @@ const getFileLinkInfo = (params)=>getAction("/fileDataLink/getFileLinkInfo",para
|
|||
const processFile = (params)=>postAction("/fileDataLink/processFile",params);
|
||||
const fileDataLinkDelete = (params)=>deleteAction("/fileDataLink/delete",params);
|
||||
const isDataLinkFileParsed = (params)=>getAction("/fileDataLink/isDataLinkFileParsed",params);
|
||||
const updateDmTableBySeqNo = (params)=>postAction("/fileDataLink/updateDmTableBySeqNo",params);
|
||||
const updateDmTableBySeqNo = (params)=>postAction("/dataManager/updateDmTableBySeqNo",params);
|
||||
const updateDmTableBySeqNoFile = (params)=>postAction("/fileDataLink/updateDmTableBySeqNo",params);
|
||||
const getSuccessTableInfo = (params)=>getAction("/fileDataLink/getSuccessTableInfo",params);
|
||||
const getTableDataByOri = (params)=>getAction("/fileDataLink/getTableDataByOri",params);
|
||||
|
||||
|
@ -14,6 +15,7 @@ export {
|
|||
fileDataLinkDelete,
|
||||
isDataLinkFileParsed,
|
||||
updateDmTableBySeqNo,
|
||||
updateDmTableBySeqNoFile,
|
||||
getSuccessTableInfo,
|
||||
getTableDataByOri
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { updateDmTableBySeqNo } from '@/api/fileDataLink'
|
||||
import { updateDmTableBySeqNoFile } from '@/api/fileDataLink'
|
||||
|
||||
export default {
|
||||
name: "editdataseach",
|
||||
|
@ -64,7 +64,7 @@ export default {
|
|||
if (valid) {
|
||||
that.confirmLoading = true;
|
||||
that.submitForm.fieldValues = that.form
|
||||
updateDmTableBySeqNo(that.submitForm).then((res) => {
|
||||
updateDmTableBySeqNoFile(that.submitForm).then((res) => {
|
||||
if (res.success) {
|
||||
that.$message.success(res.message);
|
||||
that.$emit('ok');
|
||||
|
|
Loading…
Reference in New Issue
Block a user