Commit a2202f5f authored by 李苏's avatar 李苏 💬

调整

parent 3733123e
......@@ -148,6 +148,68 @@ export const powerRoutes = [
]
},
{
path: '/jyfkgl',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'jyfkgl',
meta: {
title: "经验反馈管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: '920040000'
},
children: [
/* 基础数据 */
{
erpComponent: false,
component: 'jyfkgl/jyfkgl/index',
hidden: false,
meta: {
"title": "异物信息管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": '920040100',
},
name: 'jyfkgl',
path: "jyfkgl",
}
],
},
{
path: '/ywxxgl',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'ywxxgl',
meta: {
title: "异物信息管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: '920050000'
},
children: [
/* 基础数据 */
{
erpComponent: false,
component: 'ywxxgl/ywxxgl/index',
hidden: false,
meta: {
"title": "异物信息管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": '920050100',
},
name: 'ywxxgl',
path: "ywxxgl",
}
],
},
{
path: '/yhlywsytst',
component: "Layout",
......@@ -159,7 +221,7 @@ export const powerRoutes = [
icon: "fa-cog",
noCache: false,
link: null,
mkid: '920050000'
mkid: '920060000'
},
children: [
/* 基础数据 */
......@@ -172,7 +234,7 @@ export const powerRoutes = [
"icon": "",
"noCache": false,
"link": null,
"mkid": '920051000',
"mkid": '920061000',
},
name: 'yhlywsytst',
path: "yhlywsytst",
......@@ -213,7 +275,7 @@ export const powerRoutes = [
component: 'sbjxgl/jxzyff/index',
hidden: false,
meta: {
"title": "检修左右方法",
"title": "检修作业方法",
"icon": "",
"noCache": false,
"link": null,
......
<template>
<RelDialog width="50%" :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false " v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label" :prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
</el-row>
</el-form>
</RelDialog>
</template>
<script>
import {
editMixin
} from 'common'
export default {
mixins: [editMixin],
data() {
return {
editColItemList: [
{
label: '机组',
prop: 'jz',
span: 12,
type: 'input',
},
{
label: '堆型',
prop: 'dx',
span: 12,
type: 'input',
},
{
label: '时间',
prop: 'time',
span: 12,
type: 'datetime',
},
{
label: '规格型号',
prop: 'ggxh',
span: 12,
type: 'input',
},
{
label: '材质',
prop: 'cz',
span: 24,
type: 'input',
},
{
label: '异物地点',
prop: 'ywdd',
span: 24,
type: 'input',
required:true,
},
{
label: '异物排查方法',
prop: 'ywpcff',
span: 24,
type: 'textarea',
required:true,
},
{
label: '异物产生原因',
prop: 'ywcsyy',
span: 24,
type: 'textarea',
},
{
label: '备注',
prop: 'bz',
span: 24,
type: 'input'
},
]
}
}
}
</script>
<template>
<BasePage class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<AttachFileShow :app='ctx.basePage' ></AttachFileShow>
</template>
</BasePage>
</template>
<script>
import Edit from './edit.vue'
export default {
name: 'jyfkgl',
data() {
return {
config: {
/* 基本配置*/
url: 'jyfggl/ujyfk',
tableTitle: [{
label: "机组",
prop: "jz",
fieldType: "ftString",
width: 300
},
{
label: "堆型",
prop: "dx",
fieldType: "ftString",
width: 300
},
{
label: "时间",
prop: "time",
fieldType: "ftDateTime"
},
{
label: "规格",
prop: "ggxh",
fieldType: "ftString",
width: 300
},
{
label: "材质",
prop: "cz",
fieldType: "ftString",
width: 300
},
{
label: "异物地点",
prop: "ywdd",
fieldType: "ftString",
width: 300
},
{
label: "异物排查方法",
prop: "ywpcff",
fieldType: "ftString",
width: 300
},
{
label: "异物产生原因",
prop: "ywcsyy",
fieldType: "ftString",
width: 300
},
{
label: "备注",
prop: "bz",
fieldType: "ftString",
width: 300
},
{
label: "附件数",
prop: "attachcount",
fieldType: "int"
},
{
title: "创建人",
field: "cjr",
width: 140
},
{
title: "创建时间",
field: "cjsj",
fieldType: 'ftDateTime'
},
{
title: "维护人",
field: "whr",
hidden: true
},
{
title: "维护时间",
field: "whsj",
fieldType: 'ftDateTime',
hidden: true
}
],
queryParams: [
[{
label: '编码',
prop: 'code',
span: 6,
type: 'input',
value: ''
},
{
label: '名称',
prop: 'name',
span: 6,
type: 'input',
value: ''
}
]
],
/* 默认启停用 */
}
}
},
methods: {
/* 示例*/
// demo(basePage){
// }
},
components: {
Edit
}
}
</script>
<style>
</style>
This diff is collapsed.
<template>
<RelDialog width="50%" :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false " v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label" :prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
</el-row>
</el-form>
</RelDialog>
</template>
<script>
import {
editMixin
} from 'common'
export default {
mixins: [editMixin],
data() {
return {
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'
},
]
}
}
}
</script>
<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: 'jxzyff',
data() {
return {
config: {
/* 基本配置*/
url: 'yhlywpc/ujyfk',
tableTitle: [{
label: "机组",
prop: "jz",
fieldType: "ftString",
width: 300
},
{
label: "堆型",
prop: "dx",
fieldType: "ftString",
width: 300
},
{
label: "时间",
prop: "time",
fieldType: "ftDateTime"
},
{
label: "规格",
prop: "ggxh",
fieldType: "ftString",
width: 300
},
{
label: "材质",
prop: "cz",
fieldType: "ftString",
width: 300
},
{
label: "异物地点",
prop: "ywdd",
fieldType: "ftString",
width: 300
},
{
label: "异物排查方法",
prop: "ywpcff",
fieldType: "ftString",
width: 300
},
{
label: "异物产生原因",
prop: "ywcsyy",
fieldType: "ftString",
width: 300
},
{
label: "备注",
prop: "bz",
fieldType: "ftString",
width: 300
},
{
label: "附件数",
prop: "attachcount",
fieldType: "int"
},
{
title: "创建人",
field: "cjr",
width: 140
},
{
title: "创建时间",
field: "cjsj",
fieldType: 'ftDateTime'
},
{
title: "维护人",
field: "whr",
hidden: true
},
{
title: "维护时间",
field: "whsj",
fieldType: 'ftDateTime',
hidden: true
}
],
queryParams: [
[{
label: '编码',
prop: 'code',
span: 6,
type: 'input',
value: ''
},
{
label: '名称',
prop: 'name',
span: 6,
type: 'input',
value: ''
}
]
],
/* 默认启停用 */
}
}
},
methods: {
/* 示例*/
// demo(basePage){
// }
},
components: {
Edit
}
}
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment