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
371ab015
authored
2022-09-21 14:11:50 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加登簿功能
1 parent
49adeb62
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
19 deletions
src/views/ywbl/fqsq/components/slxx.vue
src/views/ywbl/fqsq/fqsq.vue
src/views/ywbl/fqsq/components/slxx.vue
View file @
371ab01
...
...
@@ -215,6 +215,7 @@ export default {
},
methods
:
{
list
(
bsmSldy
)
{
debugger
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldy"
,
bsmSldy
);
Init
(
formdata
).
then
((
res
)
=>
{
...
...
src/views/ywbl/fqsq/fqsq.vue
View file @
371ab01
...
...
@@ -58,13 +58,24 @@
<p
class=
"splitScreen tabsList-title"
>
材料信息
</p>
<div
class=
"splitScreen"
></div>
</div>
<div
style=
"width:100%"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
'activeClick'
>
<el-tab-pane
:label=
"item.name"
:name=
"item.value"
v-for=
"(item, index) in tabList"
:key=
"index"
>
<div
style=
"width: 100%"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"activeClick"
>
<el-tab-pane
:label=
"item.name"
:name=
"item.value"
v-for=
"(item, index) in tabList"
:key=
"index"
>
</el-tab-pane>
</el-tabs>
<div
class=
"splitScreen-con"
>
<component
ref=
'slxx'
v-if=
"activeName == 'slsq'"
:is=
"editItem"
:flag=
"flag"
:key=
"key"
/>
<component
ref=
"slxx"
v-if=
"activeName == 'slsq'"
:is=
"editItem"
:flag=
"flag"
:key=
"key"
/>
<component
:is=
"editItem"
:key=
"key"
/>
</div>
</div>
...
...
@@ -117,11 +128,11 @@ export default {
},
watch
:
{
activeName
:
{
handler
(
newName
,
oldName
)
{
if
(
newName
===
'qlxx'
)
{
this
.
editItem
=
this
.
loadViewSlsq
()
handler
(
newName
,
oldName
)
{
if
(
newName
===
"qlxx"
)
{
this
.
editItem
=
this
.
loadViewSlsq
()
;
}
else
{
this
.
editItem
=
this
.
loadView
(
newName
)
this
.
editItem
=
this
.
loadView
(
newName
)
;
}
},
immediate
:
true
,
...
...
@@ -142,13 +153,13 @@ export default {
that
.
id
=
id
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
id
);
leftMenu
(
formdata
).
then
(
res
=>
{
leftMenu
(
formdata
).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
unitData
=
res
.
result
?
res
.
result
:
[];
setTimeout
(()
=>
{
that
.
$refs
.
slxx
?.[
0
].
list
(
that
.
unitData
?.[
0
]?.
bsmSldy
)
this
.
taskId
=
that
.
unitData
?.[
0
]?.
taskId
this
.
bsmBusiness
=
that
.
unitData
?.[
0
]?.
bsmBusiness
that
.
$refs
.
slxx
?.[
0
].
list
(
that
.
unitData
?.[
0
]?.
bsmSldy
)
;
this
.
taskId
=
that
.
unitData
?.[
0
]?.
taskId
;
this
.
bsmBusiness
=
that
.
unitData
?.[
0
]?.
bsmBusiness
;
},
300
);
}
});
...
...
@@ -161,8 +172,8 @@ export default {
formdata
.
append
(
"bestepid"
,
bestepid
);
stepExpandInfo
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tabList1
=
[...
res
.
result
.
form
]
this
.
tabList
=
res
.
result
.
form
this
.
tabList1
=
[...
res
.
result
.
form
]
;
this
.
tabList
=
res
.
result
.
form
;
this
.
headerleftList
=
res
.
result
.
button
;
this
.
headerRightList
=
res
.
result
.
operation
;
}
...
...
@@ -210,14 +221,32 @@ export default {
window
.
close
();
break
;
case
"db"
:
// comMsg;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
$route
.
query
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
this
.
$route
.
query
.
bestepid
);
// comMsg;
this
.
$confirm
(
"请确认是否登簿"
,
"提示"
,
{
iconClass
:
"el-icon-question"
,
//自定义图标样式
confirmButtonText
:
"确认"
,
//确认按钮文字更换
cancelButtonText
:
"取消"
,
//取消按钮文字更换
showClose
:
true
,
//是否显示右上角关闭按钮
type
:
"warning"
,
//提示类型 success/info/warning/error
})
.
then
(
function
()
{
record
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
debugger
;
if
(
res
.
code
===
200
||
res
.
code
===
2002
)
{
this
.
$alert
(
res
.
message
);
}
});
})
.
then
((
data
)
=>
{
this
.
$alert
(
"res.Message"
);
})
.
catch
(
function
(
err
)
{
//捕获异常
});
break
;
}
},
...
...
@@ -225,8 +254,11 @@ export default {
return
(
r
)
=>
require
.
ensure
([],
()
=>
r
(
require
(
`./components/
${
view
}
.vue`
)));
},
loadViewSlsq
()
{
return
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../../components/jsydsyq/jsydsyq.vue'
)))
loadViewSlsq
()
{
return
(
r
)
=>
require
.
ensure
([],
()
=>
r
(
require
(
"../../components/jsydsyq/jsydsyq.vue"
))
);
},
},
};
...
...
@@ -256,7 +288,6 @@ export default {
margin
:
0
!important
;
}
.splitScreen-con
{
padding
:
0
15px
;
box-sizing
:
border-box
;
...
...
Please
register
or
sign in
to post a comment