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
26936959
Commit
26936959
authored
Sep 24, 2025
by
yangzhengwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加rx20设备
parent
725a7c4d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
388 additions
and
1 deletion
+388
-1
index.js
src/router/index.js
+14
-0
edit.vue
src/views/jyfkgl/ywsjlr/edit.vue
+1
-1
dialog.vue
src/views/ywxxgl/rx20/dialog.vue
+44
-0
edit.vue
src/views/ywxxgl/rx20/edit.vue
+147
-0
index.vue
src/views/ywxxgl/rx20/index.vue
+182
-0
No files found.
src/router/index.js
View file @
26936959
...
...
@@ -449,6 +449,20 @@ export const powerRoutes = [
name
:
'rydgzzqrd'
,
path
:
"rydgzzqrd"
,
},
{
erpComponent
:
false
,
component
:
'ywxxgl/rx20/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"RX20米设备清单"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'920050950'
,
},
name
:
'rx20'
,
path
:
"rx20"
,
},
// {
// erpComponent: false,
...
...
src/views/jyfkgl/ywsjlr/edit.vue
View file @
26936959
...
...
@@ -274,7 +274,7 @@
// },
{
"label"
:
"完整性"
,
"prop"
:
"wz
x
"
,
"prop"
:
"wz
s
"
,
"span"
:
12
,
"type"
:
"RelSelect"
,
"typeConfig"
:
{
...
...
src/views/ywxxgl/rx20/dialog.vue
0 → 100644
View file @
26936959
<
template
>
<DefaultDialog
:app=
'app'
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
</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/ywxxgl/rx20/edit.vue
0 → 100644
View file @
26936959
<!--
* @Description:生成基础baseEdit组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:47:46
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-08-25 11:41:40
* @FilePath: /zghywpc-vue/src/views/ywxxgl/rx20/edit.vue
-->
<
template
>
<!-- prop 穿透赋值 -->
<BaseEdit
v-bind=
"$attrs"
:config=
'editConfig'
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.editPage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面从表上方插槽 ctx.editPage来操作默认页面 -->
<!--
<el-button
@
click=
"demo(ctx.editPage)"
size=
'mini'
type=
"primary"
>
示例按钮
</el-button>
-->
<!--
<AuxButton
:dynamic=
'true'
:queryParams=
"
{
sbxxTreeId:that.form.sbxxTreeId,
zt:'N'
}" :component='Qxsj' rename='选择缺陷数据' code='dynamic' @save="saveQxsj" /> -->
</
template
>
</BaseEdit>
</template>
<
script
>
export
default
{
data
()
{
return
{
editConfig
:
{
/* 生成form表单 */
editColItemList
:
[
{
"label"
:
"功能位置"
,
"prop"
:
"gnwz"
,
"span"
:
12
,
"type"
:
"input"
,
required
:
true
,
},
{
"label"
:
"设备名称"
,
"prop"
:
"sbxx"
,
"span"
:
12
,
"type"
:
"input"
,
required
:
true
,
},
{
"label"
:
"材质"
,
"prop"
:
"cz"
,
"span"
:
12
,
"type"
:
"input"
,
required
:
true
,
},
{
"label"
:
"数量"
,
"prop"
:
"sl"
,
"span"
:
12
,
"type"
:
"inputNumber"
,
required
:
true
,
},
{
"label"
:
"规格"
,
"prop"
:
"gg"
,
"span"
:
12
,
"type"
:
"input"
,
required
:
true
,
},
{
"label"
:
"责任专业"
,
"prop"
:
"zrdwid"
,
"span"
:
12
,
"type"
:
"RelSelect"
,
"value"
:
""
,
required
:
true
,
"typeConfig"
:
{
"src"
:
"sbgl/zdrw/query"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
"label"
:
"位置"
,
"prop"
:
"wz"
,
"span"
:
12
,
"type"
:
"input"
,
required
:
true
,
},
{
"label"
:
"防松方式"
,
"prop"
:
"fsfs"
,
"span"
:
12
,
"type"
:
"input"
,
required
:
true
,
},
{
"label"
:
"备注"
,
"prop"
:
"bz"
,
"span"
:
24
,
"type"
:
"input"
}
],
/* 生成主从表,为空数组默认不展示 */
editTableTitle
:
[
// {
// title: "序号",
// field: "xh",
// width: 50,
// align: "center"
// },
// {
// title: "点检部位",
// field: "bw",
// width: 180,
// },
// {
// title: "点检项目",
// field: "project",
// width: 160
// },
// {
// title: "点检标准",
// field: "standard",
// width: 140
// },
],
/* 子表名,可选 同editTableTitle一起用*/
detailTable
:
''
}
}
},
methods
:
{
/**
* @description:示例按钮
* @param {*} ctx操作edit实例内容
* @return {*}
* @author: lisu
*/
// demo(ctx){}
}
}
</
script
>
<
style
>
</
style
>
src/views/ywxxgl/rx20/index.vue
0 → 100644
View file @
26936959
<!--
* @Description: 生成基础basePage组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-08-25 11:42:24
* @FilePath: /zghywpc-vue/src/views/ywxxgl/rx20/index.vue
-->
<
template
>
<BasePage
class=
"min_full"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<ImportButton
@
success=
"()=>
{ctx.basePage.refresh()}" :url="'ywxxgl/rx20/import'" />
</
template
>
</BasePage>
</template>
<
script
>
import
Edit
from
'./edit.vue'
export
default
{
name
:
'rx20'
,
data
()
{
return
{
config
:
{
/* 基本配置*/
url
:
'ywxxgl/rx20'
,
tableTitle
:
[
{
title
:
"编码"
,
field
:
"code"
,
width
:
140
},
{
title
:
"功能位置"
,
field
:
"gnwz"
,
width
:
140
},
{
title
:
"设备名称"
,
field
:
"sbxx"
,
width
:
140
},
{
title
:
"材质"
,
field
:
"cz"
,
width
:
140
},
{
title
:
"数量"
,
field
:
"sl"
,
width
:
140
},
{
title
:
"规格"
,
field
:
"gg"
,
width
:
140
},
{
title
:
"责任专业"
,
field
:
"zrdwid"
,
width
:
140
,
transform
:
{
"url"
:
"sbgl/zdrw/query"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"位置"
,
field
:
"wz"
,
width
:
140
},
{
title
:
"防松方式"
,
field
:
"fsfs"
,
width
:
180
,
},
{
title
:
"备注"
,
field
:
"bz"
,
width
:
200
,
},
{
title
:
"维护人编码"
,
field
:
"whrid"
,
width
:
140
},
{
title
:
"维护人"
,
field
:
"whr"
,
width
:
140
},
{
title
:
"维护时间"
,
field
:
"whsj"
,
width
:
180
,
fieldType
:
"ftDateTime"
},
{
title
:
"创建人编码"
,
field
:
"cjrid"
,
width
:
140
},
{
title
:
"创建人"
,
field
:
"cjr"
,
width
:
140
},
{
title
:
"创建时间"
,
field
:
"cjsj"
,
width
:
180
,
fieldType
:
"ftDateTime"
}
],
queryParams
:
[
[{
label
:
'编码'
,
prop
:
'code'
,
span
:
4
,
type
:
'input'
,
value
:
''
},
{
label
:
'功能位置'
,
prop
:
'gnwz'
,
span
:
4
,
type
:
'input'
,
value
:
''
},
{
label
:
'设备名称'
,
prop
:
'sbxx'
,
span
:
4
,
type
:
'input'
,
value
:
''
},
{
label
:
'责任专业'
,
prop
:
'zrdwid'
,
span
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"sbgl/zdrw/query"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
]
],
/* 默认启停用 */
}
}
},
methods
:
{
/**
* @description:示例按钮
* @param {*} ctx操作basePage实例内容
* @return {*}
* @author: lisu
*/
// demo(ctx){}
},
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