| | |
| | | <ul class="tab"> |
| | | <li v-for="(m,i) in tabList" :key="i" :class="{active:i==tabIndex}" @click="handleTab(m,i)">{{m.label}}</li> |
| | | </ul> |
| | | <ValueTable :style="'height: calc(100% - '+(more?'94':'44')+'px)'" ref="ValueTable" :url="$api.insOrder.selectInsOrderParameter" :componentData="componentData" |
| | | <ValueTable :style="getStyle()" ref="ValueTable" :url="$api.insOrder.selectInsOrderParameter" :componentData="componentData" |
| | | :key="'b'+upIndex" /> |
| | | </div> |
| | | <!-- 审核 --> |
| | |
| | | </el-dialog> |
| | | </div> |
| | | <div style="width: 100%;height: 100%;" v-if="active >0"> |
| | | <Add :active="active" :currentId="currentId" /> |
| | | <Add :active="active" :currentId="currentId" v-if="active<4" /> |
| | | <fiberOpticConfig :currentId="currentId" v-if="active==4" /> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | <script> |
| | | import ValueTable from '../tool/value-table.vue' |
| | | import Add from '../do/b1-ins-order/add.vue' |
| | | import fiberOpticConfig from '../do/b1-ins-order/fiberoptic-config.vue' |
| | | export default { |
| | | components: { |
| | | ValueTable, |
| | | Add |
| | | Add, |
| | | fiberOpticConfig |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | this.componentData.tagField.orderType.select = res.data |
| | | }) |
| | | }, |
| | | getStyle(){ |
| | | return 'height: calc(100% - '+(this.more?'94':'44')+'px)' |
| | | } |
| | | } |
| | | } |
| | | </script> |