Commit 6546dc02 by 无尘

fix: 修改样式

parent e8e32bee
<!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.24.css><link href=./static/css/app.9cc877c702092b77da2c7beddd2b68a5.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.d08599352d4d2a91516b.js></script><script type=text/javascript src=./static/js/vendor.e91073f106903eddf860.js></script><script type=text/javascript src=./static/js/app.5603b698f381eabbe600.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.24.css><link href=./static/css/app.8f0fd9734069593533d018d7ed70cc21.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.dd76bae695343e6a0d3d.js></script><script type=text/javascript src=./static/js/vendor.e91073f106903eddf860.js></script><script type=text/javascript src=./static/js/app.134ed696aa01282e1809.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.
webpackJsonp([8],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("tDw4")},"data-v-5bffce3c",null);s.default=r.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},tDw4:function(t,s){}});
\ No newline at end of file
webpackJsonp([9],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("tDw4")},"data-v-5bffce3c",null);s.default=r.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},tDw4:function(t,s){}});
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,n,r){for(var b,t,o,i=0,u=[];i<c.length;i++)t=c[i],d[t]&&u.push(d[t][0]),d[t]=0;for(b in n)Object.prototype.hasOwnProperty.call(n,b)&&(e[b]=n[b]);for(a&&a(c,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=f(f.s=r[i]);return o};var c={},d={51:0};function f(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,f),d.l=!0,d.exports}f.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,f){a=d[e]=[c,f]});a[2]=c;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,f.nc&&r.setAttribute("nonce",f.nc),r.src=f.p+"static/js/"+e+"."+{0:"91eb4904aa495d01b271",1:"06c4e42e62c1f75191f0",2:"81489599fa9cded4cd8f",3:"69d773fe63645c5c027d",4:"f1674bae959e941960b1",5:"4d88d06955145ed4833d",6:"b748d7ac73a6d6700725",7:"ee9b4ffcf8a8cc2fde16",8:"c5a640255e88b1ca669f",9:"4befd73acdea2387dfb0",10:"cdc6733af07fe3483e78",11:"529019747940d70381f8",12:"8c2e25b234e6c994122b",13:"fee9390ab9550cf82206",14:"a034fd161b8c1b267354",15:"e2410478e3a7240b7adc",16:"bb5e6d72cbc8bf43e5b7",17:"95d3d2b81b6732c899cb",18:"60c4a5b5e95e2bedf55b",19:"d7d691e18789d84baad8",20:"844ad5ee593eae63c52e",21:"770311f70228fba8e90b",22:"81f4a1e7120e15df0ea9",23:"ab3d7ca5a4ac86082013",24:"40fac2805362183128cd",25:"478df3da4cb7c7af6a47",26:"d2a69d136f7452d5784b",27:"da711b22b7b9fb1b1e92",28:"7acc9215b2460e498c48",29:"569ed25c8b4bf00254de",30:"df323bb62359327d7053",31:"c48508436d387ecab7e5",32:"fdc8fb944fc839a5f0c9",33:"64721b581ad65fc06a5c",34:"1f69600f84ea88db4621",35:"51630c67df4e611a358a",36:"030f99cc1cb0eb54f38a",37:"722ec3ee74746d1f0771",38:"11fa4a08a95df9d72fdb",39:"7dfcaaab2bdeab04f8e8",40:"26ef55c1adb75adce860",41:"409fc320bb5afcd95dbe",42:"54ea7e2ab19fe82e5d03",43:"5d2d83cd76295aac795e",44:"894c9353222f503048dd",45:"e943700ad9539430cc2a",46:"3ebb7632373e949c4784",47:"db2230e175441528fa76",48:"bda5c55f72a191ae99c2"}[e]+".js";var b=setTimeout(t,12e4);function t(){r.onerror=r.onload=null,clearTimeout(b);var a=d[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return r.onerror=r.onload=t,n.appendChild(r),c},f.m=e,f.c=c,f.d=function(e,a,c){f.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},f.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(a,"a",a),a},f.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,n,r){for(var t,b,o,i=0,u=[];i<a.length;i++)b=a[i],f[b]&&u.push(f[b][0]),f[b]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(a,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=d(d.s=r[i]);return o};var a={},f={51:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,d.nc&&r.setAttribute("nonce",d.nc),r.src=d.p+"static/js/"+e+"."+{0:"91eb4904aa495d01b271",1:"06c4e42e62c1f75191f0",2:"81489599fa9cded4cd8f",3:"69d773fe63645c5c027d",4:"f1674bae959e941960b1",5:"5641157d9ccf92f02299",6:"b748d7ac73a6d6700725",7:"ee9b4ffcf8a8cc2fde16",8:"59eeefc92f0359f26dff",9:"5e6b743726e7d8438871",10:"cdc6733af07fe3483e78",11:"529019747940d70381f8",12:"8c2e25b234e6c994122b",13:"fee9390ab9550cf82206",14:"a034fd161b8c1b267354",15:"e2410478e3a7240b7adc",16:"bb5e6d72cbc8bf43e5b7",17:"95d3d2b81b6732c899cb",18:"60c4a5b5e95e2bedf55b",19:"d7d691e18789d84baad8",20:"844ad5ee593eae63c52e",21:"770311f70228fba8e90b",22:"81f4a1e7120e15df0ea9",23:"ab3d7ca5a4ac86082013",24:"40fac2805362183128cd",25:"478df3da4cb7c7af6a47",26:"d2a69d136f7452d5784b",27:"da711b22b7b9fb1b1e92",28:"7acc9215b2460e498c48",29:"569ed25c8b4bf00254de",30:"df323bb62359327d7053",31:"c48508436d387ecab7e5",32:"fdc8fb944fc839a5f0c9",33:"64721b581ad65fc06a5c",34:"1f69600f84ea88db4621",35:"51630c67df4e611a358a",36:"030f99cc1cb0eb54f38a",37:"722ec3ee74746d1f0771",38:"11fa4a08a95df9d72fdb",39:"7dfcaaab2bdeab04f8e8",40:"26ef55c1adb75adce860",41:"409fc320bb5afcd95dbe",42:"54ea7e2ab19fe82e5d03",43:"5d2d83cd76295aac795e",44:"894c9353222f503048dd",45:"e943700ad9539430cc2a",46:"3ebb7632373e949c4784",47:"db2230e175441528fa76",48:"bda5c55f72a191ae99c2"}[e]+".js";var t=setTimeout(b,12e4);function b(){r.onerror=r.onload=null,clearTimeout(t);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return r.onerror=r.onload=b,n.appendChild(r),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-08-14 16:51:07
* @LastEditors: 无尘
* @LastEditTime: 2020-03-11 15:41:39
* @LastEditTime: 2020-03-11 20:59:51
-->
<!--
<wx-tree v-model="itemData" ></wx-tree>
......@@ -18,7 +18,7 @@ import wxTree from './wx-tree.vue';
<div class="li-cell cursor-pointer">
<div class="li-cell-inner flex flex-space-between boder-box p-r-20" :style="{ 'margin-left': (item.level + 1) * 20 + 'px' }">
<div class="tree-left" :title="item.gicEnterpriseName" @click="toggleExpand(item)">
<span :class="['font-12 color-606266', item.isStore == 1 || !item.hasSonNode ? 'color-fff' : '', item.expand ? 'el-icon-caret-bottom' : 'el-icon-caret-right']"></span><span :class="['font-14 p-l-10 p-r-10 iconfont', item.isStore == 1 ? 'icondianpu-kuai' : 'iconqiye-tianchong', item.bindFlag == 1 ? 'color-2f54eb' : 'color-dedfe6']"></span><span class="font-14 color-606266">{{ item.label }}</span>
<span :class="['font-12 color-606266 el-icon-expand', item.isStore == 1 || !item.hasSonNode ? 'color-fff' : '', item.expand ? 'el-icon-caret-bottom' : 'el-icon-caret-right']"></span><span :class="['font-14 p-l-10 p-r-10 iconfont', item.isStore == 1 ? 'icondianpu-kuai' : 'iconqiye-tianchong', item.bindFlag == 1 ? 'color-2f54eb' : 'color-dedfe6']"></span><span class="font-14 color-606266">{{ item.label }}</span>
</div>
<div class="tree-right">
<el-button v-if="item.isStore == 0" type="text" @click.stop="addChild(item)">添加子部门</el-button>
......@@ -32,6 +32,7 @@ import wxTree from './wx-tree.vue';
</li>
</draggable>
<add-depart v-if="addShow" :departObj="modItem" @refreshData="refreshData"></add-depart>
<div v-show="showDropIndicator" class="drag-indicator" ref="dropIndicator"></div>
</ul>
</template>
<script>
......@@ -79,11 +80,25 @@ export default {
},
addShow: false,
additem: {},
modItem: {}
modItem: {},
showDropIndicator: false
};
},
computed: {},
methods: {
findNearestComponent(element, componentName) {
let target = element;
while (target && target.tagName !== 'BODY') {
if (target.__vue__ && target.__vue__.$options.name === componentName) {
return target.__vue__;
}
target = target.parentNode;
}
return null;
},
/**
* 刷新数据
*/
refreshRecycle() {
const that = this;
that.$emit('refreshRecycle');
......@@ -137,15 +152,28 @@ export default {
/**
* 移动中
*/
onMove(evt) {
onMove(evt, originalEvent) {
// const that = this;
// 判断中间是否存在父级
console.log(evt);
/* console.log(evt, originalEvent);
const treePosition = that.$el.getBoundingClientRect();
console.log('1', that.$el, that.$el.getBoundingClientRect());
console.log('2', evt.dragged.getBoundingClientRect());
console.log('3', treePosition); */
const draggedElement = evt.draggedContext.element;
// 首
if (draggedElement.level == 0) {
return false;
}
/* console.log(that.$el.querySelector('.el-icon-expand'));
const iconPosition = that.$el.querySelector('.el-icon-expand').getBoundingClientRect();
console.log('iconPosition:', iconPosition);
const dropIndicator = that.$refs.dropIndicator;
dropIndicator.style.top = iconPosition.top + 'px';
dropIndicator.style.left = iconPosition.left - treePosition.left + 'px';
console.log(dropIndicator.style.top, dropIndicator.style.left);
that.showDropIndicator = true; */
return !draggedElement.fixed;
},
/**
......@@ -153,6 +181,7 @@ export default {
*/
itemMoveEnd(evt) {
const that = this;
that.showDropIndicator = false;
// 判断中间是否已经添加
console.log('移动后:', evt, that.itemObj, that.itemData);
that.$forceUpdate();
......@@ -675,6 +704,13 @@ export default {
};
</script>
<style lang="less" scoped>
.drag-indicator {
position: absolute;
left: 0;
right: 0;
height: 1px;
background-color: #409eff;
}
.tree-ul-body {
min-height: 3px;
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-03-11 17:19:51
* @LastEditTime: 2020-03-11 19:11:58
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -46,7 +46,7 @@
<el-button type="text" @click="toRecycle">回收站({{ recycleCount }}</el-button>
</div>
<div class="content-wx">
<ul class="">
<ul class="" style="position: relative;">
<li v-for="(item, index) in wxData" :key="index + 'wx'">
<div class="li-cell cursor-pointer" @click="toggleExpand(item)">
<div class="flex flex-space-between boder-box p-r-20" :style="{ 'padding-left': (item.level + 1) * 20 + 'px' }">
......@@ -689,6 +689,7 @@ export default {
border-bottom: 1px solid #e4e7ed;
}
.content-wx {
position: relative;
height: calc(100vh - 277px);
overflow-x: hidden;
overflow-y: auto;
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-03-11 13:31:48
* @LastEditTime: 2020-03-11 21:01:08
-->
<template>
<div class="login-wrap">
......@@ -138,7 +138,7 @@ export default {
document.getElementById('qrcode').innerHTML = '';
that.qrcodeCase.clear(); // 先清除原有的
}
that.getQrcode();
// that.getQrcode();
that.expiredFlag = false; //隐藏过期遮罩层
}, 500),
......
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