Commit 01edb64e authored by jingnan's avatar jingnan 👀

ERP相关_CAS配套申请界面开发及接口联调

parent 0bcce179
...@@ -19,52 +19,55 @@ ...@@ -19,52 +19,55 @@
</div> </div>
</template> </template>
</dee-fold-pane> </dee-fold-pane>
<dee-tab v-else :tabs="tabItems" :show-swipe="false" :is-detail="false"> <!-- <dee-tab v-else :tabs="tabItems" :show-swipe="false" :is-detail="false">
<div slot="0" style="height:100%;box-sizing:border-box"> <div slot="0" style="height:100%;box-sizing:border-box"> -->
<dee-fold-pane <dee-fold-pane
:min-percent="18" v-else
:default-percent="18" :min-percent="18"
split="vertical" :default-percent="defaultPercent"
class="detail-pane" split="vertical"
fold-direction="false" class="detail-pane"
> fold-direction="false"
<template slot="paneL"> >
<div class="three-member-wrap"> <template slot="paneL">
<!-- <dee-as-com <div class="three-member-wrap">
<!-- <dee-as-com
ref="detailCom" ref="detailCom"
:key="layConfig.typeName" :key="layConfig.typeName"
:lay-config="layConfig" :lay-config="layConfig"
@row-click="rowClick" @row-click="rowClick"
/> --> /> -->
<stationPlanList :state-options="stateOptions" @getMissData="getMissData" /> <stationPlanList :state-options="stateOptions" @getMissData="getMissData" @switchMissPartsShow="switchMissPartsShow" />
</div> </div>
</template> </template>
<template slot="paneR"> <template slot="paneR">
<div class="resourceTable-wrap"> <div class="resourceTable-wrap">
<missingParts :info="missInfo" /> <missingParts :info="missInfo" />
</div> </div>
</template> </template>
</dee-fold-pane> </dee-fold-pane>
</div> <!-- </div> -->
<div slot="1" style="height:100%;box-sizing:border-box"> <!-- <div slot="1" style="height:100%;box-sizing:border-box">
<searchBar :state-options="stateOptions" @showStation="showStation" @search="search" /> <searchBar :state-options="stateOptions" @showStation="showStation" @search="search" />
<station v-show="headerShow" :state-options="stateOptions" :sorties-id="sortiesId" :form="form" @change="change" /> <station v-show="headerShow" :state-options="stateOptions" :sorties-id="sortiesId" :form="form" @change="change" />
<gantt :form="form" :state-options="stateOptions" :class="[headerShow?'gantt-bar':'gantt-bar no-header']" /> <gantt :form="form" :state-options="stateOptions" :class="[headerShow?'gantt-bar':'gantt-bar no-header']" />
</div> </div>
</dee-tab> </dee-tab> -->
</div> </div>
</template> </template>
<script> <script>
import { post } from '@/utils/http' import { post } from '@/utils/http'
import searchBar from './searchBar.vue' // import searchBar from './searchBar.vue'
import station from './station.vue' // import station from './station.vue'
import gantt from './gantt.vue' // import gantt from './gantt.vue'
import missingParts from './missingParts' import missingParts from './missingParts'
import stationPlanList from './stationPlanList' import stationPlanList from './stationPlanList'
import materialSupporting from './materialSupporting' import materialSupporting from './materialSupporting'
export default { export default {
name: 'DeeMesStationPlanMaintenance', name: 'DeeMesStationPlanMaintenance',
components: { searchBar, station, gantt, missingParts, stationPlanList, materialSupporting }, components: {
// searchBar, station, gantt,
missingParts, stationPlanList, materialSupporting },
data() { data() {
return { return {
sortiesId: '', sortiesId: '',
...@@ -74,7 +77,8 @@ export default { ...@@ -74,7 +77,8 @@ export default {
headerShow: true, headerShow: true,
basicData: {}, basicData: {},
missInfo: {}, missInfo: {},
rowData: {} rowData: {},
defaultPercent: 18
} }
}, },
computed: { computed: {
...@@ -263,6 +267,9 @@ export default { ...@@ -263,6 +267,9 @@ export default {
}, },
showStation(flag) { showStation(flag) {
this.headerShow = flag this.headerShow = flag
},
switchMissPartsShow(data) {
this.defaultPercent = data
} }
} }
} }
......
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