联调二级评估页面
This commit is contained in:
@@ -10,15 +10,15 @@
|
||||
<el-form-item style="position: relative; z-index: 2" v-if="plevel != 7">
|
||||
<el-button icon="el-icon-Plus" type="primary" @click="add" v-if="!VITE_FLAG">
|
||||
{{
|
||||
nodeLevel == 200
|
||||
? '新增供公司'
|
||||
: nodeLevel == 300
|
||||
nodeLevel1 == 200
|
||||
? '新增供电公司'
|
||||
: nodeLevel1 == 300
|
||||
? '新增变电站'
|
||||
: nodeLevel == 400
|
||||
: nodeLevel1 == 400
|
||||
? '新增终端'
|
||||
: nodeLevel == 500
|
||||
: nodeLevel1 == 500
|
||||
? '新增母线'
|
||||
: nodeLevel >= 600
|
||||
: nodeLevel1 >= 600
|
||||
? '新增监测点'
|
||||
: '新增'
|
||||
}}
|
||||
@@ -2026,6 +2026,7 @@ const latff: any = ref((rule: any, value: any, callback: any) => {
|
||||
const plevel = ref(0)
|
||||
const nodeDataList=ref()
|
||||
const nodeEventList=ref()
|
||||
const nodeLevel1=ref(0)
|
||||
const nodeClick = (e: anyObj, data: any) => {
|
||||
nodeDataList.value = data
|
||||
nodeEventList.value = e
|
||||
@@ -2049,6 +2050,7 @@ const nodeClick = (e: anyObj, data: any) => {
|
||||
getparentsNode(data)
|
||||
pageStatus.value = 1
|
||||
nodeLevel.value = data.data.level
|
||||
nodeLevel1.value = data.data.level
|
||||
nodeData.value = e
|
||||
AddProjectBO.value.projectParam = null
|
||||
AddProjectBO.value.provinceParam = null
|
||||
@@ -2557,7 +2559,7 @@ const getNodeIndex = () => {
|
||||
}
|
||||
/**查询节点内容 */
|
||||
const queryNodeContent = () => {
|
||||
console.log('🚀 ~ queryNodeContent ~ nodeData.value:', nodeData.value)
|
||||
// console.log('🚀 ~ queryNodeContent ~ nodeData.value:', nodeData.value)
|
||||
|
||||
if (nodeData.value.id == null) {
|
||||
// ElMessage.warning('1111111')
|
||||
|
||||
Reference in New Issue
Block a user