Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
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
c9265ec0
Commit
c9265ec0
authored
Oct 14, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增FME功能
parent
fed939b9
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
849 additions
and
1 deletion
+849
-1
index.js
src/router/index.js
+59
-0
dialog.vue
src/views/fmegl/fmeglxs/dialog.vue
+44
-0
edit.vue
src/views/fmegl/fmeglxs/edit.vue
+95
-0
index.vue
src/views/fmegl/fmeglxs/index.vue
+103
-0
dialog.vue
src/views/fmegl/fmerwgl/dialog.vue
+44
-0
edit.vue
src/views/fmegl/fmerwgl/edit.vue
+117
-0
index.vue
src/views/fmegl/fmerwgl/index.vue
+119
-0
dialog.vue
src/views/fmegl/fmesjhpcecfx/dialog.vue
+44
-0
edit.vue
src/views/fmegl/fmesjhpcecfx/edit.vue
+111
-0
index.vue
src/views/fmegl/fmesjhpcecfx/index.vue
+112
-0
index.vue
src/views/jyfkgl/ywsjlr/index.vue
+1
-1
No files found.
src/router/index.js
View file @
c9265ec0
...
...
@@ -282,6 +282,65 @@ export const powerRoutes = [
},
],
},
{
path
:
'/fmegl'
,
component
:
"Layout"
,
hidden
:
false
,
alwaysShow
:
true
,
redirect
:
'fmerwgl'
,
meta
:
{
title
:
"FME管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
'920060000'
},
children
:
[
/* 基础数据 */
{
erpComponent
:
false
,
component
:
'fmegl/fmerwgl/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"FME任务管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'920061000'
,
},
name
:
'fmerwgl'
,
path
:
"fmerwgl"
,
},
{
erpComponent
:
false
,
component
:
'fmegl/fmeglxs/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"FME管理巡视"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'920062000'
,
},
name
:
'fmeglxs'
,
path
:
"fmeglxs"
,
},
{
erpComponent
:
false
,
component
:
'fmegl/fmesjhpcecfx/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"FME事件和偏差二次分析"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'920063000'
,
},
name
:
'fmesjhpcecfx'
,
path
:
"fmesjhpcecfx"
,
},
],
},
{
path
:
'/yhlywsytst'
,
component
:
"Layout"
,
...
...
src/views/fmegl/fmeglxs/dialog.vue
0 → 100644
View file @
c9265ec0
<
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/fmegl/fmeglxs/edit.vue
0 → 100644
View file @
c9265ec0
<!--
* @Description:生成基础baseEdit组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:47:46
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-09-19 14:24:01
* @FilePath: /easyWork/static/baseEdit.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
:
'code'
,
span
:
12
,
type
:
'input'
,
required
:
true
,
},
{
label
:
'名称'
,
prop
:
'name'
,
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
>
\ No newline at end of file
src/views/fmegl/fmeglxs/index.vue
0 → 100644
View file @
c9265ec0
<!--
* @Description: 生成基础basePage组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-10-14 16:16:40
* @FilePath: /zghywpc-vue/src/views/fmegl/fmeglxs/index.vue
-->
<
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
{
name
:
'fmeglxs'
,
data
()
{
return
{
config
:
{
/* 基本配置*/
url
:
'jcsj/gysfl'
,
tableTitle
:
[{
title
:
"编码"
,
field
:
"code"
,
fieldType
:
"upper"
,
width
:
140
},
{
title
:
"名称"
,
field
:
"name"
,
width
:
140
},
{
title
:
"停用"
,
field
:
"tybz"
,
fieldType
:
"tybz"
},
{
title
:
"停用日期"
,
field
:
"tyrq"
,
fieldType
:
"ftDate"
},
{
title
:
"维护人"
,
field
:
"whr"
},
{
title
:
"维护时间"
,
field
:
"whsj"
,
fieldType
:
"ftDateTime"
},
],
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
>
src/views/fmegl/fmerwgl/dialog.vue
0 → 100644
View file @
c9265ec0
<
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/fmegl/fmerwgl/edit.vue
0 → 100644
View file @
c9265ec0
<!--
* @Description:生成基础baseEdit组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:47:46
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-10-14 16:38:47
* @FilePath: /zghywpc-vue/src/views/fmegl/fmerwgl/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
:
'rwms'
,
span
:
24
,
type
:
'input'
,
},
{
label
:
"负责人"
,
prop
:
"fzr"
,
span
:
12
,
type
:
'input'
,
},
{
label
:
"负责部门"
,
prop
:
"fzbm"
,
span
:
12
,
type
:
'input'
,
},
{
label
:
"完成期限"
,
prop
:
"wcqx"
,
span
:
12
,
type
:
'date'
,
},
{
label
:
"进展日期"
,
prop
:
"jzrq"
,
span
:
12
,
type
:
'date'
,
},
{
label
:
"进展内容"
,
prop
:
"jznr"
,
span
:
24
,
type
:
'input'
,
},
{
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/fmegl/fmerwgl/index.vue
0 → 100644
View file @
c9265ec0
<!--
* @Description: 生成基础basePage组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-10-14 16:39:26
* @FilePath: /zghywpc-vue/src/views/fmegl/fmerwgl/index.vue
-->
<
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
{
name
:
'fmerwgl'
,
data
()
{
return
{
config
:
{
/* 基本配置*/
url
:
'fme/ufmerwgl'
,
tableTitle
:
[{
title
:
"任务描述"
,
field
:
"rwms"
,
width
:
300
},
{
title
:
"负责人"
,
field
:
"fzr"
,
width
:
140
},
{
title
:
"负责部门"
,
field
:
"fzbm"
,
width
:
140
},
{
title
:
"完成期限"
,
field
:
"wcqx"
,
width
:
140
,
fieldType
:
"ftDate"
},
{
title
:
"进展日期"
,
field
:
"jzrq"
,
width
:
140
,
fieldType
:
"ftDate"
},
{
title
:
"进展内容"
,
field
:
"jznr"
,
width
:
300
},
{
title
:
"备注"
,
field
:
"bz"
,
width
:
300
},
{
title
:
"维护人"
,
field
:
"whr"
},
{
title
:
"维护时间"
,
field
:
"whsj"
,
fieldType
:
"ftDateTime"
},
],
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
>
src/views/fmegl/fmesjhpcecfx/dialog.vue
0 → 100644
View file @
c9265ec0
<
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/fmegl/fmesjhpcecfx/edit.vue
0 → 100644
View file @
c9265ec0
<!--
* @Description:生成基础baseEdit组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:47:46
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-10-14 16:37:18
* @FilePath: /zghywpc-vue/src/views/fmegl/fmesjhpcecfx/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
:
'IOER'
,
prop
:
'ioer'
,
span
:
24
,
type
:
'textarea'
,
},
{
label
:
'FA'
,
prop
:
'fa'
,
span
:
24
,
type
:
'textarea'
,
},
{
label
:
'CQ'
,
prop
:
'cq'
,
span
:
24
,
type
:
'textarea'
,
},
{
label
:
'偏差汇总'
,
prop
:
'pchz'
,
span
:
24
,
type
:
'textarea'
,
},
{
label
:
'人工分析'
,
prop
:
'rgfx'
,
span
:
24
,
type
:
'textarea'
,
},
{
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/fmegl/fmesjhpcecfx/index.vue
0 → 100644
View file @
c9265ec0
<!--
* @Description: 生成基础basePage组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-10-14 16:36:18
* @FilePath: /zghywpc-vue/src/views/fmegl/fmesjhpcecfx/index.vue
-->
<
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
{
name
:
'fmesjhpcecfx'
,
data
()
{
return
{
config
:
{
/* 基本配置*/
url
:
'fme/ufmesjpc'
,
tableTitle
:
[{
title
:
"IOER"
,
field
:
"ioer"
,
width
:
300
},
{
title
:
"FA"
,
field
:
"fa"
,
width
:
300
},
{
title
:
"CQ"
,
field
:
"cq"
,
width
:
300
},
{
title
:
"偏差汇总"
,
field
:
"pchz"
,
width
:
300
},
{
title
:
"人工分析"
,
field
:
"rgfx"
,
width
:
300
},
{
title
:
"备注"
,
field
:
"bz"
,
width
:
300
},
{
title
:
"维护人"
,
field
:
"whr"
},
{
title
:
"维护时间"
,
field
:
"whsj"
,
fieldType
:
"ftDateTime"
},
],
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
>
src/views/jyfkgl/ywsjlr/index.vue
View file @
c9265ec0
...
...
@@ -3,7 +3,7 @@
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-10-14 1
5:50:46
* @LastEditTime: 2024-10-14 1
6:11:19
* @FilePath: /zghywpc-vue/src/views/jyfkgl/ywsjlr/index.vue
-->
<
template
>
...
...
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