Commit d0be8dec by 无尘

fix: 修改tree过滤

parent 02dd1661
<!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.11f0cd65a4f09082126b12457632f7d9.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.500e3b8fe92a19c0baf2.js></script><script type=text/javascript src=./static/js/vendor.f239beec8f65a743404d.js></script><script type=text/javascript src=./static/js/app.c796425a0d853129e8fe.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.ea7f5e3b7906cbc66473980bc10d9ada.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.a74cc9138009f437a365.js></script><script type=text/javascript src=./static/js/vendor.335cad076562a197329f.js></script><script type=text/javascript src=./static/js/app.5ade425d34cfe729c7a4.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.
webpackJsonp([16],{"4lo3":function(t,a){},AG22:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("2eFk"),i=e("Ch4/"),r=e("P9l9"),c={name:"common-app-top",props:{appName:{type:String,default:function(){return""}},appIcon:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeBrand:"",brandListData:[]}},methods:{returnBack:function(){this.$router.push("appcenter")},changeSelect:function(t){var a="";this.brandListData.forEach(function(e){e.brandId==t&&(a=e.groupId)}),this.$emit("selectBrandId",t,a)},getBrandData:function(){var t=this;Object(r.c)("/haoban-manage-web/application-brand-list",{}).then(function(a){var e=a.data;if(1!=e.errorCode)i.a.errorMsg(e);else if(e.result&&e.result.length){if(t.brandListData=e.result,t.$route.query.brandId)return t.activeBrand=t.$route.query.brandId,t.$emit("selectBrandId",t.$route.query.brandId),!1;t.activeBrand=t.brandListData[0].brandId,t.$emit("selectBrandId",t.brandListData[0].brandId,t.brandListData[0].groupId)}}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})}},watch:{brandId:function(t,a){this.getBrandData()}},mounted:function(){this.getBrandData()}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-top-wrap app-detail-wrap"},[e("div",{staticClass:"my-customer-top"},[e("div",{staticClass:"my-customer-name"},[e("span",{staticClass:"app-icon "},[e("img",{attrs:{src:t.appIcon}})]),e("span",{staticClass:"p-l-8"},[t._v(t._s(t.appName))])]),t._v(" "),e("el-button",{staticClass:"border-radius-18 my-customer-return",on:{click:t.returnBack}},[t._v("返回")]),t._v(" "),"/workSet"!=t.$route.path&&"/workGroupSet"!=t.$route.path&&"/dayStatistics"!=t.$route.path&&"/workGroupSet"!=t.$route.path&&"/dayStatistics"!=t.$route.path&&"/workTimeManage"!=t.$route.path?e("div",{staticClass:"my-customer-brand"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"不同品牌的工作台可分别进行管理。点击后切换,可以管理不同品牌下的应用",placement:"top-start"}},[e("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer"}},[t._v("品牌名称"),e("span",{staticClass:"el-icon-info font-12 color-909399 p-l-6"})])]),t._v(" "),e("el-select",{staticClass:"p-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.activeBrand,callback:function(a){t.activeBrand=a},expression:"activeBrand"}},t._l(t.brandListData,function(t){return e("el-option",{key:t.brandId,attrs:{label:t.name,value:t.brandId}})}))],1):t._e()],1)])},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("4lo3")},"data-v-687bd17e",null).exports,d=e("Qie6"),u={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"不良评价",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"不良评价回访记录",icon:"icon-badreviewstatistics",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("badEvaluateRecord");break;case"2":this.changeRoute("badEvaluateSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:s,commonDetailLeft:d.a}},l={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("div",{staticClass:"right-content"},[e("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content flex",style:{height:t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var p=e("VU/8")(u,l,!1,function(t){e("yDY9")},"data-v-08eaaa7b",null);a.default=p.exports},yDY9:function(t,a){}});
\ No newline at end of file
webpackJsonp([17],{"4lo3":function(t,a){},AG22:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("2eFk"),i=e("Ch4/"),r=e("P9l9"),c={name:"common-app-top",props:{appName:{type:String,default:function(){return""}},appIcon:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeBrand:"",brandListData:[]}},methods:{returnBack:function(){this.$router.push("appcenter")},changeSelect:function(t){var a="";this.brandListData.forEach(function(e){e.brandId==t&&(a=e.groupId)}),this.$emit("selectBrandId",t,a)},getBrandData:function(){var t=this;Object(r.c)("/haoban-manage-web/application-brand-list",{}).then(function(a){var e=a.data;if(1!=e.errorCode)i.a.errorMsg(e);else if(e.result&&e.result.length){if(t.brandListData=e.result,t.$route.query.brandId)return t.activeBrand=t.$route.query.brandId,t.$emit("selectBrandId",t.$route.query.brandId),!1;t.activeBrand=t.brandListData[0].brandId,t.$emit("selectBrandId",t.brandListData[0].brandId,t.brandListData[0].groupId)}}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})}},watch:{brandId:function(t,a){this.getBrandData()}},mounted:function(){this.getBrandData()}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-top-wrap app-detail-wrap"},[e("div",{staticClass:"my-customer-top"},[e("div",{staticClass:"my-customer-name"},[e("span",{staticClass:"app-icon "},[e("img",{attrs:{src:t.appIcon}})]),e("span",{staticClass:"p-l-8"},[t._v(t._s(t.appName))])]),t._v(" "),e("el-button",{staticClass:"border-radius-18 my-customer-return",on:{click:t.returnBack}},[t._v("返回")]),t._v(" "),"/workSet"!=t.$route.path&&"/workGroupSet"!=t.$route.path&&"/dayStatistics"!=t.$route.path&&"/workGroupSet"!=t.$route.path&&"/dayStatistics"!=t.$route.path&&"/workTimeManage"!=t.$route.path?e("div",{staticClass:"my-customer-brand"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"不同品牌的工作台可分别进行管理。点击后切换,可以管理不同品牌下的应用",placement:"top-start"}},[e("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer"}},[t._v("品牌名称"),e("span",{staticClass:"el-icon-info font-12 color-909399 p-l-6"})])]),t._v(" "),e("el-select",{staticClass:"p-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.activeBrand,callback:function(a){t.activeBrand=a},expression:"activeBrand"}},t._l(t.brandListData,function(t){return e("el-option",{key:t.brandId,attrs:{label:t.name,value:t.brandId}})}))],1):t._e()],1)])},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("4lo3")},"data-v-687bd17e",null).exports,d=e("Qie6"),u={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"不良评价",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"不良评价回访记录",icon:"icon-badreviewstatistics",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("badEvaluateRecord");break;case"2":this.changeRoute("badEvaluateSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:s,commonDetailLeft:d.a}},l={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("div",{staticClass:"right-content"},[e("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content flex",style:{height:t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var p=e("VU/8")(u,l,!1,function(t){e("yDY9")},"data-v-08eaaa7b",null);a.default=p.exports},yDY9:function(t,a){}});
\ No newline at end of file
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={58: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:"3f52bc4fbb3dda972c2e",1:"06c4e42e62c1f75191f0",2:"1556153eab88993931a9",3:"4b14d6992ccfc0f8c9a5",4:"d5dbfbaa216c4cf1ca50",5:"cadfc461d2546b536157",6:"0f70421ba87368bd298c",7:"90d30d8c00a90b9333db",8:"1270b4d494f03de1d57b",9:"6abf7de9cde5602a1f5c",10:"d903ff6cb2eac9ecdfc9",11:"064bc1e11d716b5b3e13",12:"a7a4987a73deb0f829db",13:"a2e112e23ac3896d5598",14:"c707fa6f242406cc8561",15:"bf1c2eec5bd21765f3bc",16:"c78ae751ee6a0c2a73ed",17:"2105019ec849a498b37f",18:"201208a9ad964d353425",19:"3a77242d5b60ec861167",20:"8e7f0ac1ac1ffebe0d8d",21:"040bc6f7abe2945d7aac",22:"91858cd58bd26447b559",23:"d69acbf60d61ebed570c",24:"4481e48c3594860dc791",25:"0dba8f7125c2c7d9da8a",26:"3b5599ec250c74b60129",27:"ba77365d6797cc20192f",28:"7acc9215b2460e498c48",29:"7d6c9d10137d4d7d3844",30:"6fdc7955ce6f56c6b273",31:"ba62ea98b639eaa74411",32:"9c8c613cfefcd805f405",33:"8ddfca621d99bf4d559e",34:"14e6e7e735c37f03b612",35:"6d5fa42b3d602a57463a",36:"809e47d23b218f52f636",37:"860a72f76833353f798d",38:"3f861eca97b1c8871a06",39:"7b282fabac2507c85ac7",40:"53becd7862834557ce9a",41:"18d9be7099b9f4f60188",42:"f31984fad89b73d5d3de",43:"f84e006c86cd3dc1fdcd",44:"730cbc4fc2d8db734d3b",45:"455dfb1afb11e2c550b8",46:"2f15d0d207833a7d90f3",47:"0eba1f42904d92477bdd",48:"822eaf1fd47304d32102",49:"0865718e2e1a5f2737e9",50:"50c5b75dde0c5cf54717",51:"e402921057959fc42c83",52:"6490323960a0e0a6135b",53:"7940b0a00298b9b5b2b3",54:"0a60fe3b4417f6480f1d",55:"9271504a8071ec123f01"}[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(d,b,n){for(var r,t,o,i=0,u=[];i<d.length;i++)t=d[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(d,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var d={},a={58:0};function f(c){if(d[c])return d[c].exports;var a=d[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,f),a.l=!0,a.exports}f.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var d=new Promise(function(d,f){c=a[e]=[d,f]});c[2]=d;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:"87ee1cb7b9658fb853e9",1:"06c4e42e62c1f75191f0",2:"1556153eab88993931a9",3:"1b1c2dad79ea463fb612",4:"d5dbfbaa216c4cf1ca50",5:"cadfc461d2546b536157",6:"0f70421ba87368bd298c",7:"90d30d8c00a90b9333db",8:"1270b4d494f03de1d57b",9:"6abf7de9cde5602a1f5c",10:"d903ff6cb2eac9ecdfc9",11:"064bc1e11d716b5b3e13",12:"a7a4987a73deb0f829db",13:"a2e112e23ac3896d5598",14:"c707fa6f242406cc8561",15:"bf1c2eec5bd21765f3bc",16:"3bcb091de3f461cd6f19",17:"160de4bec7c790f4cd43",18:"201208a9ad964d353425",19:"3a77242d5b60ec861167",20:"8e7f0ac1ac1ffebe0d8d",21:"040bc6f7abe2945d7aac",22:"91858cd58bd26447b559",23:"d69acbf60d61ebed570c",24:"4481e48c3594860dc791",25:"0dba8f7125c2c7d9da8a",26:"3b5599ec250c74b60129",27:"ba77365d6797cc20192f",28:"7acc9215b2460e498c48",29:"7d6c9d10137d4d7d3844",30:"6fdc7955ce6f56c6b273",31:"ba62ea98b639eaa74411",32:"9c8c613cfefcd805f405",33:"8ddfca621d99bf4d559e",34:"14e6e7e735c37f03b612",35:"6d5fa42b3d602a57463a",36:"809e47d23b218f52f636",37:"860a72f76833353f798d",38:"3f861eca97b1c8871a06",39:"7b282fabac2507c85ac7",40:"53becd7862834557ce9a",41:"18d9be7099b9f4f60188",42:"f31984fad89b73d5d3de",43:"f84e006c86cd3dc1fdcd",44:"730cbc4fc2d8db734d3b",45:"455dfb1afb11e2c550b8",46:"2f15d0d207833a7d90f3",47:"0eba1f42904d92477bdd",48:"822eaf1fd47304d32102",49:"0865718e2e1a5f2737e9",50:"50c5b75dde0c5cf54717",51:"e402921057959fc42c83",52:"6490323960a0e0a6135b",53:"7940b0a00298b9b5b2b3",54:"0a60fe3b4417f6480f1d",55:"9271504a8071ec123f01"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),d},f.m=e,f.c=d,f.d=function(e,c,d){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:d})},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
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.
......@@ -22,7 +22,7 @@
"@tinymce/tinymce-vue": "^1.0.8",
"awesome-phonenumber": "^2.27.0",
"babel-polyfill": "^6.26.0",
"element-ui": "^2.10.1",
"element-ui": "^2.13.0",
"exif-js": "^2.3.0",
"file-saver": "^1.3.8",
"html2canvas": "^1.0.0-alpha.12",
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-03-10 16:13:15
* @LastEditTime: 2020-03-17 18:24:27
-->
<!--
<qrcode-dialog ref="qrcodePreview" v-model="dialogVisible"></qrcode-dialog>
......@@ -71,10 +71,11 @@ export default {
document.getElementById('qrcode').innerHTML = '';
that.qrcodeCase.clear(); // 先清除原有的
}
let qrObj = {
let qrObj = text;
/* {
type: type,
data: text
};
}; */
that.qrcodeCase = new QRCode('qrcode', {
width: 200,
height: 200, // 高度
......
......@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-27 13:53:03
* @LastEditors: 无尘
* @LastEditTime: 2020-03-17 17:53:46
* @LastEditTime: 2020-03-17 18:39:53
* @FilePath : \Hapi-demoj:\公司\haoban-3\src\components\company\contact-tree-filter.vue
-->
......@@ -47,7 +47,6 @@ export default {
computed: {},
watch: {
searchSelect(val) {
console.log(val,this.$refs.groupTrees)
this.$refs.groupTrees.filter(val);
}
},
......@@ -65,7 +64,8 @@ export default {
}
},
filterNode(value, data) {
if (!value) return true;
if (!value || !data.label) return true;
return data.label.indexOf(value) !== -1;
},
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-03-17 17:02:18
* @LastEditTime: 2020-03-17 18:28:31
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -80,7 +80,7 @@
<el-table-column label="操作">
<template slot-scope="scope">
<el-button type="text" @click="handleDel(scope.$index, scope.row)">删除</el-button>
<el-button type="text" @click="getPreviewData(scope.$index, scope.row)">预览</el-button>
<el-button type="text" @click="handlePreview(scope.$index, scope.row)">预览</el-button>
</template>
</el-table-column>
</el-table>
......@@ -89,13 +89,13 @@
</div>
</div>
<multiple-del :showDialog="showDialog" :detailFlag="true" @hideDialog="hideDialog"> </multiple-del>
<!-- <qrcode-dialog ref="qrcodePreview" v-model="dialogVisible"></qrcode-dialog> -->
<qrcode-dialog ref="qrcodePreview" v-model="dialogVisible"></qrcode-dialog>
<detail-preview ref="detailPreview" :previewData="previewData" v-model="previewVisible"></detail-preview>
</div>
</template>
<script>
import multipleDel from '@/components/app/cloudDaily/multiple-del.vue';
// import qrcodeDialog from '@/components/app/qrcode-dialog.vue';
import qrcodeDialog from '@/components/app/qrcode-dialog.vue';
import detailPreview from '@/components/app/detail-preview.vue';
import { getRequest, postRequest } from '@/api/api';
import errMsg from '@/common/js/error';
......@@ -363,7 +363,7 @@ export default {
postPreview(index, row) {
const that = this;
// 生成二维码需要的 url
let webUrl = `${row.taskId}`;
let webUrl = `${window.location.origin}/haoban3web/pages/hbapp/daily/html/task/taskDailyReport.html?taskId=${row.taskId}&gicStoreId=${that.conditionObj.storeId}&gicClerkId=${row.clerkId}&isShare=1`;
that.$refs.qrcodePreview.qrcode(webUrl, 'daily-detail');
that.dialogVisible = true;
},
......@@ -423,7 +423,7 @@ export default {
},
components: {
multipleDel,
// qrcodeDialog,
qrcodeDialog,
detailPreview
}
};
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-03-13 17:13:54
* @LastEditTime: 2020-03-17 18:33:18
-->
<template>
<div class="contacts-wrap common-set-wrap">
......@@ -258,7 +258,7 @@ export default {
},
watch: {
searchInput(val) {
this.$refs.groupTree.filter(val);
// this.$refs.groupTree.filter(val);
}
},
mounted() {
......
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