Răsfoiți Sursa

新增自定义节点加templateType参数

duy 3 luni în urmă
părinte
comite
cb174ebbe8
2 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 2 0
      src/views/data-fill/division.vue
  2. 2 0
      src/views/data-fill/wbs.vue

+ 2 - 0
src/views/data-fill/division.vue

@@ -1954,6 +1954,7 @@ const addNodeClickCur = async () => {
         partitionCode: treeItemInfo.value?.partitionCode || '',
         primaryKeyId: treeItemInfo.value?.primaryKeyId || '',
         nodeClass: 1, //1水利化工程,2数字化文件
+        templateType:useAppState.contractInfo?.templateType,
     })
     //判断状态
     addNodeLoadingCus.value = false
@@ -2102,6 +2103,7 @@ const addNodeClickData = async () => {
         unitNum: formDataNodeModel.value?.unitNum || 0,
         digitizeTime: formDataNodeModel.value?.digitizeTime || 0,
         majorDataType: formDataNodeModel.value?.majorDataType || '',
+        templateType:useAppState.contractInfo?.templateType,
     })
     //判断状态
     addNodeLoadingData.value = false

+ 2 - 0
src/views/data-fill/wbs.vue

@@ -2562,6 +2562,7 @@ const addNodeClickData = async () => {
         digitizeTime: formDataNodeModel.value?.digitizeTime || '',
         unitNum: formDataNodeModel.value?.unitNum || 0,
         majorDataType: formDataNodeModel.value?.majorDataType || '',
+        templateType:useAppState.contractInfo?.templateType,
     
     })
     //判断状态
@@ -2646,6 +2647,7 @@ const addNodeClickCur = async () => {
         partitionCode: nodeDataInfo.value?.partitionCode || '',
         primaryKeyId: nodeDataInfo.value?.primaryKeyId || '',
         nodeClass: 1, //1水利化工程,2数字化文件
+        templateType:useAppState.contractInfo?.templateType,
     })
     //判断状态
     addNodeLoadingCus.value = false