Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
admin
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
baihong
admin
Commits
12ce1a6a
Commit
12ce1a6a
authored
Apr 25, 2021
by
baihong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:获取照片列表,照片审核
parent
e10dcaa9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
167 additions
and
31 deletions
+167
-31
activityClocks.js
src/api/clock/activityClocks.js
+10
-0
photoReview.vue
src/view/clockEarly/photoReview.vue
+74
-14
photoReview.vue
src/view/signIn/photoReview.vue
+83
-17
No files found.
src/api/clock/activityClocks.js
View file @
12ce1a6a
...
...
@@ -28,4 +28,13 @@ export const getActivityConfigByPay = (data) => {
//缴费配置
export
const
update
=
(
data
)
=>
{
return
$http
.
putObj
(
'/cms/configs/update'
,
data
)
}
//照片列表
export
const
activityFilesQueryList
=
(
data
)
=>
{
return
$http
.
get
(
'/cms/activityFiles/queryList'
,
data
)
}
//审核照片
export
const
checkActivityFile
=
(
data
)
=>
{
return
$http
.
putObj
(
'/cms/activityFiles/checkActivityFile'
,
data
)
}
\ No newline at end of file
src/view/clockEarly/photoReview.vue
View file @
12ce1a6a
...
...
@@ -3,10 +3,15 @@
<div
class=
"topSearch"
>
<div
class=
"left"
>
用户搜索:
<Input
style=
"width:150px"
enter-button
placeholder=
"请输入"
/>
<Input
v-model=
"name"
style=
"width:150px"
enter-button
placeholder=
"请输入"
/>
<span
style=
"margin-left:10px"
>
选择日期:
</span>
<DatePicker
:value=
"value2
"
v-model=
"date
"
format=
"yyyy/MM/dd"
type=
"daterange"
placement=
"bottom-end"
...
...
@@ -14,9 +19,10 @@
style=
"width: 200px"
></DatePicker>
<span
style=
"margin-left:10px"
>
审核状态:
</span>
<Select
style=
"width: 150px"
placeholder=
"请选择"
>
<Option
value=
"beijing"
>
真我币
</Option>
<Option
value=
"shanghai"
>
优惠券
</Option>
<Select
v-model=
"checkStatu"
style=
"width: 150px"
placeholder=
"请选择"
>
<Option
:value=
"0"
>
待审核
</Option>
<Option
:value=
"1"
>
已通过
</Option>
<Option
:value=
"2"
>
已拒绝
</Option>
</Select>
<Button
type=
"primary"
@
click=
"goDetail"
>
查 询
</Button>
<Button
type=
"primary"
ghost
>
重 置
</Button>
...
...
@@ -66,32 +72,56 @@
<a
@
click=
"goTheme(row)"
>
编辑
</a>
</
template
>
</Table>
<Pager
class=
"margin-top-10"
:config=
"config"
@
on-change=
"handlePager"
></Pager>
<Modal
v-model=
"modal1"
title=
"拒绝"
@
on-ok=
"ok"
@
on-cancel=
"cancel"
>
<Input
v-model=
"
value5
"
type=
"textarea"
placeholder=
"请输入退回原因"
/>
<Input
v-model=
"
remark
"
type=
"textarea"
placeholder=
"请输入退回原因"
/>
</Modal>
<Modal
v-model=
"modal2"
title=
"通过"
@
on-ok=
"ok"
@
on-cancel=
"cancel"
>
<Form
ref=
"formCustom"
:label-width=
"70"
>
<Form
ref=
"formCustom"
:label-width=
"70"
>
<FormItem
label=
"评论内容"
prop=
"passwd"
>
<Input
v-model=
"value5"
type=
"textarea"
placeholder=
"请输入评论内容"
/>
<Input
v-model=
"comment"
type=
"textarea"
placeholder=
"请输入评论内容"
/>
</FormItem>
<FormItem
label=
"打赏"
prop=
"passwdCheck"
>
<Input
type=
"number"
></Input>
<Input
v-model=
"award_amount"
type=
"number"
></Input>
</FormItem>
</Form>
</Form>
</Modal>
</div>
</template>
<
script
>
import
{
getScenes
,
delScenes
,
editScenes
}
from
"@/api/scenes"
;
import
{
activityFilesQueryList
,
checkActivityFile
}
from
"@/api/clock/activityClocks"
;
import
Pager
from
"@/view/common/Pager.vue"
;
export
default
{
name
:
"categories"
,
components
:
{},
components
:
{
Pager
},
data
()
{
return
{
config
:
{
total
:
0
,
size
:
10
,
current
:
1
},
modal1
:
false
,
modal2
:
true
,
name
:
""
,
date
:
[],
checkStatu
:
null
,
award_amount
:
null
,
comment
:
''
,
remark
:
''
,
data
:
[],
pageIndex
:
1
,
pageSize
:
10
,
columns
:
[
{
title
:
"活动日期"
,
...
...
@@ -125,8 +155,38 @@ export default {
};
},
methods
:
{
goDetail
()
{
this
.
$router
.
push
({
path
:
"/signIn/detail"
,
query
:
{
id
:
"new"
}
});
search
()
{
let
params
=
{
name
:
this
.
name
,
language
:
"cn"
,
objectType
:
1
,
startDate
:
this
.
date
[
0
],
endDate
:
this
.
date
[
1
],
pageIndex
:
this
.
pageIndex
,
pageSize
:
this
.
pageSize
};
activityFilesQueryList
(
params
).
then
(
res
=>
{
this
.
config
.
total
=
res
.
total
;
this
.
data
=
res
.
data
;
});
},
checkActivity
()
{
let
params
=
{
award_amount
:
this
.
award_amount
,
check_status
:
1
,
comment
:
this
.
comment
,
ids
:[],
object_type
:
1
,
remark
:
this
.
remark
};
checkActivityFile
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
});
},
handlePager
(
pager
)
{
this
.
pageIndex
=
pager
.
current
;
this
.
pageSize
=
pager
.
size
;
this
.
search
();
}
},
mounted
()
{}
...
...
src/view/signIn/photoReview.vue
View file @
12ce1a6a
...
...
@@ -3,10 +3,15 @@
<div
class=
"topSearch"
>
<div
class=
"left"
>
用户搜索:
<Input
style=
"width:150px"
enter-button
placeholder=
"请输入"
/>
<Input
v-model=
"name"
style=
"width:150px"
enter-button
placeholder=
"请输入"
/>
<span
style=
"margin-left:10px"
>
选择日期:
</span>
<DatePicker
:value=
"value2
"
v-model=
"date
"
format=
"yyyy/MM/dd"
type=
"daterange"
placement=
"bottom-end"
...
...
@@ -14,9 +19,10 @@
style=
"width: 200px"
></DatePicker>
<span
style=
"margin-left:10px"
>
审核状态:
</span>
<Select
style=
"width: 150px"
placeholder=
"请选择"
>
<Option
value=
"beijing"
>
真我币
</Option>
<Option
value=
"shanghai"
>
优惠券
</Option>
<Select
v-model=
"checkStatu"
style=
"width: 150px"
placeholder=
"请选择"
>
<Option
:value=
"0"
>
待审核
</Option>
<Option
:value=
"1"
>
已通过
</Option>
<Option
:value=
"2"
>
已拒绝
</Option>
</Select>
<Button
type=
"primary"
@
click=
"goDetail"
>
查 询
</Button>
<Button
type=
"primary"
ghost
>
重 置
</Button>
...
...
@@ -66,26 +72,56 @@
<a
@
click=
"goTheme(row)"
>
编辑
</a>
</
template
>
</Table>
<Modal
v-model=
"modal1"
title=
"拒绝"
@
on-ok=
"ok"
@
on-cancel=
"cancel"
>
<Input
v-model=
"value5"
type=
"textarea"
placeholder=
"请输入退回原因"
/>
<Pager
class=
"margin-top-10"
:config=
"config"
@
on-change=
"handlePager"
></Pager>
<Modal
v-model=
"modal1"
title=
"拒绝"
@
on-ok=
"ok"
@
on-cancel=
"cancel"
>
<Input
v-model=
"remark"
type=
"textarea"
placeholder=
"请输入退回原因"
/>
</Modal>
<Modal
v-model=
"modal2"
title=
"通过"
@
on-ok=
"ok"
@
on-cancel=
"cancel"
>
<Form
ref=
"formCustom"
:label-width=
"70"
>
<FormItem
label=
"评论内容"
prop=
"passwd"
>
<Input
v-model=
"comment"
type=
"textarea"
placeholder=
"请输入评论内容"
/>
</FormItem>
<FormItem
label=
"打赏"
prop=
"passwdCheck"
>
<Input
v-model=
"award_amount"
type=
"number"
></Input>
</FormItem>
</Form>
</Modal>
</div>
</template>
<
script
>
import
{
getScenes
,
delScenes
,
editScenes
}
from
"@/api/scenes"
;
import
{
activityFilesQueryList
,
checkActivityFile
}
from
"@/api/clock/activityClocks"
;
import
Pager
from
"@/view/common/Pager.vue"
;
export
default
{
name
:
"categories"
,
components
:
{},
components
:
{
Pager
},
data
()
{
return
{
modal1
:
true
,
config
:
{
total
:
0
,
size
:
10
,
current
:
1
},
modal1
:
false
,
modal2
:
true
,
name
:
""
,
date
:
[],
checkStatu
:
null
,
award_amount
:
null
,
comment
:
''
,
remark
:
''
,
data
:
[],
pageIndex
:
1
,
pageSize
:
10
,
columns
:
[
{
title
:
"活动日期"
,
...
...
@@ -119,8 +155,38 @@ export default {
};
},
methods
:
{
goDetail
()
{
this
.
$router
.
push
({
path
:
"/signIn/detail"
,
query
:
{
id
:
"new"
}
});
search
()
{
let
params
=
{
name
:
this
.
name
,
language
:
"cn"
,
objectType
:
2
,
startDate
:
this
.
date
[
0
],
endDate
:
this
.
date
[
1
],
pageIndex
:
this
.
pageIndex
,
pageSize
:
this
.
pageSize
};
activityFilesQueryList
(
params
).
then
(
res
=>
{
this
.
config
.
total
=
res
.
total
;
this
.
data
=
res
.
data
;
});
},
checkActivity
()
{
let
params
=
{
award_amount
:
this
.
award_amount
,
check_status
:
1
,
comment
:
this
.
comment
,
ids
:[],
object_type
:
2
,
remark
:
this
.
remark
};
checkActivityFile
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
});
},
handlePager
(
pager
)
{
this
.
pageIndex
=
pager
.
current
;
this
.
pageSize
=
pager
.
size
;
this
.
search
();
}
},
mounted
()
{}
...
...
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