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
Hide 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 @@
...
@@ -335,7 +335,7 @@
v-model=
"addMsg3.OtherContent"
:rows=
"5"
></el-input>
v-model=
"addMsg3.OtherContent"
:rows=
"5"
></el-input>
<q-btn
color=
"accent"
size=
"sm"
style=
"float:right;margin-top:10px;"
@
click=
"saveJiaojie"
label=
"保存"
/>
<q-btn
color=
"accent"
size=
"sm"
style=
"float:right;margin-top:10px;"
@
click=
"saveJiaojie"
label=
"保存"
/>
</div>
</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>
<i
class=
"iconfont icon-img_haha"
></i>
</div>
</div>
</el-popover>
</el-popover>
...
@@ -395,7 +395,6 @@
...
@@ -395,7 +395,6 @@
import
{
import
{
UploadSelfFile
UploadSelfFile
}
from
'../../api/common/common'
}
from
'../../api/common/common'
export
default
{
export
default
{
props
:
{
props
:
{
saveObj
:
{
saveObj
:
{
...
@@ -409,8 +408,6 @@
...
@@ -409,8 +408,6 @@
},
},
data
()
{
data
()
{
return
{
return
{
dataList
:
{},
tufaVisible
:
false
,
HandoverIndex
:
0
,
//交接事项索引
HandoverIndex
:
0
,
//交接事项索引
HandoverObj
:
{},
//交接事项对象
HandoverObj
:
{},
//交接事项对象
EmergenciesIndex
:
0
,
//突发事项索引
EmergenciesIndex
:
0
,
//突发事项索引
...
@@ -437,21 +434,11 @@
...
@@ -437,21 +434,11 @@
OtherContent
:
""
,
//突发事项、工作交接(值班类型为2.3是使用)内容
OtherContent
:
""
,
//突发事项、工作交接(值班类型为2.3是使用)内容
OtherRemark
:
""
,
//突发事项、工作交接(值班类型为2.3是使用)备注
OtherRemark
:
""
,
//突发事项、工作交接(值班类型为2.3是使用)备注
},
},
fileList
:
[],
//文件数组
uploadDisabled
:
false
,
logoId
:
"1"
,
//专区logo id
dialogVisible
:
false
,
fileList
:
[],
ruleForm
:
{
dialogImageUrl
:
"1"
,
//专区logo 上传到后台之后,后台会返回一个id,只需要给后台传id,但是点击编辑的时候后台返回的是http地址
},
fileListOne
:
[],
//突发新增图片数组
fileListOne
:
[],
//突发新增图片数组
fileListTwo
:
[],
//突发修改图片数组
fileListTwo
:
[],
//突发修改图片数组
fileListThree
:
[],
//交接说明图片数组
fileListThree
:
[],
//交接说明图片数组
fileListFour
:
[],
//交接修改图片数组
fileListFour
:
[],
//交接修改图片数组
WorkContent
:
''
,
isShowSure
:
false
,
//是否显示确认完成按钮
isShowSure
:
false
,
//是否显示确认完成按钮
//是否显示工作内容相关按钮
//是否显示工作内容相关按钮
workAuthObj
:
{
workAuthObj
:
{
...
@@ -479,7 +466,6 @@
...
@@ -479,7 +466,6 @@
deep
:
true
deep
:
true
},
},
},
},
methods
:
{
methods
:
{
//初始化权限信息
//初始化权限信息
initAuth
()
{
initAuth
()
{
...
@@ -563,9 +549,6 @@
...
@@ -563,9 +549,6 @@
}
}
})
})
},
},
getWorkContnt
(
obj
)
{
this
.
WorkContent
=
obj
.
WorkContent
;
},
//保存工作清单
//保存工作清单
saveOrder
(
type
)
{
saveOrder
(
type
)
{
var
saveWorkMsg
=
{
var
saveWorkMsg
=
{
...
@@ -580,7 +563,6 @@
...
@@ -580,7 +563,6 @@
if
(
type
==
2
)
{
if
(
type
==
2
)
{
saveWorkMsg
.
WorkContent
=
this
.
WorkContent
;
saveWorkMsg
.
WorkContent
=
this
.
WorkContent
;
}
}
SetDutyContent
(
saveWorkMsg
).
then
(
res
=>
{
SetDutyContent
(
saveWorkMsg
).
then
(
res
=>
{
this
.
isShowSure
=
false
;
this
.
isShowSure
=
false
;
this
.
$emit
(
'refreshPage'
);
this
.
$emit
(
'refreshPage'
);
...
@@ -627,8 +609,6 @@
...
@@ -627,8 +609,6 @@
this
.
$refs
.
hengLine
.
click
();
this
.
$refs
.
hengLine
.
click
();
})
})
},
},
//删除交接新增图片
//删除交接新增图片
jiaojieRemoveAdd
(
file
,
fileList
)
{
jiaojieRemoveAdd
(
file
,
fileList
)
{
this
.
fileListThree
.
forEach
((
item
,
index
)
=>
{
this
.
fileListThree
.
forEach
((
item
,
index
)
=>
{
...
@@ -641,9 +621,7 @@
...
@@ -641,9 +621,7 @@
this
.
addMsg3
.
FileList
.
splice
(
index
,
1
)
this
.
addMsg3
.
FileList
.
splice
(
index
,
1
)
}
}
})
})
},
},
//删除突发新增图片
//删除突发新增图片
handleRemoveAdd
(
file
,
fileList
)
{
handleRemoveAdd
(
file
,
fileList
)
{
this
.
fileListOne
.
forEach
((
item
,
index
)
=>
{
this
.
fileListOne
.
forEach
((
item
,
index
)
=>
{
...
@@ -657,7 +635,6 @@
...
@@ -657,7 +635,6 @@
}
}
})
})
},
},
//删除突发编辑图片
//删除突发编辑图片
handleRemoveEdit
(
file
,
fileList
)
{
handleRemoveEdit
(
file
,
fileList
)
{
this
.
fileListTwo
.
forEach
((
item
,
index
)
=>
{
this
.
fileListTwo
.
forEach
((
item
,
index
)
=>
{
...
@@ -693,7 +670,7 @@
...
@@ -693,7 +670,7 @@
}
}
})
})
},
},
//
//
交接修改
jiaojieEdit
(
files
)
{
jiaojieEdit
(
files
)
{
UploadSelfFile
(
'Attachment'
,
files
.
file
,
res
=>
{
UploadSelfFile
(
'Attachment'
,
files
.
file
,
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
...
@@ -704,10 +681,8 @@
...
@@ -704,10 +681,8 @@
}
}
})
})
},
},
//修改突发
//修改突发
EditTufa
(
obj
)
{
EditTufa
(
obj
)
{
console
.
log
(
obj
,
'obj'
);
this
.
addMsg2
.
OtherContent
=
obj
.
OtherContent
;
this
.
addMsg2
.
OtherContent
=
obj
.
OtherContent
;
this
.
addMsg2
.
FileList
=
obj
.
FileList
;
this
.
addMsg2
.
FileList
=
obj
.
FileList
;
this
.
fileListTwo
=
[];
this
.
fileListTwo
=
[];
...
@@ -718,7 +693,6 @@
...
@@ -718,7 +693,6 @@
})
})
},
},
EditJiaojie
(
obj
)
{
EditJiaojie
(
obj
)
{
console
.
log
(
obj
,
'objjjj'
);
this
.
addMsg3
.
OtherContent
=
obj
.
OtherContent
;
this
.
addMsg3
.
OtherContent
=
obj
.
OtherContent
;
this
.
addMsg3
.
FileList
=
obj
.
FileList
;
this
.
addMsg3
.
FileList
=
obj
.
FileList
;
this
.
fileListFour
=
[];
this
.
fileListFour
=
[];
...
@@ -730,57 +704,79 @@
...
@@ -730,57 +704,79 @@
},
},
//删除突发
//删除突发
delTufa
()
{
delTufa
()
{
this
.
$nextTick
(()
=>
{
this
.
$q
.
dialog
({
var
Obj
=
this
.
saveObj
.
EmergenciesList
[
this
.
EmergenciesIndex
];
title
:
'删除提示'
,
let
msg
=
{
message
:
"是否要删除此突发事项?"
,
Id
:
Obj
.
Id
cancel
:
true
,
}
persistent
:
true
,
SetDutyContent
(
msg
).
then
(
res
=>
{
ok
:
"确定"
,
this
.
$q
.
notify
({
cancel
:
"取消"
,
icon
:
'iconfont icon-chenggong'
,
}).
onOk
(()
=>
{
color
:
'accent'
,
this
.
$nextTick
(()
=>
{
timeout
:
2000
,
var
Obj
=
this
.
saveObj
.
EmergenciesList
[
this
.
EmergenciesIndex
];
message
:
res
.
Message
,
let
msg
=
{
position
:
'top'
Id
:
Obj
.
Id
}
SetDutyContent
(
msg
).
then
(
res
=>
{
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
res
.
Message
,
position
:
'top'
})
this
.
EmergenciesObj
=
{};
this
.
EmergenciesMove
(
2
);
this
.
$emit
(
'refreshPage'
);
this
.
$forceUpdate
();
})
})
this
.
EmergenciesIndex
=
0
;
this
.
$emit
(
'refreshPage'
);
this
.
$forceUpdate
();
})
})
})
}).
onCancel
(()
=>
{
});
},
},
//删除交接
//删除交接
delJiaojie
()
{
delJiaojie
()
{
this
.
$nextTick
(()
=>
{
this
.
$q
.
dialog
({
var
Obj
=
this
.
saveObj
.
HandoverList
[
this
.
HandoverIndex
];
title
:
'删除提示'
,
let
msg
=
{
message
:
"是否要删除此交接事项?"
,
Id
:
Obj
.
Id
cancel
:
true
,
}
persistent
:
true
,
SetDutyContent
(
msg
).
then
(
res
=>
{
ok
:
"确定"
,
this
.
$q
.
notify
({
cancel
:
"取消"
,
icon
:
'iconfont icon-chenggong'
,
}).
onOk
(()
=>
{
color
:
'accent'
,
this
.
$nextTick
(()
=>
{
timeout
:
2000
,
var
Obj
=
this
.
saveObj
.
HandoverList
[
this
.
HandoverIndex
];
message
:
res
.
Message
,
let
msg
=
{
position
:
'top'
Id
:
Obj
.
Id
}
SetDutyContent
(
msg
).
then
(
res
=>
{
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
res
.
Message
,
position
:
'top'
})
this
.
HandoverObj
=
{};
this
.
HandoverMove
(
2
);
this
.
$emit
(
'refreshPage'
);
this
.
$forceUpdate
();
})
})
this
.
HandoverIndex
=
0
;
this
.
$emit
(
'refreshPage'
);
this
.
$forceUpdate
();
})
})
})
}).
onCancel
(()
=>
{
});
},
},
//清除addmsg
2
//清除addmsg
clearAddMsg2
()
{
clearAddMsg2
()
{
this
.
addMsg2
.
OtherContent
=
''
;
this
.
addMsg2
.
OtherContent
=
''
;
this
.
addMsg2
.
FileList
=
[];
this
.
addMsg2
.
FileList
=
[];
this
.
fileListOne
=
[];
this
.
fileListOne
=
[];
},
clearAddMsg3
()
{
this
.
addMsg3
.
OtherContent
=
''
;
this
.
addMsg3
.
OtherContent
=
''
;
this
.
addMsg3
.
FileList
=
[];
this
.
addMsg3
.
FileList
=
[];
this
.
fileListThree
=
[];
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