|
@@ -162,7 +162,7 @@
|
|
|
import { nextTick, ref, watch } from 'vue'
|
|
|
import { useAppStore } from '~src/store'
|
|
|
import { getDictionaryData } from '~uti/tools'
|
|
|
-import { arrToKey, getArrValue, getObjValue, isNullES } from 'js-fast-way'
|
|
|
+import { arrIndex, arrToKey, getArrValue, getObjValue, isNullES } from 'js-fast-way'
|
|
|
|
|
|
//子组件
|
|
|
import ChangeRequest from './changeRequest.vue'
|
|
@@ -323,7 +323,8 @@ const delChangeNode = (index) => {
|
|
|
//变更申请部位 行被点击
|
|
|
const changeNodeItem = ref({})
|
|
|
const tableData1 = ref([])
|
|
|
-const rowChangeNodeClick = ({ row }) => {
|
|
|
+const rowChangeNodeClick = ({ row, index }) => {
|
|
|
+ console.log(index)
|
|
|
changeNodeItem.value = row
|
|
|
tableData1.value = getArrValue(row.formList)
|
|
|
}
|
|
@@ -349,6 +350,7 @@ const changeShowClick = () => {
|
|
|
//确认选择完成
|
|
|
const changeNodeFinish = (data) => {
|
|
|
tableData1.value.push(...data)
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|