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
6a9be9f7
Commit
6a9be9f7
authored
May 22, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非常规作业类型
parent
afb6d897
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
39 deletions
+41
-39
nrtm.js
src/api/daily/nrtm.js
+20
-20
index.js
src/router/index.js
+4
-4
edit.vue
src/views/daily/nrtm/edit.vue
+7
-7
index.vue
src/views/daily/nrtm/index.vue
+10
-8
No files found.
src/api/daily/nrtm.js
View file @
6a9be9f7
...
@@ -2,33 +2,33 @@ import request from 'common/src/utils/request'
...
@@ -2,33 +2,33 @@ import request from 'common/src/utils/request'
/*query */
/*query */
export
function
doQuery
(
query
)
{
export
function
doQuery
(
query
)
{
return
request
({
return
request
({
url
:
'/aqgl/rcgl/
fcgzylx/query'
,
url
:
'/aqgl/rcgl/u
fcgzylx/query'
,
method
:
'post'
,
method
:
'post'
,
data
:
query
||
{}
data
:
query
||
{}
})
})
}
}
/*更新 */
/*更新 */
export
function
doUpdate
(
query
)
{
export
function
doUpdate
(
query
)
{
return
request
({
return
request
({
url
:
'/aqgl/rcgl/
fcgzylx/update'
,
url
:
'/aqgl/rcgl/u
fcgzylx/update'
,
method
:
'post'
,
method
:
'post'
,
data
:
query
||
{}
data
:
query
||
{}
})
})
}
}
export
function
doAdd
(
query
)
{
export
function
doAdd
(
query
)
{
return
request
({
return
request
({
url
:
'/aqgl/rcgl/
fcgzylx/add'
,
url
:
'/aqgl/rcgl/u
fcgzylx/add'
,
method
:
'post'
,
method
:
'post'
,
data
:
query
||
{}
data
:
query
||
{}
})
})
}
}
export
function
doDelete
(
query
)
{
export
function
doDelete
(
query
)
{
return
request
({
return
request
({
url
:
'/aqgl/rcgl/
fcgzylx/delete'
,
url
:
'/aqgl/rcgl/u
fcgzylx/delete'
,
method
:
'post'
,
method
:
'post'
,
data
:
query
||
{}
data
:
query
||
{}
})
})
}
}
...
...
src/router/index.js
View file @
6a9be9f7
...
@@ -768,19 +768,19 @@ export const powerRoutes=[
...
@@ -768,19 +768,19 @@ export const powerRoutes=[
redirect
:
'nrtm'
,
redirect
:
'nrtm'
,
meta
:
{
title
:
"日常管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
905100000
},
meta
:
{
title
:
"日常管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
905100000
},
children
:
[
children
:
[
/*
{
{
component
:
'daily/nrtm/index'
,
component
:
'daily/nrtm/index'
,
hidden
:
false
,
hidden
:
false
,
meta
:{
meta
:{
"title": "非常规作业类型
维护
",
"title"
:
"非常规作业类型"
,
"icon"
:
""
,
"icon"
:
""
,
"noCache"
:
false
,
"noCache"
:
false
,
"link"
:
null
,
"link"
:
null
,
"mkid":905100
1
00,
"mkid"
:
905100
4
00
,
},
},
name
:
'nrtm'
,
name
:
'nrtm'
,
path
:
"nrtm"
path
:
"nrtm"
},
*/
},
{
{
component
:
'daily/nros/index'
,
component
:
'daily/nros/index'
,
hidden
:
false
,
hidden
:
false
,
...
...
src/views/daily/nrtm/edit.vue
View file @
6a9be9f7
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<!--
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"
序号"
ref=
"xh"
prop=
"xh
"
>
<el-form-item
label=
"
类型编码"
ref=
"code"
prop=
"code
"
>
<el-input
:readonly=
"readonly"
v-model=
"form.
xh
"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.
code
"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
-->
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"名称"
ref=
"name"
prop=
"name"
>
<el-form-item
label=
"名称"
ref=
"name"
prop=
"name"
>
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
},
},
/* 组件名称*/
/* 组件名称*/
name
:
"
nrtm
Edit"
,
name
:
"
aqglRcglZsfl
Edit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
data
()
{
...
@@ -50,8 +50,8 @@
...
@@ -50,8 +50,8 @@
form
:
{
form
:
{
//ID
//ID
id
:
''
,
id
:
''
,
//
序号
//
类型编码
xh
:
''
,
code
:
''
,
//名称
//名称
name
:
''
,
name
:
''
,
//备注
//备注
...
...
src/views/daily/nrtm/index.vue
View file @
6a9be9f7
<
template
>
<
template
>
<div
class=
"min_full"
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<!-- 查询条件-->
<!--
<div
class=
"search"
v-condition
>
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"12"
class=
"search-col"
>
<el-col
:span=
"12"
class=
"search-col"
>
...
@@ -11,15 +11,14 @@
...
@@ -11,15 +11,14 @@
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
-->
</div>
<!-- 按钮操作-->
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<el-row
class=
"tool-bar"
>
<!--
<PrintButton
:app=
'app'
></PrintButton>
--
>
<PrintButton
:app=
'app'
></PrintButton
>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<!--
<AttachFileButton
:app=
'app'
></AttachFileButton>
-->
<FieldButton
:app=
'app'
></FieldButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 额外按钮-->
...
@@ -53,7 +52,7 @@
...
@@ -53,7 +52,7 @@
}
from
'common'
}
from
'common'
export
default
{
export
default
{
mixins
:
[
tableMixin
],
mixins
:
[
tableMixin
],
name
:
'
nrtm
'
,
name
:
'
aqglRcglZsfl
'
,
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
...
@@ -67,18 +66,20 @@
...
@@ -67,18 +66,20 @@
type
:
''
,
type
:
''
,
DialogTitle
:
''
,
DialogTitle
:
''
,
/* 基础url*/
/* 基础url*/
baseUrl
:
'/aqgl/rcgl/fcgzylx'
,
baseUrl
:
'/aqgl/rcgl/
u
fcgzylx'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
info
:
''
info
:
''
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
label
:
"类型编码"
,
prop
:
"code"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"序号"
,
prop
:
"xh"
,
fieldType
:
"int"
,
width
:
100
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
,
show
:
false
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
,
show
:
false
},
]
]
}
}
},
},
...
@@ -108,3 +109,4 @@
...
@@ -108,3 +109,4 @@
<
style
scoped
>
<
style
scoped
>
</
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