style:材料目录
Showing
4 changed files
with
10 additions
and
9 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-06 10:24:46 | 4 | * @LastEditTime: 2023-05-16 09:50:40 |
5 | --> | 5 | --> |
6 | <!DOCTYPE html> | 6 | <!DOCTYPE html> |
7 | <html> | 7 | <html> |
... | @@ -19,7 +19,6 @@ | ... | @@ -19,7 +19,6 @@ |
19 | </head> | 19 | </head> |
20 | <script> | 20 | <script> |
21 | window.baseUrl = location.origin || location.protocol + '//' + location.host | 21 | window.baseUrl = location.origin || location.protocol + '//' + location.host |
22 | window.timeout = 5000 | ||
23 | const authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6" | 22 | const authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6" |
24 | fetch('<%= BASE_URL %>config.json') | 23 | fetch('<%= BASE_URL %>config.json') |
25 | .then(response => response.json()) | 24 | .then(response => response.json()) | ... | ... |
... | @@ -22,7 +22,8 @@ | ... | @@ -22,7 +22,8 @@ |
22 | accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> | 22 | accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> |
23 | <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype">上传</el-button> | 23 | <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype">上传</el-button> |
24 | </el-upload> | 24 | </el-upload> |
25 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" v-if="!this.$route.query.viewtype">删除</el-button> | 25 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" |
26 | v-if="!this.$route.query.viewtype && thumbnailImages.length>0">删除</el-button> | ||
26 | </div> | 27 | </div> |
27 | <ul> | 28 | <ul> |
28 | <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active: previewImg.index === index }" | 29 | <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active: previewImg.index === index }" | ... | ... |
... | @@ -24,13 +24,13 @@ | ... | @@ -24,13 +24,13 @@ |
24 | </div> | 24 | </div> |
25 | </div> | 25 | </div> |
26 | <clxxAddDialog v-model="isDialog" /> | 26 | <clxxAddDialog v-model="isDialog" /> |
27 | <clxxDetailDialog v-model="detailDialog" :data="tableData" /> | 27 | <!-- <clxxDetailDialog v-model="detailDialog" :data="tableData" /> --> |
28 | </div> | 28 | </div> |
29 | </template> | 29 | </template> |
30 | <script> | 30 | <script> |
31 | import { mapGetters } from "vuex"; | 31 | import { mapGetters } from "vuex"; |
32 | import clxxAddDialog from "./dialog/clxxAddDialog.vue"; | 32 | import clxxAddDialog from "./dialog/clxxAddDialog.vue"; |
33 | import clxxDetailDialog from "./clxxDetailDialog.vue"; | 33 | import clxxDetailDialog from "./dialog/clxxDetailDialog.vue"; |
34 | import imagePreview from '@/views/components/imagePreview.vue' | 34 | import imagePreview from '@/views/components/imagePreview.vue' |
35 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; | 35 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; |
36 | import { popupDialog } from "@/utils/popup.js"; | 36 | import { popupDialog } from "@/utils/popup.js"; |
... | @@ -39,7 +39,6 @@ | ... | @@ -39,7 +39,6 @@ |
39 | data () { | 39 | data () { |
40 | return { | 40 | return { |
41 | isDialog: false, | 41 | isDialog: false, |
42 | detailDialog: false, | ||
43 | iclass: "", | 42 | iclass: "", |
44 | // 材料目录选中 | 43 | // 材料目录选中 |
45 | treeCheckIndex: 0, | 44 | treeCheckIndex: 0, |
... | @@ -185,15 +184,17 @@ | ... | @@ -185,15 +184,17 @@ |
185 | if (data) { | 184 | if (data) { |
186 | data.map((item) => { | 185 | data.map((item) => { |
187 | if (item.dcode == val) { | 186 | if (item.dcode == val) { |
188 | name = item.dname; | 187 | name = item.dname |
189 | } | 188 | } |
190 | }); | 189 | }); |
191 | return name; | 190 | return name |
192 | } | 191 | } |
193 | }, | 192 | }, |
194 | //查看明细 | 193 | //查看明细 |
195 | viewDetail () { | 194 | viewDetail () { |
196 | this.detailDialog = true; | 195 | this.$popupDialog("查看明细", "workflow/components/dialog/clxxDetailDialog", { |
196 | data: this.tableData | ||
197 | }, "60%") | ||
197 | }, | 198 | }, |
198 | //设置tableData | 199 | //设置tableData |
199 | setTableData (tableData) { | 200 | setTableData (tableData) { | ... | ... |
-
Please register or sign in to post a comment