| | |
| | | |
| | | } |
| | | const getDeptList = async () => { |
| | | if(state.isAdmin && (state.form.companyId == 0 || state.form.companyId == null)){ |
| | | return |
| | | } |
| | | const param = { |
| | | pageNum: 1, |
| | | pageSize: 999, |
| | |
| | | |
| | | } |
| | | const selectValueCom = (val) => { |
| | | state.form.departId = null |
| | | state.form.qualityId = null |
| | | state.qualityList = [] |
| | | state.form.qualityTargets = [] |
| | |
| | | state.form.companyId = item.id |
| | | } |
| | | }) |
| | | getDeptList() |
| | | getQualityList() |
| | | getPeopleList() |
| | | } |
| | |
| | | state.form.qualityId = null |
| | | state.qualityList = [] |
| | | state.form.qualityTargets = [] |
| | | state.form.fictionId = null |
| | | state.form.fictionName = '' |
| | | state.form.checkId = null |
| | | state.form.checkName = '' |
| | | state.form.ratifyId = null |
| | | state.form.ratifyName = '' |
| | | // state.form.fictionId = null |
| | | // state.form.fictionName = '' |
| | | // state.form.checkId = null |
| | | // state.form.checkName = '' |
| | | // state.form.ratifyId = null |
| | | // state.form.ratifyName = '' |
| | | await getQualityList() |
| | | } |
| | | const addObject = (val) => { |