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 @@ ...@@ -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"
} }
...@@ -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>
......
...@@ -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>
......
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