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
e7f447d8
Commit
e7f447d8
authored
Mar 11, 2021
by
罗承锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询订单权限
parent
560bbb5f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
8 deletions
+37
-8
src/views/school-center/order/order.vue
+17
-7
src/views/school-center/userManager/PartnerManagement.vue
+20
-1
No files found.
src/views/school-center/order/order.vue
View file @
e7f447d8
...
...
@@ -29,7 +29,6 @@
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"12"
style=
"height:35px"
>
<a-form-item
label=
"订单编号:"
>
<a-input
placeholder=
"订单编号"
v-model=
"queryParam.orderNumber"
></a-input>
...
...
@@ -74,15 +73,16 @@
<a-input
placeholder=
"合伙人姓名"
v-model=
"queryParam.hehuorenName"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"
4"
:sm=
"12
"
style=
"height:35px"
>
<a-col
:md=
"
7"
:sm=
"20
"
style=
"height:35px"
>
<a-form-item
label=
"合伙人学校:"
>
<a-input
placeholder=
"合伙人学校"
v-model=
"queryParam.hehuorenSchool"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"
3"
:sm=
"6
"
style=
"height:35px"
>
<a-col
:md=
"
4"
:sm=
"12
"
style=
"height:35px"
>
<a-form-item
label=
"状态:"
>
<a-select
v-model=
"queryParam.orderStatus"
>
<a-select-option
value
>
请选择
</a-select-option>
<a-select-option
value=
"未下单"
>
未下单
</a-select-option>
<a-select-option
value=
"待处理"
>
待处理
</a-select-option>
<a-select-option
value=
"待选号"
>
待选号
</a-select-option>
<a-select-option
value=
"待识别"
>
待识别
</a-select-option>
...
...
@@ -100,7 +100,16 @@
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"7"
:sm=
"20"
style=
"height:35px"
>
<a-form-item
label=
"智能平台单号:"
>
<a-input
placeholder=
"智能平台单号"
v-model=
"queryParam.orderId"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"7"
:sm=
"20"
style=
"height:35px"
>
<a-form-item
label=
"小白卡单号:"
>
<a-input
placeholder=
"小白卡单号"
v-model=
"queryParam.xbOrderId"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"8"
:sm=
"12"
style=
"float:right;height:35px"
>
<a-button
@
click=
"search()"
type=
"primary"
>
查询
</a-button>
<a-button
@
click=
"handleSubmit"
style=
"margin-left: 10px"
>
导出
</a-button>
...
...
@@ -125,8 +134,7 @@
ref=
"table"
size=
"small"
class=
"flex-filling"
:locale=
"emptyText"
>
:locale=
"emptyText"
>
<!--拦截器-->
<template
slot=
"productLastUpdateTime"
slot-scope=
"text"
>
{{
text
|
dayjs
}}
</
template
>
<!--拦截器-->
...
...
@@ -875,7 +883,9 @@
hehuorenSchool
:
""
,
hehuorenName
:
""
,
hehuorenArea
:
""
,
orderStatus
:
""
orderStatus
:
""
,
orderId
:
""
,
xbOrderId
:
""
,
},
orderInfo
:
{},
columns
:
[
...
...
src/views/school-center/userManager/PartnerManagement.vue
View file @
e7f447d8
...
...
@@ -485,6 +485,8 @@
this
.
modifyForm
.
subName
=
data
.
substName
;
this
.
modifyForm
.
roleId
=
data
.
roleid
;
this
.
modifyForm
.
position
=
data
.
position
;
this
.
modifyForm
.
parentId
=
""
;
this
.
modifyForm
.
parentIds
=
""
;
this
.
recordId
=
data
.
parentId
;
this
.
changeSchool
(
data
.
schoolId
);
this
.
changePosition
(
2
);
...
...
@@ -498,7 +500,7 @@
},
//提交表单
createfunctionOk
(){
this
.
Formtable
.
validateFields
([
"account"
,
'phone'
,
'name'
,
"idCard"
,
'password'
,
'sex'
,
'schoolId'
,
'roleid'
,
'ysm'
],
{
force
:
true
},
(
err
,
values
)
=>
{
this
.
Formtable
.
validateFields
([
"account"
,
'phone'
,
'name'
,
"idCard"
,
'password'
,
'
parentId'
,
'
sex'
,
'schoolId'
,
'roleid'
,
'ysm'
],
{
force
:
true
},
(
err
,
values
)
=>
{
if
(
!
err
){
this
.
modifyForm
.
account
=
values
.
account
this
.
modifyForm
.
phone
=
values
.
phone
...
...
@@ -520,6 +522,23 @@
}
schools
.
push
(
this
.
treeModelValue
[
i
]);
}
console
.
log
(
this
.
modifyForm
);
console
.
log
(
this
.
xzUserList
);
if
(
this
.
modifyForm
.
parentId
==
undefined
){
this
.
modifyForm
.
parentId
=
''
this
.
modifyForm
.
parentIds
=
''
}
else
{
this
.
xzUserList
.
forEach
((
key
)
=>
{
if
(
this
.
modifyForm
.
parentId
==
key
.
id
){
if
(
this
.
modifyForm
.
position
==
'楼长'
){
this
.
modifyForm
.
parentIds
=
key
.
id
+
','
;
}
else
{
this
.
modifyForm
.
parentIds
=
key
.
parentIds
+
key
.
id
+
','
;
}
}
})
}
this
.
modifyForm
.
subNames
=
subNames
;
this
.
modifyForm
.
schools
=
schools
;
if
(
this
.
modifyForm
.
idCard
.
length
!=
18
){
...
...
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