Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9ce7ab24
authored
Apr 11, 2024
by
史敦盼
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sdp-v1'
2 parents
41fac1ab
4a3ff68b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
src/views/busi-assets-list/index.vue
src/views/busi-assets-list/index.vue
View file @
9ce7ab2
...
...
@@ -1011,7 +1011,7 @@ export default {
this
.
addDialog
=
true
this
.
is_add_edit
=
'add'
this
.
disabled1
=
false
this
.
getShangJiJieDianSelect
();
//
this.getShangJiJieDianSelect();
this
.
getZuJianLeiXingSelect
(
null
).
then
((
res
)
=>
{
this
.
zuJianLeiXingSelect
=
res
})
...
...
@@ -1098,6 +1098,7 @@ export default {
this
.
ruleForm
.
let1
=
row
.
assetName
this
.
ruleForm
.
let2
=
row
.
parentAssetName
this
.
ruleForm
.
let3
=
row
.
archiEleId
this
.
getShangJiJieDianSelect
(
row
)
this
.
ruleForm
.
preArc
=
row
.
parentElement
?.
replace
(
/
\]
|
\[
|
\/?
]/g
,
''
)
this
.
ruleForm
.
assetNumber
=
row
.
assetNumber
this
.
ruleForm
.
let4
=
row
.
sort
...
...
@@ -1219,7 +1220,7 @@ export default {
this
.
$refs
.
treeSelect2
.
setCheckedKeys
([])
// 删除所有选中节点
this
.
$refs
.
treeSelect2
.
setCheckedNodes
([
data
])
},
loadTreeSelect
(
node
,
resolve
)
{
loadTreeSelect
(
node
,
resolve
)
{
console
.
log
(
'node'
,
node
)
//加载上级节点
if
(
node
.
level
===
0
)
{
resolve
([])
...
...
@@ -1229,6 +1230,7 @@ export default {
parentAssetId
:
node
.
data
.
assetId
,
archiAssetState
:
this
.
searchParams
.
archiAssetState
,
archiStage
:
this
.
searchParams
.
archiStage
,
// eleName:
// archiAssetTypeId: this.archiAssetTypeId,
}
getQryByTree
(
params
).
then
((
res
)
=>
{
...
...
@@ -1239,12 +1241,13 @@ export default {
}
},
getShangJiJieDianSelect
(
)
{
getShangJiJieDianSelect
(
item
)
{
console
.
log
(
'item'
,
item
)
//上级节点下拉框值
const
params
=
{
archiType
:
this
.
archiType
,
archiAssetState
:
this
.
searchParams
.
archiAssetState
,
archiStage
:
this
.
searchParams
.
archiStage
,
eleName
:
item
?.
elementName
// parentAssetId: this.archiBelongId,
// archiAssetTypeId: this.archiAssetTypeId,
}
...
...
@@ -1286,6 +1289,7 @@ export default {
const
currentItem
=
this
.
zuJianLeiXingSelect
.
find
(
(
item
)
=>
item
.
elementId
==
data
,
)
this
.
getShangJiJieDianSelect
(
currentItem
)
this
.
getPreArc
(
currentItem
)
if
(
currentItem
?.
eaLevel
==
1
)
{
this
.
disabled1
=
true
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment