|
|
@ -220,6 +220,8 @@ export default { |
|
|
|
/** 查询单位工程质量评定列表 */ |
|
|
|
getList() { |
|
|
|
this.loading = true; |
|
|
|
this.queryParams.data.proNo = this.proNo; |
|
|
|
this.queryParams.data.proCode = this.proCode; |
|
|
|
listUnitRate(this.queryParams).then((response) => { |
|
|
|
this.unitRateList = response.records; |
|
|
|
this.total = response.total; |
|
|
@ -309,6 +311,8 @@ export default { |
|
|
|
submitForm() { |
|
|
|
this.$refs["form"].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|
this.form.proNo = this.proNo; |
|
|
|
this.form.proCode = this.proCode; |
|
|
|
if (this.form.id != null) { |
|
|
|
updateUnitRate(this.form).then((response) => { |
|
|
|
if (response.code === 200) { |
|
|
|