| | |
| | | <!-- |
| | | * @Date: 2024-01-06 17:40:19 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-01-16 22:28:00 |
| | | * @LastEditTime: 2024-01-19 00:15:38 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/maintenance/index.vue |
| | | --> |
| | | <template> |
| | |
| | | <template slot="search"> |
| | | <div class="item"> |
| | | <span>统一编号</span> |
| | | <el-input class="item-value" v-model="queryInfo.uuid"></el-input> |
| | | <el-input class="item-value" v-model="queryInfo.uuid" clearable></el-input> |
| | | </div> |
| | | <div class="item"> |
| | | <span>设备名称</span> |
| | | <el-select class="item-value" v-model="queryInfo.machineName" placeholder="请选择"> |
| | | <el-select class="item-value" v-model="queryInfo.machineName" placeholder="请选择" clearable> |
| | | <el-option v-for="item in machineList" :key="item.id" :label="item.machineName" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | |
| | | </div> --> |
| | | <div class="item"> |
| | | <span>使用部门</span> |
| | | <el-select class="item-value" v-model="queryInfo.department"> |
| | | <el-select class="item-value" v-model="queryInfo.department" clearable> |
| | | <el-option v-for="item in departmentlist" :key="item.value" :label="item.label" :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | |
| | | </div> --> |
| | | <div class="item"> |
| | | <span>计划开始日期</span> |
| | | <el-date-picker class="item-value" v-model="queryInfo.planStartDate" align="right" type="date" placeholder="选择日期"> |
| | | <el-date-picker class="item-value" clearable v-model="queryInfo.planStartDate" align="right" type="date" placeholder="选择日期"> |
| | | </el-date-picker> |
| | | </div> |
| | | <div class="item"> |
| | | <span>计划完成日期</span> |
| | | <el-date-picker class="item-value" v-model="queryInfo.planFinishDate" align="right" type="date" placeholder="选择日期"> |
| | | <el-date-picker class="item-value" clearable v-model="queryInfo.planFinishDate" align="right" type="date" placeholder="选择日期"> |
| | | </el-date-picker> |
| | | </div> |
| | | <div class="item" style="flex: 1 1 auto;justify-content: flex-end;"> |
| | |
| | | </el-table-column> |
| | | </template> |
| | | </List> |
| | | <DailyMAddD ref="dailyMAddD" @reflash="submitForm" :styleValue="queryInfo.style" :styleName="navName" :departmentlist="departmentlist" :machineList="machineList" :userList="userList"></DailyMAddD> |
| | | <DailyMAddD ref="dailyMAddD" @reflash="query" :styleValue="queryInfo.style" :styleName="navName" :departmentlist="departmentlist" :machineList="machineList" :userList="userList"></DailyMAddD> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import List from '../list/index.vue' |
| | | import { getUseDpts,getRequest } from '@/api/Api' |
| | | import { userList } from '@/api/MdcApi' |
| | | import DailyMAddD from './dailyMAdd.vue' |
| | | export default { |
| | | components: { |
| | |
| | | }) |
| | | getRequest('userList', { |
| | | }).then(res => { |
| | | this.userList = res.data.list |
| | | this.userList = res.data |
| | | }) |
| | | }, |
| | | |