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 e4a1d0bf
authored
Apr 08, 2024
by
peiqiQQQ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
元素字典表维护下拉修改
1 parent
ec4e06c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
src/views/archi-ele-list/index.vue
src/views/archi-ele-list/index.vue
View file @
e4a1d0b
...
...
@@ -23,9 +23,9 @@
>
<el-option
v-for=
"item in search_select1"
:key=
"item.
belongId
"
:label=
"item.
name
"
:value=
"item.
belongId
"
:key=
"item.
value
"
:label=
"item.
label
"
:value=
"item.
value
"
></el-option>
</el-select>
</div>
...
...
@@ -293,9 +293,9 @@
</el-input> -->
<el-option
v-for=
"item in search_select1"
:key=
"item.
belongId
"
:label=
"item.
name
"
:value=
"item.
belongId
"
:key=
"item.
value
"
:label=
"item.
label
"
:value=
"item.
value
"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -874,7 +874,7 @@ export default {
this
.
get_table
()
// 适用范围
// getDictTypeOptions('scope_application').then((res) => {
query_jia_gou_ceng_ci_new
({
"typeValue"
:
"
archi_level
"
}).
then
(
res
=>
{
query_jia_gou_ceng_ci_new
({
"typeValue"
:
"
scope_application
"
}).
then
(
res
=>
{
// this.scopeApplicationOptions = res
this
.
scopeApplicationOptions
=
res
.
data
})
...
...
@@ -994,14 +994,14 @@ export default {
//编辑
this
.
ruleForm
.
let1
=
row
.
elementName
this
.
ruleForm
.
let2
=
row
.
archiLevelId
+
''
this
.
ruleForm
.
let3
=
row
.
archiBelongId
this
.
ruleForm
.
let3
=
row
.
archiBelongId
+
''
this
.
ruleForm
.
let4
=
row
.
content
this
.
ruleForm
.
let5
=
row
.
eaLevel
this
.
ruleForm
.
let6
=
row
.
color
this
.
ruleForm
.
definition
=
row
.
definition
this
.
ruleForm
.
referenceRelationship
=
row
.
referenceRelationship
this
.
ruleForm
.
example
=
row
.
example
this
.
ruleForm
.
scope
=
row
.
scope
this
.
ruleForm
.
scope
=
row
.
scope
+
''
this
.
is_add_edit
=
'edit'
this
.
elementId
=
row
.
elementId
this
.
state
=
row
.
state
...
...
@@ -1504,8 +1504,8 @@ export default {
get_dialog_select2
()
{
//查询架构归属下拉框值
return
new
Promise
((
resolve
,
reject
)
=>
{
query_jia_gou_gui_shu
({}).
then
((
res
)
=>
{
// query_jia_gou_ceng_ci_new({"typeValue": "archi_level
"}).then(res => {
//
query_jia_gou_gui_shu({}).then((res) => {
query_jia_gou_ceng_ci_new
({
"typeValue"
:
"archi_belong
"
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
resolve
(
res
.
data
)
}
else
{
...
...
@@ -1611,11 +1611,14 @@ export default {
(
item2
)
=>
item2
.
value
==
item
.
archiLevelId
,
)
let
result2
=
res2
[
1
].
find
(
(
item2
)
=>
item2
.
belongId
==
item
.
archiBelongId
,
// (item2) => item2.belongId == item.archiBelongId,
(
item2
)
=>
item2
.
value
==
item
.
archiBelongId
,
)
// item['archiLevelName'] = result1 ? result1.name : ''
// item['archiBelongName'] = result2 ? result2.name : ''
item
[
'archiLevelName'
]
=
result1
?
result1
.
label
:
''
item
[
'archiBelongName'
]
=
result2
?
result2
.
name
:
''
item
[
'archiBelongName'
]
=
result2
?
result2
.
label
:
''
})
this
.
tableData
=
result
.
data
.
records
})
...
...
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