| | |
| | | </el-form-item> |
| | | <el-form-item label="适用日历" prop="applicableCalendar"> |
| | | <el-select v-model="form.applicableCalendar" placeholder="请选择适用日历"> |
| | | <el-option label="Zone one" value="shanghai" /> |
| | | <el-option label="Zone two" value="beijing" /> |
| | | <el-option |
| | | v-for="calendar in calendarList" |
| | | :key="calendar.id" |
| | | :label="calendar.description" |
| | | :value="calendar.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | import { selectProcessNameList } from "@/api/basicData/processRoute.js"; |
| | | import HxlhTable from '@/components/HxlhTable' |
| | | import axios from "axios"; |
| | | import {listAll_calendar} from "@/api/basicData/calendar.js"; |
| | | |
| | | const { proxy } = getCurrentInstance(); |
| | | |
| | |
| | | const shopList = ref([]); |
| | | const allShopList = ref([]); |
| | | const processList = ref([]); |
| | | const calendarList = ref([]); |
| | | |
| | | const height = ref(document.documentElement.clientHeight - 230 + "px;") |
| | | |
| | |
| | | /** 查询工厂列表 */ |
| | | listAll_plant({}), |
| | | /** 查询车间列表 */ |
| | | listAll_shop({}) |
| | | listAll_shop({}), |
| | | listAll_calendar({}) |
| | | ]) |
| | | .then(axios.spread((response1, response2, response3) => { |
| | | .then(axios.spread((response1, response2, response3, response4) => { |
| | | eventList.value = response1.rows; |
| | | plantList.value = response2.data; |
| | | allShopList.value = response3.data; |
| | | calendarList.value = response4.data; |
| | | total.value = response1.total; |
| | | loading.value = false; |
| | | })) |