Commit 04d1e626 by 无尘

fix: 修改设置sql

parent fcde30c1
.m-l-10[data-v-3c6f15c6]{margin-left:10px}.w-130[data-v-3c6f15c6]{width:130px}.w-249[data-v-3c6f15c6]{width:249px}.w-180[data-v-3c6f15c6]{width:180px}.span-dot[data-v-3c6f15c6]{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;border-radius:3px}.span-dot.bg-52c41a[data-v-3c6f15c6]{background:#52c41a}.span-dot.bg-d9d9d9[data-v-3c6f15c6]{background:#d9d9d9}
\ No newline at end of file
.m-l-10[data-v-3f97f7f4]{margin-left:10px}.w-130[data-v-3f97f7f4]{width:130px}.w-249[data-v-3f97f7f4]{width:249px}.w-180[data-v-3f97f7f4]{width:180px}.span-dot[data-v-3f97f7f4]{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;border-radius:3px}.span-dot.bg-52c41a[data-v-3f97f7f4]{background:#52c41a}.span-dot.bg-d9d9d9[data-v-3f97f7f4]{background:#d9d9d9}
\ No newline at end of file
.w-363[data-v-d386a784]{width:363px}.selected div[data-v-d386a784]{color:#2f54eb}.w-363[data-v-b274ff1e]{width:363px}.selected div[data-v-b274ff1e]{color:#2f54eb}.show-select-num[data-v-b274ff1e]{width:363px;height:32px;line-height:32px;padding:0 12px;font-size:14px;color:#303133;border-radius:2px;border:1px solid #c4c6cf}.m-b-20[data-v-6e7546a2]{margin-bottom:20px}.w-408[data-v-6e7546a2]{width:408px}
\ No newline at end of file
.w-363[data-v-d386a784]{width:363px}.selected div[data-v-d386a784]{color:#2f54eb}.w-363[data-v-64151976]{width:363px}.selected div[data-v-64151976]{color:#2f54eb}.show-select-num[data-v-64151976]{width:363px;height:32px;line-height:32px;padding:0 12px;font-size:14px;color:#303133;border-radius:2px;border:1px solid #c4c6cf}.m-b-20[data-v-6e7546a2]{margin-bottom:20px}.w-408[data-v-6e7546a2]{width:408px}
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.48.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-0c6041b4.d0755970.css rel=prefetch><link href=css/chunk-126ea711.12980bcb.css rel=prefetch><link href=css/chunk-428c66fe.145b1a9f.css rel=prefetch><link href=css/chunk-4566970e.f9174fd0.css rel=prefetch><link href=css/chunk-5661deeb.593f08e6.css rel=prefetch><link href=css/chunk-59f6fc24.e02f1efd.css rel=prefetch><link href=css/chunk-6b431e4e.5bc873e8.css rel=prefetch><link href=css/chunk-a8f711ee.0cbb4aa8.css rel=prefetch><link href=css/chunk-ce6e75c2.5c2cd5fc.css rel=prefetch><link href=css/chunk-e550e056.fbe42916.css rel=prefetch><link href=css/chunk-e7c4557e.4f971e39.css rel=prefetch><link href=js/chunk-0c6041b4.b88270a4.js rel=prefetch><link href=js/chunk-126ea711.1927465d.js rel=prefetch><link href=js/chunk-22af8244.30e36d46.js rel=prefetch><link href=js/chunk-428c66fe.30d76fc7.js rel=prefetch><link href=js/chunk-4566970e.8f92af78.js rel=prefetch><link href=js/chunk-5661deeb.74d0d5a5.js rel=prefetch><link href=js/chunk-59f6fc24.7b4fb988.js rel=prefetch><link href=js/chunk-6b431e4e.0d30cc7b.js rel=prefetch><link href=js/chunk-a8f711ee.ed95d81e.js rel=prefetch><link href=js/chunk-ce6e75c2.9409f4b5.js rel=prefetch><link href=js/chunk-e0354b28.47793da0.js rel=prefetch><link href=js/chunk-e550e056.a55e71fa.js rel=prefetch><link href=js/chunk-e7c4557e.1b36022d.js rel=prefetch><link href=css/app.343858c9.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.234caf1d.js rel=preload as=script><link href=js/chunk-vendors.1cef5819.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.343858c9.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/layout.1.2.46.js></script><script src=//web-1251519181.file.myqcloud.com/components/editor.1.1.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=js/chunk-vendors.1cef5819.js></script><script src=js/app.234caf1d.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.48.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-126ea711.12980bcb.css rel=prefetch><link href=css/chunk-317bd40b.7e98aade.css rel=prefetch><link href=css/chunk-428c66fe.145b1a9f.css rel=prefetch><link href=css/chunk-448cb576.d0755970.css rel=prefetch><link href=css/chunk-4566970e.f9174fd0.css rel=prefetch><link href=css/chunk-5661deeb.593f08e6.css rel=prefetch><link href=css/chunk-59f6fc24.e02f1efd.css rel=prefetch><link href=css/chunk-6b431e4e.5bc873e8.css rel=prefetch><link href=css/chunk-ce6e75c2.5c2cd5fc.css rel=prefetch><link href=css/chunk-dfd33f28.c2895562.css rel=prefetch><link href=css/chunk-e7c4557e.4f971e39.css rel=prefetch><link href=js/chunk-126ea711.1927465d.js rel=prefetch><link href=js/chunk-22af8244.30e36d46.js rel=prefetch><link href=js/chunk-317bd40b.2a469d5a.js rel=prefetch><link href=js/chunk-428c66fe.30d76fc7.js rel=prefetch><link href=js/chunk-448cb576.a6f1f4e7.js rel=prefetch><link href=js/chunk-4566970e.8f92af78.js rel=prefetch><link href=js/chunk-5661deeb.74d0d5a5.js rel=prefetch><link href=js/chunk-59f6fc24.7b4fb988.js rel=prefetch><link href=js/chunk-6b431e4e.0d30cc7b.js rel=prefetch><link href=js/chunk-ce6e75c2.9409f4b5.js rel=prefetch><link href=js/chunk-dfd33f28.d0087e35.js rel=prefetch><link href=js/chunk-e0354b28.47793da0.js rel=prefetch><link href=js/chunk-e7c4557e.1b36022d.js rel=prefetch><link href=css/app.343858c9.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.f82f7d89.js rel=preload as=script><link href=js/chunk-vendors.1cef5819.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.343858c9.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/layout.1.2.46.js></script><script src=//web-1251519181.file.myqcloud.com/components/editor.1.1.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=js/chunk-vendors.1cef5819.js></script><script src=js/app.f82f7d89.js></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0c6041b4"],{"0973":function(t,i,e){t.exports=e.p+"img/error_404.bf587478.svg"},1879:function(t,i,e){"use strict";var n=e("cf48"),s=e.n(n);s.a},"1c41":function(t,i,e){t.exports=e.p+"img/error_500.ed0cba44.svg"},"28a5":function(t,i,e){"use strict";var n=e("aae3"),s=e("cb7c"),r=e("ebd6"),a=e("0390"),c=e("9def"),l=e("5f1b"),u=e("520a"),o=e("79e5"),f=Math.min,d=[].push,h="split",g="length",p="lastIndex",v=4294967295,m=!o((function(){RegExp(v,"y")}));e("214f")("split",2,(function(t,i,e,o){var b;return b="c"=="abbc"[h](/(b)*/)[1]||4!="test"[h](/(?:)/,-1)[g]||2!="ab"[h](/(?:ab)*/)[g]||4!="."[h](/(.?)(.?)/)[g]||"."[h](/()()/)[g]>1||""[h](/.?/)[g]?function(t,i){var s=String(this);if(void 0===t&&0===i)return[];if(!n(t))return e.call(s,t,i);var r,a,c,l=[],o=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,h=void 0===i?v:i>>>0,m=new RegExp(t.source,o+"g");while(r=u.call(m,s)){if(a=m[p],a>f&&(l.push(s.slice(f,r.index)),r[g]>1&&r.index<s[g]&&d.apply(l,r.slice(1)),c=r[0][g],f=a,l[g]>=h))break;m[p]===r.index&&m[p]++}return f===s[g]?!c&&m.test("")||l.push(""):l.push(s.slice(f)),l[g]>h?l.slice(0,h):l}:"0"[h](void 0,0)[g]?function(t,i){return void 0===t&&0===i?[]:e.call(this,t,i)}:e,[function(e,n){var s=t(this),r=void 0==e?void 0:e[i];return void 0!==r?r.call(e,s,n):b.call(String(s),e,n)},function(t,i){var n=o(b,t,this,i,b!==e);if(n.done)return n.value;var u=s(t),d=String(this),h=r(u,RegExp),g=u.unicode,p=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(m?"y":"g"),x=new h(m?u:"^(?:"+u.source+")",p),_=void 0===i?v:i>>>0;if(0===_)return[];if(0===d.length)return null===l(x,d)?[d]:[];var w=0,C=0,S=[];while(C<d.length){x.lastIndex=m?C:0;var k,y=l(x,m?d:d.slice(C));if(null===y||(k=f(c(x.lastIndex+(m?0:C)),d.length))===w)C=a(d,C,g);else{if(S.push(d.slice(w,C)),S.length===_)return S;for(var E=1;E<=y.length-1;E++)if(S.push(y[E]),S.length===_)return S;C=w=k}}return S.push(d.slice(w)),S}]}))},"4cf1":function(t,i,e){"use strict";e.r(i);var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100vh"}},[e("div",{staticClass:"wscn-http404"},[e("div",{staticClass:"pic-404"},[e("img",{staticClass:"pic-404__parent",attrs:{src:t.imgSrc,alt:"404"}})]),e("div",{staticClass:"bullshit"},[e("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),e("a",{staticClass:"bullshit__return-home",attrs:{href:"#/index"}},[t._v("返回首页")])])])])},s=[],r=(e("28a5"),e("d1ea")),a=e.n(r),c=e("0973"),l=e.n(c),u=e("1c41"),o=e.n(u),f={name:"Index",data:function(){return{imgSrc:"",message:"",srcList:{403:a.a,404:l.a,500:o.a},msgList:{403:"抱歉,你无权访问该页面",404:"抱歉,你访问的页面不存在",500:"抱歉,服务器出错了"}}},mounted:function(){var t=this,i=t.$route.path.split("/")[1];t.imgSrc=t.srcList[i],t.message=t.msgList[i]}},d=f,h=(e("1879"),e("2877")),g=Object(h["a"])(d,n,s,!1,null,"afd4acfe",null);i["default"]=g.exports},cf48:function(t,i,e){},d1ea:function(t,i,e){t.exports=e.p+"img/error_403.829774f4.svg"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-448cb576"],{"0973":function(t,i,e){t.exports=e.p+"img/error_404.bf587478.svg"},1879:function(t,i,e){"use strict";var n=e("cf48"),s=e.n(n);s.a},"1c41":function(t,i,e){t.exports=e.p+"img/error_500.ed0cba44.svg"},"28a5":function(t,i,e){"use strict";var n=e("aae3"),s=e("cb7c"),r=e("ebd6"),a=e("0390"),c=e("9def"),l=e("5f1b"),u=e("520a"),o=e("79e5"),f=Math.min,d=[].push,h="split",g="length",p="lastIndex",v=4294967295,m=!o((function(){RegExp(v,"y")}));e("214f")("split",2,(function(t,i,e,o){var b;return b="c"=="abbc"[h](/(b)*/)[1]||4!="test"[h](/(?:)/,-1)[g]||2!="ab"[h](/(?:ab)*/)[g]||4!="."[h](/(.?)(.?)/)[g]||"."[h](/()()/)[g]>1||""[h](/.?/)[g]?function(t,i){var s=String(this);if(void 0===t&&0===i)return[];if(!n(t))return e.call(s,t,i);var r,a,c,l=[],o=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,h=void 0===i?v:i>>>0,m=new RegExp(t.source,o+"g");while(r=u.call(m,s)){if(a=m[p],a>f&&(l.push(s.slice(f,r.index)),r[g]>1&&r.index<s[g]&&d.apply(l,r.slice(1)),c=r[0][g],f=a,l[g]>=h))break;m[p]===r.index&&m[p]++}return f===s[g]?!c&&m.test("")||l.push(""):l.push(s.slice(f)),l[g]>h?l.slice(0,h):l}:"0"[h](void 0,0)[g]?function(t,i){return void 0===t&&0===i?[]:e.call(this,t,i)}:e,[function(e,n){var s=t(this),r=void 0==e?void 0:e[i];return void 0!==r?r.call(e,s,n):b.call(String(s),e,n)},function(t,i){var n=o(b,t,this,i,b!==e);if(n.done)return n.value;var u=s(t),d=String(this),h=r(u,RegExp),g=u.unicode,p=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(m?"y":"g"),x=new h(m?u:"^(?:"+u.source+")",p),_=void 0===i?v:i>>>0;if(0===_)return[];if(0===d.length)return null===l(x,d)?[d]:[];var w=0,C=0,S=[];while(C<d.length){x.lastIndex=m?C:0;var k,y=l(x,m?d:d.slice(C));if(null===y||(k=f(c(x.lastIndex+(m?0:C)),d.length))===w)C=a(d,C,g);else{if(S.push(d.slice(w,C)),S.length===_)return S;for(var E=1;E<=y.length-1;E++)if(S.push(y[E]),S.length===_)return S;C=w=k}}return S.push(d.slice(w)),S}]}))},"4cf1":function(t,i,e){"use strict";e.r(i);var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100vh"}},[e("div",{staticClass:"wscn-http404"},[e("div",{staticClass:"pic-404"},[e("img",{staticClass:"pic-404__parent",attrs:{src:t.imgSrc,alt:"404"}})]),e("div",{staticClass:"bullshit"},[e("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),e("a",{staticClass:"bullshit__return-home",attrs:{href:"#/index"}},[t._v("返回首页")])])])])},s=[],r=(e("28a5"),e("d1ea")),a=e.n(r),c=e("0973"),l=e.n(c),u=e("1c41"),o=e.n(u),f={name:"Index",data:function(){return{imgSrc:"",message:"",srcList:{403:a.a,404:l.a,500:o.a},msgList:{403:"抱歉,你无权访问该页面",404:"抱歉,你访问的页面不存在",500:"抱歉,服务器出错了"}}},mounted:function(){var t=this,i=t.$route.path.split("/")[1];t.imgSrc=t.srcList[i],t.message=t.msgList[i]}},d=f,h=(e("1879"),e("2877")),g=Object(h["a"])(d,n,s,!1,null,"afd4acfe",null);i["default"]=g.exports},cf48:function(t,i,e){},d1ea:function(t,i,e){t.exports=e.p+"img/error_403.829774f4.svg"}}]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-13 14:24:53
* @LastEditors: 无尘
* @LastEditTime: 2020-11-18 15:15:58
* @LastEditTime: 2020-11-18 15:51:28
-->
<!--
<edit-account :edit-row="editRow"></edit-account>
......@@ -71,11 +71,9 @@ import editAccount from '@/components/account/edit-account.vue';
<script>
import accountDetail from '@/components/account/account-detail.vue';
import { _debounce } from '@/common/js/public';
import { _debounce, emojiToStr } from '@/common/js/public';
import fetch from '@/api/sql';
const { getEnterpriseList, saveAccount, getAccountDetail, setAccountStatus } = fetch;
import showMsg from '@/common/js/showmsg';
export default {
name: 'EditAccount',
components: { accountDetail },
......@@ -181,10 +179,7 @@ export default {
};
setAccountStatus(param).then(res => {
if (res.code == '0000') {
that.$message({
message: '结束试用成功',
type: 'success'
});
that.$message.success('结束试用成功')
that.$emit('refreshData');
}else{
that.$message.error(res.message);
......@@ -300,11 +295,11 @@ export default {
const that = this;
let params = {
trialAccountId: that.ruleForm.trialAccountId,
trialAccountName: that.ruleForm.trialAccountName,
trialAccountName: emojiToStr(that.ruleForm.trialAccountName),
selfPhoneNumber: that.ruleForm.selfPhoneNumber,
wxEnterpriseName: that.ruleForm.wxEnterpriseName,
trialType: that.ruleForm.trialType,
trialAccount: that.ruleForm.trialAccount,
trialAccount: emojiToStr(that.ruleForm.trialAccount),
wxEnterpriseId: that.ruleForm.wxEnterpriseId,
effectDate: that.ruleForm.effectDate,
commitId: that.userInfo.id,
......@@ -314,12 +309,12 @@ export default {
.then(res => {
that.loadBtn = false;
if (res.code == '0000') {
showMsg.showmsg('保存成功', 'success');
that.$message.success('保存成功');
that.editObj = {};
that.$emit('closeEdit', that.ruleForm);
return false;
}else {
showMsg.showmsg(res.message, 'warning');
that.$message.error(res.message);
}
})
.catch(function(error) {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-10 13:46:15
* @LastEditors: 无尘
* @LastEditTime: 2020-11-18 14:02:15
* @LastEditTime: 2020-11-18 15:50:09
-->
<!--
<index-dialog :sql-check-sql-id="sqlCheckSqlId"></index-dialog>
......@@ -31,8 +31,6 @@ import { _debounce, emojiToStr } from '@/common/js/public';
import fetch from '@/api/sql';
const { addSqlIndex } = fetch;
import showMsg from '@/common/js/showmsg';
export default {
name: 'IndexDialog',
components: {},
......@@ -104,14 +102,11 @@ export default {
.then(res => {
that.loadBtn = false;
if (res.code == '0000') {
showMsg.showmsg('操作成功', 'success');
that.$message.success('操作成功');
that.$refs['ruleForm'].resetFields();
that.$emit('submitText');
}else {
that.$message({
message: res.message || '接口错误',
type: 'warning'
});
that.$message.error(res.message);
}
})
.catch(error => {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-09 11:16:12
* @LastEditors: 无尘
* @LastEditTime: 2020-11-18 15:33:52
* @LastEditTime: 2020-11-18 15:54:23
-->
<!-- -->
<template>
......@@ -215,10 +215,7 @@ export default {
that.$message.error('暂无数据');
return false;
}
that.$message({
message: '导出成功',
type: 'success'
});
that.$message.success('导出成功');
// let resData = res.data;
const blob = new Blob([ res.data ], {
type: 'application/vnd.ms-excel'
......@@ -236,7 +233,6 @@ export default {
}else{
that.$message.error(res.message);
}
})
.catch(function(error) {
......@@ -307,10 +303,7 @@ export default {
};
setPerfect(param).then(res => {
if (res.code == '0000') {
that.$message({
message: '设置成功',
type: 'success'
});
that.$message.success('设置成功');
that.currentPage = 1;
that.getTableData();
}else{
......@@ -336,10 +329,7 @@ export default {
};
setStatus(param).then(res => {
if (res.code == '0000') {
that.$message({
message: '设置成功',
type: 'success'
});
that.$message.success('设置成功');
that.currentPage = 1;
that.getTableData();
}else{
......
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