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

fmesjhpcecfx 模块调整

parent f00e023a
......@@ -3,7 +3,7 @@
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:47:46
* @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
-->
<template>
......@@ -30,43 +30,93 @@
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": "zrzy",
"span": 12,
"type": "input"
},
{
label: '人工分析',
prop: 'rgfx',
span: 24,
type: 'textarea',
"label": "时间",
"prop": "ywrq",
"span": 12,
"type": "date"
},
{
label: '备注',
prop: 'bz',
span: 24,
type: 'input'
"label": "偏差描述",
"prop": "pcms",
"span": 12,
"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: [
// {
......
......@@ -3,17 +3,19 @@
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @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
-->
<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> -->
<ImportButton @success="()=>{
ctx.basePage.refresh()
}" :url="'fme/ufmesjpc/import'" />
</template>
</BasePage>
......@@ -28,64 +30,129 @@
config: {
/* 基本配置*/
url: 'fme/ufmesjpc',
tableTitle: [
// {
// title: "IOER",
// field: "ioer",
// width: 300
// },
// {
// title: "FA",
// field: "fa",
// width: 300
// },
// {
// title: "CQ",
// field: "cq",
// width: 300
// },
tableTitle: [{
"title": "责任专业",
"field": "zrzy",
"width": 200
},
{
"title": "时间",
"field": "ywrq",
fieldType: "ftDate"
},
{
"title": "偏差描述",
"field": "pcms",
"width": 200
},
{
"title": "类别",
"field": "type",
"width": 130,
"transform": {
"url": "fme/ufmesjpc/init/type",
"label": "name",
"value": "id"
}
},
{
"title": "是否整改",
"field": "sfzg",
"width": 120,
"transform": {
"url": "fme/ufmesjpc/init/yesorno",
"label": "name",
"value": "id"
}
},
{
"title": "原因分析",
"field": "yyfx",
"width": 200
},
{
"title": "区域",
"field": "region",
"width": 200,
"transform": {
"url": "fme/ufmesjpc/init/Region",
"label": "name",
"value": "id"
}
},
{
title: "偏差汇总",
field: "pchz",
width: 300
"title": "通知单号",
"field": "tzdh",
"width": 160
},
{
title: "人工分析",
field: "rgfx",
width: 300
"title": "期间",
"field": "qj",
"width": 200
},
{
title: "备注",
field: "bz",
width: 300
"title": "备注",
"field": "bz",
"width": 200
},
{
title: "维护人",
field: "whr"
"title": "维护人编码",
"field": "whrid",
"width": 120
},
{
title: "维护时间",
field: "whsj",
"title": "维护人",
"field": "whr",
"width": 120
},
{
"title": "维护时间",
"field": "whsj",
fieldType: "ftDateTime"
},
{
"title": "创建人编码",
"field": "cjrid",
"width": 120
},
{
"title": "创建人",
"field": "cjr",
"width": 120
},
{
"title": "创建时间",
"field": "cjsj",
fieldType: "ftDateTime"
}
],
queryParams: [
// [{
// label: '编码',
// prop: 'code',
// span: 6,
// type: 'input',
// value: ''
// },
// {
// label: '名称',
// prop: 'name',
// span: 6,
// type: 'input',
// value: ''
// }
[
{
"label": "类别",
"prop": "type",
"span": 8,
"type": "RelSelect",
"typeConfig": {
"src": "fme/ufmesjpc/init/type",
"match": {
"value": "id",
"label": "name"
}
}
},
{
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