Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
57740659
Commit
57740659
authored
Dec 09, 2021
by
叶富雄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
1dad6790
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
50 deletions
+39
-50
src/views/zczl/zczl/detailZczl.vue
+2
-1
src/views/zczl/zczl/wfzdzczl.vue
+37
-49
No files found.
src/views/zczl/zczl/detailZczl.vue
View file @
57740659
...
...
@@ -626,7 +626,8 @@ export default {
for
(
let
f
of
this
.
list
.
values
())
{
s
.
push
(
`
${
f
.
unitCode
}
|
${
f
.
peopleAccount
}
`
)
}
this
.
FPForm
.
qsrjh
=
s
this
.
FPForm
.
qsrjh
=
s
;
this
.
FPForm
.
ywlx
=
this
.
info
.
zczlMainInfo
.
ywlx
;
this
.
$emit
(
'post'
,
this
.
FPForm
)
},
//分派
},
...
...
src/views/zczl/zczl/wfzdzczl.vue
View file @
57740659
...
...
@@ -91,28 +91,6 @@
<el-dialog
title=
"指令分派"
:visible
.
sync=
"FP"
>
<el-form
:inline=
"true"
:model=
"FPForm"
class=
"demo-form-inline"
>
<el-row>
<!-- <el-col :span="20" :offset="1" >
<el-form-item label="指令编号" style="width:100%" label-width="100px">
<el-input
disabled
type="text"
v-model="FPForm.zczlbh"
style="width: 400px"
placeholder="请输入"
></el-input>
</el-form-item>
</el-col>
<el-col :span="20" :offset="1">
<el-form-item label="分派编号" style="width:100%" label-width="100px">
<el-input
disabled
type="text"
v-model="FPForm.fpbh"
style="width: 400px"
placeholder="请输入"
></el-input>
</el-form-item>
</el-col>-->
<el-col
:span=
"20"
:offset=
"1"
class=
"JKS"
>
<el-form-item
label=
"接收单位"
label-width=
"100px"
style=
"width:500px"
>
<el-select
v-model=
"FPForm.qsrgajgdm"
placeholder=
"请选择"
multiple
style=
"width: 500px;"
>
...
...
@@ -189,7 +167,7 @@
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
zczl
from
'@p/zczl/zczl/detailZczl.vue'
import
{
zczlQs
,
doAddHb
,
doFpNew
,
doYjNew
,
getChildUnitAndPeople
,
editHbInfo
,
doEvaluate
}
from
"@/api/zczl/zczl.js"
import
{
zczlQs
,
doAddHb
,
doFpNew
,
doYjNew
,
getChildUnitAndPeople
,
editHbInfo
,
doEvaluate
,
queryLlys
}
from
"@/api/zczl/zczl.js"
import
{
zlqszt
,
nfxb
,
nfhb
,
nfhbxg
,
nffp
,
zlhbzt
,
sfczhbxx
,
hbpjdj
,
xbpjdj
,
zczlzt
,
xjZczlzt
}
from
"@/assets/js/transformFormTable.js"
;
import
axios
from
"@/utils/http.js"
...
...
@@ -665,7 +643,6 @@ export default {
},
methods
:
{
toInfor
(
row
)
{
this
.
sub
=
'PJ'
;
this
.
drawer
=
true
;
this
.
zczlbh
=
row
.
zczlbh
...
...
@@ -722,13 +699,30 @@ export default {
})
}
if
(
this
.
sub
===
'FP'
)
{
let
self
=
this
;
queryLlys
({
unitcodes
:
params
.
qsrgajgdm
.
toString
()}).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
if
(
res
.
data
&&
res
.
data
.
flag
==
"0"
)
{
this
.
$message
.
error
(
"该单位没有联络员,不能发布指令"
);
}
else
{
let
dwdm
=
params
.
get
(
"zljsdwdm"
).
split
(
","
);
let
resDwdm
=
res
.
data
.
flag
.
split
(
","
);
self
.
$set
(
self
.
formLabelAlign
,
"zljsdwdm"
,
resDwdm
);
if
(
dwdm
.
length
!==
resDwdm
.
length
)
{
this
.
$message
.
warning
(
"已自动过滤没有联络员的单位"
);
}
params
.
set
(
"zljsdwdm"
,
res
.
data
.
flag
);
self
.
zczlSubmit
(
params
);
}
}
});
let
t
=
new
FormData
();
t
.
append
(
'zczlbh'
,
this
.
FPForm
.
zczlbh
)
t
.
append
(
'fpbh'
,
this
.
FPForm
.
fpbh
)
t
.
append
(
'fpgzyq'
,
params
.
fpgzyq
)
t
.
append
(
'ywlx'
,
params
.
ywlx
)
t
.
append
(
'qsrjh'
,
params
.
qsrjh
.
toString
())
t
.
append
(
'qsrgajgdm'
,
params
.
qsrgajgdm
.
toString
())
doFpNew
(
t
).
then
(
res
=>
{
if
(
res
.
code
==
200
&&
res
.
success
)
{
this
.
$message
.
success
(
"指派成功"
);
...
...
@@ -798,22 +792,24 @@ export default {
toXb
(
scope
)
{
this
.
sfxb
=
"1"
;
this
.
zczlbh
=
scope
.
row
.
zczlbh
;
this
.
fpbh
=
scope
.
row
.
fpbh
;
this
.
drawer
=
true
this
.
sub
=
'HB'
this
.
$set
(
this
.
lkForm
,
"zczlbh"
,
scope
.
row
.
zczlbh
);
this
.
$set
(
this
.
lkForm
,
"fpbh"
,
scope
.
row
.
fpbh
);
this
.
$set
(
this
.
lkForm
,
"sfxb"
,
this
.
sfxb
);
},
toHb
(
scope
)
{
this
.
sfxb
=
"0"
;
this
.
zczlbh
=
scope
.
row
.
zczlbh
;
this
.
drawer
=
true
this
.
fpbh
=
scope
.
row
.
fpbh
;
this
.
drawer
=
true
;
this
.
sub
=
'HB'
this
.
$set
(
this
.
lkForm
,
"zczlbh"
,
scope
.
row
.
zczlbh
);
this
.
$set
(
this
.
lkForm
,
"fpbh"
,
scope
.
row
.
fpbh
);
this
.
$set
(
this
.
lkForm
,
"sfxb"
,
this
.
sfxb
);
// this.newlyVisiable = true;
// getHbxxDoHbxgByFpbh({ fpbh: scope.row.fpbh, sfxbxg: "" });
},
submitLKD
()
{
let
params
=
new
FormData
();
...
...
@@ -836,11 +832,13 @@ export default {
},
FenPai
(
scope
)
{
let
rows
=
scope
.
row
;
let
zczlbh
=
rows
.
zczlbh
let
fpbh
=
rows
.
fpbh
this
.
FPForm
.
zczlbh
=
zczlbh
this
.
FPForm
.
fpbh
=
fpbh
this
.
FPForm
.
ywlx
=
rows
.
ywlx
let
zczlbh
=
rows
.
zczlbh
;
let
fpbh
=
rows
.
fpbh
;
this
.
FPForm
.
zczlbh
=
zczlbh
;
this
.
FPForm
.
fpbh
=
fpbh
;
this
.
FPForm
.
ywlx
=
rows
.
ywlx
;
this
.
zczlbh
=
zczlbh
;
this
.
fpbh
=
fpbh
;
this
.
drawer
=
true
this
.
sub
=
'FP'
},
...
...
@@ -864,23 +862,13 @@ export default {
this
.
sub
=
'YJ'
this
.
drawer
=
true
let
rows
=
scope
.
row
;
let
zczlbh
=
rows
.
zczlbh
let
fpbh
=
rows
.
fpbh
this
.
YJForm
.
zczlbh
=
zczlbh
let
zczlbh
=
rows
.
zczlbh
;
let
fpbh
=
rows
.
fpbh
;
this
.
YJForm
.
zczlbh
=
zczlbh
;
this
.
YJForm
.
fpbh
=
fpbh
;
/* getChildUnitAndPeople({onlyLly:1,unitCode:'540100000000'}).then(res=>{
if (res.code == 200 && res.success) {
let list = res.data.unitChilds;
let account = JSON.parse(sessionStorage.getItem('userInfo')).account
for(let i in list){
let peopleAccount = list[i].peopleAccount;
if(peopleAccount ===account ){
list.splice(i,1)
}
}
this.unitChilds = list
}
})*/
this
.
zczlbh
=
zczlbh
;
this
.
fpbh
=
fpbh
;
},
PJ
(
scope
)
{
this
.
sub
=
'PJ'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment