Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zghywpc-vue
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
李苏
zghywpc-vue
Commits
737b3f9a
Commit
737b3f9a
authored
Jul 24, 2025
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zrdw调整
parent
7b934f10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
113 additions
and
83 deletions
+113
-83
edit.vue
src/views/jyfkgl/ywsjlr/edit.vue
+38
-10
index.vue
src/views/jyfkgl/ywsjlr/index.vue
+75
-73
No files found.
src/views/jyfkgl/ywsjlr/edit.vue
View file @
737b3f9a
...
...
@@ -4,7 +4,8 @@
<el-form
style=
"height: 70vh;overflow: auto;overflow-x: hidden;"
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"140px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
:app=
"this"
>
<EditColItem
:required=
"item.required||false"
:readonly=
"item.readonly?true:false "
<EditColItem
v-if=
'item.show!==false'
:required=
"item.required||false"
:readonly=
"item.readonly?true:false "
v-for=
"(item,index) in editColItemList "
:value=
"item.value"
:span=
"item.span"
:label=
"item.label"
:prop=
'item.prop'
:key=
"item.prop"
:type=
"item.type"
:typeConfig=
'item.typeConfig'
:rule=
"item.rule"
/>
</el-row>
...
...
@@ -215,13 +216,23 @@
}
}
},
{
"label"
:
"其他责任单位"
,
"prop"
:
"isqtzrdw"
,
// required: true,
"span"
:
12
,
"type"
:
"checkbox"
,
"value"
:
"N"
,
},
{
"label"
:
"责任单位"
,
"prop"
:
"zrdw"
,
required
:
true
,
//
required: true,
"span"
:
12
,
"type"
:
"RelSelect"
,
"value"
:
""
,
show
:
true
,
"typeConfig"
:
{
clearable
:
true
,
"src"
:
"sbgl/zdrw/query"
,
...
...
@@ -231,14 +242,14 @@
}
}
},
//
{
//
"label": "责任单位(其他)",
// "prop": "zrdwN
ame",
// required: tru
e,
//
"span": 12,
//
"type": "input",
//
"value": "",
//
},
{
"label"
:
"责任单位(其他)"
,
"prop"
:
"zrdwn
ame"
,
show
:
fals
e
,
"span"
:
12
,
"type"
:
"input"
,
"value"
:
""
,
},
// {
// "label": "期间",
// "prop": "qj",
...
...
@@ -442,6 +453,23 @@
]
}
},
computed
:{
isqtzrdw
(){
return
this
.
form
.
isqtzrdw
}
},
watch
:{
isqtzrdw
(
val
){
if
(
val
!==
'N'
){
this
.
editColItemList
[
12
].
show
=
false
this
.
editColItemList
[
13
].
show
=
true
}
else
{
this
.
editColItemList
[
12
].
show
=
true
this
.
editColItemList
[
13
].
show
=
false
}
}
},
methods
:
{
changeEditParams
(
params
)
{
let
attachments
=
[]
...
...
src/views/jyfkgl/ywsjlr/index.vue
View file @
737b3f9a
...
...
@@ -3,7 +3,7 @@
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-07-24 1
6:20:18
* @LastEditTime: 2025-07-24 1
7:36:41
* @FilePath: /zghywpc-vue/src/views/jyfkgl/ywsjlr/index.vue
-->
<
template
>
...
...
@@ -30,19 +30,23 @@
config
:
{
/* 基本配置*/
url
:
'yhlywpc/uywxx'
,
tableTitle
:
[
{
fixed
:
'left'
,
tableTitle
:
[{
fixed
:
'left'
,
label
:
"机组号"
,
prop
:
"jzh"
,
width
:
190
},
{
fixed
:
'left'
,
},
{
fixed
:
'left'
,
label
:
"责任单位"
,
prop
:
"zrdwname"
,
prop
:
"zrdw"
,
formatter
(
a
,
b
,
v
){
return
v
||
b
.
zrdwname
},
width
:
100
},
{
label
:
"功能位置"
,
prop
:
"gnwz"
,
...
...
@@ -270,24 +274,23 @@
}
],
queryParams
:
[
[
{
label
:
'是否关闭'
,
prop
:
'sfgb'
,
span
:
6
,
type
:
'RelSelect'
,
typeConfig
:{
src
:
'yhlywpc/uywxx/init/istrue'
},
value
:
''
},
[{
label
:
'是否关闭'
,
prop
:
'sfgb'
,
span
:
6
,
type
:
'RelSelect'
,
typeConfig
:
{
src
:
'yhlywpc/uywxx/init/istrue'
},
value
:
''
},
{
label
:
'FME分级'
,
prop
:
'fmefj'
,
span
:
6
,
type
:
'RelSelect'
,
typeConfig
:{
src
:
'yhlywpc/uywxx/init/fme/fj'
typeConfig
:
{
src
:
'yhlywpc/uywxx/init/fme/fj'
},
value
:
''
},
...
...
@@ -303,60 +306,60 @@
prop
:
'month'
,
span
:
6
,
type
:
'RelSelect'
,
typeConfig
:{
typeConfig
:
{
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
},
optionsData
:[{
id
:
1
,
name
:
"一月份"
},
{
id
:
2
,
name
:
"二月份"
},
{
id
:
3
,
name
:
"三月份"
},
{
id
:
4
,
name
:
"四月份"
},
{
id
:
5
,
name
:
"五月份"
},
{
id
:
6
,
name
:
"六月份"
},
{
id
:
7
,
name
:
"七月份"
},
{
id
:
8
,
name
:
"八月份"
},
{
id
:
9
,
name
:
"九月份"
},
{
id
:
10
,
name
:
"十月份"
},
{
id
:
11
,
name
:
"十一月份"
},
{
id
:
12
,
name
:
"十二月份"
}
],
optionsData
:
[{
id
:
1
,
name
:
"一月份"
},
{
id
:
2
,
name
:
"二月份"
},
{
id
:
3
,
name
:
"三月份"
},
{
id
:
4
,
name
:
"四月份"
},
{
id
:
5
,
name
:
"五月份"
},
{
id
:
6
,
name
:
"六月份"
},
{
id
:
7
,
name
:
"七月份"
},
{
id
:
8
,
name
:
"八月份"
},
{
id
:
9
,
name
:
"九月份"
},
{
id
:
10
,
name
:
"十月份"
},
{
id
:
11
,
name
:
"十一月份"
},
{
id
:
12
,
name
:
"十二月份"
}
],
}
}
],
...
...
@@ -400,8 +403,7 @@
],
[
{
[{
label
:
'机组号'
,
prop
:
'jzh'
,
span
:
6
,
...
...
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