| | |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog title="试验信息" :visible.sync="experimentDia" width="50%"> |
| | | <div style="height: 80vh;overflow-y: auto;"> |
| | | <div class="body" style="display: flex;padding: 10px;align-items: center;" v-if="experimentDia0"> |
| | | <div class="search_label" style="width: 150px;"><span class="required-span">*</span>实验阶段</div> |
| | | <div class="search_input" style="width: 100%;"> |
| | |
| | | </tr> |
| | | </template> |
| | | </table> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="experimentDia = false">取 消</el-button> |
| | | <el-button type="primary" @click="submit0">确 定</el-button> |
| | |
| | | this.lookFileVisible = true |
| | | }, |
| | | handleBack(){ |
| | | if(this.tableLists.find(m=>m.templateId==this.currentTable).templateName.includes('电路试验')){ |
| | | try { |
| | | if(!this.isLook&&this.state==1&&this.tableLists.find(m=>m.templateId==this.currentTable).templateName.includes('电路试验')){ |
| | | this.$confirm('请确认当前数据是否全部保存,是否返回?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | |
| | | }else{ |
| | | this.$emit('goback') |
| | | } |
| | | } catch (error) { |
| | | this.$emit('goback') |
| | | } |
| | | } |
| | | } |
| | | } |