| | |
| | | |
| | | <a-col :md="6" :sm="8"> |
| | | <a-form-item label="车间名称"> |
| | | <!--<a-input placeholder="请输入账号查询" v-model="queryParam.username"></a-input>--> |
| | | <a-input placeholder="请输入车间名称" v-model="queryParam.productionName"></a-input> |
| | | <!--<a-input placeholder="请输入车间名称" v-model="queryParam.productionName"></a-input>--> |
| | | <a-tree-select v-model="queryParam.productionName" :treeData="workshopTreeData" placeholder="请选择车间" tree-default-expand-all></a-tree-select> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | |
| | | import UserRecycleBinModal from './modules/EquipmentList/UserRecycleBinModal' |
| | | import JSuperQuery from '@/components/jeecg/JSuperQuery' |
| | | import JThirdAppButton from '@/components/jeecgbiz/thirdApp/JThirdAppButton' |
| | | import { queryProductionTreeList } from '@/api/api' |
| | | import {mapActions} from 'vuex' |
| | | |
| | | export default { |
| | |
| | | exportXlsUrl: "/mdc/mdcEquipment/exportXls", |
| | | // importExcelUrl: "sys/user/importExcel", |
| | | }, |
| | | isDepartType:'' |
| | | isDepartType:'', |
| | | workshopTreeData:[] |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | }, |
| | | created() { |
| | | this.queryTreeData() |
| | | this.getWorkshopListByApi() |
| | | }, |
| | | methods: { |
| | | ...mapActions(['QueryDepartTree']), |
| | |
| | | this.loadData() |
| | | } |
| | | }, |
| | | |
| | | getWorkshopListByApi(){ |
| | | queryProductionTreeList().then(res=>{ |
| | | if(res.success) this.workshopTreeData=res.result |
| | | }) |
| | | } |
| | | } |
| | | |
| | | } |