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
6972b908
authored
2023-10-24 16:15:38 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:材料明细
1 parent
3c245569
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
54 additions
and
43 deletions
src/views/djbworkflow/components/clxx/index.vue
src/views/workflow/components/clxx/clxxUnify.vue
src/views/workflow/components/dialog/clxxDetailDialog.vue
src/views/xxba/components/clxx/index.vue
src/views/ywbl/ybx/ybx.vue
src/views/djbworkflow/components/clxx/index.vue
View file @
6972b90
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-
19 16:28:06
* @LastEditTime: 2023-10-
24 16:12:54
-->
<
template
>
<div
class=
"clxx"
>
...
...
@@ -98,14 +98,14 @@
watch
:
{
workFresh
:
{
handler
(
newValue
,
oldValue
)
{
if
(
newValue
)
this
.
clmlInitList
()
if
(
newValue
)
this
.
clmlInitList
(
1
)
},
deep
:
true
,
immediate
:
true
}
},
created
()
{
this
.
clmlInitList
()
this
.
clmlInitList
(
1
)
},
methods
:
{
/**
...
...
@@ -166,6 +166,7 @@
clmlInitList
(
type
)
{
// 1:列表初始化 2:新增材料
return
new
Promise
((
resolve
)
=>
{
console
.
log
(
this
.
$parent
,
'this.$parent'
);
repairInitClml
(
this
.
$parent
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
resolve
(
res
.
code
);
...
...
@@ -173,7 +174,7 @@
this
.
tableData
=
res
.
result
;
if
(
type
==
1
)
{
this
.
treeClick
(
this
.
tableData
[
0
],
0
);
}
else
{
}
else
if
(
type
==
2
)
{
//新增材料后刷新列表焦点置于新增的对象上
this
.
treeClick
(
this
.
tableData
[
this
.
tableData
.
length
-
1
],
...
...
@@ -296,11 +297,14 @@
this
.
titleYs
=
index
+
1
;
},
//查看明细
viewDetail
()
{
store
.
dispatch
(
"user/reWorkFresh"
,
false
);
ywPopupDialog
(
"申请材料目录"
,
"djbworkflow/components/clxx/dialog/clxxDetailDialog"
,
{
data
:
this
.
tableData
,
},
"60%"
,
true
,
false
)
async
viewDetail
()
{
let
res
=
await
this
.
clmlInitList
();
if
(
res
==
200
)
{
store
.
dispatch
(
"user/reWorkFresh"
,
false
);
ywPopupDialog
(
"申请材料目录"
,
"djbworkflow/components/clxx/dialog/clxxDetailDialog"
,
{
data
:
this
.
tableData
,
},
"60%"
,
true
,
false
)
}
},
//设置tableData
setTableData
(
tableData
)
{
...
...
src/views/workflow/components/clxx/clxxUnify.vue
View file @
6972b90
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-
10 14:40:07
* @LastEditTime: 2023-10-
24 16:08:44
-->
<
template
>
<div
class=
"clxx"
>
...
...
@@ -167,7 +167,7 @@
this
.
unitData
=
this
.
$parent
.
unitData
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
$parent
.
bsmSlsq
);
if
(
this
.
$route
.
query
.
sq
ywbm
==
"DJBBL"
)
{
if
(
this
.
$route
.
query
?.
dj
ywbm
==
"DJBBL"
)
{
formdata
.
append
(
"bsmSldy"
,
this
.
$parent
.
bsmRepair
);
formdata
.
append
(
"clfl"
,
3
);
}
else
{
...
...
@@ -182,7 +182,7 @@
this
.
tableData
=
res
.
result
;
if
(
type
==
1
)
{
this
.
treeClick
(
this
.
tableData
[
0
],
0
);
}
else
{
}
else
if
(
type
==
2
)
{
//新增材料后刷新列表焦点置于新增的对象上
this
.
treeClick
(
this
.
tableData
[
this
.
tableData
.
length
-
1
],
...
...
@@ -266,7 +266,7 @@
if
(
data
.
sfggcl
==
"0"
)
{
obj
[
"bsmSldy"
]
=
this
.
$parent
.
currentSelectProps
.
bsmSldy
;
}
if
(
this
.
$route
.
query
.
sq
ywbm
==
"DJBBL"
)
{
if
(
this
.
$route
.
query
?.
dj
ywbm
==
"DJBBL"
)
{
obj
.
bsmSldy
=
this
.
$parent
.
bsmRepair
}
saveClml
(
obj
).
then
(
async
(
res
)
=>
{
...
...
@@ -310,21 +310,24 @@
this
.
titleYs
=
index
+
1
;
},
//查看明细
viewDetail
()
{
this
.
$store
.
dispatch
(
"user/reWorkFresh"
,
false
);
this
.
$popupDialog
(
"申请材料目录"
,
"workflow/components/dialog/clxxDetailDialog"
,
{
data
:
this
.
tableData
,
bsmSldy
:
this
.
$parent
.
currentSelectProps
.
bsmSldy
,
unitData
:
this
.
$parent
.
unitData
,
ableOperation
:
this
.
$parent
.
ableOperation
,
bsmRepair
:
this
.
$parent
.
bsmRepair
},
"50%"
,
true
);
async
viewDetail
()
{
let
res
=
await
this
.
clmlInitList
();
if
(
res
==
200
)
{
this
.
$store
.
dispatch
(
"user/reWorkFresh"
,
false
);
this
.
$popupDialog
(
"申请材料目录"
,
"workflow/components/dialog/clxxDetailDialog"
,
{
data
:
this
.
tableData
,
bsmSldy
:
this
.
$parent
.
currentSelectProps
.
bsmSldy
,
unitData
:
this
.
$parent
.
unitData
,
ableOperation
:
this
.
$parent
.
ableOperation
,
bsmRepair
:
this
.
$parent
.
bsmRepair
},
"60%"
,
true
)
}
},
//设置tableData
setTableData
(
tableData
)
{
...
...
@@ -407,7 +410,7 @@
height
:
100%
;
font-size
:
14px
;
border-right
:
1px
dotted
#d9d9d9
;
padding
:
0
1
5
px
;
padding
:
0
1
0
px
;
.item
{
line-height
:
30px
;
...
...
@@ -452,6 +455,7 @@
.checked
{
border
:
1px
solid
$
light-blue
;
color
:
$
light-blue
;
box-sizing
:
border-box
;
}
}
}
...
...
src/views/workflow/components/dialog/clxxDetailDialog.vue
View file @
6972b90
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-
09-19 10:14:56
* @LastEditTime: 2023-
10-24 16:08:59
-->
<
template
>
<div
class=
"clmlmx-box"
>
...
...
@@ -205,7 +205,7 @@
this
.
unitData
=
this
.
$parent
.
unitData
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
Vue
.
prototype
.
$currentRoute
.
query
.
bsmSlsq
);
if
(
Vue
.
prototype
.
$currentRoute
.
query
.
sq
ywbm
==
"DJBBL"
)
{
if
(
Vue
.
prototype
.
$currentRoute
.
query
?.
dj
ywbm
==
"DJBBL"
)
{
formdata
.
append
(
"bsmSldy"
,
this
.
formData
.
bsmRepair
);
formdata
.
append
(
"clfl"
,
3
);
}
else
{
...
...
src/views/xxba/components/clxx/index.vue
View file @
6972b90
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-
12 09:58:32
* @LastEditTime: 2023-10-
24 16:13:19
-->
<
template
>
<div
class=
"clxx"
>
...
...
@@ -98,14 +98,14 @@
watch
:
{
workFresh
:
{
handler
(
newValue
,
oldValue
)
{
this
.
clmlInitList
()
this
.
clmlInitList
(
1
)
},
deep
:
true
,
immediate
:
true
}
},
created
()
{
this
.
clmlInitList
()
this
.
clmlInitList
(
1
)
},
methods
:
{
/**
...
...
@@ -173,7 +173,7 @@
this
.
tableData
=
res
.
result
;
if
(
type
==
1
)
{
this
.
treeClick
(
this
.
tableData
[
0
],
0
);
}
else
{
}
else
if
(
type
==
2
)
{
//新增材料后刷新列表焦点置于新增的对象上
this
.
treeClick
(
this
.
tableData
[
this
.
tableData
.
length
-
1
],
...
...
@@ -287,12 +287,15 @@
this
.
titleYs
=
index
+
1
;
},
//查看明细
viewDetail
()
{
store
.
dispatch
(
"user/reWorkFresh"
,
false
);
ywPopupDialog
(
"申请材料目录"
,
"xxba/components/clxx/dialog/clxxDetailDialog"
,
{
data
:
this
.
tableData
,
bsmCompany
:
this
.
formData
.
bsmCompany
},
"50%"
,
true
,
false
)
async
viewDetail
()
{
let
res
=
await
this
.
clmlInitList
();
if
(
res
==
200
)
{
store
.
dispatch
(
"user/reWorkFresh"
,
false
);
ywPopupDialog
(
"申请材料目录"
,
"xxba/components/clxx/dialog/clxxDetailDialog"
,
{
data
:
this
.
tableData
,
bsmCompany
:
this
.
formData
.
bsmCompany
},
"60%"
,
true
,
false
)
}
},
//设置tableData
setTableData
(
tableData
)
{
...
...
src/views/ywbl/ybx/ybx.vue
View file @
6972b90
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-
09-25 11:08:07
* @LastEditTime: 2023-
10-24 16:09:46
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -278,7 +278,7 @@
const
{
href
}
=
this
.
$router
.
resolve
(
"/djbworkFrameview?bsmSlsq="
+
item
.
bsmSlsq
+
"&bestepid="
+
item
.
bestepid
+
"&
sq
ywbm="
+
item
.
djywbm
"&
dj
ywbm="
+
item
.
djywbm
);
window
.
open
(
href
,
`djbworkFrameview
${
item
.
bsmSlsq
}
`
);
}
else
{
...
...
Please
register
or
sign in
to post a comment