Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
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
87ee4950
Commit
87ee4950
authored
Aug 29, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
183bed7e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
178 additions
and
0 deletions
+178
-0
index.js
src/router/index.js
+14
-0
edit.vue
src/views/sbxxgl/ljhsz/edit.vue
+54
-0
index.vue
src/views/sbxxgl/ljhsz/index.vue
+110
-0
No files found.
src/router/index.js
View file @
87ee4950
...
@@ -145,6 +145,20 @@ export const powerRoutes = [
...
@@ -145,6 +145,20 @@ export const powerRoutes = [
name
:
'jzbm'
,
name
:
'jzbm'
,
path
:
"jzbm"
,
path
:
"jzbm"
,
},
},
{
erpComponent
:
false
,
component
:
'sbxxgl/ljhsz/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"机组编码"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'920020500'
,
},
name
:
'ljhsz'
,
path
:
"ljhsz"
,
}
]
]
},
},
...
...
src/views/sbxxgl/ljhsz/edit.vue
0 → 100644
View file @
87ee4950
<
template
>
<RelDialog
width=
"50%"
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
:app=
"this"
>
<EditColItem
: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>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
data
()
{
return
{
editColItemList
:
[
{
label
:
'路径号'
,
prop
:
'ljh'
,
span
:
12
,
type
:
'input'
,
required
:
true
,
},
{
label
:
'状态'
,
prop
:
'zt'
,
span
:
12
,
"type"
:
"RelSelect"
,
"typeConfig"
:
{
"src"
:
"sbgl/usbxx/init/zt"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
},
required
:
true
,
},
{
label
:
'备注'
,
prop
:
'bz'
,
span
:
24
,
type
:
'input'
},
]
}
}
}
</
script
>
src/views/sbxxgl/ljhsz/index.vue
0 → 100644
View file @
87ee4950
<
template
>
<BasePage
class=
"min_full"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!--
<el-button
@
click=
"demo(ctx.basePage)"
size=
'mini'
type=
"primary"
>
示例按钮
</el-button>
-->
</
template
>
</BasePage>
</template>
<
script
>
import
Edit
from
'./edit.vue'
export
default
{
name
:
'ljhsz'
,
data
()
{
return
{
config
:
{
/* 基本配置*/
url
:
'sbgl/uljh'
,
tableTitle
:
[{
title
:
"路径号"
,
field
:
"ljh"
,
fieldType
:
"upper"
,
width
:
140
},
{
title
:
"状态"
,
field
:
"zt"
,
transform
:
{
"url"
:
"sbgl/usbxx/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
},
width
:
140
},
{
title
:
"备注"
,
field
:
"bz"
,
width
:
300
},
{
title
:
"创建人"
,
field
:
"cjr"
,
width
:
140
},
{
title
:
"创建时间"
,
field
:
"cjsj"
,
fieldType
:
'ftDateTime'
},
{
title
:
"维护人"
,
field
:
"whr"
,
hidden
:
true
},
{
title
:
"维护时间"
,
field
:
"whsj"
,
fieldType
:
'ftDateTime'
,
hidden
:
true
}
],
queryParams
:
[
[{
label
:
'路径号'
,
prop
:
'ljh'
,
span
:
6
,
type
:
'input'
,
value
:
''
},
{
"label"
:
"状态"
,
"prop"
:
"zt"
,
"span"
:
6
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"/sbgl/usbxx/init/zt "
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
]
],
/* 默认启停用 */
}
}
},
methods
:
{
/* 示例*/
// demo(basePage){
// }
},
components
:
{
Edit
}
}
</
script
>
<
style
>
</
style
>
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