caf89165 by renchao@pashanhoo.com

style:登记薄功能的完善

1 parent a1f1cec4
...@@ -94,7 +94,10 @@ ...@@ -94,7 +94,10 @@
94 }; 94 };
95 }, 95 },
96 created () { 96 created () {
97 this.loadData(); 97 this.loadData()
98 if (this.$parent.addRepairRecord) {
99 this.columns.unshift({ prop: "cz", label: "操作" });
100 }
98 }, 101 },
99 methods: { 102 methods: {
100 /** 103 /**
...@@ -102,9 +105,6 @@ ...@@ -102,9 +105,6 @@
102 * @author: renchao 105 * @author: renchao
103 */ 106 */
104 loadData () { 107 loadData () {
105 if (this.$parent.addRepairRecord) {
106 this.columns.unshift({ prop: "cz", label: "操作" });
107 }
108 getCfdjList({ 108 getCfdjList({
109 bdcdyid: this.bdcdyid, 109 bdcdyid: this.bdcdyid,
110 qllx: this.qllx, 110 qllx: this.qllx,
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
91 qsztList: datas.columns().qsztList, 91 qsztList: datas.columns().qsztList,
92 checkList: datas.columns().checkList, 92 checkList: datas.columns().checkList,
93 //传递参数 93 //传递参数
94 bdcdyid: this.$route.query.bdcdyid, 94 bdcdyid: this.$route.query.bdcdyid,
95 qllx: this.$route.query.qllx, 95 qllx: this.$route.query.qllx,
96 //列表数据 96 //列表数据
97 tableData: [], 97 tableData: [],
...@@ -102,7 +102,10 @@ ...@@ -102,7 +102,10 @@
102 }; 102 };
103 }, 103 },
104 created () { 104 created () {
105 this.loadData(); 105 this.loadData()
106 if (this.$parent.addRepairRecord) {
107 this.columns.unshift({ prop: "cz", label: "操作" });
108 }
106 }, 109 },
107 methods: { 110 methods: {
108 /** 111 /**
...@@ -110,9 +113,6 @@ ...@@ -110,9 +113,6 @@
110 * @author: renchao 113 * @author: renchao
111 */ 114 */
112 loadData () { 115 loadData () {
113 if (this.$parent.addRepairRecord) {
114 this.columns.unshift({ prop: "cz", label: "操作" });
115 }
116 getDiyaqList({ 116 getDiyaqList({
117 bdcdyid: this.bdcdyid, 117 bdcdyid: this.bdcdyid,
118 qllx: this.qllx, 118 qllx: this.qllx,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-25 17:12:43 4 * @LastEditTime: 2023-10-09 10:35:11
5 --> 5 -->
6 <template> 6 <template>
7 <div class="djxxTable"> 7 <div class="djxxTable">
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
85 qsztList: datas.columns().qsztList, 85 qsztList: datas.columns().qsztList,
86 checkList: datas.columns().checkList, 86 checkList: datas.columns().checkList,
87 //传递参数 87 //传递参数
88 bdcdyid: this.$route.query.bdcdyid, 88 bdcdyid: this.$route.query.bdcdyid,
89 qllx: this.$route.query.qllx, 89 qllx: this.$route.query.qllx,
90 //列表数据 90 //列表数据
91 tableData: [], 91 tableData: [],
...@@ -96,7 +96,10 @@ ...@@ -96,7 +96,10 @@
96 }; 96 };
97 }, 97 },
98 created () { 98 created () {
99 this.loadData(); 99 this.loadData()
100 if (this.$parent.addRepairRecord) {
101 this.columns.unshift({ prop: "cz", label: "操作" });
102 }
100 }, 103 },
101 methods: { 104 methods: {
102 /** 105 /**
...@@ -104,9 +107,7 @@ ...@@ -104,9 +107,7 @@
104 * @author: renchao 107 * @author: renchao
105 */ 108 */
106 loadData () { 109 loadData () {
107 if (this.$parent.addRepairRecord) { 110
108 this.columns.unshift({ prop: "cz", label: "操作" });
109 }
110 getDiyiqList({ 111 getDiyiqList({
111 bdcdyid: this.bdcdyid, 112 bdcdyid: this.bdcdyid,
112 qllx: this.qllx, 113 qllx: this.qllx,
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
92 qsztList: datas.columns().qsztList, 92 qsztList: datas.columns().qsztList,
93 checkList: datas.columns().checkList, 93 checkList: datas.columns().checkList,
94 //传递参数 94 //传递参数
95 bdcdyid: this.$route.query.bdcdyid, 95 bdcdyid: this.$route.query.bdcdyid,
96 qllx: this.$route.query.qllx, 96 qllx: this.$route.query.qllx,
97 //列表数据 97 //列表数据
98 tableData: [], 98 tableData: [],
...@@ -103,7 +103,10 @@ ...@@ -103,7 +103,10 @@
103 }; 103 };
104 }, 104 },
105 created () { 105 created () {
106 this.loadData(); 106 this.loadData()
107 if (this.$parent.addRepairRecord) {
108 this.columns.unshift({ prop: "cz", label: "操作" });
109 }
107 }, 110 },
108 methods: { 111 methods: {
109 /** 112 /**
...@@ -111,9 +114,6 @@ ...@@ -111,9 +114,6 @@
111 * @author: renchao 114 * @author: renchao
112 */ 115 */
113 loadData () { 116 loadData () {
114 if (this.$parent.addRepairRecord) {
115 this.columns.unshift({ prop: "cz", label: "操作" });
116 }
117 getFdcq2List({ 117 getFdcq2List({
118 bdcdyid: this.bdcdyid, 118 bdcdyid: this.bdcdyid,
119 qllx: this.qllx, 119 qllx: this.qllx,
......
...@@ -34,6 +34,9 @@ ...@@ -34,6 +34,9 @@
34 }, 34 },
35 created () { 35 created () {
36 this.loadData(); 36 this.loadData();
37 if (this.$parent.addRepairRecord) {
38 this.columns.unshift({ prop: "cz", label: "操作" });
39 }
37 }, 40 },
38 methods: { 41 methods: {
39 /** 42 /**
...@@ -41,9 +44,6 @@ ...@@ -41,9 +44,6 @@
41 * @author: renchao 44 * @author: renchao
42 */ 45 */
43 loadData (checkList = []) { 46 loadData (checkList = []) {
44 if (this.$parent.addRepairRecord) {
45 this.columns.unshift({ prop: "cz", label: "操作" });
46 }
47 getCfdjList({ 47 getCfdjList({
48 bdcdyid: this.propsParam.bdcdyid, 48 bdcdyid: this.propsParam.bdcdyid,
49 qllx: this.propsParam.qllx, 49 qllx: this.propsParam.qllx,
......
...@@ -33,13 +33,13 @@ ...@@ -33,13 +33,13 @@
33 }; 33 };
34 }, 34 },
35 created () { 35 created () {
36 this.loadData(); 36 this.loadData()
37 if (this.$parent.addRepairRecord) {
38 this.columns.unshift({ prop: "cz", label: "操作" });
39 }
37 }, 40 },
38 methods: { 41 methods: {
39 loadData (checkList = []) { 42 loadData (checkList = []) {
40 if (this.$parent.addRepairRecord) {
41 this.columns.unshift({ prop: "cz", label: "操作" });
42 }
43 getDiyiqList({ 43 getDiyiqList({
44 bdcdyid: this.propsParam.bdcdyid, 44 bdcdyid: this.propsParam.bdcdyid,
45 qllx: this.propsParam.qllx, 45 qllx: this.propsParam.qllx,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: miaofang 3 * @Autor: miaofang
4 * @LastEditTime: 2023-09-21 11:05:33 4 * @LastEditTime: 2023-10-09 10:35:56
5 --> 5 -->
6 <template> 6 <template>
7 <div class="djxxTable"> 7 <div class="djxxTable">
...@@ -149,7 +149,10 @@ ...@@ -149,7 +149,10 @@
149 }; 149 };
150 }, 150 },
151 created () { 151 created () {
152 this.loadData(); 152 this.loadData()
153 if (this.$parent.addRepairRecord) {
154 this.columns.unshift({ prop: "cz", label: "操作" });
155 }
153 }, 156 },
154 methods: { 157 methods: {
155 /** 158 /**
...@@ -186,9 +189,6 @@ ...@@ -186,9 +189,6 @@
186 * @author: miaofang 189 * @author: miaofang
187 */ 190 */
188 loadData () { 191 loadData () {
189 if (this.$parent.addRepairRecord) {
190 this.columns.unshift({ prop: "cz", label: "操作" });
191 }
192 getFdcq1List({ 192 getFdcq1List({
193 bdcdyid: this.propsParam.bdcdyid, 193 bdcdyid: this.propsParam.bdcdyid,
194 qllx: this.propsParam.qllx, 194 qllx: this.propsParam.qllx,
......
...@@ -32,7 +32,10 @@ ...@@ -32,7 +32,10 @@
32 }; 32 };
33 }, 33 },
34 created () { 34 created () {
35 this.loadData(); 35 this.loadData()
36 if (this.$parent.addRepairRecord) {
37 this.columns.unshift({ prop: "cz", label: "操作" });
38 }
36 }, 39 },
37 methods: { 40 methods: {
38 /** 41 /**
...@@ -40,9 +43,6 @@ ...@@ -40,9 +43,6 @@
40 * @author: miaofang 43 * @author: miaofang
41 */ 44 */
42 loadData (checkList = []) { 45 loadData (checkList = []) {
43 if (this.$parent.addRepairRecord) {
44 this.columns.unshift({ prop: "cz", label: "操作" });
45 }
46 getFdcq2List({ 46 getFdcq2List({
47 bdcdyid: this.propsParam.bdcdyid, 47 bdcdyid: this.propsParam.bdcdyid,
48 qllx: this.propsParam.qllx, 48 qllx: this.propsParam.qllx,
......