Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
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
office
office-web
Commits
62dc60ce
Commit
62dc60ce
authored
Oct 24, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改公告
parent
ecd4e415
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
22 deletions
+44
-22
review-result-detail.vue
src/components/review/review-result-detail.vue
+26
-7
addNotice.vue
src/views/enterpriseApp/notice/addNotice.vue
+16
-14
unreview.vue
src/views/reviewCenter/unreview.vue
+2
-1
No files found.
src/components/review/review-result-detail.vue
View file @
62dc60ce
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-10-21 14:27:29
* @LastEditors: 无尘
* @LastEditTime: 2019-10-2
3 14:16:57
* @LastEditTime: 2019-10-2
4 16:47:58
-->
<!--
...
...
@@ -20,13 +20,17 @@ import reviewResultDetail from '@/components/review/review-result-detail.vue'
<el-dialog
class=
"edit-dialog"
title=
"审核详情"
:visible
.
sync=
"customDialog"
width=
"600px"
:before-close=
"handleClose"
>
<div
class=
"edit-dialog-body"
>
<el-table
:data=
"tableData"
style=
"width: 100%"
height=
"250"
>
<el-table-column
prop=
"publishRecordId"
label=
"审核事项"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"publishRecordId"
label=
"审核事项"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
auditingType
==
0
?
'门店信息变更'
:
scope
.
row
.
auditingType
==
1
?
'新增成员'
:
scope
.
row
.
auditingType
==
2
?
'成员离职'
:
'转移成员'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"品牌"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
remark
}}
{{
scope
.
row
.
brandName
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"提交人"
show-overflow-tooltip
>
<el-table-column
label=
"提交人"
width=
"150"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<div
class=
"flex"
>
<div
class=
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
>
...
...
@@ -42,13 +46,13 @@ import reviewResultDetail from '@/components/review/review-result-detail.vue'
</el-table-column>
<el-table-column
label=
"提交时间"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<div
class=
"color-606266 line-18"
>
{{
scope
.
row
.
publish
Time
|
timeStampToYmd
}}
</div>
<div
class=
"color-606266 line-18"
>
{{
scope
.
row
.
publish
Time
|
timeStampToHms
}}
</div>
<div
class=
"color-606266 line-18"
>
{{
scope
.
row
.
create
Time
|
timeStampToYmd
}}
</div>
<div
class=
"color-606266 line-18"
>
{{
scope
.
row
.
create
Time
|
timeStampToHms
}}
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"审核结果"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
remark
}}
{{
scope
.
row
.
auditStatus
}}
</
template
>
</el-table-column>
</el-table>
...
...
@@ -132,6 +136,21 @@ export default {
.bg-82C5FF
{
background
:
#82c5ff
;
}
.table-head-pic
{
width
:
35px
;
height
:
35px
;
border-radius
:
4px
;
i
{
font-size
:
20px
;
color
:
#e5f3ff
;
}
}
.apply-info
{
margin-left
:
15px
;
line-height
:
18px
;
}
.edit-dialog
{
/deep/
.el-dialog__body
{
padding
:
25px
20px
17px
20px
;
...
...
src/views/enterpriseApp/notice/addNotice.vue
View file @
62dc60ce
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-04-12 17:56:45
* @LastEditors: 无尘
* @LastEditTime: 2019-10-24 1
4:51
:43
* @LastEditTime: 2019-10-24 1
6:58
:43
-->
<
template
>
<div
class=
"notice-list-wrap"
>
...
...
@@ -33,10 +33,10 @@
</div>
</div>
<div
class=
"flex m-t-20"
>
<el-checkbox
:disabled=
"$route.query.announcementId ? true : false"
v-model=
"ruleFormData.st
r
oreCheck"
>
门店架构
</el-checkbox>
<div
v-if=
"ruleFormData.st
r
oreCheck"
class=
"flex-column item-cell-select inline-block m-l-10"
>
<el-checkbox
:disabled=
"$route.query.announcementId ? true : false"
v-model=
"ruleFormData.storeCheck"
>
门店架构
</el-checkbox>
<div
v-if=
"ruleFormData.storeCheck"
class=
"flex-column item-cell-select inline-block m-l-10"
>
<div
class=
"depart-item-wrap"
>
<div
style=
"width:3
5
0px"
class=
"el-select el-select--large depart-item-content"
@
click=
"showDialogLayer('store', defaultStoreList)"
>
<div
style=
"width:3
3
0px"
class=
"el-select el-select--large depart-item-content"
@
click=
"showDialogLayer('store', defaultStoreList)"
>
<span
class=
"font-14 color-c0c4cc p-l-10"
v-if=
"!defaultStoreList.length"
>
请选择门店架构
</span>
<div
class=
"el-select__tags"
>
<span>
...
...
@@ -51,14 +51,14 @@
</div>
</div>
</div>
<div
class=
"depart-item-wrap"
v-if=
"ruleFormData.st
r
oreCheck"
>
<div
class=
"depart-item-wrap"
v-if=
"ruleFormData.storeCheck"
>
<el-select
:disabled=
"$route.query.announcementId ? true : false"
class=
"m-l-10"
v-model=
"ruleFormData.receiveType"
placeholder=
"请选择"
>
<el-option
label=
"仅店长"
value=
"0"
></el-option>
<el-option
label=
"门店所有员工"
value=
"1"
></el-option>
</el-select>
</div>
</div>
<div
v-show=
"(defaultStoreBool && !ruleFormData.adminCheck && !ruleFormData.st
roreCheck) || (defaultStoreBool && ruleFormData.adminCheck && !defaultSelection.length) || (defaultStoreBool && ruleFormData.str
oreCheck && (!defaultStoreList.length || ruleFormData.receiveType == ''))"
class=
"el-form-item__error"
>
请选择发送范围
</div>
<div
v-show=
"(defaultStoreBool && !ruleFormData.adminCheck && !ruleFormData.st
oreCheck) || (defaultStoreBool && ruleFormData.adminCheck && !defaultSelection.length) || (defaultStoreBool && ruleFormData.st
oreCheck && (!defaultStoreList.length || ruleFormData.receiveType == ''))"
class=
"el-form-item__error"
>
请选择发送范围
</div>
</el-form-item>
<el-form-item
label=
"选择分类"
prop=
"labelId"
>
<el-select
:disabled=
"$route.query.announcementId ? true : false"
v-model=
"ruleFormData.labelId"
placeholder=
"请选择"
style=
"width:560px"
>
<el-option
v-for=
"item in classifyOptions"
:key=
"item.labelId"
:label=
"item.labelName"
:value=
"item.labelId"
>
</el-option>
</el-select><el-button
class=
"p-l-20"
type=
"text"
@
click=
"newClassify"
>
新建分类
</el-button>
...
...
@@ -107,7 +107,7 @@
<el-form-item>
<div
class=
"btn-wrap"
>
<el-button
@
click=
"cancelSend"
plain
>
取消
</el-button>
<el-button
:disabled=
"(!ruleFormData.adminCheck && !ruleFormData.st
roreCheck) || (ruleFormData.adminCheck && !defaultSelection.length) || (ruleFormData.str
oreCheck && (!defaultStoreList.length || ruleFormData.receiveType == '')) || !ruleFormData.title || !ruleFormData.content || (ruleFormData.sendType == '1' && !dateValue) ? true : false"
@
click=
"previewData('noteForm')"
type=
"primary"
>
预览
</el-button>
<el-button
:disabled=
"(!ruleFormData.adminCheck && !ruleFormData.st
oreCheck) || (ruleFormData.adminCheck && !defaultSelection.length) || (ruleFormData.st
oreCheck && (!defaultStoreList.length || ruleFormData.receiveType == '')) || !ruleFormData.title || !ruleFormData.content || (ruleFormData.sendType == '1' && !dateValue) ? true : false"
@
click=
"previewData('noteForm')"
type=
"primary"
>
预览
</el-button>
<el-button
:disabled=
"$route.query.announcementId ? true : false"
@
click=
"sendData('noteForm')"
type=
"primary"
>
发布
</el-button>
</div>
</el-form-item>
...
...
@@ -173,7 +173,7 @@ export default {
ruleFormData
:
{
announcementId
:
''
,
adminCheck
:
false
,
st
r
oreCheck
:
false
,
storeCheck
:
false
,
adminStructor
:
[],
storeStructor
:
[],
receiveType
:
'0'
,
...
...
@@ -243,7 +243,7 @@ export default {
previewData
(
formName
)
{
const
that
=
this
;
// 发送范围
if
(
!
that
.
ruleFormData
.
adminCheck
&&
!
that
.
ruleFormData
.
st
r
oreCheck
)
{
if
(
!
that
.
ruleFormData
.
adminCheck
&&
!
that
.
ruleFormData
.
storeCheck
)
{
that
.
defaultStoreBool
=
true
;
that
.
saveDataBool
=
false
;
}
...
...
@@ -251,7 +251,7 @@ export default {
that
.
defaultStoreBool
=
true
;
that
.
saveDataBool
=
false
;
}
if
(
that
.
ruleFormData
.
st
r
oreCheck
&&
!
that
.
ruleFormData
.
storeStructor
.
length
)
{
if
(
that
.
ruleFormData
.
storeCheck
&&
!
that
.
ruleFormData
.
storeStructor
.
length
)
{
that
.
defaultStoreBool
=
true
;
that
.
saveDataBool
=
false
;
}
...
...
@@ -517,7 +517,7 @@ export default {
sendData
:
_debounce
(
function
(
formName
)
{
const
that
=
this
;
// 发送范围
if
(
!
that
.
ruleFormData
.
adminCheck
&&
!
that
.
ruleFormData
.
st
r
oreCheck
)
{
if
(
!
that
.
ruleFormData
.
adminCheck
&&
!
that
.
ruleFormData
.
storeCheck
)
{
that
.
defaultStoreBool
=
true
;
that
.
saveDataBool
=
false
;
}
...
...
@@ -525,7 +525,7 @@ export default {
that
.
defaultStoreBool
=
true
;
that
.
saveDataBool
=
false
;
}
if
(
that
.
ruleFormData
.
st
r
oreCheck
&&
!
that
.
ruleFormData
.
storeStructor
.
length
)
{
if
(
that
.
ruleFormData
.
storeCheck
&&
!
that
.
ruleFormData
.
storeStructor
.
length
)
{
that
.
defaultStoreBool
=
true
;
that
.
saveDataBool
=
false
;
}
...
...
@@ -548,7 +548,7 @@ export default {
})
}
let
storeStructor
=
[];
if
(
that
.
ruleFormData
.
st
r
oreCheck
&&
that
.
ruleFormData
.
storeStructor
.
length
)
{
if
(
that
.
ruleFormData
.
storeCheck
&&
that
.
ruleFormData
.
storeStructor
.
length
)
{
storeStructor
=
that
.
ruleFormData
.
storeStructor
.
map
(
item
=>
{
return
{
id
:
item
.
id
,
...
...
@@ -561,7 +561,7 @@ export default {
if
(
valid
)
{
let
para
=
{
adminCheck
:
that
.
ruleFormData
.
adminCheck
?
1
:
0
,
st
roreCheck
:
that
.
ruleFormData
.
str
oreCheck
?
1
:
0
,
st
oreCheck
:
that
.
ruleFormData
.
st
oreCheck
?
1
:
0
,
adminStructor
:
JSON
.
stringify
(
adminStructor
),
storeStructor
:
JSON
.
stringify
(
storeStructor
),
receiveType
:
that
.
ruleFormData
.
receiveType
,
...
...
@@ -635,9 +635,11 @@ export default {
that
.
defaultStoreList
=
data
.
result
.
storeStructor
;
data
.
result
.
pageTop
=
data
.
result
.
pageTop
?
false
:
true
;
data
.
result
.
sendType
=
String
(
data
.
result
.
sendType
);
data
.
result
.
receiveType
=
String
(
data
.
result
.
receiveType
);
that
.
dateValue
=
formatDate
(
data
.
result
.
sendTime
);
that
.
noticePreviewData
=
JSON
.
parse
(
JSON
.
stringify
(
data
.
result
));
that
.
ruleFormData
=
JSON
.
parse
(
JSON
.
stringify
(
data
.
result
));
console
.
log
(
that
.
ruleFormData
)
}
})
.
catch
(
function
(
error
)
{
...
...
src/views/reviewCenter/unreview.vue
View file @
62dc60ce
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2019-10-2
3 14:16:33
* @LastEditTime: 2019-10-2
4 16:31:41
-->
<
template
>
<div
class=
"unreview-wrap common-set-wrap"
>
...
...
@@ -383,6 +383,7 @@ export default {
}
});
});
console
.
log
(
that
.
tableListData
);
that
.
resultShow
=
true
;
return
;
}
...
...
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