Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
71cd23e5
Commit
71cd23e5
authored
Mar 01, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
c8cee3d4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
395 additions
and
412 deletions
+395
-412
directorOrderList.vue
src/components/director/directorOrderList.vue
+323
-322
empowerManage.vue
src/components/empower/empowerManage.vue
+0
-3
groupEmpower.vue
src/components/empower/groupEmpower.vue
+69
-82
orderList.vue
src/components/orderMan/orderList.vue
+0
-2
consultList.vue
src/components/tradePavilion/consultList.vue
+1
-1
investmentList.vue
src/components/tradePavilion/investmentList.vue
+1
-1
procurementList.vue
src/components/tradePavilion/procurementList.vue
+1
-1
No files found.
src/components/director/directorOrderList.vue
View file @
71cd23e5
This diff is collapsed.
Click to expand it.
src/components/empower/empowerManage.vue
View file @
71cd23e5
...
...
@@ -44,12 +44,9 @@
<span
v-if=
"scope.row.Type==2"
>
集团
</span>
</
template
>
</el-table-column>
<!-- <el-table-column prop="CreateBy" label="创建人Id"></el-table-column> -->
<el-table-column
prop=
"DomainName"
label=
"域名"
></el-table-column>
<el-table-column
prop=
"Account"
label=
"关联erp账号"
></el-table-column>
<el-table-column
prop=
"MallUserName"
label=
"电商员工姓名"
></el-table-column>
<!-- <el-table-column prop="EmpName" label="创建人姓名"></el-table-column> -->
<el-table-column
label=
"状态"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.Status==1"
>
待审核
</span>
...
...
src/components/empower/groupEmpower.vue
View file @
71cd23e5
<
style
>
.groupEmpower
.mimitBody
{
padding
:
20px
;
background-color
:
#fff
;
margin
:
10px
0
20px
0
;
display
:
table
;
width
:
100%
;
}
.groupEmpower
.mimitBody
{
padding
:
20px
;
background-color
:
#fff
;
margin
:
10px
0
20px
0
;
display
:
table
;
width
:
100%
;
}
.groupEmpower
.mimitList
{
margin-bottom
:
15px
;
display
:
flex
;
flex-direction
:
row
;
}
.groupEmpower
.mimitList
{
margin-bottom
:
15px
;
display
:
flex
;
flex-direction
:
row
;
}
.groupEmpower
.mimitBody
.el-tag
{
min-width
:
120px
;
padding-right
:
50px
;
}
.groupEmpower
.mimitBody
.el-tag
{
min-width
:
120px
;
padding-right
:
50px
;
}
.groupEmpower
.el-button--small
{
padding
:
9px
25px
;
}
.groupEmpower
.el-button--small
{
padding
:
9px
25px
;
}
</
style
>
<
template
>
<div
class=
"groupEmpower"
>
<div
class=
"CommonHeader"
>
集团授权
</div>
<div
class=
"mimitBody"
>
<div
class=
"el-col el-col-12"
>
<el-form
:model=
"msg"
:rules=
"rules"
ref=
"msg"
label-width=
"150px"
>
<el-form-item
label=
"集团域名"
size=
"small"
prop=
"DomainName"
>
<el-input
type=
"text"
size=
"small"
:disabled=
"msg.Status==3 || !msg.Status ? false: true"
maxlength=
"200"
v-model=
"msg.DomainName"
>
<el-form
:model=
"msg"
:rules=
"rules"
ref=
"msg"
label-width=
"150px"
>
<el-form-item
label=
"集团域名"
size=
"small"
prop=
"DomainName"
>
<el-input
type=
"text"
size=
"small"
:disabled=
"msg.Status==3 || !msg.Status ? false: true"
maxlength=
"200"
v-model=
"msg.DomainName"
>
</el-input>
</el-form-item>
<el-form-item
label=
"审核状态"
size=
"small"
>
<el-form-item
label=
"审核状态"
size=
"small"
>
<span
v-if=
"msg.Status ==1 "
>
待审核
</span>
<span
v-if=
"msg.Status ==2 "
>
已审核
</span>
<span
v-if=
"msg.Status ==3 "
>
已拒绝
</span>
...
...
@@ -55,63 +43,61 @@
</el-form>
</div>
</div>
<el-button
size=
"small"
type=
"primary"
@
click=
"submitForm('msg')"
v-if=
" (msg.Status==3) || !msg.Status"
>
保存
</el-button
>
<el-button
size=
"small"
type=
"primary"
@
click=
"submitForm('msg')"
v-if=
" (msg.Status==3) || !msg.Status"
>
保存
</el-button>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
msg
:
{},
rules
:
{
export
default
{
data
()
{
return
{
msg
:
{},
rules
:
{
DomainName
:
[{
required
:
true
,
message
:
"请输入集团域名"
,
trigger
:
"blur"
}],
}
};
},
created
()
{},
methods
:
{
//获取集团授权信息
GetWeiXinAppConfig
()
{
// type 1-个人,2-集团
this
.
assetsApipost
(
"/api/Authorize/GetAuthorizeModel"
,
{
Type
:
2
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
data
!=
null
){
this
.
msg
=
res
.
data
.
data
};
},
created
()
{},
methods
:
{
//获取集团授权信息
GetWeiXinAppConfig
()
{
// type 1-个人,2-集团
this
.
assetsApipost
(
"/api/Authorize/GetAuthorizeModel"
,
{
Type
:
2
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
data
!=
null
)
{
this
.
msg
=
res
.
data
.
data
}
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
}
);
},
submitForm
(
msg
){
);
},
submitForm
(
msg
)
{
this
.
$refs
[
msg
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
assetsApipost
(
"/api/Authorize/SetAuthorize"
,
{
ID
:
this
.
msg
.
ID
?
this
.
msg
.
ID
:
0
,
DomainName
:
this
.
msg
.
DomainName
,
Account
:
''
,
Password
:
''
,
Type
:
2
"/api/Authorize/SetAuthorize"
,
{
ID
:
this
.
msg
.
ID
?
this
.
msg
.
ID
:
0
,
DomainName
:
this
.
msg
.
DomainName
,
Account
:
''
,
Password
:
''
,
Type
:
2
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
GetWeiXinAppConfig
()
this
.
Success
(
res
.
data
.
message
);
this
.
GetWeiXinAppConfig
()
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
...
...
@@ -121,10 +107,11 @@ export default {
return
false
;
}
});
}
},
mounted
()
{
this
.
GetWeiXinAppConfig
();
}
},
mounted
()
{
this
.
GetWeiXinAppConfig
();
}
};
};
</
script
>
src/components/orderMan/orderList.vue
View file @
71cd23e5
...
...
@@ -85,9 +85,7 @@
<div
class=
"fkbox_item"
style=
"background: #FFF100"
></div>
<span>
驳回
</span>
</div>
</div>
</div>
<div>
<el-tabs
style=
"margin-top:20px"
v-model=
"activeName"
@
tab-click=
"handleClick"
>
...
...
src/components/tradePavilion/consultList.vue
View file @
71cd23e5
...
...
@@ -40,7 +40,7 @@
<img
@
click=
"getInfo(scope.row,0)"
src=
"../../assets/img/userman/icon-show.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"回复"
placement=
"top"
v-if=
"scope.row.AskStatus==0"
>
<img
@
click=
"getInfo(scope.row,1)"
src=
"../../assets/img/userman/
edit
.png"
alt=
""
>
<img
@
click=
"getInfo(scope.row,1)"
src=
"../../assets/img/userman/
reply
.png"
alt=
""
>
</el-tooltip>
</
template
>
</el-table-column>
...
...
src/components/tradePavilion/investmentList.vue
View file @
71cd23e5
...
...
@@ -40,7 +40,7 @@
<img
@
click=
"getInfo(scope.row,0)"
src=
"../../assets/img/userman/icon-show.png"
alt=
""
>
</el-tooltip>
<el-tooltip
v-if=
"scope.row.AuditStatus==0"
class=
"item"
effect=
"dark"
content=
"审核"
placement=
"top"
>
<img
@
click=
"getInfo(scope.row,1)"
src=
"../../assets/img/userman/
icon-show
.png"
alt=
""
>
<img
@
click=
"getInfo(scope.row,1)"
src=
"../../assets/img/userman/
add_remark
.png"
alt=
""
>
</el-tooltip>
</
template
>
</el-table-column>
...
...
src/components/tradePavilion/procurementList.vue
View file @
71cd23e5
...
...
@@ -42,7 +42,7 @@
<img
@
click=
"getInfo(scope.row,0)"
src=
"../../assets/img/userman/icon-show.png"
alt=
""
>
</el-tooltip>
<el-tooltip
v-if=
"scope.row.AuditStatus==0"
class=
"item"
effect=
"dark"
content=
"审核"
placement=
"top"
>
<img
@
click=
"getInfo(scope.row,1)"
src=
"../../assets/img/userman/
icon-show
.png"
alt=
""
>
<img
@
click=
"getInfo(scope.row,1)"
src=
"../../assets/img/userman/
add_remark
.png"
alt=
""
>
</el-tooltip>
</
template
>
</el-table-column>
...
...
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