627896a9 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents ee3a36ee b6fdd9b3
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 14:13:02 4 * @LastEditTime: 2024-03-08 14:02:15
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -172,18 +172,30 @@ ...@@ -172,18 +172,30 @@
172 </div> 172 </div>
173 ); 173 );
174 }, 174 },
175 // 修改事件
176 /** 175 /**
177 * @description: 修改事件 176 * @description: 修改事件
178 * @author: renchao 177 * @author: renchao
179 */ 178 */
179 getTreeName (list, dcode) {
180 let _this = this
181 for (let i = 0; i < list.length; i++) {
182 let a = list[i]
183 if (a.dcode === dcode) {
184 return a.dname
185 } else {
186 if (a.children && a.children.length > 0) {
187 let res = _this.getTreeName(a.children, dcode)
188 if (res) {
189 return res
190 }
191 }
192 }
193 }
194 },
180 addrow (a) { 195 addrow (a) {
181 // this.tableDataList = this.tableDataList.map((item) => { 196 this.tableDataList.forEach(item => {
182 // return { 197 item.ytmc = this.getTreeName(this.dictData['tdyt'], item.yt)
183 // ...item, 198 })
184 // yt: a.yt,
185 // };
186 // });
187 this.$emit("upDateTdytxxList", this.tableDataList); 199 this.$emit("upDateTdytxxList", this.tableDataList);
188 }, 200 },
189 /** 201 /**
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <!-- 2 <!--
3 * @Description: 3 * @Description:
4 * @Autor: renchao 4 * @Autor: renchao
5 * @LastEditTime: 2024-01-31 10:14:22 5 * @LastEditTime: 2024-03-08 14:03:28
6 --> 6 -->
7 <template> 7 <template>
8 <!-- 受理信息 --> 8 <!-- 受理信息 -->
......