2a2b4e2c by 田浩浩
2 parents ac22fbbe f0f14d61
...@@ -118,6 +118,12 @@ import { getDetail } from "@/api/sbbwcx.js"; ...@@ -118,6 +118,12 @@ import { getDetail } from "@/api/sbbwcx.js";
118 import { MessageBox } from "element-ui"; 118 import { MessageBox } from "element-ui";
119 export default { 119 export default {
120 components: { JsonEditor }, 120 components: { JsonEditor },
121 props: {
122 title: {
123 type: String,
124 default: ''
125 }
126 },
121 computed: { 127 computed: {
122 ...mapGetters(["dicData"]), 128 ...mapGetters(["dicData"]),
123 }, 129 },
...@@ -151,7 +157,6 @@ export default { ...@@ -151,7 +157,6 @@ export default {
151 dialogVisible: false, 157 dialogVisible: false,
152 activeName: undefined, 158 activeName: undefined,
153 editItem: "", 159 editItem: "",
154 title: "",
155 headerList: [], 160 headerList: [],
156 dataTable: "", 161 dataTable: "",
157 }; 162 };
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
88 </lb-table> 88 </lb-table>
89 </div> 89 </div>
90 <!-- 编辑 --> 90 <!-- 编辑 -->
91 <dataDetails ref="editLog" /> 91 <dataDetails ref="editLog" :title="title" />
92 </div> 92 </div>
93 </template> 93 </template>
94 94
...@@ -198,6 +198,7 @@ export default { ...@@ -198,6 +198,7 @@ export default {
198 }, 198 },
199 // 业务名称 199 // 业务名称
200 statusOptions: [], 200 statusOptions: [],
201 title: ''
201 }; 202 };
202 }, 203 },
203 methods: { 204 methods: {
...@@ -220,6 +221,7 @@ export default { ...@@ -220,6 +221,7 @@ export default {
220 }, 221 },
221 // 详情 222 // 详情
222 handleEdit (row) { 223 handleEdit (row) {
224 this.title = row.rectypeName
223 this.$refs.editLog.isShow(row); 225 this.$refs.editLog.isShow(row);
224 } 226 }
225 } 227 }
......