Commit 5f1b3339 authored by 李苏's avatar 李苏 💬

调整

parent 07ce3a09
<template> <template>
<BasePage :power='power' class="min_full" :config="config"> <BasePage :power='power' class="min_full" :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<Sync :app='ctx.basePage' v-if="ctx.basePage.showDialog" /> <Sync :app='ctx.basePage' v-if="ctx.basePage.showDialog" />
</template> </template>
<template #toolbar="ctx"> <template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="sync(ctx.basePage)" size='mini' type="primary">同步大数据平台检修信息</el-button> <el-button @click="sync(ctx.basePage)" size='mini' type="primary">同步大数据平台检修信息</el-button>
</template> </template>
</BasePage> </BasePage>
...@@ -38,12 +38,11 @@ ...@@ -38,12 +38,11 @@
/* 基本配置*/ /* 基本配置*/
url: 'jxgl/usbjx', url: 'jxgl/usbjx',
tableTitle: [ tableTitle: [{
{ title: "订单号(AUFNR)",
title: "订单号(AUFNR)", field: "aufnr",
field: "aufnr", width: 180
width: 180 },
},
{ {
title: "设备名称", title: "设备名称",
field: "sbxxName", field: "sbxxName",
...@@ -63,22 +62,22 @@ ...@@ -63,22 +62,22 @@
{ {
title: "时间(ADUHR)", title: "时间(ADUHR)",
field: "aduhr", field: "aduhr",
fieldType: 'ftDateTime', fieldType: 'ftDateTime',
}, },
{ {
title: "专业(ILOAN)", title: "专业(ILOAN)",
field: "iloan", field: "iloan",
width: 120 width: 120
}, },
{ {
title: "工作中心(GEWRK)", title: "工作中心(GEWRK)",
field: "gewrk", field: "gewrk",
width: 120 width: 120
}, },
{ {
title: "版本(REVNR)", title: "版本(REVNR)",
field: "revnr", field: "revnr",
width: 120 width: 120
}, },
{ {
title: "备品备件使用", title: "备品备件使用",
...@@ -125,6 +124,13 @@ ...@@ -125,6 +124,13 @@
], ],
queryParams: [ queryParams: [
[{ [{
label: '订单号',
prop: 'aufnr',
span: 6,
type: 'input',
value: ''
},
{
label: '检修时间', label: '检修时间',
startProp: "start", startProp: "start",
endProp: "end", endProp: "end",
...@@ -140,6 +146,10 @@ ...@@ -140,6 +146,10 @@
type: 'input', type: 'input',
value: '' value: ''
}, },
],
[
{ {
label: '设备编码', label: '设备编码',
prop: 'sbxxCode', prop: 'sbxxCode',
...@@ -147,7 +157,6 @@ ...@@ -147,7 +157,6 @@
type: 'input', type: 'input',
value: '' value: ''
} }
] ]
], ],
...@@ -157,10 +166,10 @@ ...@@ -157,10 +166,10 @@
}, },
methods: { methods: {
sync(ctx){ sync(ctx) {
ctx.DialogTitle='同步大数据平台检修信息' ctx.DialogTitle = '同步大数据平台检修信息'
ctx.DialogWidth='30vw' ctx.DialogWidth = '30vw'
ctx.showDialog=true ctx.showDialog = true
}, },
/* 示例*/ /* 示例*/
getRow(row) { getRow(row) {
...@@ -169,7 +178,8 @@ ...@@ -169,7 +178,8 @@
} }
}, },
components: { components: {
Edit,Sync Edit,
Sync
} }
......
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