|
@@ -157,6 +157,7 @@ onMounted(() => {
|
|
|
formDataFormat({})
|
|
|
queryById()
|
|
|
formValue.value.shootingUser = userInfo.value['real_name']
|
|
|
+ getFileTitleNamedata()
|
|
|
})
|
|
|
|
|
|
//详情
|
|
@@ -172,7 +173,19 @@ const queryById = async () => {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+//获取题名
|
|
|
+const getFileTitleNamedata = async () => {
|
|
|
+ if(wbsNodeIds){
|
|
|
+ const {error, code, data} = await imageApi.getFileTitleName({pKeyId: wbsNodeIds})
|
|
|
+ //判断状态
|
|
|
+ if (!error && code === 200) {
|
|
|
+ formValue.value.title=data
|
|
|
+ console.log(formValue.value.title,'formValue.value.title');
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|
|
|
//项目树被点击
|
|
|
const wbsId = ref('')
|
|
|
const treeItemInfo = ref({})
|