caf89165 by renchao@pashanhoo.com

style:登记薄功能的完善

1 parent a1f1cec4
......@@ -94,7 +94,10 @@
};
},
created () {
this.loadData();
this.loadData()
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
},
methods: {
/**
......@@ -102,9 +105,6 @@
* @author: renchao
*/
loadData () {
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
getCfdjList({
bdcdyid: this.bdcdyid,
qllx: this.qllx,
......
......@@ -91,7 +91,7 @@
qsztList: datas.columns().qsztList,
checkList: datas.columns().checkList,
//传递参数
bdcdyid: this.$route.query.bdcdyid,
bdcdyid: this.$route.query.bdcdyid,
qllx: this.$route.query.qllx,
//列表数据
tableData: [],
......@@ -102,7 +102,10 @@
};
},
created () {
this.loadData();
this.loadData()
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
},
methods: {
/**
......@@ -110,9 +113,6 @@
* @author: renchao
*/
loadData () {
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
getDiyaqList({
bdcdyid: this.bdcdyid,
qllx: this.qllx,
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-25 17:12:43
* @LastEditTime: 2023-10-09 10:35:11
-->
<template>
<div class="djxxTable">
......@@ -85,7 +85,7 @@
qsztList: datas.columns().qsztList,
checkList: datas.columns().checkList,
//传递参数
bdcdyid: this.$route.query.bdcdyid,
bdcdyid: this.$route.query.bdcdyid,
qllx: this.$route.query.qllx,
//列表数据
tableData: [],
......@@ -96,7 +96,10 @@
};
},
created () {
this.loadData();
this.loadData()
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
},
methods: {
/**
......@@ -104,9 +107,7 @@
* @author: renchao
*/
loadData () {
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
getDiyiqList({
bdcdyid: this.bdcdyid,
qllx: this.qllx,
......
......@@ -92,7 +92,7 @@
qsztList: datas.columns().qsztList,
checkList: datas.columns().checkList,
//传递参数
bdcdyid: this.$route.query.bdcdyid,
bdcdyid: this.$route.query.bdcdyid,
qllx: this.$route.query.qllx,
//列表数据
tableData: [],
......@@ -103,7 +103,10 @@
};
},
created () {
this.loadData();
this.loadData()
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
},
methods: {
/**
......@@ -111,9 +114,6 @@
* @author: renchao
*/
loadData () {
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
getFdcq2List({
bdcdyid: this.bdcdyid,
qllx: this.qllx,
......
......@@ -34,6 +34,9 @@
},
created () {
this.loadData();
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
},
methods: {
/**
......@@ -41,9 +44,6 @@
* @author: renchao
*/
loadData (checkList = []) {
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
getCfdjList({
bdcdyid: this.propsParam.bdcdyid,
qllx: this.propsParam.qllx,
......
......@@ -33,13 +33,13 @@
};
},
created () {
this.loadData();
this.loadData()
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
},
methods: {
loadData (checkList = []) {
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
getDiyiqList({
bdcdyid: this.propsParam.bdcdyid,
qllx: this.propsParam.qllx,
......
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2023-09-21 11:05:33
* @LastEditTime: 2023-10-09 10:35:56
-->
<template>
<div class="djxxTable">
......@@ -149,7 +149,10 @@
};
},
created () {
this.loadData();
this.loadData()
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
},
methods: {
/**
......@@ -186,9 +189,6 @@
* @author: miaofang
*/
loadData () {
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
getFdcq1List({
bdcdyid: this.propsParam.bdcdyid,
qllx: this.propsParam.qllx,
......
......@@ -32,7 +32,10 @@
};
},
created () {
this.loadData();
this.loadData()
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
},
methods: {
/**
......@@ -40,9 +43,6 @@
* @author: miaofang
*/
loadData (checkList = []) {
if (this.$parent.addRepairRecord) {
this.columns.unshift({ prop: "cz", label: "操作" });
}
getFdcq2List({
bdcdyid: this.propsParam.bdcdyid,
qllx: this.propsParam.qllx,
......