| | |
| | | </template> |
| | | </el-dialog> |
| | | <EmergencySupplies ref="showRef" @SearchUser="onUser"/> |
| | | <userSelections ref="userRef"/> |
| | | <DailogSearchUser ref="userRef" @SearchUser="onUsers"/> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | FullScreen |
| | | } from '@element-plus/icons-vue' |
| | | import EmergencySupplies from '/@/components/emergencySupplies/index.vue' |
| | | import UserSelections from "/@/components/userSelections/index.vue" |
| | | import DailogSearchUser from "../../../../../components/DailogSearchUser/index.vue" |
| | | import {maintenanceEmergencyMaterialsApi} from "/@/api/maintenanceEmergencyMaterials"; |
| | | |
| | | export default defineComponent({ |
| | | name: 'maintain', |
| | | components: { |
| | | UserSelections, |
| | | DailogSearchUser, |
| | | EmergencySupplies, |
| | | }, |
| | | setup(props, { emit }) { |
| | |
| | | suppliesId: '', // 物资ID |
| | | maintainResult: '', //保养结果 |
| | | maintainTime: '', // 创建时间 |
| | | userList: [ |
| | | { |
| | | userUid: '' |
| | | }, |
| | | { |
| | | userUid: '' |
| | | } |
| | | ] |
| | | userList: [] |
| | | }); |
| | | const titles = ref(); |
| | | const disabled = ref(); |
| | |
| | | // 编写人弹窗 |
| | | const userRef = ref(); |
| | | const openUser = () => { |
| | | userRef.value.openDialog(); |
| | | userRef.value.openDailog(); |
| | | }; |
| | | const onUsers = (e:any) => { |
| | | ruleForm.value.userUid=e.uid |
| | | }; |
| | | //全屏 |
| | | const full = ref(false); |
| | |
| | | ruleForm, |
| | | value1, |
| | | daiInpt, |
| | | onUsers, |
| | | showRef, |
| | | ruleFormRef, |
| | | onUser, |