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
af53e3d4
authored
2023-05-16 10:17:18 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:材料目录
1 parent
0694d334
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
public/index.html
src/views/components/imagePreview.vue
src/views/workflow/components/clxxUnify.vue
src/views/workflow/components/clxxDetailDialog.vue → src/views/workflow/components/dialog/clxxDetailDialog.vue
public/index.html
View file @
af53e3d
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-
06 10:24:46
* @LastEditTime: 2023-05-
16 09:50:40
-->
<!DOCTYPE html>
<html>
...
...
@@ -19,7 +19,6 @@
</head>
<script>
window
.
baseUrl
=
location
.
origin
||
location
.
protocol
+
'//'
+
location
.
host
window
.
timeout
=
5000
const
authorization
=
"bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6"
fetch
(
'<%= BASE_URL %>config.json'
)
.
then
(
response
=>
response
.
json
())
...
...
src/views/components/imagePreview.vue
View file @
af53e3d
...
...
@@ -22,7 +22,8 @@
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-upload>
<el-button
type=
"primary"
icon=
"el-icon-delete-solid"
@
click=
"handleDelete"
v-if=
"!this.$route.query.viewtype"
>
删除
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-delete-solid"
@
click=
"handleDelete"
v-if=
"!this.$route.query.viewtype && thumbnailImages.length>0"
>
删除
</el-button>
</div>
<ul>
<li
v-for=
"(img, index) in thumbnailImages"
:key=
"index"
:class=
"
{ active: previewImg.index === index }"
...
...
src/views/workflow/components/clxxUnify.vue
View file @
af53e3d
...
...
@@ -24,13 +24,13 @@
</div>
</div>
<clxxAddDialog
v-model=
"isDialog"
/>
<
clxxDetailDialog
v-model=
"detailDialog"
:data=
"tableData"
/
>
<
!--
<clxxDetailDialog
v-model=
"detailDialog"
:data=
"tableData"
/>
--
>
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
import
clxxAddDialog
from
"./dialog/clxxAddDialog.vue"
;
import
clxxDetailDialog
from
"./clxxDetailDialog.vue"
;
import
clxxDetailDialog
from
"./
dialog/
clxxDetailDialog.vue"
;
import
imagePreview
from
'@/views/components/imagePreview.vue'
import
{
InitClml
,
saveClml
,
deleteSjClml
,
moveClml
}
from
"@/api/clxx.js"
;
import
{
popupDialog
}
from
"@/utils/popup.js"
;
...
...
@@ -39,7 +39,6 @@
data
()
{
return
{
isDialog
:
false
,
detailDialog
:
false
,
iclass
:
""
,
// 材料目录选中
treeCheckIndex
:
0
,
...
...
@@ -185,15 +184,17 @@
if
(
data
)
{
data
.
map
((
item
)
=>
{
if
(
item
.
dcode
==
val
)
{
name
=
item
.
dname
;
name
=
item
.
dname
}
});
return
name
;
return
name
}
},
//查看明细
viewDetail
()
{
this
.
detailDialog
=
true
;
this
.
$popupDialog
(
"查看明细"
,
"workflow/components/dialog/clxxDetailDialog"
,
{
data
:
this
.
tableData
},
"60%"
)
},
//设置tableData
setTableData
(
tableData
)
{
...
...
src/views/workflow/components/clxxDetailDialog.vue
→
src/views/workflow/components/
dialog/
clxxDetailDialog.vue
View file @
af53e3d
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment