|
@@ -70,8 +70,13 @@ const getDataApi = async () => {
|
|
|
}
|
|
|
|
|
|
//获取项目详情
|
|
|
+const projectInfo = ref({})
|
|
|
const getProjectDeatil = async () => {
|
|
|
- //mainApi
|
|
|
+ const { pid } = getObjValue(dataInfo.value)
|
|
|
+ contractForm.value = {}
|
|
|
+ if (isNullES(pid)) return
|
|
|
+ const { data } = await projectApi.detail(pid)
|
|
|
+ projectInfo.value = getObjValue(data)
|
|
|
}
|
|
|
|
|
|
//获取合同类型
|