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

fmesjhpcecfx 模块调整

parent f00e023a
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: lisu lisu@gavelinfo.com * @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:47:46 * @Date: 2024-09-19 10:47:46
* @LastEditors: lisu lisu@gavelinfo.com * @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-12-06 10:58:08 * @LastEditTime: 2025-06-20 14:05:57
* @FilePath: /zghywpc-vue/src/views/fmegl/fmesjhpcecfx/edit.vue * @FilePath: /zghywpc-vue/src/views/fmegl/fmesjhpcecfx/edit.vue
--> -->
<template> <template>
...@@ -30,43 +30,93 @@ ...@@ -30,43 +30,93 @@
editConfig: { editConfig: {
/* 生成form表单 */ /* 生成form表单 */
editColItemList: [ 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: '偏差汇总', "label": "责任专业",
prop: 'pchz', "prop": "zrzy",
span: 24, "span": 12,
type: 'textarea', "type": "input"
}, },
{ {
label: '人工分析', "label": "时间",
prop: 'rgfx', "prop": "ywrq",
span: 24, "span": 12,
type: 'textarea', "type": "date"
}, },
{ {
label: '备注', "label": "偏差描述",
prop: 'bz', "prop": "pcms",
span: 24, "span": 12,
type: 'input' "type": "input"
}, },
], {
"label": "类别",
"prop": "type",
"span": 12,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "fme/ufmesjpc/init/type",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "是否整改",
"prop": "sfzg",
"span": 12,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "fme/ufmesjpc/init/yesorno",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "原因分析",
"prop": "yyfx",
"span": 12,
"type": "input"
},
{
"label": "区域",
"prop": "region",
"span": 12,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "fme/ufmesjpc/init/Region",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "通知单号",
"prop": "tzdh",
"span": 12,
"type": "input"
},
{
"label": "期间",
"prop": "qj",
"span": 12,
"type": "input"
},
{
"label": "备注",
"prop": "bz",
"span": 24,
"type": "input"
}
]
,
/* 生成主从表,为空数组默认不展示 */ /* 生成主从表,为空数组默认不展示 */
editTableTitle: [ editTableTitle: [
// { // {
......
...@@ -3,17 +3,19 @@ ...@@ -3,17 +3,19 @@
* @Author: lisu lisu@gavelinfo.com * @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27 * @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com * @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-12-06 10:58:25 * @LastEditTime: 2025-06-20 14:11:00
* @FilePath: /zghywpc-vue/src/views/fmegl/fmesjhpcecfx/index.vue * @FilePath: /zghywpc-vue/src/views/fmegl/fmesjhpcecfx/index.vue
--> -->
<template> <template>
<BasePage class="min_full" :config="config"> <BasePage class="min_full" :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
<template #toolbar="ctx"> <template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> --> <ImportButton @success="()=>{
ctx.basePage.refresh()
}" :url="'fme/ufmesjpc/import'" />
</template> </template>
</BasePage> </BasePage>
...@@ -28,64 +30,129 @@ ...@@ -28,64 +30,129 @@
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'fme/ufmesjpc', url: 'fme/ufmesjpc',
tableTitle: [ tableTitle: [{
// { "title": "责任专业",
// title: "IOER", "field": "zrzy",
// field: "ioer", "width": 200
// width: 300 },
// }, {
// { "title": "时间",
// title: "FA", "field": "ywrq",
// field: "fa", fieldType: "ftDate"
// width: 300 },
// }, {
// { "title": "偏差描述",
// title: "CQ", "field": "pcms",
// field: "cq", "width": 200
// width: 300 },
// }, {
"title": "类别",
"field": "type",
"width": 130,
"transform": {
"url": "fme/ufmesjpc/init/type",
"label": "name",
"value": "id"
}
},
{ {
title: "偏差汇总", "title": "是否整改",
field: "pchz", "field": "sfzg",
width: 300 "width": 120,
"transform": {
"url": "fme/ufmesjpc/init/yesorno",
"label": "name",
"value": "id"
}
}, },
{ {
title: "人工分析", "title": "原因分析",
field: "rgfx", "field": "yyfx",
width: 300 "width": 200
}, },
{ {
title: "备注", "title": "区域",
field: "bz", "field": "region",
width: 300 "width": 200,
"transform": {
"url": "fme/ufmesjpc/init/Region",
"label": "name",
"value": "id"
}
}, },
{ {
title: "维护人", "title": "通知单号",
field: "whr" "field": "tzdh",
"width": 160
}, },
{ {
title: "维护时间", "title": "期间",
field: "whsj", "field": "qj",
"width": 200
},
{
"title": "备注",
"field": "bz",
"width": 200
},
{
"title": "维护人编码",
"field": "whrid",
"width": 120
},
{
"title": "维护人",
"field": "whr",
"width": 120
},
{
"title": "维护时间",
"field": "whsj",
fieldType: "ftDateTime" fieldType: "ftDateTime"
}, },
{
"title": "创建人编码",
"field": "cjrid",
"width": 120
},
{
"title": "创建人",
"field": "cjr",
"width": 120
},
{
"title": "创建时间",
"field": "cjsj",
fieldType: "ftDateTime"
}
], ],
queryParams: [ queryParams: [
// [{ [
// label: '编码',
// prop: 'code', {
// span: 6, "label": "类别",
// type: 'input', "prop": "type",
// value: '' "span": 8,
// }, "type": "RelSelect",
// { "typeConfig": {
// label: '名称', "src": "fme/ufmesjpc/init/type",
// prop: 'name', "match": {
// span: 6, "value": "id",
// type: 'input', "label": "name"
// value: '' }
// } }
},
{
label: '业务日期',
startProp: "start",
endProp: "end",
span: 8,
type: 'RelDaterangeV2',
}
]
// ]
], ],
/* 默认启停用 */ /* 默认启停用 */
......
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