Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_pda_Web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡宝山
template_pda_Web
Commits
dc12c4f3
Commit
dc12c4f3
authored
Apr 17, 2024
by
Hagsn3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
319b0c99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
21 deletions
+5
-21
checkTheApplicationForExit.vue
src/views/setup/checkTheApplicationForExit.vue
+5
-21
No files found.
src/views/setup/checkTheApplicationForExit.vue
View file @
dc12c4f3
...
@@ -4,7 +4,10 @@
...
@@ -4,7 +4,10 @@
<el-form
ref=
"searchRef"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
class=
"formClass"
label-position=
"right"
>
<el-form
ref=
"searchRef"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
class=
"formClass"
label-position=
"right"
>
<div
class=
"searchDiv"
>
<div
class=
"searchDiv"
>
<el-form-item
label=
"ptype:"
>
<el-form-item
label=
"ptype:"
>
<span>
{{
form
.
ptype
&&
getDictLabelByValue
(
typeList
,
form
.
ptype
.
trim
())
||
'-'
}}
</span>
<!--
<span>
{{
form
.
ptype
&&
getDictLabelByValue
(
typeList
,
form
.
ptype
.
trim
())
||
'-'
}}
</span>
-->
<span
v-if=
"form.ptype === '1'"
>
jb
</span>
<span
v-else-if=
"form.ptype === '20'"
>
jl
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"code:"
>
<el-form-item
label=
"code:"
>
<span>
{{
form
.
orderCode
||
'-'
}}
</span>
<span>
{{
form
.
orderCode
||
'-'
}}
</span>
...
@@ -120,7 +123,7 @@ export default {
...
@@ -120,7 +123,7 @@ export default {
},
},
created
()
{
created
()
{
this
.
focusing
()
this
.
focusing
()
this
.
getAllDict
()
//
this.getAllDict()
// 获取数据字典
// 获取数据字典
this
.
getDetail
()
this
.
getDetail
()
},
},
...
@@ -136,25 +139,6 @@ export default {
...
@@ -136,25 +139,6 @@ export default {
this
.
$refs
.
input1
.
focus
()
this
.
$refs
.
input1
.
focus
()
})
})
},
},
getAllDict
()
{
getDict
(
'APPLICATION_TYPE'
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
console
.
log
(
'res的得的'
,
res
)
this
.
typeList
=
res
.
data
}
})
},
getDictLabelByValue
(
list
,
value
)
{
let
label
=
'-'
if
(
list
&&
list
.
length
>
0
&&
value
)
{
if
(
list
.
find
(
item
=>
item
.
dictValue
===
value
))
{
label
=
list
.
find
(
item
=>
item
.
dictValue
===
value
).
dictLabel
console
.
log
(
'111'
)
return
label
}
}
return
label
},
tableRowClassName
({
row
,
rowIndex
})
{
tableRowClassName
({
row
,
rowIndex
})
{
if
(
this
.
rowIndexList
.
includes
(
rowIndex
))
{
if
(
this
.
rowIndexList
.
includes
(
rowIndex
))
{
return
'hight_row'
return
'hight_row'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment