Commit 61db50f9 by 无尘

fix: 修改组织架构状态

parent 6be18826
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.b94c2cd97780f9d0fc35230871b15611.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.3ad1d0f8924a0b20f8ba.js></script><script type=text/javascript src=./static/js/vendor.c134cb6e17d0133dfae4.js></script><script type=text/javascript src=./static/js/app.b230577506fc3cde5d96.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.6ceb831020097c4bcc3d9f45c886fd9f.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.c85bbeeed3c5fd82384d.js></script><script type=text/javascript src=./static/js/vendor.c134cb6e17d0133dfae4.js></script><script type=text/javascript src=./static/js/app.b230577506fc3cde5d96.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,f,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],b[t]&&u.push(b[t][0]),b[t]=0;for(r in f)Object.prototype.hasOwnProperty.call(f,r)&&(e[r]=f[r]);for(a&&a(c,f,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},b={62:0};function d(a){if(c[a])return c[a].exports;var b=c[a]={i:a,l:!1,exports:{}};return e[a].call(b.exports,b,b.exports,d),b.l=!0,b.exports}d.e=function(e){var a=b[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=b[e]=[c,d]});a[2]=c;var f=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"937e457e590c16cf534f",1:"06c4e42e62c1f75191f0",2:"a849af1135379896b9fb",3:"b2cc94a09469925585d4",4:"48683e240d33007103ef",5:"7429113a74b335ae803e",6:"aadb949ab3bea612d805",7:"6355d8ed403e672c300e",8:"3d0d5edced09c8237842",9:"aa16369ac132fab2a89c",10:"935a69797af3baaa97b8",11:"12b419add3ceafc4e64d",12:"648616d45073b016f484",13:"ac53de44b96fbf140876",14:"b5eeff543d3ba3834034",15:"b896c9c17bab0a1046da",16:"ae1bc177056bb581e594",17:"a4114d51ee72cb7240b5",18:"725f4abf98b87b94bcc2",19:"29b77aeee47c1edc7818",20:"5e99d586c2a3f95de2da",21:"a409160531dd7a0b8948",22:"7bfcb7089685f8982152",23:"7206f6f64bd0c213cdd2",24:"166c427607d63f8e6028",25:"4ee19160a2849d6ee2af",26:"b2571cb05f71ed15eb06",27:"e65441f8003d8b809587",28:"810876687108314db355",29:"31428d63d9371b565e22",30:"921fa75e2538c7d3f094",31:"292856d64e107bc3b47e",32:"aabde07cc8c86019067e",33:"1a1ede0e9af1eeb07d09",34:"4985472ef726c7340ecb",35:"e1a3873d58a4cc1589a3",36:"061a93fd38be497575bf",37:"860a72f76833353f798d",38:"bdeed537d20150612926",39:"aa1050ca81022ada45d4",40:"3a0e34109a79afe2b803",41:"8b3ecb2fca74e9e15826",42:"87f46ef25dec9947a6c9",43:"90365a177efc5eecb6fe",44:"35deaf95633486c86ada",45:"77bcbd72c97f479fb2a0",46:"8d36bd32cd547dbfb19f",47:"6cbd1422c407e5e5bb55",48:"2e7b654e43cd44a49642",49:"952d05eb6e168261a3ff",50:"cd442f3ed8acba6f25b5",51:"fc84a6ee6fc1d9500cea",52:"2ba0810a01676a362ab7",53:"d27ba78b3162a86701a6",54:"7b4474d269d938b3a51b",55:"be25aa4e49d3d192a680",56:"3ad96239e6b5a38612bf",57:"7b6836579092420fa925",58:"a5bc5744383b8ec98b4a",59:"d09df13cb208c48a0801"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=b[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return n.onerror=n.onload=t,f.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,f,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in f)Object.prototype.hasOwnProperty.call(f,r)&&(e[r]=f[r]);for(a&&a(c,f,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var c={},d={62:0};function b(a){if(c[a])return c[a].exports;var d=c[a]={i:a,l:!1,exports:{}};return e[a].call(d.exports,d,d.exports,b),d.l=!0,d.exports}b.e=function(e){var a=d[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,b){a=d[e]=[c,b]});a[2]=c;var f=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"937e457e590c16cf534f",1:"06c4e42e62c1f75191f0",2:"a849af1135379896b9fb",3:"c1bed7ff9a2dd19afc3c",4:"48683e240d33007103ef",5:"903a55400540892be862",6:"aadb949ab3bea612d805",7:"6355d8ed403e672c300e",8:"3d0d5edced09c8237842",9:"aa16369ac132fab2a89c",10:"935a69797af3baaa97b8",11:"12b419add3ceafc4e64d",12:"648616d45073b016f484",13:"ac53de44b96fbf140876",14:"b5eeff543d3ba3834034",15:"b896c9c17bab0a1046da",16:"ae1bc177056bb581e594",17:"a4114d51ee72cb7240b5",18:"725f4abf98b87b94bcc2",19:"29b77aeee47c1edc7818",20:"5e99d586c2a3f95de2da",21:"a409160531dd7a0b8948",22:"7bfcb7089685f8982152",23:"7206f6f64bd0c213cdd2",24:"166c427607d63f8e6028",25:"4ee19160a2849d6ee2af",26:"b2571cb05f71ed15eb06",27:"e65441f8003d8b809587",28:"810876687108314db355",29:"31428d63d9371b565e22",30:"921fa75e2538c7d3f094",31:"292856d64e107bc3b47e",32:"aabde07cc8c86019067e",33:"1a1ede0e9af1eeb07d09",34:"4985472ef726c7340ecb",35:"e1a3873d58a4cc1589a3",36:"061a93fd38be497575bf",37:"860a72f76833353f798d",38:"bdeed537d20150612926",39:"aa1050ca81022ada45d4",40:"3a0e34109a79afe2b803",41:"8b3ecb2fca74e9e15826",42:"87f46ef25dec9947a6c9",43:"90365a177efc5eecb6fe",44:"35deaf95633486c86ada",45:"77bcbd72c97f479fb2a0",46:"8d36bd32cd547dbfb19f",47:"6cbd1422c407e5e5bb55",48:"2e7b654e43cd44a49642",49:"952d05eb6e168261a3ff",50:"cd442f3ed8acba6f25b5",51:"fc84a6ee6fc1d9500cea",52:"2ba0810a01676a362ab7",53:"d27ba78b3162a86701a6",54:"7b4474d269d938b3a51b",55:"be25aa4e49d3d192a680",56:"3ad96239e6b5a38612bf",57:"7b6836579092420fa925",58:"a5bc5744383b8ec98b4a",59:"d09df13cb208c48a0801"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=d[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,f.appendChild(n),c},b.m=e,b.c=c,b.d=function(e,a,c){b.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},b.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(a,"a",a),a},b.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-04-14 10:22:55
-->
<!--
<help-dialog : @closeHelp="closeHelp"></help-dialog>
import helpDialog from '@/components/company/help-dialog.vue';
-->
<template>
<el-dialog title="查看使用帮助" :visible.sync="dialogVisible" width="600" :before-close="handleClose">
<div>
<div>1.<span class="font-14 iconfont icondianpu-kuai color-dedfe6"></span>表示未同步的门店,<span class="font-14 iconfont icondianpu-kuai color-2f54eb"></span>表示门店已同步至企业微信;</div>
<div>2.<span class="font-14 iconfont iconqiye-tianchong color-dedfe6"></span>表示未同步的门店分组,<span class="font-14 iconfont iconqiye-tianchong color-2f54eb"></span>表示门店分组已同步至企业微信;</div>
<div>3. <span class="font-12 color-606266 el-icon-caret-right"></span>表示企业微信中已有的部门或分组。</div>
</div>
</el-dialog>
</template>
<script>
export default {
data() {
return {
dialogVisible: true
};
},
methods: {
handleClose(done) {
const that = this;
done();
that.$emit('closeHelp');
}
}
};
</script>
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-04-14 10:52:47
-->
<!--
<sync-dialog :syncData"syncData"></sync-dialog>
import syncDialog from '@/components/company/sync-dialog.vue';
-->
<template>
<el-dialog title="查看使用帮助" :visible.sync="dialogVisible" width="600" :before-close="handleClose">
<div>
<div class="el-progress-bar" style="width:350px">
<div class="el-progress-bar__outer" style="height: 8px;">
<div class="el-progress-bar__inner" style="width: 100px"></div>
</div>
</div>
<div class="font-18 color-303133 m-t-25">{{ syncData.syncStatus == 1 ? '分组' : syncData.syncStatus == 2 || syncData.syncStatus == 3 ? '门店及成员' : '' }}同步中…</div>
<div class="font-14 color-606266 m-t-10 line-h-20">通讯录同步需要一点时间,请耐心等待;</div>
<div class="font-14 color-606266 line-h-20">同步期间,通讯录的增删功能暂时冻结,以防数据冲突。同步完成后立即恢复,请知悉。</div>
</div>
</el-dialog>
</template>
<script>
export default {
props: {
syncData: {
type: Object,
default() {
return {
syncStatus: '0'
};
}
}
},
data() {
return {
dialogVisible: true
};
},
methods: {
handleClose(done) {
const that = this;
that.dialogVisible = true;
}
}
};
</script>
<style lang="less" scoped>
.m-t-25 {
margin-top: 25px;
}
.m-t-10 {
margin-top: 10px;
}
.line-h-20 {
line-height: 20px;
}
.el-progress-bar__inner {
/* 动画时长1s */
animation-duration: 1s;
/*当动画完成后,保持最后一个属性值(在最后一个关键帧中定义)*/
/* animation-fill-mode: forwards; */
/* 动画次数 无限次 */
animation-iteration-count: infinite;
/* 执行动画名称 */
animation-name: animationa;
/* 动画速度,线性匀速 */
animation-timing-function: linear;
/* 背景颜色 */
/* background: linear-gradient(to right, #fff 0%, #fff 50%, transparent 50%, transparent 100%); */
background: #2f5bff;
/* 背景大小: 这里是容器大小 */
height: 8px;
border-radius: 8px;
position: absolute;
top: 0px;
}
@keyframes animationa {
/* 修改用作背景的进度条容器定位 */
0% {
/* background-position: -410px 0; */
left: -10px;
}
100% {
/* background-position: 410px 0 */
left: 250px;
}
}
</style>
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-03-23 16:56:47
* @LastEditTime: 2020-04-14 10:05:37
-->
<template>
<div class="contacts-wrap common-set-wrap">
......@@ -26,6 +26,7 @@
</div>
<div class="apps-content-right">
<div class="content-right-body border-box" style="min-height: 100%;">
<div class="help-body flex flex-space-between" @click="showHelp"><span class="font-12 color-2f54eb">查看使用帮助</span><span class="color-2f54eb el-icon-arrow-right"></span></div>
<!-- 查看是否是部门,不是门店 -->
<depart-list v-if="departObj.isStore == 0" :departObj="departObj" @resetData="resetData" @changeDepart="changeDepart" @addDepart="addDepart"></depart-list>
<depart-member v-if="departObj.isStore == 0" :departObj="departObj"></depart-member>
......@@ -37,9 +38,11 @@
</div>
</div>
<!-- <vue-gic-footer></vue-gic-footer> -->
<help-dialog v-if="helpShow" @closeHelp="closeHelp"></help-dialog>
</div>
</template>
<script>
import helpDialog from '@/components/company/help-dialog.vue';
import navCrumb from '@/components/nav/nav.vue';
import contactTree from '@/components/company/contact-tree.vue';
import departList from '@/components/company/depart-list.vue';
......@@ -58,7 +61,8 @@ export default {
departList,
departMember,
storeMember,
contactTreeFilter
contactTreeFilter,
helpDialog
},
data() {
return {
......@@ -95,12 +99,25 @@ export default {
// }
],
selectData: {},
departObj: {}
departObj: {},
helpShow: false
};
},
computed: {},
methods: {
/**
* 显示help弹窗
*
*/
showHelp() {
const that = this;
that.helpShow = true;
},
closeHelp() {
const that = this;
that.helpShow = false;
},
/**
* 点击 tree 数据
*/
resetCheckData(data) {
......@@ -339,6 +356,9 @@ export default {
width: 100%;
padding: 20px;
background: #fff;
.help-body {
line-height: 28px;
}
}
.daily-set-wrap {
height: 100%;
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-04-13 17:28:42
* @LastEditTime: 2020-04-14 10:18:45
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -76,9 +76,11 @@
<add-depart v-if="addDepartShow" :departObj="modItem" @refreshData="refreshDepartData"></add-depart>
</div>
<!-- <vue-gic-footer></vue-gic-footer> -->
<sync-dialog v-if="syncStatusData.syncStatus == 1 || syncStatusData.syncStatus == 2 || syncStatusData.syncStatus == 3" :syncData="syncStatusData"></sync-dialog>
</div>
</template>
<script>
import syncDialog from '@/components/company/sync-dialog.vue';
import navCrumb from '@/components/nav/nav.vue';
import addEnterprise from '@/components/company/add-enterprise.vue';
import orgTree from '@/components/company/org-tree.vue';
......@@ -140,7 +142,11 @@ export default {
recycleCount: 0,
syncDate: '',
syncKey: '',
syncTime: null
syncTime: null,
// 同步状态
syncStatusData: {
syncStatus: 0
}
};
},
computed: {},
......@@ -656,6 +662,28 @@ export default {
message: error.message
});
});
},
/**
* 获取同步状态
*/
getSyncStatus() {
const that = this;
let para = {};
getRequest('/haoban-manage3-web/department-sync-check', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
that.syncStatusData = resData.result || {};
return false;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
watch: {},
......@@ -664,6 +692,7 @@ export default {
that.getTableList();
that.getWxData();
that.getRecycleCount();
that.getSyncStatus();
document.documentElement.style.backgroundColor = '#f0f2f5';
},
destroyed() {
......@@ -674,7 +703,8 @@ export default {
addEnterprise,
orgTree,
wxTree,
addDepart
addDepart,
syncDialog
}
};
</script>
......
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