From a97dc7f69d835a6febcb72a49e52d513f7639fa7 Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Wed, 22 Feb 2023 14:33:03 +0800 Subject: [PATCH] zx --- src/api/mySelf/index.js | 65 ++++++ src/lycomponents/iHeaderBrand/index.vue | 6 +- src/styles/antd.less | 7 + src/views/Login/loginForm/index.vue | 6 +- .../MarketingComparison/mcCTNF/index.vue | 2 +- src/views/Myself/index.vue | 217 +++++++++++++++++- .../weiboContentType/index.vue | 4 +- .../weiboUserActiveArea/index.vue | 17 +- 8 files changed, 305 insertions(+), 19 deletions(-) diff --git a/src/api/mySelf/index.js b/src/api/mySelf/index.js index 3e5f1db..fa2cbb1 100644 --- a/src/api/mySelf/index.js +++ b/src/api/mySelf/index.js @@ -19,3 +19,68 @@ export function getMyFileInfoExcel(params) { } }) } + +// 获取用户信息 +export function getUserData(params) { + let obj = Object.assign({action: 'getUserData'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 更新用户信息 +export function updUserData(params) { + let obj = Object.assign({action: 'updUserData'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 发送验证码 +export function getUserDataVERCode(params) { + let obj = Object.assign({action: 'getUserDataVERCode'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 获取预警推送 +export function getSwsQyWarningConf(params) { + let obj = Object.assign({action: 'getSwsQyWarningConf'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 设置预警推送 +export function saveSwsQyWarningConf(params) { + let obj = Object.assign({action: 'saveSwsQyWarningConf'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} diff --git a/src/lycomponents/iHeaderBrand/index.vue b/src/lycomponents/iHeaderBrand/index.vue index fe8eb7b..dca8706 100644 --- a/src/lycomponents/iHeaderBrand/index.vue +++ b/src/lycomponents/iHeaderBrand/index.vue @@ -156,11 +156,13 @@ export default { // 选择时间 handleChange() { if (this.form.sTimeType != 4) { - this.form.sStartTime = ""; - this.form.sEndTime = ""; + // this.form.sStartTime = ""; + // this.form.sEndTime = ""; this.setCommTime({sTimeType: this.form.sTimeType}); //首页同步时间 this.selTime = null; this.reload(); + } else { + this.reload() } this.setCtime2(this.form); }, diff --git a/src/styles/antd.less b/src/styles/antd.less index b470598..8b606f4 100644 --- a/src/styles/antd.less +++ b/src/styles/antd.less @@ -144,6 +144,13 @@ color: #fff; } +.ant-time-picker-input { + background: #14335D !important; + color: #fff !important; + border-radius: 2px!important; + border: 1px solid #45B5F4!important; +} + .oddRow { background: #14325d; color: #fff; diff --git a/src/views/Login/loginForm/index.vue b/src/views/Login/loginForm/index.vue index 6fe244b..ed5dd46 100644 --- a/src/views/Login/loginForm/index.vue +++ b/src/views/Login/loginForm/index.vue @@ -11,10 +11,10 @@
- + - + - + 获取验证码 @@ -288,4 +499,8 @@ export default { margin-top: 12px; } } +.fp-s1 { + cursor: pointer; + color: #698198; +} \ No newline at end of file diff --git a/src/views/SpecialAnalizeBoard/weiboContentType/index.vue b/src/views/SpecialAnalizeBoard/weiboContentType/index.vue index 01f9956..1f03c4b 100644 --- a/src/views/SpecialAnalizeBoard/weiboContentType/index.vue +++ b/src/views/SpecialAnalizeBoard/weiboContentType/index.vue @@ -21,7 +21,7 @@ :cont="item.value" :percentage="((item.value / total) * 100).toFixed(2) + '%'" :color="colors[index]" - :eStyle="{ height: '8.54rem' }" + :eStyle="{ height: '6.34rem' }" >
@@ -75,7 +75,7 @@ export default { methods: { getData() { this.load = true; - let obj = Object.assign({}, this.getCtime2, this.form); + let obj = Object.assign({}, this.form); getWtypeWeiBo0528(obj).then((res) => { let data = res.data || []; this.doVal(data); diff --git a/src/views/SpecialAnalizeBoard/weiboUserActiveArea/index.vue b/src/views/SpecialAnalizeBoard/weiboUserActiveArea/index.vue index b1c3464..b3ea388 100644 --- a/src/views/SpecialAnalizeBoard/weiboUserActiveArea/index.vue +++ b/src/views/SpecialAnalizeBoard/weiboUserActiveArea/index.vue @@ -22,7 +22,6 @@