| | |
| | | <!-- |
| | | * @Date: 2024-01-06 17:40:19 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-01-12 22:44:34 |
| | | * @LastEditTime: 2024-01-13 11:16:53 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/component/index.vue |
| | | --> |
| | | <template> |
| | | <div class="maintenance"> |
| | | <div class="nav">设备保养/日常保养</div> |
| | | <List ref="list" url="/component/pageQuery"> |
| | | <div class="nav">工件信息</div> |
| | | <List ref="list" :url="url"> |
| | | <template slot="search"> |
| | | <div class="item"> |
| | | <span>零件号</span> |
| | | <el-select class="item-value" v-model="queryInfo.component" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in componentList" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | :key="item" |
| | | :label="item" |
| | | :value="item"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | |
| | | <el-select class="item-value" v-model="queryInfo.precess" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in precessList" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | :key="item" |
| | | :label="item" |
| | | :value="item"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | |
| | | </template> |
| | | <script> |
| | | import List from '../list/index.vue' |
| | | import { getUrl } from '@/api/Api' |
| | | export default { |
| | | components: { |
| | | List |
| | | }, |
| | | data () { |
| | | return { |
| | | url: '', |
| | | queryInfo: { |
| | | timeBegin: '', |
| | | timeEnd: '', |
| | |
| | | } |
| | | }, |
| | | created () { |
| | | this.url = getUrl('componentQuery') |
| | | this.init() |
| | | // this.getProtocolList() |
| | | }, |