|
@@ -2731,7 +2731,7 @@ const titleOptions = ref([])
|
|
|
const inputVal = ref('')
|
|
|
|
|
|
const getNodeNameConfigData = async () => {
|
|
|
- const { data } = await divisionApi.getNodeNameConfig({ pKeyId:treeItemInfo.value?.primaryKeyId })
|
|
|
+ const { data } = await divisionApi.getNodeNameConfig({ pKeyId:treeItemInfo.value?.primaryKeyId, projectId: projectId.value })
|
|
|
titleSetValue.value = getArrValue(data)
|
|
|
if (titleSetValue.value.length > 0) {
|
|
|
refreshName() //
|
|
@@ -2748,7 +2748,7 @@ const refreshName = async ()=>{
|
|
|
const { code, error, msg, data } = await divisionApi.getNameRuleByRule({
|
|
|
nameRule:titleSetValue.value.join('-'),
|
|
|
pkeyId: treeItemInfo.value?.primaryKeyId,
|
|
|
- projectId: projectId.value,
|
|
|
+
|
|
|
})
|
|
|
if (code === 200 && !error) {
|
|
|
window.$message.success(msg)
|