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

调整

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