Merge branch 'material-ui' of http://192.168.0.75:3000/bonus/bonus-ui into material-ui
This commit is contained in:
commit
1340792d48
|
|
@ -373,8 +373,8 @@ export default {
|
||||||
...this.queryParams,
|
...this.queryParams,
|
||||||
}
|
}
|
||||||
const res = await getBackApplyList(params)
|
const res = await getBackApplyList(params)
|
||||||
this.typeList = res.rows
|
this.typeList = res.data.rows
|
||||||
this.total = res.total
|
this.total = res.data.total
|
||||||
this.loading = false
|
this.loading = false
|
||||||
} catch (error) {}
|
} catch (error) {}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -430,7 +430,7 @@ export default {
|
||||||
const res = await addQrCodeApi(this.dialogForm)
|
const res = await addQrCodeApi(this.dialogForm)
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message({ type: 'success', message: "新增成功" })
|
this.$message({ type: 'success', message: "新增成功" })
|
||||||
this.open=true;
|
this.open=false;
|
||||||
this.resetQuery()
|
this.resetQuery()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -443,9 +443,9 @@ export default {
|
||||||
pageNum: this.queryParams.pageNum,
|
pageNum: this.queryParams.pageNum,
|
||||||
statusList:[this.queryParams.taskStatus]
|
statusList:[this.queryParams.taskStatus]
|
||||||
};
|
};
|
||||||
getListLeaseApply(this.addDateRange(params)).then((response) => {
|
getListLeaseApply(params).then((response) => {
|
||||||
this.typeList = response.rows;
|
this.typeList = response.data.rows;
|
||||||
this.total = response.total;
|
this.total = response.data.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -490,9 +490,9 @@ export default {
|
||||||
pageSize: this.queryParams.pageSize,
|
pageSize: this.queryParams.pageSize,
|
||||||
pageNum: this.queryParams.pageNum,
|
pageNum: this.queryParams.pageNum,
|
||||||
};
|
};
|
||||||
getListLeaseApply(this.addDateRange(params)).then((response) => {
|
getListLeaseApply(params).then((response) => {
|
||||||
this.typeList = response.rows;
|
this.typeList = response.data.rows;
|
||||||
this.total = response.total;
|
this.total = response.data.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -933,8 +933,8 @@ export default {
|
||||||
params.statusList=[this.queryParams.taskStatus]
|
params.statusList=[this.queryParams.taskStatus]
|
||||||
}
|
}
|
||||||
getListLeaseApply(this.addDateRange(params)).then((response) => {
|
getListLeaseApply(this.addDateRange(params)).then((response) => {
|
||||||
this.typeList = response.rows;
|
this.typeList = response.data.rows;
|
||||||
this.total = response.total;
|
this.total = response.data.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -334,8 +334,8 @@ export default {
|
||||||
taskStatus: this.queryParams.taskStatus,
|
taskStatus: this.queryParams.taskStatus,
|
||||||
};
|
};
|
||||||
getPartLeaseInfoListApi(params).then((response) => {
|
getPartLeaseInfoListApi(params).then((response) => {
|
||||||
this.tableList = response.rows;
|
this.tableList = response.data.rows;
|
||||||
this.total = response.total;
|
this.total = response.data.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1253,13 +1253,13 @@ export default {
|
||||||
this.$message.error("配件数量不能为0!");
|
this.$message.error("配件数量不能为0!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const isCost = this.backTableList.some(
|
// const isCost = this.backTableList.some(
|
||||||
(item) => item.backCost == 0 || item.backCost == undefined
|
// (item) => item.backCost == 0 || item.backCost == undefined
|
||||||
);
|
// );
|
||||||
if (isCost) {
|
// if (isCost) {
|
||||||
this.$message.error("维修金额不能为0!");
|
// this.$message.error("维修金额不能为0!");
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
this.backTableList.forEach(item=>{
|
this.backTableList.forEach(item=>{
|
||||||
item.supplierId = this.backForm.supplierId
|
item.supplierId = this.backForm.supplierId
|
||||||
item.remark = this.backForm.remark
|
item.remark = this.backForm.remark
|
||||||
|
|
|
||||||
|
|
@ -378,8 +378,8 @@ export default {
|
||||||
...this.queryParams,
|
...this.queryParams,
|
||||||
}
|
}
|
||||||
const res = await getRepairTaskList(params)
|
const res = await getRepairTaskList(params)
|
||||||
this.tableList = res.rows
|
this.tableList = res.data.rows
|
||||||
this.total = res.total
|
this.total = res.data.total
|
||||||
this.loading = false
|
this.loading = false
|
||||||
} catch (error) {}
|
} catch (error) {}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -45,12 +45,12 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5">
|
<!-- <el-col :span="1.5">
|
||||||
<el-button type="success" plain icon="el-icon-check" size="mini" @click="handlePassAll">通过</el-button>
|
<el-button type="success" plain icon="el-icon-check" size="mini" @click="handlePassAll">通过</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button type="danger" plain icon="el-icon-close" size="mini" @click="handleFailAll">驳回</el-button>
|
<el-button type="danger" plain icon="el-icon-close" size="mini" @click="handleFailAll">驳回</el-button>
|
||||||
</el-col>
|
</el-col> -->
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport">导出</el-button>
|
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport">导出</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -163,8 +163,8 @@ export default {
|
||||||
pageNum: this.queryParams.pageNum,
|
pageNum: this.queryParams.pageNum,
|
||||||
};
|
};
|
||||||
getScrapApplyListApi(params).then((response) => {
|
getScrapApplyListApi(params).then((response) => {
|
||||||
this.tableList = response.rows;
|
this.tableList = response.data.rows;
|
||||||
this.total = response.total;
|
this.total = response.data.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -354,8 +354,8 @@ export default {
|
||||||
taskType:5,
|
taskType:5,
|
||||||
};
|
};
|
||||||
getListTestExamineApply(this.addDateRange(params)).then((response) => {
|
getListTestExamineApply(this.addDateRange(params)).then((response) => {
|
||||||
this.typeList = response.rows;
|
this.typeList = response.data.rows;
|
||||||
this.total = response.total;
|
this.total = response.data.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -197,8 +197,8 @@ export default {
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
getTestedListApi(this.queryParams).then((response) => {
|
getTestedListApi(this.queryParams).then((response) => {
|
||||||
this.testedList = response.rows;
|
this.testedList = response.data.rows;
|
||||||
this.total = response.total;
|
this.total = response.data.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue