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
074707f3
Commit
074707f3
authored
Jul 09, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
503704e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
14 deletions
+9
-14
orderlist.vue
src/components/sale/orderlist.vue
+4
-8
classorder.vue
src/pages/course/classorder.vue
+5
-6
No files found.
src/components/sale/orderlist.vue
View file @
074707f3
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<th
width=
"7%"
>
平台税金
</th>
<th
width=
"7%"
>
平台税金
</th>
<th
width=
"7%"
>
待收金额
</th>
<th
width=
"7%"
>
待收金额
</th>
<th
width=
"7%"
>
状态
</th>
<th
width=
"7%"
>
状态
</th>
<th>
操作
</th>
<th
v-if=
"viewType==0"
>
操作
</th>
</tr>
</tr>
</thead>
</thead>
</table>
</table>
...
@@ -198,7 +198,7 @@
...
@@ -198,7 +198,7 @@
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"editOrder(item)"
/>
@
click=
"editOrder(item)"
/>
</
template
>
</
template
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
v-if=
"AuthorityObj.isShowMore"
label=
"更多"
style=
"margin-left:10px;"
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;"
>
<q-list>
<q-list>
<q-item
clickable
v-close-popup
>
<q-item
clickable
v-close-popup
>
<q-item-section
@
click=
"gostudent(item)"
>
<q-item-section
@
click=
"gostudent(item)"
>
...
@@ -904,7 +904,6 @@
...
@@ -904,7 +904,6 @@
isShowRenewClass
:
false
,
//是否显示续课按钮
isShowRenewClass
:
false
,
//是否显示续课按钮
isShowContract
:
true
,
//是否显示合同
isShowContract
:
true
,
//是否显示合同
isShowEdit
:
true
,
//是否显示修改订单按钮
isShowEdit
:
true
,
//是否显示修改订单按钮
isShowMore
:
true
//是否显示更多下拉按钮
},
},
isShowEduForm
:
false
,
//是否显示新增修改合同弹窗
isShowEduForm
:
false
,
//是否显示新增修改合同弹窗
...
@@ -923,7 +922,6 @@
...
@@ -923,7 +922,6 @@
this
.
Employee
();
this
.
Employee
();
var
localStorageData
=
window
.
localStorage
[
"loginUserInfo"
];
var
localStorageData
=
window
.
localStorage
[
"loginUserInfo"
];
let
ActionMenuList
=
JSON
.
parse
(
localStorageData
).
data
.
ActionMenuList
let
ActionMenuList
=
JSON
.
parse
(
localStorageData
).
data
.
ActionMenuList
if
(
ActionMenuList
&&
ActionMenuList
.
length
>
0
)
{
if
(
ActionMenuList
&&
ActionMenuList
.
length
>
0
)
{
ActionMenuList
.
forEach
(
x
=>
{
ActionMenuList
.
forEach
(
x
=>
{
if
(
x
.
FunctionCode
==
'Edit_OrderExtraMoney'
)
{
if
(
x
.
FunctionCode
==
'Edit_OrderExtraMoney'
)
{
...
@@ -957,7 +955,8 @@
...
@@ -957,7 +955,8 @@
immediate
:
true
immediate
:
true
}
}
},
},
mounted
()
{},
mounted
()
{
},
methods
:
{
methods
:
{
//初始化权限信息
//初始化权限信息
initAuth
()
{
initAuth
()
{
...
@@ -1004,9 +1003,6 @@
...
@@ -1004,9 +1003,6 @@
if
(
this
.
authObj
.
isShowEdit
!=
null
&&
!
this
.
authObj
.
isShowEdit
)
{
if
(
this
.
authObj
.
isShowEdit
!=
null
&&
!
this
.
authObj
.
isShowEdit
)
{
this
.
AuthorityObj
.
isShowEdit
=
this
.
authObj
.
isShowEdit
;
this
.
AuthorityObj
.
isShowEdit
=
this
.
authObj
.
isShowEdit
;
}
}
if
(
this
.
authObj
.
isShowMore
!=
null
&&
!
this
.
authObj
.
isShowMore
){
this
.
AuthorityObj
.
isShowMore
=
this
.
authObj
.
isShowMore
}
}
}
},
},
//关闭报价单
//关闭报价单
...
...
src/pages/course/classorder.vue
View file @
074707f3
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<orderlist
:dataList=
"dataList"
ref=
"orderL"
:authObj=
"authObj"
:isShowEditBtn=
"isShowEditBtn"
:modityOrderType=
"2"
:cancelList=
"CancelList"
<orderlist
:dataList=
"dataList"
ref=
"orderL"
:authObj=
"authObj"
:
viewType=
"viewType"
:
isShowEditBtn=
"isShowEditBtn"
:modityOrderType=
"2"
:cancelList=
"CancelList"
@
success=
"refreshClassOrder"
></orderlist>
@
success=
"refreshClassOrder"
></orderlist>
</div>
</div>
</div>
</div>
...
@@ -58,9 +58,9 @@
...
@@ -58,9 +58,9 @@
isShowCommissionEdit
:
true
,
//显示修改提成按钮
isShowCommissionEdit
:
true
,
//显示修改提成按钮
isShowRewardEdit
:
true
,
//显示修改额外提成按钮
isShowRewardEdit
:
true
,
//显示修改额外提成按钮
isShowEdit
:
true
,
//显示修改按钮
isShowEdit
:
true
,
//显示修改按钮
isShowMore
:
true
//显示更多下拉
},
},
isShowEditBtn
:
0
isShowEditBtn
:
0
,
viewType
:
0
}
}
},
},
created
()
{
created
()
{
...
@@ -69,9 +69,8 @@
...
@@ -69,9 +69,8 @@
this
.
msg
.
ClassId
=
this
.
ClassId
;
this
.
msg
.
ClassId
=
this
.
ClassId
;
}
}
if
(
this
.
$route
.
query
.
isFromMyclass
&&
this
.
$route
.
query
.
isFromMyclass
==
1
){
if
(
this
.
$route
.
query
.
isFromMyclass
&&
this
.
$route
.
query
.
isFromMyclass
==
1
){
this
.
authObj
.
isShowEdit
=
false
this
.
isShowEditBtn
=
1
;
this
.
authObj
.
isShowMore
=
false
this
.
viewType
=
1
this
.
isShowEditBtn
=
1
}
}
this
.
getList
();
this
.
getList
();
},
},
...
...
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