Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xinrenli-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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑云飞
xinrenli-admin
Commits
440e9806
Commit
440e9806
authored
2 years ago
by
‘巴博尔’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b232e4cf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
115 additions
and
61 deletions
+115
-61
public/favicon.ico
+0
-0
src/api/orderform/index.js
+11
-2
src/assets/logo/logo.png
+0
-0
src/views/orderform/components/index.vue
+100
-59
src/views/orderform/index.vue
+4
-0
src/views/statement/index.vue
+0
-0
No files found.
public/favicon.ico
View file @
440e9806
No preview for this file type
This diff is collapsed.
Click to expand it.
src/api/orderform/index.js
View file @
440e9806
...
@@ -91,9 +91,9 @@ export function exportReportFormsPOST(data) {
...
@@ -91,9 +91,9 @@ export function exportReportFormsPOST(data) {
// 报表接口
// 报表接口
export
function
reportFormsGET
(
query
)
{
export
function
reportFormsGET
(
query
)
{
return
request
({
return
request
({
url
:
'/xinrenli/order/reportForms'
,
url
:
`/xinrenli/order/reportForms?startTime=
${
query
.
startTime
}
&endTime=
${
query
.
endTime
}
`
,
method
:
'get'
,
method
:
'get'
,
params
:
query
//
params: query
})
})
}
}
// 营销活动列表
// 营销活动列表
...
@@ -135,4 +135,12 @@ export function couponlePUT(data) {
...
@@ -135,4 +135,12 @@ export function couponlePUT(data) {
method
:
'put'
,
method
:
'put'
,
data
:
data
data
:
data
})
})
}
// 累计成交额
export
function
accumulatedTransactionVolumeGET
(
query
)
{
return
request
({
url
:
`/xinrenli/order/accumulatedTransactionVolume?year=
${
query
.
year
}
`
,
method
:
'get'
,
// params: query
})
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/assets/logo/logo.png
View file @
440e9806
5.53 KB
|
W:
|
H:
16.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
src/views/orderform/components/index.vue
View file @
440e9806
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-dialog
:title=
'title'
:visible
.
sync=
"dialogVisibl"
width=
"30%"
:before-close=
"dialog"
center
>
<el-dialog
:title=
"title"
:visible
.
sync=
"dialogVisibl"
width=
"30%"
:before-close=
"dialog"
center
>
<div
v-if=
"control != 4"
>
<div
v-if=
"control != 4"
>
<!-- 图片说明 -->
<!-- 图片说明 -->
<el-image
v-if=
"control == '1'"
style=
"width:
100%;"
:src=
"idt"
>
<el-image
v-if=
"control == '1'"
style=
"width:
100%"
:src=
"idt"
>
</el-image>
</el-image>
<!-- 视频说明 -->
<!-- 视频说明 -->
<comvideo
v-if=
"control == '2'"
:videoUrl=
"idt"
:videoCover=
"videoCover"
></comvideo>
<comvideo
v-if=
"control == '2'"
:videoUrl=
"idt"
:videoCover=
"videoCover"
></comvideo>
<!-- 语音说明 -->
<!-- 语音说明 -->
<audio
v-if=
"control == '3'"
controls
ref=
"audio"
class=
"aud"
>
<audio
v-if=
"control == '3'"
controls
ref=
"audio"
class=
"aud"
>
<source
:src=
"idt"
/>
<source
:src=
"idt"
/>
</audio>
</audio>
</div>
</div>
<!-- 沟通后金额 -->
<!-- 沟通后金额 -->
<div
v-if=
"control == '4' || control == '9'
"
>
<div
v-if=
"control == '4' || control == '9'"
>
<el-form
:model=
"form"
>
<el-form
:model=
"form"
>
<el-form-item
label=
"沟通后金额"
>
<el-form-item
label=
"沟通后金额"
>
<el-input
class=
"delInput"
type=
'number'
v-model=
"form.money"
placeholder=
"请输入沟通后金额"
></el-input>
<el-input
class=
"delInput"
type=
"number"
v-model=
"form.money"
placeholder=
"请输入沟通后金额"
></el-input>
</el-form-item>
<el-form-item
label=
"管理员备注"
v-if=
"control == '4'"
>
<el-input
type=
"textarea"
:rows=
"2"
placeholder=
"请输入管理员备注"
v-model=
"form.adminRemark"
maxlength=
"500"
show-word-limit
:autosize=
"
{ minRows: 4}"
>
</el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
@@ -24,11 +51,19 @@
...
@@ -24,11 +51,19 @@
<div
v-if=
"control == '5'"
>
<div
v-if=
"control == '5'"
>
<el-form
:model=
"form"
>
<el-form
:model=
"form"
>
<el-form-item
label=
"驳回理由"
>
<el-form-item
label=
"驳回理由"
>
<el-input
v-model=
"form.name"
type=
"textarea"
placeholder=
"请输入驳回理由"
></el-input>
<el-input
v-model=
"form.name"
type=
"textarea"
placeholder=
"请输入驳回理由"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<span
v-if=
"control == '4' || control == '5' || control == '9' "
slot=
"footer"
class=
"dialog-footer"
>
<span
v-if=
"control == '4' || control == '5' || control == '9'"
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"clickDialog"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"clickDialog"
>
确 定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
...
@@ -36,97 +71,104 @@
...
@@ -36,97 +71,104 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
comvideo
from
'./video.vue'
import
comvideo
from
"./video.vue"
;
export
default
{
export
default
{
name
:
"orderform"
,
name
:
"orderform"
,
components
:
{
components
:
{
comvideo
comvideo
,
},
},
props
:
{
props
:
{
dialogVisibl
:
{
dialogVisibl
:
{
type
:
Boolean
type
:
Boolean
,
},
},
control
:
{
control
:
{
type
:
String
type
:
String
,
},
},
bindex
:
{
bindex
:
{
type
:
Array
type
:
Array
,
},
},
idt
:
{
idt
:
{
type
:
[
String
,
Number
]
type
:
[
String
,
Number
],
},
videoCover
:
{
type
:
[
String
,
Number
],
},
},
videoCover
:{
type
:
[
String
,
Number
]
}
},
},
data
()
{
data
()
{
return
{
return
{
url
:
'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg'
,
url
:
"https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
,
// srcList: [
// srcList: [
// 'https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg',
// 'https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg',
// 'https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg'
// 'https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg'
// ],
// ],
form
:
{
form
:
{
name
:
''
,
name
:
""
,
money
:
''
money
:
""
,
},
},
title
:
''
,
title
:
""
,
id
:
''
id
:
""
,
};
};
},
},
watch
:
{
watch
:
{
control
(
st
,
old
)
{
control
(
st
,
old
)
{
let
self
=
this
let
self
=
this
;
if
(
st
==
'4'
)
{
if
(
st
==
"4"
)
{
this
.
title
=
'生成支付订单'
this
.
title
=
"生成支付订单"
;
if
(
self
.
dialogVisibl
)
{
if
(
self
.
dialogVisibl
)
{
this
.
bindex
.
forEach
(
element
=>
{
this
.
bindex
.
forEach
((
element
)
=>
{
if
(
self
.
idt
==
element
.
id
){
if
(
self
.
idt
==
element
.
id
)
{
self
.
form
.
money
=
element
.
dataName
self
.
form
.
money
=
element
.
dataName
;
console
.
log
(
self
.
form
.
money
,
element
.
dataName
,
'element.dataName'
)
console
.
log
(
}
self
.
form
.
money
,
});
element
.
dataName
,
}
"element.dataName"
}
else
if
(
st
==
'1'
)
{
);
this
.
title
=
''
}
}
else
if
(
st
==
'5'
)
{
});
this
.
title
=
'订单驳回'
}
}
else
if
(
st
==
'9'
){
}
else
if
(
st
==
"1"
)
{
this
.
title
=
'生成退款订单'
this
.
title
=
""
;
}
else
if
(
st
==
"5"
)
{
this
.
title
=
"订单驳回"
;
}
else
if
(
st
==
"9"
)
{
this
.
title
=
"生成退款订单"
;
if
(
self
.
dialogVisibl
)
{
if
(
self
.
dialogVisibl
)
{
this
.
bindex
.
forEach
(
element
=>
{
this
.
bindex
.
forEach
((
element
)
=>
{
if
(
self
.
idt
==
element
.
id
){
if
(
self
.
idt
==
element
.
id
)
{
self
.
form
.
money
=
element
.
dataName
self
.
form
.
money
=
element
.
dataName
;
console
.
log
(
self
.
form
.
money
,
element
.
dataName
,
'element.dataName'
)
console
.
log
(
}
self
.
form
.
money
,
});
element
.
dataName
,
}
"element.dataName"
);
}
});
}
}
}
},
},
idt
(
val
,
old
)
{
idt
(
val
,
old
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
audio
.
src
=
val
;
this
.
$refs
.
audio
.
src
=
val
;
});
});
},
},
bindex
(
st
,
old
)
{
bindex
(
st
,
old
)
{
console
.
log
(
st
,
old
,
this
.
idt
,
'000000000000'
)
console
.
log
(
st
,
old
,
this
.
idt
,
"000000000000"
);
},
}
},
},
created
()
{
},
created
()
{},
methods
:
{
methods
:
{
dialog
()
{
dialog
()
{
this
.
$emit
(
'visivie'
)
this
.
$emit
(
"visivie"
);
},
},
clickDialog
()
{
clickDialog
()
{
this
.
$emit
(
'clickDialog'
)
this
.
$emit
(
"clickDialog"
);
}
}
,
}
}
,
};
};
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
::v-deep
.delInput
input
::-webkit-outer-spin-button
,
::v-deep
.delInput
input
::-webkit-outer-spin-button
,
::v-deep
.delInput
input
::-webkit-inner-spin-button
{
::v-deep
.delInput
input
::-webkit-inner-spin-button
{
-webkit-appearance
:
none
!important
;
-webkit-appearance
:
none
!important
;
...
@@ -135,4 +177,4 @@ export default {
...
@@ -135,4 +177,4 @@ export default {
::v-deep
.delInput
input
[
type
=
"number"
]
{
::v-deep
.delInput
input
[
type
=
"number"
]
{
-moz-appearance
:
textfield
;
-moz-appearance
:
textfield
;
}
}
</
style
>
</
style
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/views/orderform/index.vue
View file @
440e9806
...
@@ -71,6 +71,8 @@
...
@@ -71,6 +71,8 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"备注说明"
:show-overflow-tooltip=
"true"
align=
"center"
>
<el-table-column
prop=
"remark"
label=
"备注说明"
:show-overflow-tooltip=
"true"
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"adminRemark"
label=
"管理员备注"
:show-overflow-tooltip=
"true"
align=
"center"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"150"
>
<el-table-column
label=
"操作"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"scope.row.status == 0"
@
click=
"imageCaption(scope.row, '4')"
type=
"text"
<el-button
v-if=
"scope.row.status == 0"
@
click=
"imageCaption(scope.row, '4')"
type=
"text"
...
@@ -343,12 +345,14 @@ export default {
...
@@ -343,12 +345,14 @@ export default {
if
(
this
.
$refs
[
'refIndex'
].
form
.
money
)
{
if
(
this
.
$refs
[
'refIndex'
].
form
.
money
)
{
var
params
=
{
var
params
=
{
actualAmount
:
this
.
$refs
[
'refIndex'
].
form
.
money
,
actualAmount
:
this
.
$refs
[
'refIndex'
].
form
.
money
,
adminRemark
:
this
.
$refs
[
'refIndex'
].
form
.
adminRemark
,
status
:
2
,
status
:
2
,
id
:
this
.
id
id
:
this
.
id
}
}
createPayPOST
(
params
).
then
((
res
)
=>
{
createPayPOST
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
$refs
[
'refIndex'
].
form
.
money
=
''
this
.
$refs
[
'refIndex'
].
form
.
money
=
''
this
.
$refs
[
'refIndex'
].
form
.
adminRemark
=
''
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
this
.
listth
()
this
.
listth
()
}
}
...
...
This diff is collapsed.
Click to expand it.
src/views/statement/index.vue
View file @
440e9806
This diff is collapsed.
Click to expand it.
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