Browse Source

在建修改

dev_kxc
xzt 1 year ago
parent
commit
638c42dd14
  1. 3
      jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/EngineeringQualitySupervisionAndInspection.vue
  2. 4
      jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/components/divAssess.vue
  3. 4
      jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/components/unitAssess.vue

3
jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/EngineeringQualitySupervisionAndInspection.vue

@ -264,6 +264,7 @@ import { getFileStream } from "@/api/system/upload";
export default { export default {
name: "Inspect", name: "Inspect",
props: ["proNo", "proCode"],
data() { data() {
return { return {
// //
@ -326,6 +327,8 @@ export default {
/** 查询工程质量监管与检查列表 */ /** 查询工程质量监管与检查列表 */
getList() { getList() {
this.loading = true; this.loading = true;
this.queryParams.data.proNo = this.proNo;
this.queryParams.data.proCode = this.proCode;
listInspect(this.queryParams).then((response) => { listInspect(this.queryParams).then((response) => {
this.inspectList = response.records; this.inspectList = response.records;
this.total = response.total; this.total = response.total;

4
jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/components/divAssess.vue

@ -294,6 +294,8 @@ export default {
/** 查询分部工程质量评定列表 */ /** 查询分部工程质量评定列表 */
getList() { getList() {
this.loading = true; this.loading = true;
this.queryParams.data.proNo = this.proNo;
this.queryParams.data.proCode = this.proCode;
listDivisionRate(this.queryParams).then((response) => { listDivisionRate(this.queryParams).then((response) => {
this.divisionRateList = response.records; this.divisionRateList = response.records;
this.total = response.total; this.total = response.total;
@ -394,6 +396,8 @@ export default {
/** 提交按钮 */ /** 提交按钮 */
submitForm() { submitForm() {
this.$refs["form"].validate((valid) => { this.$refs["form"].validate((valid) => {
this.form.proNo = this.proNo;
this.form.proCode = this.proCode;
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateDivisionRate(this.form).then((response) => { updateDivisionRate(this.form).then((response) => {

4
jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/components/unitAssess.vue

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

Loading…
Cancel
Save