Commit b4dea7d0 by zhu_yu_dan

禁止风险模式

parent e78d1bd5
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -66,5 +66,5 @@
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot"
},
"version": "1.3.39"
"version": "1.4.2"
}
......@@ -98,9 +98,12 @@ export default {
if(data.errorCode==0){
this.tableData = await this.getCheckerList();
this.dialogVisible = true;
this.textarea = "";
this.useTime = 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>';
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, '提示', {
confirmButtonText: '知道了',
cancelButtonText: '取消',
......@@ -123,15 +126,15 @@ export default {
this.$confirm(html, '提示', {
confirmButtonText: '刷新页面',
cancelButtonText: '取消',
// showCancelButton:false,
// closeOnClickModal:false,
// showClose:false,
showCancelButton:false,
closeOnClickModal:false,
showClose:false,
dangerouslyUseHTMLString: true,
type: 'warning',
}).then(() => {
location.reload(); // 强制刷新页面
}).catch(() => {
this.sendTypeToFar();
// this.sendTypeToFar();
});
}else if(data.errorCode==4){ // 商户审核员没有绑定openid
this.$message.warning('审核员未绑定达摩网络公众号');
......@@ -265,12 +268,12 @@ export default {
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;
height: 54px;
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;
}
</style>
......
......@@ -64,8 +64,9 @@
<span class="el-radio__inner"></span>
</span><span class="el-radio__label">安全模式</span>
</span>
<span class="danger-type" @click="changeDataType('1')">
<span class="el-radio__input" :class="dataType == '1' ? 'is-checked' : ''">
<!-- @click="changeDataType('1')" -->
<span class="danger-type" >
<span class="el-radio__input is-disabled" :class="dataType == '1' ? 'is-checked' : ''">
<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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment