627896a9 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents ee3a36ee b6fdd9b3
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 14:13:02
* @LastEditTime: 2024-03-08 14:02:15
-->
<template>
<div>
......@@ -172,18 +172,30 @@
</div>
);
},
// 修改事件
/**
* @description: 修改事件
* @author: renchao
*/
getTreeName (list, dcode) {
let _this = this
for (let i = 0; i < list.length; i++) {
let a = list[i]
if (a.dcode === dcode) {
return a.dname
} else {
if (a.children && a.children.length > 0) {
let res = _this.getTreeName(a.children, dcode)
if (res) {
return res
}
}
}
}
},
addrow (a) {
// this.tableDataList = this.tableDataList.map((item) => {
// return {
// ...item,
// yt: a.yt,
// };
// });
this.tableDataList.forEach(item => {
item.ytmc = this.getTreeName(this.dictData['tdyt'], item.yt)
})
this.$emit("upDateTdytxxList", this.tableDataList);
},
/**
......
......@@ -2,7 +2,7 @@
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-31 10:14:22
* @LastEditTime: 2024-03-08 14:03:28
-->
<template>
<!-- 受理信息 -->
......