| | |
| | | <el-select v-model="form.wkshopcode" style="width: 200px" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in wkshopSelectArr" |
| | | :key="item.org_code" |
| | | :label="item.org_name" |
| | | :value="item.org_code" |
| | | :key="item.code" |
| | | :label="item.name" |
| | | :value="item.code" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | > |
| | | <el-option |
| | | v-for="item in wkshopSelectArr" |
| | | :key="item.org_code" |
| | | :label="item.org_name" |
| | | :value="item.org_code" |
| | | :key="item.code" |
| | | :label="item.name" |
| | | :value="item.code" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | AnDonReportSumExcelSearch, |
| | | AnDonReportSumSearch |
| | | } from '@/api/reportManager' |
| | | import { ShopSearch } from '@/api/kanbanManager' |
| | | import waves from '@/directive/waves' |
| | | import TableColumnSettings from '@/components/TableColumnSettings' |
| | | import { WorkShopSelect } from '@/api/deviceManager' |
| | | import { getCookie } from '@/utils/auth' |
| | | |
| | | export default { |
| | | name: 'Zzjg', |
| | |
| | | mainHeight: 0, |
| | | tableHeight: 0, |
| | | form: { |
| | | wkshopcode: '', // 车间编码 |
| | | wkshopcode: this.$store.state.settings.orgType === 'W' ? getCookie('stu_torgcode') : '', // 所属车间 |
| | | calltypecode: '', // 呼叫类型编码 |
| | | calluser: '', // 呼叫人员 |
| | | calldate: '', // 呼叫时间 |
| | |
| | | |
| | | currentTabPositionName: '安灯明细', // Tab标签位于的位置 默认第‘0’个 |
| | | formSum: { |
| | | wkshopcode: '', // 车间编码 |
| | | wkshopcode: this.$store.state.settings.orgType === 'W' ? getCookie('stu_torgcode') : '', // 所属车间 |
| | | calltypecode: '', // 呼叫类型编码 |
| | | calldate: '', // 呼叫时间 |
| | | eqpcode: '', // 设备编码 |
| | |
| | | if (res.code === '200') { |
| | | this.getShopSearch() |
| | | this.getAnDengTypeSearch() |
| | | |
| | | if (this.$store.state.settings.orgType === 'W') { |
| | | this.getWhkspIsEqpSearch(getCookie('stu_torgcode')) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | |
| | | }, |
| | | // 获取生产车间 |
| | | async getShopSearch() { |
| | | const { data: res } = await ShopSearch() |
| | | const { data: res } = await WorkShopSelect() |
| | | this.wkshopSelectArr = res |
| | | }, |
| | | // 获取呼叫类型 |