|
|
@@ -411,9 +411,11 @@
|
|
|
</el-upload>
|
|
|
<templateTable
|
|
|
ref="templateTable1"
|
|
|
+ :formList="formListbatch"
|
|
|
:tableConfig="tableConfigbatch"
|
|
|
:data="batchData"
|
|
|
@findPage="findPagegbatch"
|
|
|
+ @handleSearchList="handleSearchListbatch"
|
|
|
:pagination="pageDataPro"
|
|
|
@getList="getListgbatch"
|
|
|
@selectionChange="selectionChangebatch"
|
|
|
@@ -468,6 +470,19 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ formListbatch: [
|
|
|
+ {
|
|
|
+ label: "上传时间",
|
|
|
+ prop: "createTime",
|
|
|
+ type: "date",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "保司机构",
|
|
|
+ prop: "partnerCompaniesId",
|
|
|
+ type: "select",
|
|
|
+ options: [],
|
|
|
+ },
|
|
|
+ ],
|
|
|
process: process.env.BASE_URL,
|
|
|
dockingPersonOption: [],
|
|
|
rulesAdd: {
|
|
|
@@ -1016,7 +1031,7 @@ export default {
|
|
|
this.areaqueryList(1, 99, "provinceId");
|
|
|
this.companyqueryList(0, "allPartnerCompaniesId");
|
|
|
this.agrmentlist();
|
|
|
-
|
|
|
+ this.getCompanyList();
|
|
|
this.findPage();
|
|
|
let params = {
|
|
|
classname: "",
|
|
|
@@ -1048,6 +1063,12 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
+ getCompanyList() {
|
|
|
+ this.$api.task.queryPartnerCompaniesList("2").then((res) => {
|
|
|
+ this.companyList = res.data;
|
|
|
+ this.formListbatch[1].options = res.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
drivinguploadExcel(file, fileList) {
|
|
|
this.progressPercent = 0;
|
|
|
const params = new FormData(); // 声明formData数据类型
|
|
|
@@ -1224,10 +1245,13 @@ export default {
|
|
|
this.dialogVisibleBatch = true;
|
|
|
this.findPagegbatch();
|
|
|
},
|
|
|
- findPagegbatch() {
|
|
|
+ handleSearchListbatch(data) {
|
|
|
+ this.findPagegbatch(data);
|
|
|
+ },
|
|
|
+ findPagegbatch(data) {
|
|
|
this.tableConfigbatch.loading = true;
|
|
|
this.$api.task
|
|
|
- .importAsyncQuery({ ...this.pageDataPro, handStatus: 2 })
|
|
|
+ .importAsyncQuery({ ...this.pageDataPro, handStatus: 2, ...data})
|
|
|
.then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.tableConfigbatch.loading = false;
|