| | |
| | | @tab-click="handleClick"> |
| | | <el-tab-pane label="调查询问笔录" |
| | | name="first"> |
| | | <BiLu v-if="activeName == 'first'"></BiLu> |
| | | <BiLu v-if="activeName == 'first'" @isKeep1="isKeep1"></BiLu> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="责令限期改正通知书" |
| | | name="second"> |
| | | <GaiZheng v-if="activeName == 'second'">责令限期改正通知书</GaiZheng> |
| | | <GaiZheng v-if="activeName == 'second'" @isKeep2="isKeep2">责令限期改正通知书</GaiZheng> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="处罚决定书" |
| | | name="third"> |
| | | <JueDingShu v-if="activeName == 'third'">处罚决定书</JueDingShu> |
| | | <JueDingShu v-if="activeName == 'third'" @isKeep3="isKeep3">处罚决定书</JueDingShu> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | |
| | | this.screenHeight = document.body.clientHeight |
| | | }, |
| | | methods: { |
| | | isKeep1(val) { |
| | | //this.isSubmit = val |
| | | this.$store.commit('SET_IsCANSUBMIT1',val) |
| | | }, |
| | | isKeep2(val) { |
| | | this.$store.commit('SET_IsCANSUBMIT2',val) |
| | | }, |
| | | isKeep3(val) { |
| | | this.$store.commit('SET_IsCANSUBMIT3',val) |
| | | }, |
| | | //返回案件列表 |
| | | goHome() { |
| | | this.$router.push({ |
| | |
| | | }, |
| | | //提交(去审核) |
| | | submit() { |
| | | submitcase({ id: this.id }).then((res) => { |
| | | this.goHome() |
| | | }) |
| | | if(this.$store.state.user.isCanSubmit1 && this.$store.state.user.isCanSubmit2 && this.$store.state.user.isCanSubmit3) { |
| | | submitcase({ id: this.id }).then((res) => { |
| | | return |
| | | console.log(res,'res-----') |
| | | if(res.data.code == 0) { |
| | | this.$message.success('提交成功') |
| | | this.goHome() |
| | | } |
| | | }) |
| | | }else { |
| | | this.$message.warning('请先保存再提交') |
| | | return false |
| | | } |
| | | |
| | | }, |
| | | //点击选项卡效果 |
| | | handleClick(tab, event) { |
| | |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | .el-message,.el-message--warning{ |
| | | z-index: 99999!important; |
| | | } |
| | | .el-input.is-disabled .el-input__inner,.el-range-editor.is-disabled input{ |
| | | color: #303133; |
| | | } |
| | | .tagsContainer { |
| | | height: 95%; |
| | | height: 92%; |
| | | overflow: scroll; |
| | | .el-tabs { |
| | | .el-tabs__header { |