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

调整

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