Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dxgaqgl-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
李苏
dxgaqgl-vue
Commits
ba782a13
Commit
ba782a13
authored
May 22, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非常规作业单维护
parent
6a9be9f7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
282 additions
and
0 deletions
+282
-0
index.js
src/router/index.js
+13
-0
dialog.vue
src/views/daily/fcgzysqd/dialog.vue
+45
-0
edit.vue
src/views/daily/fcgzysqd/edit.vue
+84
-0
index.vue
src/views/daily/fcgzysqd/index.vue
+140
-0
No files found.
src/router/index.js
View file @
ba782a13
...
...
@@ -781,6 +781,19 @@ export const powerRoutes=[
name
:
'nrtm'
,
path
:
"nrtm"
},
{
component
:
'daily/fcgzysqd/index'
,
hidden
:
false
,
meta
:{
"title"
:
"非常规作业申请单"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905100500
,
},
name
:
'fcgzysqd'
,
path
:
"fcgzysqd"
},
{
component
:
'daily/nros/index'
,
hidden
:
false
,
...
...
src/views/daily/fcgzysqd/dialog.vue
0 → 100644
View file @
ba782a13
<
template
>
<DefaultDialog
:app=
'app'
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
DialogTitle:'新增',
showDialog:false,
</div>
<div
slot=
"reFooter"
class=
"refooter"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"app.showDialog=false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"save()"
>
保 存
</el-button>
</span>
</div>
</DefaultDialog>
</
template
>
<
script
>
export
default
{
props
:
{
app
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
}
},
async
mounted
()
{
},
data
()
{
return
{
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/daily/fcgzysqd/edit.vue
0 → 100644
View file @
ba782a13
<
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
:
'gsid'
,
type
:
'RelSelect'
,
span
:
8
,
"typeConfig"
:
{
"src"
:
"jcsj/common/bm/queryGs"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"bmmc"
},
change
:(
row
)
=>
{
this
.
form
.
pid
=
row
.
id
}
}
},
{
required
:
true
,
label
:
'部门'
,
prop
:
'bmid'
,
type
:
'RelSelect'
,
span
:
8
,
"typeConfig"
:
{
"src"
:
"jcsj/common/bm/queryBz"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
},
linkage
:
true
,
linkParams
:
[
'pid'
],
}
},
{
required
:
true
,
label
:
'作业类型'
,
prop
:
'ufcgzylxid'
,
span
:
8
,
type
:
'RelSelect'
,
"typeConfig"
:
{
"src"
:
"aqgl/rcgl/ufcgzylx/query"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
},
},
{
required
:
true
,
label
:
'作业内容'
,
prop
:
'zynr'
,
span
:
24
,
type
:
'textarea'
},
{
label
:
'备注'
,
prop
:
'bz'
,
span
:
24
,
type
:
'input'
},
]
}
}
}
</
script
>
src/views/daily/fcgzysqd/index.vue
0 → 100644
View file @
ba782a13
<
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
{
data
()
{
return
{
config
:
{
/* 基本配置*/
url
:
'aqgl/rcgl/uwhfcgzyqd'
,
tableTitle
:
[{
title
:
"单号"
,
field
:
"dh"
,
fieldType
:
"upper"
,
width
:
140
},
{
title
:
"公司"
,
field
:
"gsName"
,
width
:
140
},
{
title
:
"部门"
,
field
:
"bmName"
,
width
:
140
},
{
title
:
"非常规作业类型"
,
field
:
"fcgzylxName"
,
width
:
140
},
{
title
:
"作业内容"
,
field
:
"zynr"
,
width
:
250
},
{
title
:
"备注"
,
field
:
"bz"
,
width
:
250
},
{
title
:
"维护人"
,
field
:
"whr"
},
{
title
:
"创建时间"
,
field
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
],
queryParams
:
[
[{
label
:
'单号'
,
prop
:
'dh'
,
span
:
6
,
type
:
'input'
,
value
:
''
},
{
"label"
:
"作业类型"
,
"prop"
:
"ufcgzylxid"
,
"span"
:
6
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"aqgl/rcgl/ufcgzylx/query"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
"label"
:
"部门"
,
"prop"
:
"bmid"
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"jcsj/common/bm/queryBz"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
]
],
/* 默认启停用 */
showqt
:
false
,
// qtUrl:'',
/* 树的支持*/
// hasTree:false,
// treeTitle:'',
// treeDefaultProps: {
// children: 'children',
// label: 'name',
// fatherId: 'pid',
// sonId: 'id',
// rootName: "全部",
// rootId:'root'
// },
// treeQueryParams:{
// },
// treeUrl:''
}
}
},
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