Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
764328bc
authored
2023-07-04 16:10:25 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:材料信息
1 parent
d6ff9064
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
12 deletions
src/views/components/imagePreview.vue
src/views/workflow/components/clxx/clxx.vue
src/views/workflow/components/clxx/clxxUnify.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/components/imagePreview.vue
View file @
764328b
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
6-21 16:35:04
* @LastEditTime: 2023-0
7-04 16:07:37
-->
<
template
>
<div
class=
"rlPopup"
>
...
...
@@ -26,13 +26,13 @@
<el-upload
class=
"fileUpdate"
ref=
"upload"
action=
""
:show-file-list=
"false"
:multiple=
"true"
:auto-upload=
"false"
:on-change=
"handleChange"
accept=
".JPG, .PNG, .JPEG,.jpg, .png, .jpeg"
:before-upload=
"beforeUpload"
>
<el-button
icon=
"el-icon-upload"
type=
"primary"
v-if=
"!this.$route.query.viewtype"
>
上传
</el-button>
<el-button
icon=
"el-icon-upload"
type=
"primary"
v-if=
"!this.$route.query.viewtype
&& ableOperation
"
>
上传
</el-button>
</el-upload>
<el-button
type=
"primary"
icon=
"el-icon-delete-solid"
@
click=
"handleDelete"
v-if=
"!this.$route.query.viewtype && thumbnailImages.length>0"
>
删除
</el-button>
v-if=
"!this.$route.query.viewtype && thumbnailImages.length>0
&& ableOperation
"
>
删除
</el-button>
<div
v-if=
"!this.$route.query.viewtype"
class=
"pl-5"
>
<el-button
type=
"primary"
@
click=
"handleOpenScan"
>
{{
scanTitle
}}
</el-button>
<el-button
type=
"primary"
@
click=
"handleViewScan"
v-if=
"isScan"
>
拍照
</el-button>
<el-button
type=
"primary"
@
click=
"handleOpenScan"
v-if=
"ableOperation"
>
{{
scanTitle
}}
</el-button>
<el-button
type=
"primary"
@
click=
"handleViewScan"
v-if=
"isScan
&& ableOperation
"
>
拍照
</el-button>
</div>
</div>
<ul>
...
...
@@ -58,6 +58,10 @@
previewImg
:
{
type
:
Object
,
default
:
()
=>
{
}
},
ableOperation
:
{
type
:
Boolean
,
default
:
true
}
},
components
:
{
...
...
src/views/workflow/components/clxx/clxx.vue
View file @
764328b
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
6-21 15:34
:44
* @LastEditTime: 2023-0
7-04 16:05
:44
-->
<
template
>
<div
class=
"clxx"
>
...
...
@@ -33,7 +33,7 @@
</div>
</div>
</div>
<image-preview
ref=
'imageRef'
v-if=
"tableData.length>0"
:previewImg=
"previewImg"
@
updateList=
"updateList"
@
nextPriview=
"nextPriview"
<image-preview
ref=
'imageRef'
v-if=
"tableData.length>0"
:
ableOperation=
"ableOperation"
:
previewImg=
"previewImg"
@
updateList=
"updateList"
@
nextPriview=
"nextPriview"
@
prevPriview=
"prevPriview"
/>
</div>
</div>
...
...
@@ -49,6 +49,8 @@
components
:
{
clxxAddDialog
,
imagePreview
},
data
()
{
return
{
//表单是否可操作
ableOperation
:
true
,
isDialog
:
false
,
menuList
:
[
{
...
...
@@ -214,6 +216,7 @@
...
mapGetters
([
"dictData"
])
},
created
()
{
this
.
ableOperation
=
this
.
$parent
.
currentSelectTab
.
ableOperation
this
.
clmlInitList
()
},
methods
:
{
...
...
src/views/workflow/components/clxx/clxxUnify.vue
View file @
764328b
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
6-21 16:29:37
* @LastEditTime: 2023-0
7-04 16:08:03
-->
<
template
>
<div
class=
"clxx"
>
...
...
@@ -22,9 +22,11 @@
</div>
</div>
</div>
<el-button
type=
"primary"
native-type=
"submit"
style=
"width:100%"
@
click=
"handleAdd()"
v-if=
"!this.$route.query.viewtype"
>
新增
</el-button>
<el-button
type=
"primary"
native-type=
"submit"
style=
"width:100%"
@
click=
"handleAdd()"
v-if=
"!this.$route.query.viewtype && ableOperation"
>
新增
</el-button>
</div>
<image-preview
ref=
'imageRef'
v-if=
"tableData.length>0"
:previewImg=
"previewImg"
@
updateList=
"updateList"
@
nextPriview=
"nextPriview"
<image-preview
ref=
'imageRef'
v-if=
"tableData.length>0"
:previewImg=
"previewImg"
:ableOperation=
"ableOperation"
@
updateList=
"updateList"
@
nextPriview=
"nextPriview"
@
prevPriview=
"prevPriview"
/>
</div>
</div>
...
...
@@ -42,6 +44,8 @@
components
:
{
clxxAddDialog
,
imagePreview
,
clxxDetailDialog
},
data
()
{
return
{
//表单是否可操作
ableOperation
:
true
,
isDialog
:
false
,
iclass
:
""
,
// 材料目录选中
...
...
@@ -63,6 +67,7 @@
...
mapGetters
([
"dictData"
])
},
created
()
{
this
.
ableOperation
=
this
.
$parent
.
currentSelectTab
.
ableOperation
this
.
clmlInitList
(
1
)
},
methods
:
{
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
764328b
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
6-30 14:32:40
* @LastEditTime: 2023-0
7-04 15:04:59
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -20,6 +20,7 @@
<
script
>
import
{
datas
}
from
"../../javascript/zsyl.js"
;
import
{
getSlsqBdcqzList
}
from
"@/api/bdcqz.js"
import
{
log
}
from
'bpmn-js-token-simulation'
;
export
default
{
name
:
"zsyl"
,
props
:
{
...
...
@@ -57,7 +58,6 @@
}
},
mounted
()
{
debugger
this
.
columns
=
datas
.
columns
();
if
(
this
.
formData
.
bdcqz
)
{
//从缮证进入
...
...
Please
register
or
sign in
to post a comment