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
46edf287
Commit
46edf287
authored
Jun 19, 2025
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
859a4749
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
391 additions
and
14 deletions
+391
-14
index.js
src/router/index.js
+28
-14
dialog.vue
src/views/ywxxgl/glqgjwp/dialog.vue
+44
-0
edit.vue
src/views/ywxxgl/glqgjwp/edit.vue
+152
-0
index.vue
src/views/ywxxgl/glqgjwp/index.vue
+167
-0
No files found.
src/router/index.js
View file @
46edf287
...
@@ -407,6 +407,20 @@ export const powerRoutes = [
...
@@ -407,6 +407,20 @@ export const powerRoutes = [
// name: 'jdlcdxgsjs',
// name: 'jdlcdxgsjs',
// path: "jdlcdxgsjs",
// path: "jdlcdxgsjs",
// },
// },
{
erpComponent
:
false
,
component
:
'ywxxgl/glqgjwp/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"隔离区的工具及物品清单信息"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'920050940'
,
},
name
:
'glqgjwp'
,
path
:
"glqgjwp"
,
},
{
{
erpComponent
:
false
,
erpComponent
:
false
,
component
:
'ywxxgl/gshbmjby/index'
,
component
:
'ywxxgl/gshbmjby/index'
,
...
@@ -436,20 +450,20 @@ export const powerRoutes = [
...
@@ -436,20 +450,20 @@ export const powerRoutes = [
path
:
"rydgzzqrd"
,
path
:
"rydgzzqrd"
,
},
},
{
//
{
erpComponent
:
false
,
//
erpComponent: false,
component
:
'ywxxgl/ywsjgl/index'
,
//
component: 'ywxxgl/ywsjgl/index',
hidden
:
false
,
//
hidden: false,
meta
:
{
//
meta: {
"title"
:
"异物事件管理"
,
//
"title": "异物事件管理",
"icon"
:
""
,
//
"icon": "",
"noCache"
:
false
,
//
"noCache": false,
"link"
:
null
,
//
"link": null,
"mkid"
:
'920050940'
,
//
"mkid": '920050940',
},
//
},
name
:
'ywsjgl'
,
//
name: 'ywsjgl',
path
:
"ywsjgl"
,
//
path: "ywsjgl",
},
//
},
],
],
},
},
...
...
src/views/ywxxgl/glqgjwp/dialog.vue
0 → 100644
View file @
46edf287
<
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/glqgjwp/edit.vue
0 → 100644
View file @
46edf287
<!--
* @Description:生成基础baseEdit组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:47:46
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-06-19 17:38:06
* @FilePath: /zghywpc-vue/src/views/ywxxgl/glqgjwp/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"
:
"jrdglq"
,
"span"
:
12
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"ywxxgl/glqgjwp/init/jrglq"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
"label"
:
"工具名称"
,
"prop"
:
"gjname"
,
"span"
:
12
,
"type"
:
"input"
},
{
"label"
:
"工具型号"
,
"prop"
:
"gjxh"
,
"span"
:
12
,
"type"
:
"input"
},
{
"label"
:
"工具材质"
,
"prop"
:
"gjcz"
,
"span"
:
12
,
"type"
:
"input"
},
{
"label"
:
"责任专业(三字码)"
,
"prop"
:
"zrzy"
,
"span"
:
12
,
"type"
:
"input"
},
{
"label"
:
"责任人"
,
"prop"
:
"zrr"
,
"span"
:
12
,
"type"
:
"input"
},
{
"label"
:
"责任人工号(带P)"
,
"prop"
:
"zrrgh"
,
"span"
:
12
,
"type"
:
"input"
},
{
"label"
:
"大修代码"
,
"prop"
:
"dxcode"
,
"span"
:
12
,
"type"
:
"input"
},
{
"label"
:
"进入隔离区时间"
,
"prop"
:
"jrglsj"
,
"span"
:
12
,
"type"
:
"date"
},
{
"label"
:
"离开隔离区时间"
,
"prop"
:
"lkglsj"
,
"span"
:
12
,
"type"
:
"date"
},
{
"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/glqgjwp/index.vue
0 → 100644
View file @
46edf287
<!--
* @Description: 生成基础basePage组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-06-19 17:40:04
* @FilePath: /zghywpc-vue/src/views/ywxxgl/glqgjwp/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/glqgjwp/import'" />
</
template
>
</BasePage>
</template>
<
script
>
import
Edit
from
'./edit.vue'
export
default
{
name
:
'glqgjwp'
,
data
()
{
return
{
config
:
{
/* 基本配置*/
url
:
'ywxxgl/glqgjwp'
,
tableTitle
:
[{
title
:
"进入的隔离区"
,
field
:
"jrdglq"
,
width
:
140
,
transform
:
{
"url"
:
"ywxxgl/glqgjwp/init/jrglq"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"工具名称"
,
field
:
"gjname"
,
width
:
140
},
{
title
:
"工具型号"
,
field
:
"gjxh"
,
width
:
140
},
{
title
:
"工具材质"
,
field
:
"gjcz"
,
width
:
140
},
{
title
:
"责任专业(三字码)"
,
field
:
"zrzy"
,
width
:
140
},
{
title
:
"责任人"
,
field
:
"zrr"
,
width
:
140
},
{
title
:
"责任人工号(带P)"
,
field
:
"zrrgh"
,
width
:
140
},
{
title
:
"大修代码"
,
field
:
"dxcode"
,
width
:
140
},
{
title
:
"进入隔离区时间"
,
field
:
"jrglsj"
,
width
:
180
,
fieldType
:
"ftDate"
},
{
title
:
"离开隔离区时间"
,
field
:
"lkglsj"
,
width
:
180
,
fieldType
:
"ftDate"
},
{
title
:
"备注"
,
field
:
"bz"
,
width
:
200
},
{
title
:
"维护人编码"
,
field
:
"whrid"
,
width
:
140
},
{
title
:
"维护人"
,
field
:
"whr"
,
width
:
140
},
{
title
:
"维护时间"
,
field
:
"whsj"
,
width
:
180
,
fieldType
:
"ftDate"
},
{
title
:
"创建人编码"
,
field
:
"cjrid"
,
width
:
140
},
{
title
:
"创建人"
,
field
:
"cjr"
,
width
:
140
},
{
title
:
"创建时间"
,
field
:
"cjsj"
,
width
:
180
,
fieldType
:
"ftDate"
}
],
queryParams
:
[
// [{
// label: '编码',
// prop: 'code',
// span: 6,
// type: 'input',
// value: ''
// },
// {
// label: '名称',
// prop: 'name',
// span: 6,
// type: 'input',
// value: ''
// }
// ]
],
/* 默认启停用 */
}
}
},
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