| | |
| | | <el-input |
| | | v-model.trim="scope.row.clauseNum" |
| | | size="large" |
| | | type="textarea" :autosize="{minRows: 1}" |
| | | type="textarea" |
| | | v-if="scope.$index>4 && scope.$index<state.form.sysDeptResponsibilityList.length-2" |
| | | style="width: 100%;" |
| | | > |
| | |
| | | <el-input |
| | | v-model.trim="scope.row.content" |
| | | size="large" |
| | | type="textarea" :autosize="{minRows: 1}" |
| | | type="textarea" |
| | | v-if="scope.$index>4 && scope.$index<state.form.sysDeptResponsibilityList.length-2" |
| | | style="width: 100%;" |
| | | > |
| | |
| | | <el-input |
| | | v-model.trim="scope.row.leader" |
| | | size="large" |
| | | type="textarea" :autosize="{minRows: 1}" |
| | | type="textarea" |
| | | style="width: 100%;" |
| | | > |
| | | </el-input> |
| | |
| | | <el-input |
| | | v-model.trim="scope.row.evidenceMaterials" |
| | | size="large" |
| | | type="textarea" :autosize="{minRows: 1}" |
| | | type="textarea" |
| | | style="width: 100%;" |
| | | > |
| | | </el-input> |
| | |
| | | <el-input |
| | | v-model.trim="scope.row.managementDocuments" |
| | | size="large" |
| | | type="textarea" :autosize="{minRows: 1}" |
| | | type="textarea" |
| | | style="width: 100%;" |
| | | clearable |
| | | > |
| | |
| | | <template #default="scope"> |
| | | <el-input |
| | | v-model.trim="scope.row.technicalDocuments" |
| | | type="textarea" :autosize="{minRows: 1}" |
| | | type="textarea" |
| | | size="large" |
| | | style="width: 100%;" |
| | | > |
| | |
| | | <template #default="scope"> |
| | | <el-input |
| | | v-model.trim="scope.row.existingRecords" |
| | | type="textarea" :autosize="{minRows: 1}" |
| | | type="textarea" |
| | | size="large" |
| | | style="width: 100%;" |
| | | > |
| | |
| | | if(valid){ |
| | | state.form.delData = state.oldResponsibilityList.filter(oldItem => !state.form.sysDeptResponsibilityList.some(newItem => newItem.id === oldItem.id)).map(item => item.id) |
| | | for(let i of state.form.sysDeptResponsibilityList){ |
| | | if(i.clauseNum == '' || i.content=='' || i.leader == ''){ |
| | | ElMessage.warning('条款编号、内容、负责人不可为空') |
| | | if(i.clauseNum == '' || i.content==''){ |
| | | ElMessage.warning('条款编号、内容不可为空') |
| | | return |
| | | } |
| | | } |
| | |
| | | .customedTable{ |
| | | .el-table__cell{ |
| | | padding: 2px 0 !important; |
| | | font-size: 14px !important; |
| | | } |
| | | .cell{ |
| | | padding: 0 2px !important; |
| | | font-size: 14px !important; |
| | | } |
| | | } |
| | | </style> |