Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
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
吴学德
gdtel-gztel-school-center-ui
Commits
3f8534cd
Commit
3f8534cd
authored
Jan 05, 2021
by
陈浩建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一人一码订单页面调整
parent
80e91b2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
src/api/school-center/orderAPI.js
+1
-1
src/views/school-center/order/order.vue
+18
-3
No files found.
src/api/school-center/orderAPI.js
View file @
3f8534cd
...
...
@@ -11,7 +11,7 @@ let abnormal = (params) => postAction(prefix +"order/setAbnormal" , params);
let
downloadMoBan
=
(
params
)
=>
downFilePost
(
prefix
+
"order/downloadMoBan"
,
params
);
let
downloadMoBanKD
=
(
params
)
=>
downFilePost
(
prefix
+
"order/downloadMoBanKD"
,
params
);
let
downloadMoBanYZK
=
(
params
)
=>
downFilePost
(
prefix
+
"order/downloadMoBanYZK"
,
params
);
let
editOrder
=
(
params
)
=>
downFilePost
(
prefix
+
"order/editOrder"
,
params
);
let
editOrder
=
(
params
)
=>
postAction
(
prefix
+
"order/editOrder"
,
params
);
//报表
...
...
src/views/school-center/order/order.vue
View file @
3f8534cd
...
...
@@ -167,7 +167,7 @@
<a-drawer
width=
"1280"
placement=
"right"
:closable=
"false"
@
close=
"onClose"
:visible=
"visible"
>
<a-form
:form=
"orderInfo"
layout=
"inline"
>
<a-tabs
type=
"card"
>
<a-tab-pane
tab=
"订单
编辑
"
key=
"1"
activeKey
>
<a-tab-pane
tab=
"订单
基本信息
"
key=
"1"
activeKey
>
<a-divider
orientation=
"left"
>
基础信息
</a-divider>
<a-row>
<a-col
:span=
"6"
>
...
...
@@ -347,6 +347,22 @@
</a-col>
</a-row>
</a-tab-pane>
<a-tab-pane
tab=
"操作日志"
key=
"3"
>
<a-list
:grid=
"{ column: 4 }"
:dataSource=
"title"
>
<a-list-item
slot=
"renderItem"
slot-scope=
"item, index"
>
<a-card
:title=
"item.title"
:bordered=
"false"
>
<a-card-grid
style=
"width:100%;"
v-for=
"item in abnormalInfo"
>
<div
style=
"overflow: hidden;text-overflow: ellipsis;white-space: nowrap;height: 20px"
>
<a-tooltip
placement=
"left"
>
<
template
slot=
"title"
>
{{
item
[
index
]
}}
</
template
>
{{ item[index] }}
</a-tooltip>
</div>
</a-card-grid>
</a-card>
</a-list-item>
</a-list>
</a-tab-pane>
</a-tabs>
</a-form>
</a-drawer>
...
...
@@ -921,7 +937,6 @@
editOk
(){
let
orderInfo
=
this
.
orderInfo
;
editOrder
(
orderInfo
).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
state
==
"success"
)
{
this
.
$notification
.
success
({
message
:
"编辑成功!"
,
...
...
@@ -966,7 +981,6 @@
},
// 执行上传
doPush
(
res
)
{
console
.
log
(
res
);
if
(
!
res
||
!
res
.
response
)
{
this
.
$message
.
error
(
"上传文件出错!"
,
10
);
return
false
;
...
...
@@ -977,6 +991,7 @@
return
false
;
}
this
.
$message
.
success
(
"上传成功!"
+
response
.
data
,
5
);
this
.
modifyvisible
=
false
;
},
createfunctionCancel
()
{
this
.
modifyvisible
=
false
;
...
...
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