Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gic-header
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vue-plugins
vue-gic-header
Commits
b4dea7d0
Commit
b4dea7d0
authored
Jan 30, 2019
by
zhu_yu_dan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
禁止风险模式
parent
e78d1bd5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
vue-gic-header.js
dist/vue-gic-header.js
+0
-0
package.json
package.json
+1
-1
dataType.vue
src/lib/dataType.vue
+10
-7
vue-gic-header.vue
src/lib/vue-gic-header.vue
+3
-2
No files found.
dist/vue-gic-header.js
View file @
b4dea7d0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
package.json
View file @
b4dea7d0
...
@@ -66,5 +66,5 @@
...
@@ -66,5 +66,5 @@
"build"
:
"cross-env NODE_ENV=production webpack --progress --hide-modules"
,
"build"
:
"cross-env NODE_ENV=production webpack --progress --hide-modules"
,
"dev"
:
"cross-env NODE_ENV=development webpack-dev-server --open --hot"
"dev"
:
"cross-env NODE_ENV=development webpack-dev-server --open --hot"
},
},
"version"
:
"1.
3.39
"
"version"
:
"1.
4.2
"
}
}
src/lib/dataType.vue
View file @
b4dea7d0
...
@@ -98,9 +98,12 @@ export default {
...
@@ -98,9 +98,12 @@ export default {
if
(
data
.
errorCode
==
0
){
if
(
data
.
errorCode
==
0
){
this
.
tableData
=
await
this
.
getCheckerList
();
this
.
tableData
=
await
this
.
getCheckerList
();
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
;
this
.
textarea
=
""
;
this
.
useTime
=
1
;
}
else
if
(
data
.
errorCode
==
1
){
// 缺少审核员
}
else
if
(
data
.
errorCode
==
1
){
// 缺少审核员
var
phone
=
data
.
result
;
var
html
=
'<p style="font-size:14px;color:#606266;line-height:20px;margin-bottom:4px;">该商户还没有审核员,请联系超级管理员新增审核员!</p>'
;
var
html
=
'<p style="font-size:14px;color:#606266;line-height:20px;margin-bottom:4px;">该商户还没有审核员,请联系超级管理员新增审核员!</p>'
;
html
+=
'<p style="font-size:13px;color:#606266;line-height:18px;">超级管理员:<span style="color:#1890ff;">
13267666789
</span></p>'
;
html
+=
'<p style="font-size:13px;color:#606266;line-height:18px;">超级管理员:<span style="color:#1890ff;">
'
+
phone
+
'
</span></p>'
;
this
.
$confirm
(
html
,
'提示'
,
{
this
.
$confirm
(
html
,
'提示'
,
{
confirmButtonText
:
'知道了'
,
confirmButtonText
:
'知道了'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
@@ -123,15 +126,15 @@ export default {
...
@@ -123,15 +126,15 @@ export default {
this
.
$confirm
(
html
,
'提示'
,
{
this
.
$confirm
(
html
,
'提示'
,
{
confirmButtonText
:
'刷新页面'
,
confirmButtonText
:
'刷新页面'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
//
showCancelButton:false,
showCancelButton
:
false
,
//
closeOnClickModal:false,
closeOnClickModal
:
false
,
//
showClose:false,
showClose
:
false
,
dangerouslyUseHTMLString
:
true
,
dangerouslyUseHTMLString
:
true
,
type
:
'warning'
,
type
:
'warning'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
location
.
reload
();
// 强制刷新页面
location
.
reload
();
// 强制刷新页面
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
sendTypeToFar
();
//
this.sendTypeToFar();
});
});
}
else
if
(
data
.
errorCode
==
4
){
// 商户审核员没有绑定openid
}
else
if
(
data
.
errorCode
==
4
){
// 商户审核员没有绑定openid
this
.
$message
.
warning
(
'审核员未绑定达摩网络公众号'
);
this
.
$message
.
warning
(
'审核员未绑定达摩网络公众号'
);
...
@@ -265,12 +268,12 @@ export default {
...
@@ -265,12 +268,12 @@ export default {
color
:
#909399
;
color
:
#909399
;
}
}
}
}
.apply-danger-wrap
/
deep
/
.el-dialog__header
{
.apply-danger-wrap
/
deep
/
.el-dialog__header
,
.apply-danger-wrap
.el-dialog__header
{
padding
:
0
20px
;
padding
:
0
20px
;
height
:
54px
;
height
:
54px
;
border-bottom
:
1px
solid
#dcdfe6
;
border-bottom
:
1px
solid
#dcdfe6
;
}
}
.apply-danger-wrap
/
deep
/
.el-dialog__body
{
.apply-danger-wrap
/
deep
/
.el-dialog__body
,
.apply-danger-wrap
.el-dialog__body
{
padding
:
0
;
padding
:
0
;
}
}
</
style
>
</
style
>
...
...
src/lib/vue-gic-header.vue
View file @
b4dea7d0
...
@@ -64,8 +64,9 @@
...
@@ -64,8 +64,9 @@
<span
class=
"el-radio__inner"
></span>
<span
class=
"el-radio__inner"
></span>
</span><span
class=
"el-radio__label"
>
安全模式
</span>
</span><span
class=
"el-radio__label"
>
安全模式
</span>
</span>
</span>
<span
class=
"danger-type"
@
click=
"changeDataType('1')"
>
<!-- @click="changeDataType('1')" -->
<span
class=
"el-radio__input"
:class=
"dataType == '1' ? 'is-checked' : ''"
>
<span
class=
"danger-type"
>
<span
class=
"el-radio__input is-disabled"
:class=
"dataType == '1' ? 'is-checked' : ''"
>
<span
class=
"el-radio__inner"
></span>
<span
class=
"el-radio__inner"
></span>
</span><span
class=
"el-radio__label"
>
风险模式
<span
v-show=
"total>0"
style=
"margin-left:4px"
>
{{ timeValue }}
</span></span>
</span><span
class=
"el-radio__label"
>
风险模式
<span
v-show=
"total>0"
style=
"margin-left:4px"
>
{{ timeValue }}
</span></span>
</span>
</span>
...
...
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