|
@@ -945,7 +945,7 @@ const getrecordsamplegetData = async () => {
|
|
|
}
|
|
|
//获取关联工程部位key值
|
|
|
const getpositiondata = async () => {
|
|
|
- const { error, code, data } = await dataApi.recordprojectPositiongetData({
|
|
|
+ const { error, code, data, msg } = await dataApi.recordprojectPositiongetData({
|
|
|
projectPositionIds:checkrelationString.value,
|
|
|
nodePKeyId: routerQuery?.nodeId,
|
|
|
contractId: contractId.value,
|
|
@@ -955,6 +955,8 @@ const getpositiondata = async () => {
|
|
|
|
|
|
return data
|
|
|
|
|
|
+ } else {
|
|
|
+ window.$message?.error(msg || '操作失败')
|
|
|
}
|
|
|
|
|
|
}
|