Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
dce62d39
Commit
dce62d39
authored
May 07, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
43421509
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
65 deletions
+61
-65
schedul-orderlist.vue
src/components/schedul/schedul-orderlist.vue
+61
-65
No files found.
src/components/schedul/schedul-orderlist.vue
View file @
dce62d39
...
...
@@ -335,7 +335,7 @@
v-model=
"addMsg3.OtherContent"
:rows=
"5"
></el-input>
<q-btn
color=
"accent"
size=
"sm"
style=
"float:right;margin-top:10px;"
@
click=
"saveJiaojie"
label=
"保存"
/>
</div>
<div
slot=
"reference"
class=
"addSche"
@
click=
"clearAddMsg
3
"
v-if=
"workAuthObj.isShowAdd"
>
<div
slot=
"reference"
class=
"addSche"
@
click=
"clearAddMsg
2
"
v-if=
"workAuthObj.isShowAdd"
>
<i
class=
"iconfont icon-img_haha"
></i>
</div>
</el-popover>
...
...
@@ -395,7 +395,6 @@
import
{
UploadSelfFile
}
from
'../../api/common/common'
export
default
{
props
:
{
saveObj
:
{
...
...
@@ -409,8 +408,6 @@
},
data
()
{
return
{
dataList
:
{},
tufaVisible
:
false
,
HandoverIndex
:
0
,
//交接事项索引
HandoverObj
:
{},
//交接事项对象
EmergenciesIndex
:
0
,
//突发事项索引
...
...
@@ -437,21 +434,11 @@
OtherContent
:
""
,
//突发事项、工作交接(值班类型为2.3是使用)内容
OtherRemark
:
""
,
//突发事项、工作交接(值班类型为2.3是使用)备注
},
uploadDisabled
:
false
,
logoId
:
"1"
,
//专区logo id
dialogVisible
:
false
,
fileList
:
[],
ruleForm
:
{
dialogImageUrl
:
"1"
,
//专区logo 上传到后台之后,后台会返回一个id,只需要给后台传id,但是点击编辑的时候后台返回的是http地址
},
fileList
:
[],
//文件数组
fileListOne
:
[],
//突发新增图片数组
fileListTwo
:
[],
//突发修改图片数组
fileListThree
:
[],
//交接说明图片数组
fileListFour
:
[],
//交接修改图片数组
WorkContent
:
''
,
isShowSure
:
false
,
//是否显示确认完成按钮
//是否显示工作内容相关按钮
workAuthObj
:
{
...
...
@@ -479,7 +466,6 @@
deep
:
true
},
},
methods
:
{
//初始化权限信息
initAuth
()
{
...
...
@@ -563,9 +549,6 @@
}
})
},
getWorkContnt
(
obj
)
{
this
.
WorkContent
=
obj
.
WorkContent
;
},
//保存工作清单
saveOrder
(
type
)
{
var
saveWorkMsg
=
{
...
...
@@ -580,7 +563,6 @@
if
(
type
==
2
)
{
saveWorkMsg
.
WorkContent
=
this
.
WorkContent
;
}
SetDutyContent
(
saveWorkMsg
).
then
(
res
=>
{
this
.
isShowSure
=
false
;
this
.
$emit
(
'refreshPage'
);
...
...
@@ -627,8 +609,6 @@
this
.
$refs
.
hengLine
.
click
();
})
},
//删除交接新增图片
jiaojieRemoveAdd
(
file
,
fileList
)
{
this
.
fileListThree
.
forEach
((
item
,
index
)
=>
{
...
...
@@ -641,9 +621,7 @@
this
.
addMsg3
.
FileList
.
splice
(
index
,
1
)
}
})
},
//删除突发新增图片
handleRemoveAdd
(
file
,
fileList
)
{
this
.
fileListOne
.
forEach
((
item
,
index
)
=>
{
...
...
@@ -657,7 +635,6 @@
}
})
},
//删除突发编辑图片
handleRemoveEdit
(
file
,
fileList
)
{
this
.
fileListTwo
.
forEach
((
item
,
index
)
=>
{
...
...
@@ -693,7 +670,7 @@
}
})
},
//
//
交接修改
jiaojieEdit
(
files
)
{
UploadSelfFile
(
'Attachment'
,
files
.
file
,
res
=>
{
if
(
res
.
Code
==
1
)
{
...
...
@@ -704,10 +681,8 @@
}
})
},
//修改突发
EditTufa
(
obj
)
{
console
.
log
(
obj
,
'obj'
);
this
.
addMsg2
.
OtherContent
=
obj
.
OtherContent
;
this
.
addMsg2
.
FileList
=
obj
.
FileList
;
this
.
fileListTwo
=
[];
...
...
@@ -718,7 +693,6 @@
})
},
EditJiaojie
(
obj
)
{
console
.
log
(
obj
,
'objjjj'
);
this
.
addMsg3
.
OtherContent
=
obj
.
OtherContent
;
this
.
addMsg3
.
FileList
=
obj
.
FileList
;
this
.
fileListFour
=
[];
...
...
@@ -730,6 +704,14 @@
},
//删除突发
delTufa
()
{
this
.
$q
.
dialog
({
title
:
'删除提示'
,
message
:
"是否要删除此突发事项?"
,
cancel
:
true
,
persistent
:
true
,
ok
:
"确定"
,
cancel
:
"取消"
,
}).
onOk
(()
=>
{
this
.
$nextTick
(()
=>
{
var
Obj
=
this
.
saveObj
.
EmergenciesList
[
this
.
EmergenciesIndex
];
let
msg
=
{
...
...
@@ -743,14 +725,26 @@
message
:
res
.
Message
,
position
:
'top'
})
this
.
EmergenciesIndex
=
0
;
this
.
EmergenciesObj
=
{};
this
.
EmergenciesMove
(
2
);
this
.
$emit
(
'refreshPage'
);
this
.
$forceUpdate
();
})
})
}).
onCancel
(()
=>
{
});
},
//删除交接
delJiaojie
()
{
this
.
$q
.
dialog
({
title
:
'删除提示'
,
message
:
"是否要删除此交接事项?"
,
cancel
:
true
,
persistent
:
true
,
ok
:
"确定"
,
cancel
:
"取消"
,
}).
onOk
(()
=>
{
this
.
$nextTick
(()
=>
{
var
Obj
=
this
.
saveObj
.
HandoverList
[
this
.
HandoverIndex
];
let
msg
=
{
...
...
@@ -764,23 +758,25 @@
message
:
res
.
Message
,
position
:
'top'
})
this
.
HandoverIndex
=
0
;
this
.
HandoverObj
=
{};
this
.
HandoverMove
(
2
);
this
.
$emit
(
'refreshPage'
);
this
.
$forceUpdate
();
})
})
}).
onCancel
(()
=>
{
});
},
//清除addmsg
2
//清除addmsg
clearAddMsg2
()
{
this
.
addMsg2
.
OtherContent
=
''
;
this
.
addMsg2
.
FileList
=
[];
this
.
fileListOne
=
[];
},
clearAddMsg3
()
{
this
.
addMsg3
.
OtherContent
=
''
;
this
.
addMsg3
.
FileList
=
[];
this
.
fileListThree
=
[];
}
}
,
},
}
...
...
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