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

调整

parent 6be14290
...@@ -234,7 +234,7 @@ export const powerRoutes = [ ...@@ -234,7 +234,7 @@ export const powerRoutes = [
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": '920050100', "mkid": '920050200',
}, },
name: 'ywxxgl', name: 'ywxxgl',
path: "ywxxgl", path: "ywxxgl",
...@@ -248,7 +248,7 @@ export const powerRoutes = [ ...@@ -248,7 +248,7 @@ export const powerRoutes = [
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": '920050200', "mkid": '920050100',
}, },
name: 'ywsjlr', name: 'ywsjlr',
path: "ywsjlr", path: "ywsjlr",
......
This diff is collapsed.
...@@ -3,18 +3,18 @@ ...@@ -3,18 +3,18 @@
* @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-10-22 10:07:54 * @LastEditTime: 2025-01-03 18:00:32
* @FilePath: /zghywpc-vue/src/views/jyfkgl/ywsjlr/index.vue * @FilePath: /zghywpc-vue/src/views/jyfkgl/ywsjlr/index.vue
--> -->
<template> <template>
<BasePage :power='power' class="min_full" :config="config"> <BasePage class="min_full" :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
<template #toolbar="ctx"> <template #toolbar="ctx">
<!-- <AttachFileShow :app='ctx.basePage'></AttachFileShow> -->
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> --> <!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
<ImportButton @success="()=>{ctx.basePage.refresh()}" :url="'yhlywpc/uywxx/import'" />
</template> </template>
</BasePage> </BasePage>
...@@ -23,99 +23,184 @@ ...@@ -23,99 +23,184 @@
<script> <script>
import Edit from './edit.vue' import Edit from './edit.vue'
export default { export default {
name: 'ywsjlr', name: 'ywsjgl',
data() { data() {
return { return {
power: {
add: true,
copy: false,
/* 手动控制删除 */
delButton: true,
/* 手动控制编辑按钮权限 */
editButton: true,
/* 是否渲染右侧操作按钮 */
operateButtons: true,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'ywxxgl/uywsjlr', url: 'yhlywpc/uywxx',
tableTitle: [{ tableTitle: [
title: "异物区域",
field: "ywqy", {
width: 300 label: "功能位置",
prop: "gnwz",
fieldType: "ftString",
width: 180
},
{
label: "年度",
prop: "year",
width: 100
}, },
{ {
title: "异物是否取出", label: "月份",
field: "ywsfqc", prop: "month",
fieldType: "checkbox" width: 100
}, },
{ {
title: "异物发生时间", label: "异物发现时间",
field: "ywfssj", prop: "ywfxsj",
fieldType: "ftDateTime" fieldType: "ftDateTime"
}, },
{ {
title: "异物产生原因", label: "机组号",
field: "ywcsyy", prop: "jzh",
width: 190
},
{
label: "事件描述",
prop: "sjms",
width: 300 width: 300
}, },
{ {
title: "是否大修", label: "通知单号",
field: "sfdx", prop: "tzdh",
fieldType: "checkbox" width: 190
}, },
{ {
title: "大修编码", label: "分类",
field: "dxdm", prop: "fl",
width: 300 "transform": {
"url": "yhlywpc/uywxx/init/fl",
"label": "name",
"value": "id"
},
width: 192
}, },
{ {
title: "异物产生细节", label: "异物是否取出",
field: "ywcsxj", prop: "ywsfqc",
width: 300 "transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 100
}, },
{ {
title: "机组损害", label: "FME分级",
field: "jzsh", prop: "fmefj",
fieldType: "checkbox" "transform": {
"url": "yhlywpc/uywxx/init/fme/fj",
"label": "name",
"value": "id"
},
width: 192
}, },
{ {
title: "关键路径延误时间", label: "是否关闭",
field: "gjljywsj", prop: "sfgb",
width: 200, "transform": {
fieldType: "ftDateTime" "url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 100
}, },
{ {
title: "集体计量增加量", label: "责任专业",
field: "jtjlzjl", prop: "zrzy",
width: 120 "transform": {
"url": "yhlywpc/uywxx/init/zrzy",
"label": "name",
"value": "id"
},
width: 192
}, },
{ {
title: "备注", label: "期间",
field: "bz", prop: "qj",
width: 300 fieldType: "ftString",
width: 192
},
{
label: "完整性",
prop: "wzx",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 80
},
{
label: "IOE",
prop: "ioe",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 80
}, },
{ {
title: "维护人", label: "是否一回路或二次侧",
field: "whr" prop: "sfyhlhecc",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 80
}, },
{ {
title: "维护时间", label: "异物事件单是否签字",
field: "whsj", prop: "ywsjdsfqz",
fieldType: "ftDateTime" "transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 80
}, },
{
label: "SAP任务是否关闭",
prop: "saprwsfgb",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 80
},
{
label: "SAP通知单是否关闭",
prop: "saptzdsfgb",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 80
},
{
label: "备注",
prop: "bz",
width: 200
}
], ],
queryParams: [ queryParams: [
[{ [{
label: '异物发生时间', label: '事件描述',
prop: 'ywfssj', prop: 'sjms',
span: 6, span: 6,
type: 'datetime', type: 'input',
value: '' value: ''
}] }]
], ],
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: * @Description:
* @Author: lisu lisu@gavelinfo.com * @Author: lisu lisu@gavelinfo.com
* @LastEditors: lisu lisu@gavelinfo.com * @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-12-27 10:36:43 * @LastEditTime: 2024-12-27 10:43:36
* @FilePath: /zghywpc-vue/src/views/yhlywsytst/yhlywsytst/index.vue * @FilePath: /zghywpc-vue/src/views/yhlywsytst/yhlywsytst/index.vue
--> -->
<template> <template>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @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-10-29 17:50:09 * @LastEditTime: 2025-01-03 17:38:02
* @FilePath: /zghywpc-vue/src/views/ywxxgl/ywsjgl/index.vue * @FilePath: /zghywpc-vue/src/views/ywxxgl/ywsjgl/index.vue
--> -->
<template> <template>
......
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
span: 12, span: 12,
"type": "RelSelect", "type": "RelSelect",
"typeConfig": { "typeConfig": {
"src": "ywxxgl/uywxx/init/ldtx", "src": "ywxxgl/uywpclsjl/init/ldtx",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<template #toolbar="ctx"> <template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> --> <!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
<ImportButton @success="()=>{ctx.basePage.refresh()}" :url="'jywxxgl/uywxx/import'" /> <ImportButton @success="()=>{ctx.basePage.refresh()}" :url="'jywxxgl/uywpclsjl/import'" />
</template> </template>
</BasePage> </BasePage>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
return { return {
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'ywxxgl/uywxx', url: 'ywxxgl/uywpclsjl',
tableTitle: [{ tableTitle: [{
label: "名称", label: "名称",
prop: "name", prop: "name",
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
prop: "ldtx", prop: "ldtx",
width: 120, width: 120,
transform: { transform: {
"url": "ywxxgl/uywxx/init/ldtx", "url": "ywxxgl/uywpclsjl/init/ldtx",
"label": "name", "label": "name",
"value": "id" "value": "id"
} }
......
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