style:材料信息
Showing
4 changed files
with
24 additions
and
12 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-21 16:35:04 | 4 | * @LastEditTime: 2023-07-04 16:07:37 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="rlPopup"> | 7 | <div class="rlPopup"> |
| ... | @@ -26,13 +26,13 @@ | ... | @@ -26,13 +26,13 @@ |
| 26 | <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false" | 26 | <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false" |
| 27 | :on-change="handleChange" | 27 | :on-change="handleChange" |
| 28 | accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> | 28 | accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> |
| 29 | <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype">上传</el-button> | 29 | <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype && ableOperation">上传</el-button> |
| 30 | </el-upload> | 30 | </el-upload> |
| 31 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" | 31 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" |
| 32 | v-if="!this.$route.query.viewtype && thumbnailImages.length>0">删除</el-button> | 32 | v-if="!this.$route.query.viewtype && thumbnailImages.length>0 && ableOperation">删除</el-button> |
| 33 | <div v-if="!this.$route.query.viewtype" class="pl-5"> | 33 | <div v-if="!this.$route.query.viewtype" class="pl-5"> |
| 34 | <el-button type="primary" @click="handleOpenScan">{{scanTitle}}</el-button> | 34 | <el-button type="primary" @click="handleOpenScan" v-if="ableOperation">{{scanTitle}}</el-button> |
| 35 | <el-button type="primary" @click="handleViewScan" v-if="isScan">拍照</el-button> | 35 | <el-button type="primary" @click="handleViewScan" v-if="isScan && ableOperation">拍照</el-button> |
| 36 | </div> | 36 | </div> |
| 37 | </div> | 37 | </div> |
| 38 | <ul> | 38 | <ul> |
| ... | @@ -58,6 +58,10 @@ | ... | @@ -58,6 +58,10 @@ |
| 58 | previewImg: { | 58 | previewImg: { |
| 59 | type: Object, | 59 | type: Object, |
| 60 | default: () => { } | 60 | default: () => { } |
| 61 | }, | ||
| 62 | ableOperation: { | ||
| 63 | type: Boolean, | ||
| 64 | default: true | ||
| 61 | } | 65 | } |
| 62 | }, | 66 | }, |
| 63 | components: { | 67 | components: { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-21 15:34:44 | 4 | * @LastEditTime: 2023-07-04 16:05:44 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clxx"> | 7 | <div class="clxx"> |
| ... | @@ -33,7 +33,7 @@ | ... | @@ -33,7 +33,7 @@ |
| 33 | </div> | 33 | </div> |
| 34 | </div> | 34 | </div> |
| 35 | </div> | 35 | </div> |
| 36 | <image-preview ref='imageRef' v-if="tableData.length>0" :previewImg="previewImg" @updateList="updateList" @nextPriview="nextPriview" | 36 | <image-preview ref='imageRef' v-if="tableData.length>0" :ableOperation="ableOperation" :previewImg="previewImg" @updateList="updateList" @nextPriview="nextPriview" |
| 37 | @prevPriview="prevPriview" /> | 37 | @prevPriview="prevPriview" /> |
| 38 | </div> | 38 | </div> |
| 39 | </div> | 39 | </div> |
| ... | @@ -49,6 +49,8 @@ | ... | @@ -49,6 +49,8 @@ |
| 49 | components: { clxxAddDialog, imagePreview }, | 49 | components: { clxxAddDialog, imagePreview }, |
| 50 | data () { | 50 | data () { |
| 51 | return { | 51 | return { |
| 52 | //表单是否可操作 | ||
| 53 | ableOperation: true, | ||
| 52 | isDialog: false, | 54 | isDialog: false, |
| 53 | menuList: [ | 55 | menuList: [ |
| 54 | { | 56 | { |
| ... | @@ -214,6 +216,7 @@ | ... | @@ -214,6 +216,7 @@ |
| 214 | ...mapGetters(["dictData"]) | 216 | ...mapGetters(["dictData"]) |
| 215 | }, | 217 | }, |
| 216 | created () { | 218 | created () { |
| 219 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
| 217 | this.clmlInitList() | 220 | this.clmlInitList() |
| 218 | }, | 221 | }, |
| 219 | methods: { | 222 | methods: { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-21 16:29:37 | 4 | * @LastEditTime: 2023-07-04 16:08:03 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="clxx"> | 7 | <div class="clxx"> |
| ... | @@ -22,9 +22,11 @@ | ... | @@ -22,9 +22,11 @@ |
| 22 | </div> | 22 | </div> |
| 23 | </div> | 23 | </div> |
| 24 | </div> | 24 | </div> |
| 25 | <el-button type="primary" native-type="submit" style="width:100%" @click="handleAdd()" v-if="!this.$route.query.viewtype">新增</el-button> | 25 | <el-button type="primary" native-type="submit" style="width:100%" @click="handleAdd()" |
| 26 | v-if="!this.$route.query.viewtype && ableOperation">新增</el-button> | ||
| 26 | </div> | 27 | </div> |
| 27 | <image-preview ref='imageRef' v-if="tableData.length>0" :previewImg="previewImg" @updateList="updateList" @nextPriview="nextPriview" | 28 | <image-preview ref='imageRef' v-if="tableData.length>0" :previewImg="previewImg" :ableOperation="ableOperation" @updateList="updateList" |
| 29 | @nextPriview="nextPriview" | ||
| 28 | @prevPriview="prevPriview" /> | 30 | @prevPriview="prevPriview" /> |
| 29 | </div> | 31 | </div> |
| 30 | </div> | 32 | </div> |
| ... | @@ -42,6 +44,8 @@ | ... | @@ -42,6 +44,8 @@ |
| 42 | components: { clxxAddDialog, imagePreview, clxxDetailDialog }, | 44 | components: { clxxAddDialog, imagePreview, clxxDetailDialog }, |
| 43 | data () { | 45 | data () { |
| 44 | return { | 46 | return { |
| 47 | //表单是否可操作 | ||
| 48 | ableOperation: true, | ||
| 45 | isDialog: false, | 49 | isDialog: false, |
| 46 | iclass: "", | 50 | iclass: "", |
| 47 | // 材料目录选中 | 51 | // 材料目录选中 |
| ... | @@ -63,6 +67,7 @@ | ... | @@ -63,6 +67,7 @@ |
| 63 | ...mapGetters(["dictData"]) | 67 | ...mapGetters(["dictData"]) |
| 64 | }, | 68 | }, |
| 65 | created () { | 69 | created () { |
| 70 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
| 66 | this.clmlInitList(1) | 71 | this.clmlInitList(1) |
| 67 | }, | 72 | }, |
| 68 | methods: { | 73 | methods: { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-30 14:32:40 | 4 | * @LastEditTime: 2023-07-04 15:04:59 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> |
| ... | @@ -20,6 +20,7 @@ | ... | @@ -20,6 +20,7 @@ |
| 20 | <script> | 20 | <script> |
| 21 | import { datas } from "../../javascript/zsyl.js"; | 21 | import { datas } from "../../javascript/zsyl.js"; |
| 22 | import { getSlsqBdcqzList } from "@/api/bdcqz.js" | 22 | import { getSlsqBdcqzList } from "@/api/bdcqz.js" |
| 23 | import { log } from 'bpmn-js-token-simulation'; | ||
| 23 | export default { | 24 | export default { |
| 24 | name: "zsyl", | 25 | name: "zsyl", |
| 25 | props: { | 26 | props: { |
| ... | @@ -57,7 +58,6 @@ | ... | @@ -57,7 +58,6 @@ |
| 57 | } | 58 | } |
| 58 | }, | 59 | }, |
| 59 | mounted () { | 60 | mounted () { |
| 60 | debugger | ||
| 61 | this.columns = datas.columns(); | 61 | this.columns = datas.columns(); |
| 62 | if (this.formData.bdcqz) { | 62 | if (this.formData.bdcqz) { |
| 63 | //从缮证进入 | 63 | //从缮证进入 | ... | ... |
-
Please register or sign in to post a comment