| | |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20"> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20" v-if="applyStartDialogState.applyStartForm.sisStatus==1"> |
| | | <el-form-item label="安全信息化系统" prop="safeInformationSystem"> |
| | | <el-input v-model="applyStartDialogState.applyStartForm.safeInformationSystem" placeholder="材料类型" class="input-length"> |
| | | </el-input> |
| | |
| | | const applyStartFormRef = ref() |
| | | |
| | | const applyStartDialogState = reactive<ApplyStartDialogType>({ |
| | | title: '', |
| | | title: '申请开展', |
| | | applyStartDialogVisible: false, |
| | | applyStartForm: { |
| | | id: null, |
| | |
| | | |
| | | const showApplyStartDialog = (value: ProjectType) => { |
| | | applyStartDialogState.applyStartDialogVisible = true; |
| | | applyStartDialogState.applyStartForm = { |
| | | id: null, |
| | | sisStatus: null, |
| | | safeInformationSystem: '', |
| | | startTime: '' |
| | | }, |
| | | applyStartDialogState.applyStartForm.id = <number>value.id |
| | | }; |
| | | |
| | | const onSubmitApplyStart = () => { |
| | | applyStartFormRef.value.validate(async(valid: boolean) => { |
| | | if(valid){ |
| | | if(applyStartDialogState.applyStartForm.sisStatus == 2){ |
| | | applyStartDialogState.applyStartForm.safeInformationSystem = '' |
| | | } |
| | | let res = await projectApi().applyProject([applyStartDialogState.applyStartForm]); |
| | | if(res.data.code === 100){ |
| | | emit('refresh') |