Commit 682f7feb by 无尘

fix: 修改选择品牌

parent d1072669
<!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.a379d58342c10cabc7c1f0dcd8e92ae4.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 src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.d0554c083e944e00e409.js></script><script type=text/javascript src=./static/js/vendor.eba504b5417c438bb1ca.js></script><script type=text/javascript src=./static/js/app.0b462e9f90e379f91bd2.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.a379d58342c10cabc7c1f0dcd8e92ae4.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 src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.6a6e6a49992f5c548564.js></script><script type=text/javascript src=./static/js/vendor.eba504b5417c438bb1ca.js></script><script type=text/javascript src=./static/js/app.0b462e9f90e379f91bd2.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.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var a={},d={90:0};function f(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,f),d.l=!0,d.exports}f.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=d[e]=[a,f]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+e+"."+{0:"4cecd2c78dee7ae911dc",1:"2fe1fea28b338647500e",2:"1ee388c2d99a13efc1ce",3:"bdfd1dea1968b59c4721",4:"d9188c5ef11d148a9172",5:"d3f88d7a7ab12a0c3ee3",6:"3014e775749d7f5b55f5",7:"c7a7f149b9bda67ba206",8:"44ef777174215bae215b",9:"a62fb8970e3ef30127ce",10:"546b16617e8d45a97acd",11:"fce5fcc498c4ce97d798",12:"a5f9a2b161799c2c5bb9",13:"acdad5e4c434690dabb4",14:"0515ff16e22ad1985252",15:"5145c587ec0a653fd73e",16:"7400088166b56885fd23",17:"df7d17412a0cb4c4d42f",18:"a27027674b0f188d0735",19:"f11c386818436323fde4",20:"e3adbfd3e776cf2e8f9f",21:"d78352462bc271cf6c69",22:"b775cd5a3407a1f4c844",23:"ed8ffa7851cf7b93d55d",24:"76079e07f55c773e8ebe",25:"755d295db713955f70d0",26:"033c6e723fba9da08a93",27:"8ae3986881568fb833a3",28:"f1937bdc9b58f02047ba",29:"9fc187d28f0558e31cb3",30:"a383e23152f401e14903",31:"a81d5594ab762bad1101",32:"18695c9f2b46cc400c85",33:"0a4442de53039502010e",34:"e1c92d68f0bd271d5f80",35:"ea6b99a3057b0b403906",36:"47f03b8472e95e8be943",37:"e3388332c83433feb21d",38:"0542c39c04f998333558",39:"2bb602426d304fcd7094",40:"db819bd27dc38965bea1",41:"3cb068afd8ac14727454",42:"1353238a90cf41857acd",43:"d3b1480cc3da06f0e5ad",44:"c3c053883f6e1a8bc5b5",45:"3e3c2814f2f4dd046509",46:"9fdc2afb9afcb2febfff",47:"f285e67e8e1c64e62f98",48:"86d8f05f428187b8cbb5",49:"5fe4d82dc60e13b63747",50:"47021614c317a7887445",51:"16a6ad4cd62038a8e7f5",52:"2d7171cb51a511e3c9d7",53:"ca67cc9462193af0a5b0",54:"ae3dde631a8a551ebb99",55:"3e1030263a334927802b",56:"19d7d91cdee929782a7b",57:"a2c026b3f95f859b9e14",58:"f099b7cf189020e78d5c",59:"fbdf692d4d60874dbc72",60:"f4ccd1a957338c1fac1d",61:"bd012bc42649c4354ab6",62:"9d2c7a0219c01d18680c",63:"43127785681a412ff10e",64:"ddadfb520817e737b7ba",65:"8cc800e31738b5e6ec04",66:"d96b50c60d1318b9cd5e",67:"3217c7fb038b3607490e",68:"10019405023074d8884d",69:"e8bb4a2dc30748f8c86f",70:"be0ace71c4ab70921bf2",71:"3b76393d37e218db1edc",72:"87361d87caa3c4b6c414",73:"a9cb9070eb6f88b67de0",74:"ed4697a92f8f1214de4d",75:"edd89ba2b2d753c494cc",76:"968e9276b0a38016d558",77:"16af377178647ebac827",78:"483fad30b165a7d4b355",79:"510a6d59b3808c0ba62c",80:"080b532cea2b17b0ede7",81:"c4163ef5fac02ab01e3e",82:"fcbb6ef04a6f77624db4",83:"32b1d7c9ef64aff93dd3",84:"7828f9a76760d609f2a2",85:"af97159587cda007ae6c",86:"31c91be5699d4c6698ad",87:"3cdfa496ad47fb7e6ffd"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},f.m=e,f.c=a,f.d=function(e,c,a){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},f.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(c,"a",c),c},f.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},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,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={90: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 b=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:"25ffa366ef2c92f85022",1:"2fe1fea28b338647500e",2:"1ee388c2d99a13efc1ce",3:"bdfd1dea1968b59c4721",4:"d9188c5ef11d148a9172",5:"d3f88d7a7ab12a0c3ee3",6:"355646fa2a2e2f486aec",7:"c7a7f149b9bda67ba206",8:"44ef777174215bae215b",9:"a62fb8970e3ef30127ce",10:"546b16617e8d45a97acd",11:"fce5fcc498c4ce97d798",12:"a5f9a2b161799c2c5bb9",13:"acdad5e4c434690dabb4",14:"0515ff16e22ad1985252",15:"5145c587ec0a653fd73e",16:"7400088166b56885fd23",17:"df7d17412a0cb4c4d42f",18:"a27027674b0f188d0735",19:"f11c386818436323fde4",20:"e3adbfd3e776cf2e8f9f",21:"d78352462bc271cf6c69",22:"b775cd5a3407a1f4c844",23:"ed8ffa7851cf7b93d55d",24:"76079e07f55c773e8ebe",25:"755d295db713955f70d0",26:"033c6e723fba9da08a93",27:"8ae3986881568fb833a3",28:"f1937bdc9b58f02047ba",29:"9fc187d28f0558e31cb3",30:"a383e23152f401e14903",31:"a81d5594ab762bad1101",32:"18695c9f2b46cc400c85",33:"0a4442de53039502010e",34:"e1c92d68f0bd271d5f80",35:"ea6b99a3057b0b403906",36:"47f03b8472e95e8be943",37:"e3388332c83433feb21d",38:"0542c39c04f998333558",39:"2bb602426d304fcd7094",40:"db819bd27dc38965bea1",41:"3cb068afd8ac14727454",42:"1353238a90cf41857acd",43:"d3b1480cc3da06f0e5ad",44:"c3c053883f6e1a8bc5b5",45:"3e3c2814f2f4dd046509",46:"9fdc2afb9afcb2febfff",47:"f285e67e8e1c64e62f98",48:"86d8f05f428187b8cbb5",49:"5fe4d82dc60e13b63747",50:"47021614c317a7887445",51:"16a6ad4cd62038a8e7f5",52:"2d7171cb51a511e3c9d7",53:"ca67cc9462193af0a5b0",54:"ae3dde631a8a551ebb99",55:"3e1030263a334927802b",56:"19d7d91cdee929782a7b",57:"a2c026b3f95f859b9e14",58:"f099b7cf189020e78d5c",59:"fbdf692d4d60874dbc72",60:"f4ccd1a957338c1fac1d",61:"bd012bc42649c4354ab6",62:"9d2c7a0219c01d18680c",63:"43127785681a412ff10e",64:"ddadfb520817e737b7ba",65:"8cc800e31738b5e6ec04",66:"d96b50c60d1318b9cd5e",67:"3217c7fb038b3607490e",68:"10019405023074d8884d",69:"e8bb4a2dc30748f8c86f",70:"be0ace71c4ab70921bf2",71:"3b76393d37e218db1edc",72:"87361d87caa3c4b6c414",73:"a9cb9070eb6f88b67de0",74:"ed4697a92f8f1214de4d",75:"edd89ba2b2d753c494cc",76:"968e9276b0a38016d558",77:"16af377178647ebac827",78:"483fad30b165a7d4b355",79:"510a6d59b3808c0ba62c",80:"080b532cea2b17b0ede7",81:"c4163ef5fac02ab01e3e",82:"fcbb6ef04a6f77624db4",83:"32b1d7c9ef64aff93dd3",84:"7828f9a76760d609f2a2",85:"af97159587cda007ae6c",86:"31c91be5699d4c6698ad",87:"3cdfa496ad47fb7e6ffd"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),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
......@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘
* @LastEditTime: 2020-08-26 09:59:22
* @LastEditTime: 2020-12-17 10:28:41
* @FilePath : \Hapi-demoj:\公司\haoban-3\src\components\company\new-depart-member.vue
-->
<!--
......@@ -22,9 +22,7 @@
<div class="depart-condition-wrap flex flex-space-between ">
<div>
<el-input placeholder="请输入姓名/手机号" maxlength="50" v-model="searchInput" class="w-274" @keyup.native="value => toInput(value, searchInput)" clearable @clear="clearInput"></el-input>
<el-select v-model="activeFlag" placeholder="所有状态" class="m-l-6" @change="changeStatus">
<el-option v-for="item in statusOptions" :key="item.value" :label="item.label" :value="item.value"> </el-option>
</el-select>
<el-select v-model="activeFlag" placeholder="所有状态" class="m-l-6" @change="changeStatus"> <el-option v-for="item in statusOptions" :key="item.value" :label="item.label" :value="item.value"> </el-option> </el-select><el-button :disabled="!tableData.length ? true : false" class="m-l-10 export-btn" type="primary" :loading="loadingBtn" @click="exportExcel"><i class="iconfont icon-icon_yunxiazai p-r-6"></i>导出通讯录</el-button>
</div>
<div class="flex">
<el-tooltip content="通讯录日志" placement="top">
......@@ -90,7 +88,7 @@
</template>
<script>
import { _debounce } from '@/common/js/public';
import { getRequest, postRequest } from '@/api/api';
import { getRequest, postRequest, postExcel } from '@/api/api';
import errMsg from '@/common/js/error';
import showMsg from '@/common/js/showmsg';
import addMember from '@/components/company/add-member.vue';
......@@ -156,10 +154,60 @@ export default {
navData: [],
relateShow: false,
relateRow: {},
tipShow: false
tipShow: false,
loadingBtn: false
};
},
methods: {
/**
* 导出
*/
exportExcel: _debounce(function() {
const that = this;
that.loadingBtn = true;
if (!that.conditionObj.dateRange) {
that.conditionObj.dateRange = [];
}
const para = {
departmentId: that.departObj.departmentId,
activeFlag: that.activeFlag,
keyWord: that.searchInput || '' // 搜索字段
};
that.postExcelData(para);
}, 300),
postExcelData(para) {
const that = this;
postExcel('/haoban-app-customer-web/cardCoupon/export-send-card-page', para)
.then(res => {
that.loadingBtn = false;
if (!res) {
errMsg.errorMsg('暂无数据');
return false;
}
const blob = new Blob([res.data], {
type: 'application/vnd.ms-excel'
});
const fileName = `通讯录.csv`;
const elink = document.createElement('a');
elink.download = fileName;
elink.style.display = 'none';
elink.href = URL.createObjectURL(blob);
document.body.appendChild(elink);
elink.click();
URL.revokeObjectURL(elink.href); // 释放URL 对象
document.body.removeChild(elink);
})
.catch(function(error) {
that.loadingBtn = false;
that.$message.error({
duration: 1000,
message: error.message
});
});
},
/**
* 通讯录日志
*/
toLog() {
window.open('/haoban-3/#/syncLog');
},
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-12-17 09:38:58
* @LastEditTime: 2020-12-17 10:16:14
-->
<template>
<div class="navwrap border-box flex flex-space-between">
......@@ -142,6 +142,11 @@ export default {
if (!!that.$route.query.enterpriseId) {
that.activeBrand = that.$route.query.enterpriseId;
that.$emit('selectBrandId', that.$route.query.enterpriseId);
that.brandListData.forEach(ele => {
if (ele.enterpriseId == that.$route.query.enterpriseId) {
that.selectBrand = ele;
}
});
return false;
}
that.selectBrand = that.brandListData[0];
......
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