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'
/*query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/
fcgzylx/query'
,
method
:
'post'
,
data
:
query
||
{}
})
return
request
({
url
:
'/aqgl/rcgl/u
fcgzylx/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/*更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/
fcgzylx/update'
,
method
:
'post'
,
data
:
query
||
{}
})
return
request
({
url
:
'/aqgl/rcgl/u
fcgzylx/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/
fcgzylx/add'
,
method
:
'post'
,
data
:
query
||
{}
})
return
request
({
url
:
'/aqgl/rcgl/u
fcgzylx/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/
fcgzylx/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
return
request
({
url
:
'/aqgl/rcgl/u
fcgzylx/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
...
...
src/router/index.js
View file @
6a9be9f7
...
...
@@ -768,19 +768,19 @@ export const powerRoutes=[
redirect
:
'nrtm'
,
meta
:
{
title
:
"日常管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
905100000
},
children
:
[
/*
{
{
component
:
'daily/nrtm/index'
,
hidden
:
false
,
meta
:{
"title": "非常规作业类型
维护
",
"title"
:
"非常规作业类型"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid":905100
1
00,
"mkid"
:
905100
4
00
,
},
name
:
'nrtm'
,
path
:
"nrtm"
},
*/
},
{
component
:
'daily/nros/index'
,
hidden
:
false
,
...
...
src/views/daily/nrtm/edit.vue
View file @
6a9be9f7
...
...
@@ -2,13 +2,13 @@
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<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-form-item
label=
"
序号"
ref=
"xh"
prop=
"xh
"
>
<el-input
:readonly=
"readonly"
v-model=
"form.
xh
"
></el-input>
<el-form-item
label=
"
类型编码"
ref=
"code"
prop=
"code
"
>
<el-input
:readonly=
"readonly"
v-model=
"form.
code
"
></el-input>
</el-form-item>
</el-col>
</el-row>
-->
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"名称"
ref=
"name"
prop=
"name"
>
...
...
@@ -35,7 +35,7 @@
},
/* 组件名称*/
name
:
"
nrtm
Edit"
,
name
:
"
aqglRcglZsfl
Edit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
...
...
@@ -50,8 +50,8 @@
form
:
{
//ID
id
:
''
,
//
序号
xh
:
''
,
//
类型编码
code
:
''
,
//名称
name
:
''
,
//备注
...
...
src/views/daily/nrtm/index.vue
View file @
6a9be9f7
<
template
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<!--
<div
class=
"search"
v-condition
>
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"12"
class=
"search-col"
>
...
...
@@ -11,15 +11,14 @@
</div>
</el-col>
</el-row>
</div>
-->
</div>
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<!--
<PrintButton
:app=
'app'
></PrintButton>
--
>
<PrintButton
:app=
'app'
></PrintButton
>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<!--
<AttachFileButton
:app=
'app'
></AttachFileButton>
-->
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
...
...
@@ -53,7 +52,7 @@
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'
nrtm
'
,
name
:
'
aqglRcglZsfl
'
,
/* 初始额外赋值*/
async
mounted
()
{
...
...
@@ -67,18 +66,20 @@
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/rcgl/fcgzylx'
,
baseUrl
:
'/aqgl/rcgl/
u
fcgzylx'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"类型编码"
,
prop
:
"code"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"名称"
,
prop
:
"name"
,
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
:
"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 @@
<
style
scoped
>
</
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