添加全部解析
This commit is contained in:
parent
e51cd036bd
commit
8badf8b271
|
@ -20,6 +20,7 @@
|
||||||
<a-button type="primary" style="left: 10px" @click="loadData" icon="search">查询</a-button>
|
<a-button type="primary" style="left: 10px" @click="loadData" icon="search">查询</a-button>
|
||||||
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px;left: 10px">重置</a-button>
|
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px;left: 10px">重置</a-button>
|
||||||
<a-button type="primary" @click="handleAdd" icon="upload" style="margin-left: 8px;left: 10px">上传</a-button>
|
<a-button type="primary" @click="handleAdd" icon="upload" style="margin-left: 8px;left: 10px">上传</a-button>
|
||||||
|
<a-button type="primary" @click="allprocess" icon="upload" style="margin-left: 8px;left: 10px">全部解析</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
@ -199,6 +200,15 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
allprocess:function(){
|
||||||
|
getAction("/fileDataLink/processAllFile?dataLinkType=3",{}).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message);
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
processFile: function (record) {
|
processFile: function (record) {
|
||||||
var that = this;
|
var that = this;
|
||||||
isDataLinkFileParsed({fileId:record.fileId}).then((res) => {
|
isDataLinkFileParsed({fileId:record.fileId}).then((res) => {
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
<a-button type="primary" style="left: 10px" @click="loadData" icon="search">查询</a-button>
|
<a-button type="primary" style="left: 10px" @click="loadData" icon="search">查询</a-button>
|
||||||
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px;left: 10px">重置</a-button>
|
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px;left: 10px">重置</a-button>
|
||||||
<a-button type="primary" @click="handleAdd" icon="upload" style="margin-left: 8px;left: 10px">上传</a-button>
|
<a-button type="primary" @click="handleAdd" icon="upload" style="margin-left: 8px;left: 10px">上传</a-button>
|
||||||
|
<a-button type="primary" @click="allprocess" icon="upload" style="margin-left: 8px;left: 10px">全部解析</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
@ -194,6 +195,15 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
allprocess:function(){
|
||||||
|
getAction("/fileDataLink/processAllFile?dataLinkType=2",{}).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message);
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
handleDelete: function (id) {
|
handleDelete: function (id) {
|
||||||
var that = this;
|
var that = this;
|
||||||
deleteAction("/fileDataLink/delete?id="+id,{}).then((res) => {
|
deleteAction("/fileDataLink/delete?id="+id,{}).then((res) => {
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
<a-button type="primary" style="left: 10px" @click="loadData" icon="search">查询</a-button>
|
<a-button type="primary" style="left: 10px" @click="loadData" icon="search">查询</a-button>
|
||||||
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px;left: 10px">重置</a-button>
|
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px;left: 10px">重置</a-button>
|
||||||
<a-button type="primary" @click="handleAdd" icon="upload" style="margin-left: 8px;left: 10px">上传</a-button>
|
<a-button type="primary" @click="handleAdd" icon="upload" style="margin-left: 8px;left: 10px">上传</a-button>
|
||||||
|
<a-button type="primary" @click="allprocess" icon="upload" style="margin-left: 8px;left: 10px">全部解析</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
@ -70,7 +71,7 @@
|
||||||
import { getFileLinkInfo,processFile,fileDataLinkDelete,isDataLinkFileParsed } from '@/api/fileDataLink'
|
import { getFileLinkInfo,processFile,fileDataLinkDelete,isDataLinkFileParsed } from '@/api/fileDataLink'
|
||||||
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
||||||
import JEllipsis from "@/components/jeecg/JEllipsis";
|
import JEllipsis from "@/components/jeecg/JEllipsis";
|
||||||
import {deleteAction, postAction} from '@/api/manage'
|
import {deleteAction, postAction,getAction} from '@/api/manage'
|
||||||
export default {
|
export default {
|
||||||
name: "waterDocuments",
|
name: "waterDocuments",
|
||||||
mixins:[JeecgListMixin],
|
mixins:[JeecgListMixin],
|
||||||
|
@ -189,6 +190,15 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
allprocess:function(){
|
||||||
|
getAction("/fileDataLink/processAllFile?dataLinkType=1",{}).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message);
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
handleDelete: function (id) {
|
handleDelete: function (id) {
|
||||||
var that = this;
|
var that = this;
|
||||||
deleteAction("/fileDataLink/delete?id="+id,{}).then((res) => {
|
deleteAction("/fileDataLink/delete?id="+id,{}).then((res) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user