Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
Project
Project
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
耿迪迪
gassafety-progress
Commits
613d0c6e
Commit
613d0c6e
authored
Feb 17, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务下发问题修改 gengdidi
parent
2dd93bed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
index.vue
...ogress-web/src/views/operationMonitor/workOrder/index.vue
+7
-4
No files found.
gassafetyprogress-web/src/views/operationMonitor/workOrder/index.vue
View file @
613d0c6e
...
...
@@ -147,7 +147,7 @@
@
click
=
"handleDelete(scope.row)"
v
-
hasPermi
=
"['system:order:remove']"
>
删除
<
/el-button
>
<
el
-
button
v
-
if
=
"(('enterprise'== roleType && (scope.row.workAssignManId == '' || scope.row.workAssignManId == null)) || ('zhengfu'== roleType && (scope.row.workAssignEnterproseId == '' || scope.row.workAssignEnterproseId == null))) && scope.row.workStatus == '0'"
<
el
-
button
v
-
if
=
"
(('enterprise'== roleType && (scope.row.workAssignManId == '' || scope.row.workAssignManId == null)) || ('zhengfu'== roleType && (scope.row.workAssignEnterproseId == '' || scope.row.workAssignEnterproseId == null))) && scope.row.workStatus == '0'"
size
=
"mini"
type
=
"text"
icon
=
"el-icon-edit"
...
...
@@ -225,7 +225,7 @@
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"指派人"
prop
=
"workAssignMan"
>
<!--
<
el
-
input
v
-
model
=
"form.workAssignManId"
placeholder
=
"请输入指派人"
/>-->
<
el
-
select
v
-
model
=
"form.workAssignManId"
placeholder
=
"请输入指派人"
style
=
"width: 350px"
@
change
=
"selectInspection($event,'edit')"
:
disabled
=
"isDetail"
>
<
el
-
select
v
-
model
=
"form.workAssignManId"
placeholder
=
"请输入指派人"
style
=
"width: 350px"
@
change
=
"selectInspection($event,'edit')"
:
disabled
=
"isDetail"
clearable
>
<
el
-
option
v
-
for
=
"item in inspectors"
:
key
=
"item.userId "
...
...
@@ -706,6 +706,8 @@ export default {
selectworkAssignEnterprose
(
enterpriseId
){
this
.
form
.
workAssignManId
=
""
;
this
.
workForm
.
workAssignManId
=
""
;
this
.
workForm
.
workAssignMan
=
""
;
this
.
form
.
workAssignMan
=
""
;
this
.
getInspectionUserList
(
enterpriseId
);
let
enterpriseName
=
this
.
enterprises
.
find
(
val
=>
val
.
enterpriseId
==
enterpriseId
).
enterpriseName
;
this
.
form
.
workAssignEnterproseName
=
enterpriseName
;
...
...
@@ -741,6 +743,7 @@ export default {
//任务下发
workIssue
(
row
){
this
.
title
=
"任务下发"
;
this
.
workForm
=
{
}
;
this
.
workForm
.
workId
=
row
.
workId
;
this
.
workForm
.
workTitle
=
row
.
workTitle
;
this
.
workForm
.
workType
=
row
.
workType
;
...
...
@@ -748,10 +751,10 @@ export default {
this
.
workForm
.
workAssignEnterproseId
=
row
.
workAssignEnterproseId
;
this
.
workForm
.
workAssignEnterproseName
=
row
.
workAssignEnterproseName
;
}
if
(
row
.
workAssignManId
){
/*
if(row.workAssignManId){
this.workForm.workAssignManId = row.workAssignManId;
this.workForm.workAssignMan = row.workAssignMan;
}
}
*/
//this.workForm = row;
this
.
workForm
.
workStatus
=
'1'
;
this
.
workOpen
=
true
;
...
...
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