| | |
| | | <template> |
| | | <div> |
| | | <div id="box"> |
| | | <div class="btn"> |
| | | <p class="types" >未填写</p> |
| | | <div style="display: inline-block"> |
| | | <p class="names">调查询问笔录</p> |
| | | <!-- <p> |
| | | <span>{{ item.addTime }}</span> |
| | | <span class="str1">{{ item.updateBy }}</span> |
| | | </p>--> |
| | | <basic-container> |
| | | <!--头部导航--> |
| | | <div id="nav"> |
| | | <el-button icon="el-icon-arrow-left" @click="goHome">返回</el-button> |
| | | <p>{{ name }}</p> |
| | | <div> |
| | | <el-button v-show="btn ==1" icon="el-icon-caret-top" @click="ShowHide(0)"></el-button> |
| | | <el-button v-show="btn ==0" icon="el-icon-caret-bottom" @click="ShowHide(0)"></el-button> |
| | | <el-button icon="el-icon-upload" @click="submit">提交</el-button> |
| | | </div> |
| | | <!-- <div v-if="item.hasReceipt == 1"> |
| | | <img :src="item.receiptState =='0' ? src2 :src1" @click.stop="openHuiZheng(item)"> |
| | | </div>--> |
| | | </div> |
| | | <div class="btn"> |
| | | <p class="types" >未填写</p> |
| | | <div style="display: inline-block"> |
| | | <p class="names">责令限期改正通知书</p> |
| | | <!-- <p> |
| | | <span>{{ item.addTime }}</span> |
| | | <span class="str1">{{ item.updateBy }}</span> |
| | | </p>--> |
| | | </div> |
| | | <!-- <div v-if="item.hasReceipt == 1"> |
| | | <img :src="item.receiptState =='0' ? src2 :src1" @click.stop="openHuiZheng(item)"> |
| | | </div>--> |
| | | </div> |
| | | <div class="btn"> |
| | | <p class="types" >未填写</p> |
| | | <div style="display: inline-block"> |
| | | <p class="names">处罚决定书</p> |
| | | <!-- <p> |
| | | <span>{{ item.addTime }}</span> |
| | | <span class="str1">{{ item.updateBy }}</span> |
| | | </p>--> |
| | | </div> |
| | | <!-- <div v-if="item.hasReceipt == 1"> |
| | | <img :src="item.receiptState =='0' ? src2 :src1" @click.stop="openHuiZheng(item)"> |
| | | </div>--> |
| | | </div> |
| | | </div> |
| | | <button class="btnCode">提交审核</button> |
| | | </div> |
| | | <!--底部选项卡--> |
| | | <el-tabs type="border-card" :tab-position="tabPosition" v-model="activeName" :stretch="true" |
| | | @tab-click="handleClick"> |
| | | <el-tab-pane label="调查询问笔录" name="first"> |
| | | <BiLu v-if="activeName == 'first'"></BiLu> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="责令限期改正通知书" name="second"> |
| | | <GaiZheng v-if="activeName == 'second'">责令限期改正通知书</GaiZheng> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="处罚决定书" name="third"> |
| | | <JueDingShu v-if="activeName == 'third'">处罚决定书</JueDingShu> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </basic-container> |
| | | </template> |
| | | |
| | | <script> |
| | | import {submitcase} from "../../api/News/pad"; |
| | | import BiLu from "./word_mange/mangeBL" |
| | | import GaiZheng from './word_mange/mangeGZ' |
| | | import JueDingShu from './word_mange/mangeJD' |
| | | |
| | | export default { |
| | | name: "padWord" |
| | | name: "padWord1", |
| | | components: { |
| | | BiLu, |
| | | GaiZheng, |
| | | JueDingShu |
| | | }, |
| | | created() { |
| | | this.id = this.$store.state.user.id |
| | | if (this.$route.query) { |
| | | this.$nextTick(() => { |
| | | this.name = this.$route.query.name |
| | | // this.id = this.$route.params.id |
| | | }) |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | name: "案件名称",//展示的案件名称 |
| | | btn: 1,//展开和收起 |
| | | tabPosition: 'left',//默认左侧选项卡 |
| | | activeName: "first"//选项卡默认打开第一个 |
| | | } |
| | | }, |
| | | methods: { |
| | | //返回案件列表 |
| | | goHome() { |
| | | this.$router.push({ |
| | | path: '/pad', |
| | | }) |
| | | }, |
| | | //收缩顶部 |
| | | ShowHide(type) { |
| | | this.btn = type; |
| | | window.android.toShowHide() |
| | | }, |
| | | //提交(去审核) |
| | | submit() { |
| | | submitcase({id: this.id}).then(res => { |
| | | this.goHome() |
| | | }) |
| | | }, |
| | | //点击选项卡效果 |
| | | handleClick(tab, event) { |
| | | this.activeName = tab.name |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | #box{ |
| | | width: 80%; |
| | | <style lang="scss"> |
| | | .el-tabs__content { |
| | | height: calc(100vh - 110px); |
| | | overflow-y: auto; |
| | | } |
| | | </style> |
| | | <style scoped> |
| | | #nav { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | margin: 0 auto; |
| | | } |
| | | .btnCode{ |
| | | background: #1f94f4; |
| | | color: #fff; |
| | | border: none; |
| | | position: absolute; |
| | | left: 50%; |
| | | bottom: 10%; |
| | | } |
| | | .btn { |
| | | width: 188px; |
| | | height: 90px; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | margin: 5px; |
| | | background: rgba(255, 177, 48, 0.04);; |
| | | border: #666666 1px solid; |
| | | color: #666666; |
| | | position: relative; |
| | | |
| | | .types { |
| | | width: 10%; |
| | | height: 100%; |
| | | display: inline-block; |
| | | padding: 4% 0 0; |
| | | box-sizing: border-box; |
| | | background: #666666; |
| | | color: #fff; |
| | | text-align: center; |
| | | } |
| | | |
| | | div { |
| | | .names { |
| | | display: flex; |
| | | max-width: 165px; |
| | | flex-wrap: wrap; |
| | | font-weight: bold; |
| | | font-size: 14px; |
| | | } |
| | | |
| | | p { |
| | | .str1 { |
| | | display: inline-block; |
| | | margin-left: 6px |
| | | } |
| | | } |
| | | } |
| | | |
| | | div { |
| | | img { |
| | | position: absolute; |
| | | width: 30px; |
| | | height: 30px; |
| | | right: 1px; |
| | | bottom: 1px; |
| | | } |
| | | } |
| | | } |
| | | </style> |