Commit d211d94a by 无尘

fix: 修复 ie 11 下 a 标签不跳转 bug

parent f5b3dcea
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.40facf101d75f588066fbbd8dbbb464c.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><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/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.07.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.06.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script type=text/javascript src=./static/js/manifest.dc4457d0412322089da3.js></script><script type=text/javascript src=./static/js/vendor.1c47ef7772aabdd78a06.js></script><script type=text/javascript src=./static/js/app.c5ce5ce4b6746d6609dc.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.2b92518625d87a75f2d339f2db177e70.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><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/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.07.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.06.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script type=text/javascript src=./static/js/manifest.a04d58a7aa14774d9055.js></script><script type=text/javascript src=./static/js/vendor.1c47ef7772aabdd78a06.js></script><script type=text/javascript src=./static/js/app.f301c335691ac15f6f1a.js></script></body></html>
\ No newline at end of file \ 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([1],{"2X9c":function(M,L,j){M.exports=j.p+"static/img/error_500.ed0cba4.svg"},CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDAwIDMzNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZBRkNGRjt9DQoJLnN0MXtmaWxsOiNEQkU1RjE7fQ0KCS5zdDJ7ZmlsbDojREVFN0Y0O30NCgkuc3Qze2ZpbGw6I0I5QzdEQjt9DQoJLnN0NHtmaWxsOiNGRkZGRkY7fQ0KCS5zdDV7ZmlsbDpub25lO3N0cm9rZTojQjlDN0RCO3N0cm9rZS13aWR0aDo0O3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Q2e2ZpbGw6bm9uZTtzdHJva2U6I0I2QzdEODtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0NSIgZD0iTTI3NC41LDI0MS4zYy01LjMtNS4zLTQuNCw0LjQtNi43LDYuN2MtMy4xLDMuMS02LjMsNi05LjcsOC42SDEyNS4yYy0zLjQtMi43LTYuNi01LjYtOS43LTguNw0KCWMtMjguNC0yOC41LTM4LjYtNzAuNS0yNi42LTEwOWwtMTAuNS0xMC42Yy01LjMtNS4zLTUuMy0xMy44LDAtMTkuMmM1LjItNS4zLDEzLjctNS4zLDE5LTAuMWMwLDAsMCwwLDAuMSwwLjFsNi42LDYuOA0KCWMzLjEsMy4yLDguMiwzLjIsMTEuNCwwbDAsMGMzLjItMy4yLDMuMi04LjMsMC0xMS41TDEwMy4xLDkyYy0zLjItMy4yLTMuMi04LjMsMC0xMS41YzMuMS0zLjIsOC4yLTMuMiwxMS40LDBsMCwwbDE3LjIsMTcuMg0KCWMtMC45LDMuNywwLjksNy42LDQuNCw5LjNjMy41LDEuNyw3LjcsMC42LDkuOS0yLjVjMi4zLTMuMSwyLjEtNy40LTAuNS0xMC4zYy0zLjMtMy44LTYuNS03LjItNi41LTcuMmwtNy4zLTcuNA0KCWMzNC44LTIxLjMsODIuNi0yMS43LDExNy4yLDBjMzQuNSwyMS43LDUzLjksNjEuMiw1MCwxMDEuOWwxNS40LDE1LjZjMy4yLDMuMiwzLjIsOC4zLDAsMTEuNWMtMy4xLDMuMi04LjIsMy4yLTExLjQsMGwwLDANCglsLTE1LjEtMTUuM2MtMy4xLTMuMi04LjItMy4yLTExLjQsMGwwLDBjLTMuMiwzLjItMy4yLDguMywwLDExLjVsMTcuMSwxNy4yYzUuMiw1LjMsNS4yLDEzLjgsMCwxOS4xDQoJQzI4OC40LDI0Ni42LDI3OS45LDI0Ni42LDI3NC41LDI0MS4zQzI3NC42LDI0MS4zLDI3NC42LDI0MS4zLDI3NC41LDI0MS4zTDI3NC41LDI0MS4zeiIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTg2LjYsNzEuNGMwLDQuNywzLjgsOC41LDguNSw4LjVjMS41LDAsMy0wLjQsNC4zLTEuMWM0LjEtMi4zLDUuNS03LjUsMy4xLTExLjZjLTEuNS0yLjYtNC4zLTQuMy03LjQtNC4zDQoJQzkwLjQsNjIuOSw4Ni42LDY2LjcsODYuNiw3MS40Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjE2LjQsMTQ1LjRoMjQuM2wtNy40LDE3LjljMi42LDEuOCw0LjUsMy44LDUuOCw2YzEuMiwyLjIsMS45LDQuOCwxLjksNy44YzAsNC42LTEuNiw4LjQtNC44LDExLjINCgljLTMuMiwyLjktNy4zLDQuMy0xMi4zLDQuM2MtMi41LDAtNS4xLTAuNC03LjUtMS4xdi0xMy4xYzIsMC45LDMuOSwxLjQsNS41LDEuNHMyLjktMC41LDMuNy0xLjRjMC45LTEsMS4zLTIuMywxLjMtNC4xDQoJYzAtMS45LTAuOC0zLjQtMi40LTQuNmMtMS42LTEuMi0zLjctMS43LTYuNC0xLjdsMy40LTkuMWgtNS4xVjE0NS40TDIxNi40LDE0NS40eiBNMjA3LjUsMTgxLjZjMCwxLjUtMC4zLDMtMC44LDQuMw0KCXMtMS4zLDIuNS0yLjMsMy41cy0yLjIsMS44LTMuNCwyLjNjLTEuMywwLjYtMi44LDAuOS00LjMsMC45aC05LjZjLTEuNSwwLTIuOS0wLjMtNC4zLTAuOWMtMS4zLTAuNi0yLjUtMS4zLTMuNC0yLjMNCgljLTAuNC0wLjQtMC44LTAuOS0xLjItMS40bDExLjctMTcuM3Y2YzAsMC42LDAuMiwxLjEsMC42LDEuNGMwLjQsMC40LDAuOCwwLjYsMS40LDAuNmMxLjEsMCwyLTAuOCwyLTEuOXYtMC4xdi0xMS45bDEwLjktMTYuMQ0KCWMxLjgsMiwyLjgsNC42LDIuNyw3LjNMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZ6IE0xNzcuMSwxODUuOWMtMC42LTEuNC0wLjktMi44LTAuOC00LjNWMTU2YzAtMS41LDAuMy0zLDAuOC00LjMNCglzMS4zLTIuNSwyLjMtMy41czIuMi0xLjgsMy40LTIuM2MxLjMtMC42LDIuOC0wLjksNC4zLTAuOWg5LjZjMS41LDAsMi45LDAuMyw0LjMsMC45YzEuMywwLjUsMi40LDEuMywzLjQsMi4zbC0xMC41LDE1LjR2LTIuNw0KCWMwLTAuNS0wLjItMS4xLTAuNi0xLjRjLTAuNC0wLjQtMC45LTAuNi0xLjQtMC42Yy0xLjEsMC0yLDAuOC0yLDEuOXYwLjF2OC42bC0xMi4xLDE3LjlDMTc3LjUsMTg2LjksMTc3LjMsMTg2LjQsMTc3LjEsMTg1LjkNCglMMTc3LjEsMTg1Ljl6IE0yNDMuOCwxOTIuN2MzLjUtNy40LDUuMy0xNS41LDUuMy0yMy43YzAtMzAuNS0yNC40LTU1LjItNTQuNi01NS4ycy01NC42LDI0LjctNTQuNiw1NS4yYzAsMC40LDAsMC44LDAsMS4xDQoJbDE5LjYtMjQuNmgxMS40TDE1NCwxNzEuM2g1LjV2LTYuNWwxMS43LTE4LjV2NDYuOGgtMTEuN3YtOS44aC0xNy44YzUuMSwxOS4yLDIwLjEsMzQuMywzOS4yLDM5LjJjLTEuMiwzLjEtNC44LDEwLjctMTAuNywxMg0KCWMtNy4zLDEuNywxOS45LDAuNCwzOS40LTEyLjVjMTQuOS00LjQsMjcuMi0xNSwzMy45LTI4LjlMMjQzLjgsMTkyLjdMMjQzLjgsMTkyLjd6Ii8+DQo8cGF0aCBjbGFzcz0ic3Q0IiBkPSJNMjM4LjksMTU0LjNsLTI0LjQsMzUuNGwwLjUsMC4zbDI0LjQtMzUuNEwyMzguOSwxNTQuM3oiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yNjYuMiw2Ni42aDhjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjIsMC4zLTAuNiwwLjQtMC45LDAuNGgtOA0KCWMtMC40LDAtMC43LTAuMS0wLjktMC40Yy0wLjUtMC41LTAuNS0xLjQsMC0xLjlDMjY1LjUsNjYuNywyNjUuOCw2Ni42LDI2Ni4yLDY2LjYgTTExNi41LDIwMS45Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJczgtMy42LDgtOC4xUzEyMC45LDIwMS45LDExNi41LDIwMS45TDExNi41LDIwMS45eiBNMTIxLjQsMjEyLjFjLTAuOCwyLTIuOCwzLjMtNC45LDMuM2MtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4xLDMuMy01DQoJYzItMC44LDQuMy0wLjQsNS44LDEuMkMxMjEuOCwyMDcuNywxMjIuMiwyMTAsMTIxLjQsMjEyLjFMMTIxLjQsMjEyLjF6IE0xOTEuMyw3OC43Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJYzIuMSwwLDQuMi0wLjksNS43LTIuNHMyLjMtMy42LDIuMy01LjdDMTk5LjMsODIuNCwxOTUuNyw3OC43LDE5MS4zLDc4Ljd6IE0xOTYuMyw4OC45Yy0wLjgsMi0yLjgsMy4zLTQuOSwzLjMNCgljLTMsMC01LjMtMi40LTUuMy01LjRjMC0yLjIsMS4zLTQuMiwzLjMtNXM0LjMtMC40LDUuOCwxLjJDMTk2LjYsODQuNiwxOTcuMSw4Ni45LDE5Ni4zLDg4LjlMMTk2LjMsODguOXogTTI3MC4yLDE2Mi42DQoJYy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xczgtMy42LDgtOC4xQzI3OC4yLDE2Ni4zLDI3NC42LDE2Mi42LDI3MC4yLDE2Mi42eiBNMjc1LjEsMTcyLjhjLTAuOCwyLTIuOCwzLjMtNC45LDMuMw0KCWMtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4yLDMuMy01czQuMy0wLjQsNS44LDEuMlMyNzUuOSwxNzAuOCwyNzUuMSwxNzIuOHogTTIzMC4xLDMxLjRjLTQuNCwwLTgsMy42LTgsOC4xczMuNiw4LjEsOCw4LjENCgljMi4xLDAsNC4yLTAuOSw1LjctMi40czIuMy0zLjYsMi4zLTUuN0MyMzguMSwzNSwyMzQuNSwzMS40LDIzMC4xLDMxLjR6IE0yMzUsNDEuNmMtMC44LDItMi44LDMuMy00LjksMy4zYy0zLDAtNS4zLTIuNC01LjMtNS40DQoJYzAtMi4yLDEuMy00LjIsMy4zLTVzNC4zLTAuNCw1LjgsMS4yQzIzNS40LDM3LjIsMjM1LjgsMzkuNSwyMzUsNDEuNnoiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0xNjMuMiw0NS45aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuNSwwLjUsMC41LDEuMywwLDEuOWwwLDBjLTAuMywwLjMtMC42LDAuNC0xLDAuNGgtOC4yDQoJYy0wLjQsMC0wLjctMC4xLTEtMC40Yy0wLjUtMC41LTAuNS0xLjMsMC0xLjlsMCwwQzE2Mi40LDQ2LjEsMTYyLjgsNDUuOSwxNjMuMiw0NS45IE0yNzEuNyw2My41djhjMCwwLjQtMC4xLDAuNy0wLjQsMC45DQoJYy0wLjMsMC4zLTAuNiwwLjQtMSwwLjRjLTAuNywwLTEuNC0wLjYtMS40LTEuM2wwLDB2LThjMC0wLjQsMC4xLTAuNywwLjQtMC45YzAuNS0wLjUsMS40LTAuNSwxLjksMA0KCUMyNzEuNiw2Mi44LDI3MS43LDYzLjIsMjcxLjcsNjMuNSIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTEwNy40LDE1NC44aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuMywwLjIsMC40LDAuNiwwLjQsMC45YzAsMC43LTAuNiwxLjMtMS40LDEuM2gtOC4yDQoJYy0wLjUsMC0wLjktMC4zLTEuMi0wLjdjLTAuMi0wLjQtMC4yLTAuOSwwLTEuM0MxMDYuNCwxNTUuMSwxMDYuOSwxNTQuOCwxMDcuNCwxNTQuOCBNMTY5LDQyLjd2OGMwLDAuNC0wLjEsMC43LTAuNCwwLjkNCgljLTAuNSwwLjUtMS40LDAuNS0yLDBjLTAuMi0wLjItMC40LTAuNi0wLjQtMC45di04YzAtMC40LDAuMS0wLjcsMC40LTAuOWMwLjUtMC41LDEuNC0wLjUsMS45LDBDMTY4LjgsNDIsMTY5LDQyLjMsMTY5LDQyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yMzAuOSwxMTAuM2g4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS40YzAsMC43LTAuNiwxLjMtMS4zLDEuNGgtOC4xYy0wLjgsMC0xLjQtMC42LTEuNC0xLjQNCgljMC0wLjQsMC4xLTAuNywwLjQtMUMyMzAuMiwxMTAuNCwyMzAuNiwxMTAuMywyMzAuOSwxMTAuMyIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTExNC42LDE2My44djguMmMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjUsMC41LTEuNCwwLjUtMS45LDBjLTAuMy0wLjMtMC40LTAuNi0wLjQtMXYtOC4yYzAtMC40LDAuMS0wLjcsMC40LTENCgljMC41LTAuNSwxLjQtMC41LDEuOSwwbDAsMEMxMTQuNCwxNjMuMSwxMTQuNiwxNjMuNCwxMTQuNiwxNjMuOCIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTEyNiwyNzIuN2g2MC40YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40SDEyNmMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzEyNC43LDI3My4zLDEyNS4zLDI3Mi43LDEyNiwyNzIuNyIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTIxOC42LDI3Mi43aDM0LjljMC43LDAsMS4zLDAuNiwxLjMsMS4zYzAsMC43LTAuNiwxLjMtMS4zLDEuM2gtMzQuOWMtMC43LDAtMS4zLTAuNi0xLjQtMS4zDQoJYzAtMC40LDAuMS0wLjcsMC40LTFDMjE3LjksMjcyLjksMjE4LjIsMjcyLjcsMjE4LjYsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xNTguMiwyODIuMmgxMzEuNWMwLjcsMCwxLjMsMC42LDEuNCwxLjNjMCwwLjQtMC4xLDAuNy0wLjQsMWMtMC4zLDAuMy0wLjYsMC40LTEsMC40SDE1OC4yDQoJYy0wLjcsMC0xLjMtMC42LTEuMy0xLjNsMCwwQzE1Ni45LDI4Mi44LDE1Ny41LDI4Mi4yLDE1OC4yLDI4Mi4yIi8+DQo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOTMuOCwyODIuMmgzNC45YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40bDAsMEg5My44Yy0wLjcsMC0xLjMtMC42LTEuNC0xLjMNCgljMC0wLjQsMC4xLTAuNywwLjQtMUM5My4xLDI4Mi4zLDkzLjUsMjgyLjIsOTMuOCwyODIuMiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTE5Ny4xLDI3Mi43aDguMWMwLjcsMCwxLjMsMC42LDEuMywxLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},EE2z:function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var N=j("CkW6"),u=j.n(N),w=j("Minx"),D=j.n(w),C=j("2X9c"),s=j.n(C),y={name:"errpage",data:function(){return{imgSrc:"",message:"",srcList:{403:u.a,404:D.a,500:s.a},msgList:{403:"抱歉,你无权访问该页面",404:"抱歉,你访问的页面不存在",500:"抱歉,服务器出错了"}}},mounted:function(){var M=this.$route.path.split("/")[1];this.imgSrc=this.srcList[M],this.message=this.msgList[M]}},t={render:function(){var M=this.$createElement,L=this._self._c||M;return L("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[L("div",{staticClass:"wscn-http404"},[L("div",{staticClass:"pic-404"},[L("img",{staticClass:"pic-404__parent",attrs:{src:this.imgSrc,alt:"404"}})]),this._v(" "),L("div",{staticClass:"bullshit"},[L("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),L("a",{staticClass:"bullshit__return-home",attrs:{href:"#/myTagLib"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var i=j("VU/8")(y,t,!1,function(M){j("QlLY")},"data-v-2fe50276",null);L.default=i.exports},Minx:function(M,L,j){M.exports=j.p+"static/img/error_404.bf58747.svg"},QlLY:function(M,L){}}); webpackJsonp([1],{"2X9c":function(M,L,j){M.exports=j.p+"static/img/error_500.ed0cba4.svg"},CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDAwIDMzNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZBRkNGRjt9DQoJLnN0MXtmaWxsOiNEQkU1RjE7fQ0KCS5zdDJ7ZmlsbDojREVFN0Y0O30NCgkuc3Qze2ZpbGw6I0I5QzdEQjt9DQoJLnN0NHtmaWxsOiNGRkZGRkY7fQ0KCS5zdDV7ZmlsbDpub25lO3N0cm9rZTojQjlDN0RCO3N0cm9rZS13aWR0aDo0O3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Q2e2ZpbGw6bm9uZTtzdHJva2U6I0I2QzdEODtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0NSIgZD0iTTI3NC41LDI0MS4zYy01LjMtNS4zLTQuNCw0LjQtNi43LDYuN2MtMy4xLDMuMS02LjMsNi05LjcsOC42SDEyNS4yYy0zLjQtMi43LTYuNi01LjYtOS43LTguNw0KCWMtMjguNC0yOC41LTM4LjYtNzAuNS0yNi42LTEwOWwtMTAuNS0xMC42Yy01LjMtNS4zLTUuMy0xMy44LDAtMTkuMmM1LjItNS4zLDEzLjctNS4zLDE5LTAuMWMwLDAsMCwwLDAuMSwwLjFsNi42LDYuOA0KCWMzLjEsMy4yLDguMiwzLjIsMTEuNCwwbDAsMGMzLjItMy4yLDMuMi04LjMsMC0xMS41TDEwMy4xLDkyYy0zLjItMy4yLTMuMi04LjMsMC0xMS41YzMuMS0zLjIsOC4yLTMuMiwxMS40LDBsMCwwbDE3LjIsMTcuMg0KCWMtMC45LDMuNywwLjksNy42LDQuNCw5LjNjMy41LDEuNyw3LjcsMC42LDkuOS0yLjVjMi4zLTMuMSwyLjEtNy40LTAuNS0xMC4zYy0zLjMtMy44LTYuNS03LjItNi41LTcuMmwtNy4zLTcuNA0KCWMzNC44LTIxLjMsODIuNi0yMS43LDExNy4yLDBjMzQuNSwyMS43LDUzLjksNjEuMiw1MCwxMDEuOWwxNS40LDE1LjZjMy4yLDMuMiwzLjIsOC4zLDAsMTEuNWMtMy4xLDMuMi04LjIsMy4yLTExLjQsMGwwLDANCglsLTE1LjEtMTUuM2MtMy4xLTMuMi04LjItMy4yLTExLjQsMGwwLDBjLTMuMiwzLjItMy4yLDguMywwLDExLjVsMTcuMSwxNy4yYzUuMiw1LjMsNS4yLDEzLjgsMCwxOS4xDQoJQzI4OC40LDI0Ni42LDI3OS45LDI0Ni42LDI3NC41LDI0MS4zQzI3NC42LDI0MS4zLDI3NC42LDI0MS4zLDI3NC41LDI0MS4zTDI3NC41LDI0MS4zeiIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTg2LjYsNzEuNGMwLDQuNywzLjgsOC41LDguNSw4LjVjMS41LDAsMy0wLjQsNC4zLTEuMWM0LjEtMi4zLDUuNS03LjUsMy4xLTExLjZjLTEuNS0yLjYtNC4zLTQuMy03LjQtNC4zDQoJQzkwLjQsNjIuOSw4Ni42LDY2LjcsODYuNiw3MS40Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjE2LjQsMTQ1LjRoMjQuM2wtNy40LDE3LjljMi42LDEuOCw0LjUsMy44LDUuOCw2YzEuMiwyLjIsMS45LDQuOCwxLjksNy44YzAsNC42LTEuNiw4LjQtNC44LDExLjINCgljLTMuMiwyLjktNy4zLDQuMy0xMi4zLDQuM2MtMi41LDAtNS4xLTAuNC03LjUtMS4xdi0xMy4xYzIsMC45LDMuOSwxLjQsNS41LDEuNHMyLjktMC41LDMuNy0xLjRjMC45LTEsMS4zLTIuMywxLjMtNC4xDQoJYzAtMS45LTAuOC0zLjQtMi40LTQuNmMtMS42LTEuMi0zLjctMS43LTYuNC0xLjdsMy40LTkuMWgtNS4xVjE0NS40TDIxNi40LDE0NS40eiBNMjA3LjUsMTgxLjZjMCwxLjUtMC4zLDMtMC44LDQuMw0KCXMtMS4zLDIuNS0yLjMsMy41cy0yLjIsMS44LTMuNCwyLjNjLTEuMywwLjYtMi44LDAuOS00LjMsMC45aC05LjZjLTEuNSwwLTIuOS0wLjMtNC4zLTAuOWMtMS4zLTAuNi0yLjUtMS4zLTMuNC0yLjMNCgljLTAuNC0wLjQtMC44LTAuOS0xLjItMS40bDExLjctMTcuM3Y2YzAsMC42LDAuMiwxLjEsMC42LDEuNGMwLjQsMC40LDAuOCwwLjYsMS40LDAuNmMxLjEsMCwyLTAuOCwyLTEuOXYtMC4xdi0xMS45bDEwLjktMTYuMQ0KCWMxLjgsMiwyLjgsNC42LDIuNyw3LjNMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZ6IE0xNzcuMSwxODUuOWMtMC42LTEuNC0wLjktMi44LTAuOC00LjNWMTU2YzAtMS41LDAuMy0zLDAuOC00LjMNCglzMS4zLTIuNSwyLjMtMy41czIuMi0xLjgsMy40LTIuM2MxLjMtMC42LDIuOC0wLjksNC4zLTAuOWg5LjZjMS41LDAsMi45LDAuMyw0LjMsMC45YzEuMywwLjUsMi40LDEuMywzLjQsMi4zbC0xMC41LDE1LjR2LTIuNw0KCWMwLTAuNS0wLjItMS4xLTAuNi0xLjRjLTAuNC0wLjQtMC45LTAuNi0xLjQtMC42Yy0xLjEsMC0yLDAuOC0yLDEuOXYwLjF2OC42bC0xMi4xLDE3LjlDMTc3LjUsMTg2LjksMTc3LjMsMTg2LjQsMTc3LjEsMTg1LjkNCglMMTc3LjEsMTg1Ljl6IE0yNDMuOCwxOTIuN2MzLjUtNy40LDUuMy0xNS41LDUuMy0yMy43YzAtMzAuNS0yNC40LTU1LjItNTQuNi01NS4ycy01NC42LDI0LjctNTQuNiw1NS4yYzAsMC40LDAsMC44LDAsMS4xDQoJbDE5LjYtMjQuNmgxMS40TDE1NCwxNzEuM2g1LjV2LTYuNWwxMS43LTE4LjV2NDYuOGgtMTEuN3YtOS44aC0xNy44YzUuMSwxOS4yLDIwLjEsMzQuMywzOS4yLDM5LjJjLTEuMiwzLjEtNC44LDEwLjctMTAuNywxMg0KCWMtNy4zLDEuNywxOS45LDAuNCwzOS40LTEyLjVjMTQuOS00LjQsMjcuMi0xNSwzMy45LTI4LjlMMjQzLjgsMTkyLjdMMjQzLjgsMTkyLjd6Ii8+DQo8cGF0aCBjbGFzcz0ic3Q0IiBkPSJNMjM4LjksMTU0LjNsLTI0LjQsMzUuNGwwLjUsMC4zbDI0LjQtMzUuNEwyMzguOSwxNTQuM3oiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yNjYuMiw2Ni42aDhjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjIsMC4zLTAuNiwwLjQtMC45LDAuNGgtOA0KCWMtMC40LDAtMC43LTAuMS0wLjktMC40Yy0wLjUtMC41LTAuNS0xLjQsMC0xLjlDMjY1LjUsNjYuNywyNjUuOCw2Ni42LDI2Ni4yLDY2LjYgTTExNi41LDIwMS45Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJczgtMy42LDgtOC4xUzEyMC45LDIwMS45LDExNi41LDIwMS45TDExNi41LDIwMS45eiBNMTIxLjQsMjEyLjFjLTAuOCwyLTIuOCwzLjMtNC45LDMuM2MtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4xLDMuMy01DQoJYzItMC44LDQuMy0wLjQsNS44LDEuMkMxMjEuOCwyMDcuNywxMjIuMiwyMTAsMTIxLjQsMjEyLjFMMTIxLjQsMjEyLjF6IE0xOTEuMyw3OC43Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJYzIuMSwwLDQuMi0wLjksNS43LTIuNHMyLjMtMy42LDIuMy01LjdDMTk5LjMsODIuNCwxOTUuNyw3OC43LDE5MS4zLDc4Ljd6IE0xOTYuMyw4OC45Yy0wLjgsMi0yLjgsMy4zLTQuOSwzLjMNCgljLTMsMC01LjMtMi40LTUuMy01LjRjMC0yLjIsMS4zLTQuMiwzLjMtNXM0LjMtMC40LDUuOCwxLjJDMTk2LjYsODQuNiwxOTcuMSw4Ni45LDE5Ni4zLDg4LjlMMTk2LjMsODguOXogTTI3MC4yLDE2Mi42DQoJYy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xczgtMy42LDgtOC4xQzI3OC4yLDE2Ni4zLDI3NC42LDE2Mi42LDI3MC4yLDE2Mi42eiBNMjc1LjEsMTcyLjhjLTAuOCwyLTIuOCwzLjMtNC45LDMuMw0KCWMtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4yLDMuMy01czQuMy0wLjQsNS44LDEuMlMyNzUuOSwxNzAuOCwyNzUuMSwxNzIuOHogTTIzMC4xLDMxLjRjLTQuNCwwLTgsMy42LTgsOC4xczMuNiw4LjEsOCw4LjENCgljMi4xLDAsNC4yLTAuOSw1LjctMi40czIuMy0zLjYsMi4zLTUuN0MyMzguMSwzNSwyMzQuNSwzMS40LDIzMC4xLDMxLjR6IE0yMzUsNDEuNmMtMC44LDItMi44LDMuMy00LjksMy4zYy0zLDAtNS4zLTIuNC01LjMtNS40DQoJYzAtMi4yLDEuMy00LjIsMy4zLTVzNC4zLTAuNCw1LjgsMS4yQzIzNS40LDM3LjIsMjM1LjgsMzkuNSwyMzUsNDEuNnoiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0xNjMuMiw0NS45aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuNSwwLjUsMC41LDEuMywwLDEuOWwwLDBjLTAuMywwLjMtMC42LDAuNC0xLDAuNGgtOC4yDQoJYy0wLjQsMC0wLjctMC4xLTEtMC40Yy0wLjUtMC41LTAuNS0xLjMsMC0xLjlsMCwwQzE2Mi40LDQ2LjEsMTYyLjgsNDUuOSwxNjMuMiw0NS45IE0yNzEuNyw2My41djhjMCwwLjQtMC4xLDAuNy0wLjQsMC45DQoJYy0wLjMsMC4zLTAuNiwwLjQtMSwwLjRjLTAuNywwLTEuNC0wLjYtMS40LTEuM2wwLDB2LThjMC0wLjQsMC4xLTAuNywwLjQtMC45YzAuNS0wLjUsMS40LTAuNSwxLjksMA0KCUMyNzEuNiw2Mi44LDI3MS43LDYzLjIsMjcxLjcsNjMuNSIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTEwNy40LDE1NC44aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuMywwLjIsMC40LDAuNiwwLjQsMC45YzAsMC43LTAuNiwxLjMtMS40LDEuM2gtOC4yDQoJYy0wLjUsMC0wLjktMC4zLTEuMi0wLjdjLTAuMi0wLjQtMC4yLTAuOSwwLTEuM0MxMDYuNCwxNTUuMSwxMDYuOSwxNTQuOCwxMDcuNCwxNTQuOCBNMTY5LDQyLjd2OGMwLDAuNC0wLjEsMC43LTAuNCwwLjkNCgljLTAuNSwwLjUtMS40LDAuNS0yLDBjLTAuMi0wLjItMC40LTAuNi0wLjQtMC45di04YzAtMC40LDAuMS0wLjcsMC40LTAuOWMwLjUtMC41LDEuNC0wLjUsMS45LDBDMTY4LjgsNDIsMTY5LDQyLjMsMTY5LDQyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yMzAuOSwxMTAuM2g4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS40YzAsMC43LTAuNiwxLjMtMS4zLDEuNGgtOC4xYy0wLjgsMC0xLjQtMC42LTEuNC0xLjQNCgljMC0wLjQsMC4xLTAuNywwLjQtMUMyMzAuMiwxMTAuNCwyMzAuNiwxMTAuMywyMzAuOSwxMTAuMyIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTExNC42LDE2My44djguMmMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjUsMC41LTEuNCwwLjUtMS45LDBjLTAuMy0wLjMtMC40LTAuNi0wLjQtMXYtOC4yYzAtMC40LDAuMS0wLjcsMC40LTENCgljMC41LTAuNSwxLjQtMC41LDEuOSwwbDAsMEMxMTQuNCwxNjMuMSwxMTQuNiwxNjMuNCwxMTQuNiwxNjMuOCIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTEyNiwyNzIuN2g2MC40YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40SDEyNmMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzEyNC43LDI3My4zLDEyNS4zLDI3Mi43LDEyNiwyNzIuNyIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTIxOC42LDI3Mi43aDM0LjljMC43LDAsMS4zLDAuNiwxLjMsMS4zYzAsMC43LTAuNiwxLjMtMS4zLDEuM2gtMzQuOWMtMC43LDAtMS4zLTAuNi0xLjQtMS4zDQoJYzAtMC40LDAuMS0wLjcsMC40LTFDMjE3LjksMjcyLjksMjE4LjIsMjcyLjcsMjE4LjYsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xNTguMiwyODIuMmgxMzEuNWMwLjcsMCwxLjMsMC42LDEuNCwxLjNjMCwwLjQtMC4xLDAuNy0wLjQsMWMtMC4zLDAuMy0wLjYsMC40LTEsMC40SDE1OC4yDQoJYy0wLjcsMC0xLjMtMC42LTEuMy0xLjNsMCwwQzE1Ni45LDI4Mi44LDE1Ny41LDI4Mi4yLDE1OC4yLDI4Mi4yIi8+DQo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOTMuOCwyODIuMmgzNC45YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40bDAsMEg5My44Yy0wLjcsMC0xLjMtMC42LTEuNC0xLjMNCgljMC0wLjQsMC4xLTAuNywwLjQtMUM5My4xLDI4Mi4zLDkzLjUsMjgyLjIsOTMuOCwyODIuMiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTE5Ny4xLDI3Mi43aDguMWMwLjcsMCwxLjMsMC42LDEuMywxLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},EE2z:function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var u=j("CkW6"),N=j.n(u),w=j("Minx"),D=j.n(w),C=j("2X9c"),s=j.n(C),y={name:"errpage",data:function(){return{imgSrc:"",message:"",srcList:{403:N.a,404:D.a,500:s.a},msgList:{403:"抱歉,你无权访问该页面",404:"抱歉,你访问的页面不存在",500:"抱歉,服务器出错了"}}},methods:{changeRoute:function(M){this.$router.push(M)}},mounted:function(){var M=this.$route.path.split("/")[1];this.imgSrc=this.srcList[M],this.message=this.msgList[M]}},t={render:function(){var M=this,L=M.$createElement,j=M._self._c||L;return j("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[j("div",{staticClass:"wscn-http404"},[j("div",{staticClass:"pic-404"},[j("img",{staticClass:"pic-404__parent",attrs:{src:M.imgSrc,alt:"404"}})]),M._v(" "),j("div",{staticClass:"bullshit"},[j("div",{staticClass:"bullshit__headline"},[M._v(M._s(M.message))]),M._v(" "),j("a",{staticClass:"bullshit__return-home",on:{click:function(L){M.changeRoute("/myTagLib")}}},[M._v("返回首页")])])])])},staticRenderFns:[]};var i=j("VU/8")(y,t,!1,function(M){j("ST04")},"data-v-1879ebda",null);L.default=i.exports},Minx:function(M,L,j){M.exports=j.p+"static/img/error_404.bf58747.svg"},ST04:function(M,L){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([10],{"G/on":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3Xzz"),n=a("5QTb"),s=(a("Mk6G"),a("3E4D")),o=a("Ch4/"),i=(a("PI0u"),a("P9l9")),l={name:"platformTagList",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:"/platformTagLib"},{name:"平台标签列表",path:""}],tagLibName:"platformTag",tagSearch:"",tagTableData:[],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{toAddMyTagLib:function(t,e){var a={};if("mult"===t){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;a.tagIds=[],this.selTagTableData.forEach(function(t,e){a.tagIds.push(t.tagId)}),a.tagIds=a.tagIds.join(","),this.addByTagId("addByTagIds",a)}else a.tagId=e,this.addByTagId("addByTagId",a)},addByTagId:function(t,e){var a=this;Object(i.a)("/enterpriseMemberTag/"+t,e).then(function(t){var e=t.data;if(1==e.errorCode)return s.a.showmsg("添加成功","success"),void a.getTagList();o.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},searchEnterFun:function(t){this.currentPage=1,this.getTagList()},clearSearch:function(){this.currentPage=1,this.getTagList()},handleSelectChange:function(t){this.selTagTableData=t},handleSizeChange:function(t){this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){this.currentPage=t,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+t),this.getTagList()},getTagList:function(t){var e=this,a={tagName:e.tagSearch,tagLevelGroupId:e.currentGroupId,pageNum:e.currentPage,pageSize:e.pageSize};Object(i.a)("/memberTag/platformTagPageList",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tagTableData=a.result.result,void(e.total=a.result.totalCount);o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,this.getTagList()}},watch:{$route:{handler:function(t,e){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{navCrumb:r.a,tagCategory:n.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"platformTagList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{attrs:{tagLibName:t.tagLibName}})],1),t._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"搜索标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.tagSearch,callback:function(e){t.tagSearch=e},expression:"tagSearch"}}),t._v(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(e){t.toAddMyTagLib("mult")}}},[t._v("添加至我的标签库")])],1),t._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagName",label:"标签名称","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/platformTagDetail",query:{tagId:e.row.tagId,addFlag:e.row.isAdd,form:"notMyTag",navSign:"platformTag"}}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"p-l-10",attrs:{type:"text",size:"small",disabled:1==e.row.isAdd},on:{click:function(a){t.toAddMyTagLib("single",e.row.tagId)}}},[t._v("\n "+t._s(1==e.row.isAdd?"已":"")+"添加至我的标签库\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var g=a("VU/8")(l,c,!1,function(t){a("dJxx")},"data-v-db82d4a2",null);e.default=g.exports},dJxx:function(t,e){}});
\ No newline at end of file
webpackJsonp([10],{"0a9I":function(e,t){},"Tl/4":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("mvHQ"),i=a.n(l),n=a("BO1k"),c=a.n(n),s=a("Xxa5"),o=a.n(s),r=a("exGp"),d=a.n(r),p=a("mw3O"),m=a.n(p),u=a("3Xzz"),v=a("Tja3"),g=a("M2/U"),h=a("3fED"),f=(a("Mk6G"),a("3E4D")),b=a("Ch4/"),C=a("PI0u"),k=a("P9l9"),_={name:"myTagDetail",data:function(){return{showTagDetail:!1,tagShortDetailId:"",fromFlag:"myTag",tagId:"",tagFlag:!1,addFlag:!1,templateCode:"",addTempFlag:!1,searchFlag:!1,postCompute:"",currentKey:null,currentComputeType:"",postTemplateData:{selectedVal:[],template:[]},templateData:[],tag001:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[],compute:"in"},tag002:{computeRadio:"in"},tag003:{numRange:["",""]},tag004:{fixedRecentRadio:"1",fixedRecentRangeValue:[],fixedRecentTimeRecent:""},tag005:{timeRecent:"",timeType:"lastday"},tag006:{timeAfter:"",timeType:"afterday"},tag007:{addInputValue:"",addTags:[]},tag008:{searchModel:[],searchOptions:[],addSelectTags:[]},tag009:{allSelectActive:"first",inputSearch:"",allSelectOptions:[],selectedOptions:[]},tag010:{citySelectActive:"first",isIndeterminateCity:!1,checkAllCity:!1,citySelectOptions:[{provinceId:1,check:!1,provinceName:"北京",showCity:!1,children:[{cityId:11,cityName:"北京",check:!1}]},{provinceId:2,check:!1,provinceName:"浙江",showCity:!1,children:[{cityId:21,cityName:"杭州",check:!1},{cityId:22,cityName:"温州",check:!1}]}],checkeditemsCity:[],citySelectedOptions:[]},tag011:{uuid:"",uuidOptions:[0,1,2,3,4,5],isAdd:!0},tag012:{selectOne:"all",selectTwo:"in",selectLabel:"曾经消费门店",selectLabelTip:"注:存在其一即会员至少有一个字段值满足所选条件;所有即会员的所有字段值满足所选条件"},tag013:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[]},tag014:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag015:{radio:"1",monthDayRange:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag016:{dateRangeValue:[]},tag017:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag019:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tagData:{tagId:"",tagName:"",tagDescribe:"",isActive:0,inputSearch:""},baseUrl:""}},computed:{navpath:function(){var e=this.$route.query.navSign,t="platformTag"==e?{name:"平台标签列表",path:"/platformTagList"}:"manualTag"==e?{name:"手工标签列表",path:"/manualTagList"}:{name:"我的标签列表",path:"/myTagList"};return[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},t,{name:"标签详情",path:""}]}},beforeMount:function(){var e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{resetData:function(){this.templateData.forEach(function(e,t){e.checkeditems&&(e.checkeditems=[]),e.isIndeterminate&&(e.isIndeterminate=!1),e.checkAll&&(e.checkAll=!1),e.numRange&&(e.numRange=["",""]),e.fixedRecentRadio&&(e.fixedRecentRadio="1"),e.fixedRecentRangeValue&&(e.fixedRecentRangeValue=[]),e.fixedRecentRangeValue&&(e.fixedRecentTimeRecent=""),"tag007"==e.templateCode&&(e.addTags=[]),"tag008"==e.templateCode&&(e.addSelectTags=[]),"tag010"==e.templateCode&&(e.citySelectActive="first",e.isIndeterminateCity=!1,e.checkAllCity=!1,e.citySelectOptions=[],e.citySelectedOptions=[]),"tag019"==e.templateCode&&(e.dateRangeValue=[])})},changeRoute:function(e){this.$router.push(e)},addMytag:function(){var e=this,t={tagId:e.tagId};Object(k.a)("/enterpriseMemberTag/addByTagId",t).then(function(t){var a=t.data;if(1==a.errorCode)return f.a.showmsg("添加成功","success"),void(e.addFlag=!0);b.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},addTemporary:Object(C.a)(function(){this.addTemporaryPost()},500),addTemporaryPost:function(){var e=this;return d()(o.a.mark(function t(){var a,l,i,n,s,r,d,p,m,u,v,g,h;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((a=e).postTemplateData.selectedVal=[],l=!0,i=[],n={val:[{type:"data",data:{key:a.currentKey,compute:"",value:"",dealKey:""}}],time:[{type:"",value:""}]},"tag001"!==(s=a.templateData[0].templateCode)||a.templateData[0].checkeditems.length){t.next=9;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 9:if("tag001"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].checkeditems.join(" "),a.templateData[0].options.forEach(function(e,t){-1!=a.templateData[0].checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)})),"tag003"!==s||""!==a.templateData[0].numRange[0]&&""!==a.templateData[0].numRange[1]){t.next=13;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 13:if(!("tag003"===s&&a.templateData[0].numRange[0]>a.templateData[0].numRange[1])){t.next=16;break}return a.$message.error({message:"起始值必须小于等于最大值"}),t.abrupt("return",!1);case 16:if("tag003"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].numRange.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].numRange[0]+" <= "+a.tagData.tagName+" <= "+a.templateData[0].numRange[1])),"tag007"!==s||a.templateData[0].addTags.length){t.next=20;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 20:if("tag007"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].addTags.map(function(e){return e.value}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].addTags.map(function(e){return e.value}).join(","))),"tag009"!==s||a.templateData[0].selectedOptions.length){t.next=24;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 24:if("tag009"===s&&1===a.templateData.length&&(n.val[0].data.value=a.templateData[0].selectedOptions.map(function(e){return e.key}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].selectedOptions.map(function(e){return e.value}).join(","))),"tag010"!==s||a.templateData[0].citySelectedOptions.length){t.next=28;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 28:if("tag010"===s&&1===a.templateData.length&&(n.val[0].data.value=a.templateData[0].citySelectedOptions.map(function(e){return e.cityId}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].citySelectedOptions.map(function(e){return e.selected}).join(","))),"tag013"!==s||a.templateData[0].checkeditems.length){t.next=32;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 32:if(r=[],"tag013"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,a.templateData[0].options.forEach(function(e,t){-1!=a.templateData[0].checkeditems.indexOf(e.key)&&(a.postTemplateData.selectedVal.push(e.value),r.push(e.key))}),a.templateData[0].checkeditems=r,n.val[0].data.value=r.join(" "),r.length||(l=!1)),"tag016"!==s||a.templateData[0].dateRangeValue.length){t.next=37;break}return a.$message.error({message:"请选择时间"}),t.abrupt("return",!1);case 37:if("tag016"===s&&1===a.templateData.length&&(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].dateRangeValue.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].dateRangeValue[0]+" 至 "+a.templateData[0].dateRangeValue[1])),"tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!=a.templateData[0].radio||a.templateData[0].dateRangeValue.length){t.next=41;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 41:if("tag014"!==s&&"tag017"!==s&&"tag019"!==s||2!=a.templateData[0].radio||2!=a.templateData[0].timeChecked||a.templateData[0].timeInput){t.next=44;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 44:if("tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!==a.templateData.length||1!=a.templateData[0].radio||(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].dateRangeValue.join(","),a.templateData[0].timeInput="","tag019"===s&&(n.val[0].data.value=a.templateData[0].dateRangeValue.join(",").replace(/-/g,"").replace(/:/g,"").replace(/\s+/g,"")),a.postTemplateData.selectedVal.push(a.templateData[0].dateRangeValue[0].split(" ")[0]+"至"+a.templateData[0].dateRangeValue[1].split(" ")[0])),"tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!==a.templateData.length||2!=a.templateData[0].radio||(1==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="today":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当天"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 天")):(2==a.currentComputeType?n.val[0].data.compute="afterday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 天")))),2==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentMonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当月"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastmonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 月")):(2==a.currentComputeType?n.val[0].data.compute="aftermonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 月")))),3==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentYear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当年"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastyear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 年")):(2==a.currentComputeType?n.val[0].data.compute="afteryear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 年"))))),"tag015"!==s||1!=a.templateData[0].radio||a.templateData[0].monthDayRange.length){t.next=49;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 49:if("tag015"!==s||2!=a.templateData[0].radio||2!=a.templateData[0].timeChecked||a.templateData[0].timeInput){t.next=52;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 52:if("tag015"===s&&1===a.templateData.length&&1==a.templateData[0].radio&&(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].monthDayRange.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].monthDayRange[0]+" 至 "+a.templateData[0].monthDayRange[1])),"tag015"===s&&1===a.templateData.length&&2==a.templateData[0].radio&&(1==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="today":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当天"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 天")):(2==a.currentComputeType?n.val[0].data.compute="afterday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 天")))),2==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentMonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当月"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastmonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 月")):(2==a.currentComputeType?n.val[0].data.compute="aftermonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 月"))))),2!=a.templateData.length){t.next=81;break}d=o.a.mark(function t(i){var c;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("tag001"===i.templateCode&&(i.checkeditems.length||(l=!1),n.val[0].data.value=i.checkeditems.join(" "),i.options.forEach(function(e,t){-1!=i.checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)})),"tag002"===i.templateCode&&(n.val[0].data.compute=i.computeRadio,"in"==i.computeRadio?a.postTemplateData.selectedVal.unshift("属于"):a.postTemplateData.selectedVal.unshift("不属于")),"tag003"===i.templateCode&&(""!==i.numRange[0]&&""!==i.numRange[1]||(l=!1),i.numRange[0]>i.numRange[1]&&(l=!1),n.val[0].data.compute=i.postCompute,n.val[0].data.value=i.numRange.join(","),a.postTemplateData.selectedVal.push(i.numRange[0]+" <= "+a.tagData.tagName+" <= "+i.numRange[1])),"tag004"===i.templateCode&&(1!=i.fixedRecentRadio||i.fixedRecentRangeValue.length||(l=!1),2!=i.fixedRecentRadio||i.fixedRecentTimeRecent||(l=!1),1==i.fixedRecentRadio&&(n.time[0].type="between",n.time[0].value=i.fixedRecentRangeValue.join(","),a.postTemplateData.selectedVal.push("时间范围为"+i.fixedRecentRangeValue[0]+" 至 "+i.fixedRecentRangeValue[1])),2==i.fixedRecentRadio&&(n.time[0].type="lastday",n.time[0].value=String(i.fixedRecentTimeRecent),a.postTemplateData.selectedVal.push("时间范围为最近 "+i.fixedRecentTimeRecent+" 天"))),"tag005"===i.templateCode&&(""===i.timeRecent&&(l=!1),n.time[0].type=i.timeType,n.time[0].value=String(i.timeRecent),a.postTemplateData.selectedVal.push("时间范围为最近 "+i.timeRecent+" 天")),"tag006"===i.templateCode&&(""===i.timeAfter&&(l=!1),n.time[0].type=i.timeType,n.time[0].value=String(i.timeAfter),a.postTemplateData.selectedVal.push("时间范围为之后 "+i.timeAfter+" 天")),"tag008"===i.templateCode&&(i.addSelectTags.length||(l=!1),n.val[0].data.value=i.addSelectTags.map(function(e){return e.key}).join(" "),a.postTemplateData.selectedVal.push(i.addSelectTags.map(function(e){return e.value}).join(","))),"tag010"===i.templateCode&&(console.log(i.citySelectedOptions),i.citySelectedOptions.length||(l=!1),n.val[0].data.value=i.citySelectedOptions.map(function(e){return e.cityId}).join(" "),a.postTemplateData.selectedVal.push(i.citySelectedOptions.map(function(e){return e.selected}).join(","))),"tag011"!==i.templateCode){e.next=18;break}return e.next=11,a.$refs.storeNew[0].isStoreSave();case 11:return l=e.sent,e.next=14,a.$refs.storeNew[0].getStoreConfig();case 14:c=e.sent,a.postTemplateData.selectedVal.push(c.name+" "+c.list.map(function(e){return e.name}).join(",")),n.val[0].data.value=i.uuid,n.val[0].data.dealKey="storeWidget";case 18:"tag012"===i.templateCode&&("all"==i.selectOne&&"in"==i.selectTwo&&(n.val[0].data.compute="allIn",a.postTemplateData.selectedVal.unshift("所有属于")),"all"==i.selectOne&&"notin"==i.selectTwo&&(n.val[0].data.compute="notIn",a.postTemplateData.selectedVal.unshift("所有不属于")),"in"==i.selectOne&&"in"==i.selectTwo&&(n.val[0].data.compute="in",a.postTemplateData.selectedVal.unshift("存在其一属于")),"in"==i.selectOne&&"notin"==i.selectTwo&&(n.val[0].data.compute="notAllIn",a.postTemplateData.selectedVal.unshift("存在其一不属于"))),"tag013"===i.templateCode&&(i.checkeditems.length||(l=!1),n.val[0].data.value=i.checkeditems.join(" "),i.options.forEach(function(e,t){-1!=i.checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)}),a.postTemplateData.selectedVal.push(a.postTemplateData.selectedVal.join(",")));case 20:case"end":return e.stop()}},t,e)}),p=!0,m=!1,u=void 0,t.prev=59,v=c()(a.templateData);case 61:if(p=(g=v.next()).done){t.next=67;break}return h=g.value,t.delegateYield(d(h),"t0",64);case 64:p=!0,t.next=61;break;case 67:t.next=73;break;case 69:t.prev=69,t.t1=t.catch(59),m=!0,u=t.t1;case 73:t.prev=73,t.prev=74,!p&&v.return&&v.return();case 76:if(t.prev=76,!m){t.next=79;break}throw u;case 79:return t.finish(76);case 80:return t.finish(73);case 81:if(l){t.next=84;break}return a.$message.error({message:"请完善标签值"}),t.abrupt("return",!1);case 84:a.templateData.forEach(function(e,t){"tag011"==e.templateCode&&(e.isAdd=!1)}),a.postTemplateData.template=a.templateData,i=a.postTemplateData,a.addToTemp(n,i);case 88:case"end":return t.stop()}},t,e,[[59,69,73,81],[74,,76,80]])}))()},addToTemp:function(e,t){var a=this,l={tagId:a.tagShortId,tagValue:i()(e),tagParams:i()(t)};Object(k.b)("/member-tag-value/add.json",l).then(function(e){var t=e.data;if(1==t.errorCode)return f.a.showmsg("添加成功","success"),a.addTempFlag=!0,void a.updateTemp();b.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleCheckAllChange:function(e,t){e?(t.checkeditems=[],t.options.forEach(function(e,a){t.checkeditems.push(e.key)})):t.checkeditems=[],t.isIndeterminate=!1},handleCheckedChange:function(e,t){var a=e.length,l=JSON.parse(i()(e));a>=t.options.length&&(t.checkeditems=[],t.checkeditems=t.options.map(function(e){if(l.includes(e.key))return e.key}),a=t.checkeditems.length),t.checkAll=a===t.options.length,t.isIndeterminate=a>0&&a<t.options.length},blurFrom:function(e,t){var a=Number(e.target.value.replace(/[^.\d]/g,""))?Number(e.target.value.replace(/[^.\d]/g,"")):"";a&&!/^[0-9]+$/.test(a)&&(a=Number(a).toFixed(2)),t.numRange[0]=a,this.$forceUpdate()},blurTo:function(e,t){var a=Number(e.target.value.replace(/[^.\d]/g,""))?Number(e.target.value.replace(/[^.\d]/g,"")):"";a&&!/^[0-9]+$/.test(a)&&(a=Number(a).toFixed(2)),t.numRange[1]=a,this.$forceUpdate()},toEditInput:function(e,t,a){var l=void 0;(l=parseInt(String(e.target.value).replace(/[^\d]/g,""))?parseInt(String(e.target.value).replace(/[^\d]/g,"")):1)<=0&&(l=1),l>365&&(l=365),a[t]=l},timeRadioChange:function(e,t){t.timeInput=""},currentDayChange:function(e,t){e&&(t.timeInput="")},toEditDateInput:function(e,t,a){var l=void 0;(l=parseInt(String(e.target.value).replace(/[^\d]/g,""))?parseInt(String(e.target.value).replace(/[^\d]/g,"")):1)<=0&&(l=1),l>365&&1==t&&(l=365),l>12&&2==t&&(l=12),l>3&&3==t&&(l=2),a.timeInput=l},addInputVal:function(e){if(!e.addInputValue.trim())return this.$message.error({duration:1e3,message:"请输入值"}),!1;var t=null;if(e.addTags.length&&(t=e.addTags.map(function(e){return e.value})),t&&-1!==t.indexOf(e.addInputValue))return this.$message.error({duration:1e3,message:"输入值已存在"}),!1;e.addTags.push({value:e.addInputValue}),e.addInputValue=""},delInputVal:function(e,t){t.addTags.splice(e,1)},remoteMethod:Object(C.a)(function(e){this.getClerk(e)},500),remoteMethodFocus:function(e,t,a){this.remoteParent=t,this.pindex=a},changeRemoteMethod:function(e,t){},getClerk:function(e,t){var a=this,l={name:e,requestProject:"member-tag"};a.axios.post(a.baseUrl+"/api-plug/search-clerk",m.a.stringify(l)).then(function(e){var t=e.data;if(0==t.errorCode)return a.remoteParent.searchOptions=t.result,void a.$forceUpdate();b.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},addSearchSelectVal:function(e){if(!e.searchModel.length)return this.$message.error({duration:1e3,message:"请选择值"}),!1;var t=null;e.addSelectTags.length&&(t=e.addSelectTags.map(function(e){return e.value})),e.searchOptions.forEach(function(a,l){if(t&&-1!=t.indexOf(a.value))return!1;-1!=e.searchModel.indexOf(a.key)&&e.addSelectTags.push(a)}),e.searchModel=[],e.searchOptions=[]},delSearchSelectVal:function(e,t){t.addSelectTags.splice(e,1)},allSelectChange:function(e,t,a,l){e?l.selectedOptions.push(a):l.selectedOptions.length&&l.selectedOptions.forEach(function(e,t){e.id==a.id&&l.selectedOptions.splice(t,1)})},delallSelectVal:function(e,t,a){a.selectedOptions.splice(e,1),a.allSelectOptions.forEach(function(e,a){e.id==t.id&&(e.check=!1)})},toSearchInput:Object(C.a)(function(e,t){},500),getSearchSelectOptions:function(e){},cityCheckAllChange:function(e,t){e?(t.checkeditemsCity=[],t.citySelectedOptions=[],t.citySelectOptions.forEach(function(e,a){e.check=!0,t.checkeditemsCity.push(e.provinceId),e.children.forEach(function(a,l){a.check=!0,a.selected=a.cityName+"-"+e.provinceName,a.pId=e.provinceId,t.citySelectedOptions.push(a)})})):(t.checkeditemsCity=[],t.citySelectedOptions=[],t.citySelectOptions.forEach(function(e,t){e.check=!1,e.children.forEach(function(e,t){e.check=!1})})),t.isIndeterminateCity=!1},citySelectChange:function(e,t){var a=e.length;t.checkAllCity=a===t.citySelectOptions.length,t.isIndeterminateCity=a>0&&a<t.citySelectOptions.length,t.citySelectedOptions=[],t.citySelectOptions.forEach(function(a,l){-1!=e.indexOf(a.provinceId)?(a.check=!0,a.children.forEach(function(e,l){e.check=!0,e.selected=e.cityName+"-"+a.provinceName,e.pId=a.provinceId,t.citySelectedOptions.push(e)})):(a.check=!1,a.children.forEach(function(e,t){e.check=!1}))})},toggleCity:function(e,t,a){var l=this;t.showCity=!0!==t.showCity,a.citySelectOptions.forEach(function(t,a){t.provinceId!=e&&(t.showCity=!1)}),document.addEventListener("mousedown",function(e){l.hideCity(e,a)},!1)},toggleClickCity:function(e,t,a){e.check=!e.check,t.children.forEach(function(e,l){!e.check&&t.check&&(t.check=!1,a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.provinceId),1),a.checkAllCity=!1,a.isIndeterminateCity=!!a.checkeditemsCity.length)}),-1==t.children.map(function(e){return e.check}).indexOf(!1)?(t.check=!0,a.checkeditemsCity.push(t.provinceId)):-1!=a.checkeditemsCity.indexOf(t.provinceId)&&a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.provinceId),1);var l=a.checkeditemsCity.length;a.checkAllCity=l===a.citySelectOptions.length,a.isIndeterminateCity=l>0&&l<a.citySelectOptions.length,a.citySelectedOptions=[],a.citySelectOptions.forEach(function(e,t){e.children.forEach(function(t,l){t.check&&(t.selected=t.cityName+"-"+e.provinceName,t.pId=e.provinceId,a.citySelectedOptions.push(t))})}),this.$forceUpdate()},delcitySelectVal:function(e,t,a){a.citySelectedOptions.splice(e,1),a.citySelectOptions.forEach(function(e,a){t.pId==e.provinceId&&(e.check=!1),e.children.forEach(function(e,a){e.cityId==t.cityId&&(e.check=!1)})}),-1!=a.checkeditemsCity.indexOf(t.pId)&&a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.pId),1);var l=a.checkeditemsCity.length;a.checkAllCity=l===a.citySelectOptions.length,a.isIndeterminateCity=l>0&&l<a.citySelectOptions.length},getCityList:function(e,t){t.children=[];var a=!1;t.check&&(a=!0),t.children.push({id:11,name:"杭州",check:a}),this.$forceUpdate()},hideCity:function(e,t){-1==e.target.className.indexOf("city-name")&&t.citySelectOptions.forEach(function(e,t){e.showCity=!1})},getcityData:function(){var e=this;e.axios.post(e.baseUrl+"/api-plug/dict-district-tree",m.a.stringify({requestProject:"member-tag"})).then(function(t){var a=t.data;if(0==a.errorCode)return a.result.forEach(function(e,t){e.check=!1,e.showCity=!1,e.children.forEach(function(e,t){e.check=!1})}),void(e.tag010.citySelectOptions=a.result);b.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkTagTemplate:function(e){var t=this;t.templateData=[],t.postCompute=null;var a=JSON.parse(e);if(a){var l=a.val[0],i=a.time;if(t.currentComputeType=parseInt(l.compute.computeType),0===parseInt(l.compute.computeType)&&l.compute.computeWidgetId&&t.getTemplateCodeById(l.compute.computeWidgetId),1===parseInt(l.compute.computeType)&&(t.postCompute=l.compute.compute),l.valWidgetId&&setTimeout(function(){t.getTemplateCodeById(l.valWidgetId)},50),i.length){if(1===parseInt(l.compute.computeType))return void setTimeout(function(){i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})},60);i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})}}},getTemplateCodeById:function(e){var t=this,a={widgetId:e};Object(k.a)("/memberTag/findWidget",a).then(function(e){var a=e.data;if(1==a.errorCode){for(var l in a.result)t[a.result.templateCode][l]=a.result[l];return"tag010"===a.result.templateCode&&t.getcityData(),t.postCompute&&(t[a.result.templateCode].postCompute=t.postCompute),0===parseInt(a.result.sourceFlag)&&(a.result.widgetValues=JSON.parse(a.result.widgetValues),t[a.result.templateCode].options=a.result.widgetValues,console.log(t[a.result.templateCode].options)),1===parseInt(a.result.sourceFlag)?(a.result.widgetParam=JSON.parse(a.result.widgetParam),t.getAsyncList(a.result.widgetParam[0].value,t[a.result.templateCode]),"tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0),!1):(t.templateData.push(t[a.result.templateCode]),t.getExistData(t.tagData.tagId),void("tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0)))}b.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},isContained:function(e,t){if(!(e instanceof Array&&t instanceof Array))return!1;if(e.length<t.length)return!1;if(!t.length)return!1;for(var a=e.toString(),l=0,i=t.length;l<i;l++)if(-1==a.indexOf(t[l]))return!1;return!0},getAsyncList:function(e,t){var a=this,l={key:1==a.tagData.tagType?a.tagData.tagId:a.currentKey,requestProject:"member-tag"};a.axios.post(a.baseUrl+e,m.a.stringify(l)).then(function(e){var l=e.data;if(1!=a.tagData.tagType&&"tag"!=a.currentKey){if(0==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options)}else if(1==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options);a.$message.error({duration:1e3,message:l.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getExistData:function(e,t){var a=this,l={tagId:e};Object(k.a)("/member-tag-value/findOne.json",l).then(function(e){var l=e.data;if(1==l.errorCode){if(!l.result||"[]"==l.result.tagParams)return a.addTempFlag=!1,!1;a.addTempFlag=!0;var i=JSON.parse(l.result.tagParams).template;return t&&i.forEach(function(e,l){if("tag013"==e.templateCode){e.options=t;var i=t.map(function(e){return e.key}),n=!0;t.forEach(function(t,a){-1!=e.checkeditems.indexOf(t.key)&&(n=!1)});var c=e.checkeditems.length;if(a.isContained(e.checkeditems,i))return e.checkAll=!0,e.isIndeterminate=!1,!1;if(n&&t.length<c)return e.checkAll=!1,e.isIndeterminate=!1,!1;if(!n&&t.length>=c)return e.checkAll=!1,e.isIndeterminate=!0,!1;if(n&&t.length>=c)return e.checkAll=!1,e.isIndeterminate=!1,!1}}),void(a.templateData=i)}b.a.errorMsg(l)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getTagData:function(e){var t=this;t.searchFlag=!1;var a={tagId:e};Object(k.a)("/memberTag/getTagById",a).then(function(e){var a=e.data;if(1!=a.errorCode)b.a.errorMsg(a);else{t.tagData.tagId=a.result.tagId,t.tagData.tagName=a.result.tagName,t.tagData.tagDescribe=a.result.tagDescribe,t.tagData.isActive=a.result.isActive,t.tagData.tagType=a.result.tagType,t.currentKey=a.result.columnKey;var l=a.result.template;l&&t.checkTagTemplate(l.templateContent)}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleShowTag:function(){this.showTagDetail=!0},handleHideTag:function(e){this.showTagDetail=!1},showShortDetail:function(e){this.showTagDetail=!0,this.tagShortDetailId=e},updateTemp:function(){this.$refs.tagTemp.getTagList(),this.$refs.tagTemp.showTagList(),this.updataTagDetail()},updataTagDetail:function(){this.getTagData(this.tagId)}},watch:{$route:{handler:function(e,t){window.location.reload()},deep:!0}},updated:function(){},mounted:function(){this.tagFlag=-1==this.$route.fullPath.indexOf("notMyTag"),this.$route.query.tagId&&(this.tagId=this.$route.query.tagId,this.tagShortId=this.$route.query.tagId,this.getTagData(this.tagId),document.getElementById("app").style.zIndex=1),this.addFlag=!!this.$route.query.addFlag},components:{navCrumb:u.a,checkboxOption:v.a,tagShortDetail:h.a,tagTemporary:g.a},beforeDestroy:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"},destroyed:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"}},y={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"myTagDetail-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"checkboxOption-wrap"},[a("div",{staticClass:"checkboxOption-wrap__head"},[a("div",{staticClass:"checkboxOption-wrap__head__title"},[e._v("\n "+e._s(e.tagData.tagName)+"\n "),a("span",{staticClass:"realtime-span border-box"},[e._v(e._s(1==e.tagData.isActive?"实时":"非实时"))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__head__describe"},[e._v(e._s(e.tagData.tagDescribe))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body"},[a("div",{staticClass:"checkboxOption-wrap__body__title"},[e._v("标签值设置")]),e._v(" "),e._l(e.templateData,function(t,l){return a("div",{key:l},["tag001"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag003"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurFrom(a,t)}},model:{value:t.numRange[0],callback:function(a){e.$set(t.numRange,0,a)},expression:"parent.numRange[0]"}}),e._v(" "),a("label",[e._v(" - ")]),e._v(" "),a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurTo(a,t)}},model:{value:t.numRange[1],callback:function(a){e.$set(t.numRange,1,a)},expression:"parent.numRange[1]"}})],1)]:e._e(),e._v(" "),"tag014"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag005"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeRecent",t)}},model:{value:t.timeRecent,callback:function(a){e.$set(t,"timeRecent",a)},expression:"parent.timeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag006"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("之后")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeAfter",t)}},model:{value:t.timeAfter,callback:function(a){e.$set(t,"timeAfter",a)},expression:"parent.timeAfter"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag002"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"in"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("属于")]),e._v(" "),a("el-radio",{attrs:{label:"notIn"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("不属于")])],1)]:e._e(),e._v(" "),"tag004"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",[a("el-radio",{attrs:{label:"1"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("最近时段")])],1),e._v(" "),a("div",{staticClass:"m-t-18 w-500 h-80 fixed-date-picker border-box bg-f3f6f9"},[1==t.fixedRecentRadio?a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("时间范围")]):e._e(),1==t.fixedRecentRadio?a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.fixedRecentRangeValue,callback:function(a){e.$set(t,"fixedRecentRangeValue",a)},expression:"parent.fixedRecentRangeValue"}}):e._e(),e._v(" "),2==t.fixedRecentRadio?a("div",[a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-8",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"fixedRecentTimeRecent",t)}},model:{value:t.fixedRecentTimeRecent,callback:function(a){e.$set(t,"fixedRecentTimeRecent",a)},expression:"parent.fixedRecentTimeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1):e._e()],1)])]:e._e(),e._v(" "),"tag007"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",[a("el-input",{staticClass:"w-184 m-r-8",attrs:{placeholder:"请输入"},model:{value:t.addInputValue,callback:function(a){e.$set(t,"addInputValue",a)},expression:"parent.addInputValue"}}),a("el-button",{staticClass:"middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addInputVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delInputVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag008"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"add-search-select"},[a("el-select",{staticClass:"el-select--small",attrs:{size:"small",multiple:"",filterable:"",remote:"",placeholder:"请输入关键词","reserve-keyword":!1,"remote-method":e.remoteMethod},on:{focus:function(a){e.remoteMethodFocus(a,t,l)},change:function(a){e.changeRemoteMethod(a,t)}},model:{value:t.searchModel,callback:function(a){e.$set(t,"searchModel",a)},expression:"parent.searchModel"}},e._l(t.searchOptions,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})})),a("el-button",{staticClass:"m-l-8 middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addSearchSelectVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addSelectTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delSearchSelectVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag012"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-select",{staticClass:"w-98",attrs:{placeholder:"请选择"},model:{value:t.selectOne,callback:function(a){e.$set(t,"selectOne",a)},expression:"parent.selectOne"}},[a("el-option",{attrs:{label:"所有",value:"all"}}),e._v(" "),a("el-option",{attrs:{label:"存在其一",value:"in"}})],1),a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v(e._s(e.tagData.tagName))]),a("el-select",{staticClass:"w-98 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.selectTwo,callback:function(a){e.$set(t,"selectTwo",a)},expression:"parent.selectTwo"}},[a("el-option",{attrs:{label:"属于",value:"in"}}),e._v(" "),a("el-option",{attrs:{label:"不属于",value:"notin"}})],1)],1)]:e._e(),e._v(" "),"tag011"==t.templateCode?a("div",[a("div",{staticClass:"m-b-20"},[a("vue-gic-store-new",{ref:"storeNew",refInFor:!0,attrs:{options:t.uuidOptions,uuid:t.uuid,isAdd:t.isAdd},on:{"update:uuid":function(a){e.$set(t,"uuid",a)}}})],1)]):e._e(),e._v(" "),"tag009"==t.templateCode?[a("div",{staticClass:"multiple-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.allSelectActive,callback:function(a){e.$set(t,"allSelectActive",a)},expression:"parent.allSelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options"},[e._l(t.allSelectOptions,function(l,i){return[a("el-checkbox",{key:l.check+i,on:{change:function(a){e.allSelectChange(a,i,l,t)}},model:{value:l.check,callback:function(t){e.$set(l,"check",t)},expression:"item.check"}},[e._v(e._s(l.name))])]})],2)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.selectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions"},[e._l(t.selectedOptions,function(l,i){return[a("span",{key:l.name+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.name)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delallSelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag010"==t.templateCode?[a("div",{staticClass:"multiple-select-wrap city-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.citySelectActive,callback:function(a){e.$set(t,"citySelectActive",a)},expression:"parent.citySelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options all-select-options__city"},[a("div",{staticClass:"city-checkbox city-checkbox-all border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminateCity},on:{change:function(a){e.cityCheckAllChange(a,t)}},model:{value:t.checkAllCity,callback:function(a){e.$set(t,"checkAllCity",a)},expression:"parent.checkAllCity"}},[e._v("全选")])],1),e._v(" "),a("el-checkbox-group",{on:{change:function(a){e.citySelectChange(a,t)}},model:{value:t.checkeditemsCity,callback:function(a){e.$set(t,"checkeditemsCity",a)},expression:"parent.checkeditemsCity"}},[e._l(t.citySelectOptions,function(l,i){return[a("div",{key:l.provinceId+i,staticClass:"city-checkbox border-box border-t-e4e7ed"},[a("el-checkbox",{key:l.provinceId,attrs:{label:l.provinceId}},[e._v("{{}}")]),a("label",{staticClass:"inline-block middle font-14 pointer city-name",on:{click:function(a){a.stopPropagation(),e.toggleCity(l.provinceId,l,t)}}},[e._v(e._s(l.provinceName))]),e._v(" "),l.showCity?a("div",{staticClass:"el-select-dropdown el-popper is-multiple",staticStyle:{"min-width":"240px",position:"absolute",top:"30px",left:"20px","transform-origin":"center top 0px","z-index":"2215"},attrs:{"x-placement":"bottom-start"}},[a("div",{staticClass:"el-scrollbar"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-right":"-17px"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(l.children,function(i,n){return[a("li",{key:i.check+n,class:["el-select-dropdown__item","city-name",i.check?"selected":""],on:{click:function(a){a.stopPropagation(),e.toggleClickCity(i,l,t)}}},[a("span",{staticClass:"city-name"},[e._v(e._s(i.cityName))])])]})],2)]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])]),e._v(" "),a("div",{staticClass:"popper__arrow",staticStyle:{left:"35px"},attrs:{"x-arrow":""}})]):e._e()],1)]})],2)],1)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.citySelectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions city-slected-opyions"},[e._l(t.citySelectedOptions,function(l,i){return[a("span",{key:i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.selected)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delcitySelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag013"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag015"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("vue-gic-datepicker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",format:"MMdd","value-format":"MMdd"},model:{value:t.monthDayRange,callback:function(a){e.$set(t,"monthDayRange",a)},expression:"parent.monthDayRange"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":"月"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag016"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1)]:e._e(),e._v(" "),"tag019"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag017"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e()],2)})],2)]),e._v(" "),a("div",{staticClass:"myTagDetail-wrap__btn"},[e.tagFlag?a("el-button",{attrs:{type:"primary"},on:{click:e.addTemporary}},[e._v("\n "+e._s(e.addTempFlag?"更新标签选项":"添加到暂存架")+"\n ")]):e._e(),e._v(" "),e.tagFlag?e._e():a("el-button",{attrs:{type:"primary",disabled:!!e.addFlag},on:{click:e.addMytag}},[e._v("\n "+e._s(e.addFlag?"已添加至我的标签库":"添加至我的标签库")+"\n ")])],1)])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var D=a("VU/8")(_,y,!1,function(e){a("0a9I")},"data-v-c1811bb4",null);t.default=D.exports}});
\ No newline at end of file
webpackJsonp([14],{"6Qob":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("mvHQ"),n=i.n(s),o=i("5reh"),a=i("zL8q");function r(t){return t?(a.Message.warning(t),!1):(a.Message.warning("操作失败"),!1)}function l(t){return"cancel"==t?(a.Message.info(t||"cancel"),!1):t.hasOwnProperty("response")?401==t.response.status?(a.Message.error("登录过期"),!1):500==t.response.status?(a.Message.error("服务器错误500"),!1):void 0:(a.Message.error(t),!1)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"}}},computed:{imgHeight:function(){return document.body.clientHeight},imgWidth:function(){return document.body.clientWidth}},methods:{loginAnimate:function(){new LoginAnimate(loginwrap,{length:90,LineWeight:.1,clicked:!0,moveon:!0}).Run()},submitLogin:function(){var t=this;this.axios.post("/api-auth/do-login",c.stringify({loginName:this.form.loginName,password:this.form.password,eid:"ff808081593917d90159398ec6340012"})).then(function(e){if(e.data.success){(s=e.data.message)?a.Message.success(s):a.Message.success("操作成功");var i=decodeURIComponent(t.$route.query.redirect||"/index");t.$router.push({path:i})}else r(e.data.message);var s}).catch(function(t){l(t)})},getMenu:function(){var t=this;this.axios.get("/gic/get-menu").then(function(e){if(e.data.success){t.menuList=e.data.list,sessionStorage.setItem("menuList",n()(t.menuList));var i=t.$route.query.redirect||"/index";t.$router.push({path:i})}else r(e.data.errorMessage)}).catch(function(t){l(t)})}},mounted:function(){this.$store.commit(o.d,"login"),document.title=this.$store.state.title,this.loginAnimate()}},m={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"loginwrap",style:{height:t.imgHeight+"px"}},[i("div",{staticStyle:{position:"absolute",left:"0",height:"0",width:"100%"}},[i("canvas",{attrs:{id:"loginwrap",width:t.imgWidth,height:t.imgHeight}})]),t._v(" "),t._m(0),t._v(" "),i("div",{staticClass:"login_contetnt"},[i("h3",{staticClass:"login-top"},[t._v("让信息连接一切")]),t._v(" "),i("h4",{staticClass:"login-bottom"},[t._v("GIC商户后台")]),t._v(" "),i("div",{staticClass:"formlogin"},[i("el-form",{ref:"form",attrs:{model:t.form,"label-width":""}},[i("el-form-item",{attrs:{label:""}},[i("el-input",{staticClass:"forminput",attrs:{placeholder:"账号"},model:{value:t.form.loginName,callback:function(e){t.$set(t.form,"loginName",e)},expression:"form.loginName"}})],1),t._v(" "),i("el-form-item",{attrs:{label:""}},[i("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.submitLogin("form")}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),i("el-form-item",[i("button",{staticClass:"submit",on:{click:function(e){e.preventDefault(),t.submitLogin("form")}}},[t._v("立即登录")])])],1)],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logintop"},[e("div",{staticClass:"fl loginlogo"},[e("a",{staticClass:"fr logo",attrs:{href:"#"}},[this._v("login_logo.png")])]),this._v(" "),e("a",{staticClass:"home-link fr",attrs:{href:"http://www.demogic.com/"}},[this._v("返回首页")])])}]};var d=i("VU/8")(u,m,!1,function(t){i("Z8Lf")},null,null);e.default=d.exports},Z8Lf:function(t,e){}}); webpackJsonp([11],{"6Qob":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("mvHQ"),n=i.n(s),o=i("5reh"),a=i("zL8q");function r(t){return t?(a.Message.warning(t),!1):(a.Message.warning("操作失败"),!1)}function l(t){return"cancel"==t?(a.Message.info(t||"cancel"),!1):t.hasOwnProperty("response")?401==t.response.status?(a.Message.error("登录过期"),!1):500==t.response.status?(a.Message.error("服务器错误500"),!1):void 0:(a.Message.error(t),!1)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"}}},computed:{imgHeight:function(){return document.body.clientHeight},imgWidth:function(){return document.body.clientWidth}},methods:{loginAnimate:function(){new LoginAnimate(loginwrap,{length:90,LineWeight:.1,clicked:!0,moveon:!0}).Run()},submitLogin:function(){var t=this;this.axios.post("/api-auth/do-login",c.stringify({loginName:this.form.loginName,password:this.form.password,eid:"ff808081593917d90159398ec6340012"})).then(function(e){if(e.data.success){(s=e.data.message)?a.Message.success(s):a.Message.success("操作成功");var i=decodeURIComponent(t.$route.query.redirect||"/index");t.$router.push({path:i})}else r(e.data.message);var s}).catch(function(t){l(t)})},getMenu:function(){var t=this;this.axios.get("/gic/get-menu").then(function(e){if(e.data.success){t.menuList=e.data.list,sessionStorage.setItem("menuList",n()(t.menuList));var i=t.$route.query.redirect||"/index";t.$router.push({path:i})}else r(e.data.errorMessage)}).catch(function(t){l(t)})}},mounted:function(){this.$store.commit(o.d,"login"),document.title=this.$store.state.title,this.loginAnimate()}},m={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"loginwrap",style:{height:t.imgHeight+"px"}},[i("div",{staticStyle:{position:"absolute",left:"0",height:"0",width:"100%"}},[i("canvas",{attrs:{id:"loginwrap",width:t.imgWidth,height:t.imgHeight}})]),t._v(" "),t._m(0),t._v(" "),i("div",{staticClass:"login_contetnt"},[i("h3",{staticClass:"login-top"},[t._v("让信息连接一切")]),t._v(" "),i("h4",{staticClass:"login-bottom"},[t._v("GIC商户后台")]),t._v(" "),i("div",{staticClass:"formlogin"},[i("el-form",{ref:"form",attrs:{model:t.form,"label-width":""}},[i("el-form-item",{attrs:{label:""}},[i("el-input",{staticClass:"forminput",attrs:{placeholder:"账号"},model:{value:t.form.loginName,callback:function(e){t.$set(t.form,"loginName",e)},expression:"form.loginName"}})],1),t._v(" "),i("el-form-item",{attrs:{label:""}},[i("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.submitLogin("form")}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),i("el-form-item",[i("button",{staticClass:"submit",on:{click:function(e){e.preventDefault(),t.submitLogin("form")}}},[t._v("立即登录")])])],1)],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logintop"},[e("div",{staticClass:"fl loginlogo"},[e("a",{staticClass:"fr logo",attrs:{href:"#"}},[this._v("login_logo.png")])]),this._v(" "),e("a",{staticClass:"home-link fr",attrs:{href:"http://www.demogic.com/"}},[this._v("返回首页")])])}]};var d=i("VU/8")(u,m,!1,function(t){i("Z8Lf")},null,null);e.default=d.exports},Z8Lf:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([11],{"4GKY":function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("4GKY")},"data-v-d104e392",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([12],{MWnV:function(e,t){},"Tl/4":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("mvHQ"),i=a.n(l),n=a("BO1k"),c=a.n(n),s=a("Xxa5"),o=a.n(s),r=a("exGp"),d=a.n(r),p=a("mw3O"),m=a.n(p),u=a("3Xzz"),v=a("Tja3"),g=a("M2/U"),h=a("3fED"),f=(a("Mk6G"),a("3E4D")),b=a("Ch4/"),C=a("PI0u"),k=a("P9l9"),_={name:"myTagDetail",data:function(){return{showTagDetail:!1,tagShortDetailId:"",fromFlag:"myTag",tagId:"",tagFlag:!1,addFlag:!1,templateCode:"",addTempFlag:!1,searchFlag:!1,postCompute:"",currentKey:null,currentComputeType:"",postTemplateData:{selectedVal:[],template:[]},templateData:[],tag001:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[],compute:"in"},tag002:{computeRadio:"in"},tag003:{numRange:["",""]},tag004:{fixedRecentRadio:"1",fixedRecentRangeValue:[],fixedRecentTimeRecent:""},tag005:{timeRecent:"",timeType:"lastday"},tag006:{timeAfter:"",timeType:"afterday"},tag007:{addInputValue:"",addTags:[]},tag008:{searchModel:[],searchOptions:[],addSelectTags:[]},tag009:{allSelectActive:"first",inputSearch:"",allSelectOptions:[],selectedOptions:[]},tag010:{citySelectActive:"first",isIndeterminateCity:!1,checkAllCity:!1,citySelectOptions:[{provinceId:1,check:!1,provinceName:"北京",showCity:!1,children:[{cityId:11,cityName:"北京",check:!1}]},{provinceId:2,check:!1,provinceName:"浙江",showCity:!1,children:[{cityId:21,cityName:"杭州",check:!1},{cityId:22,cityName:"温州",check:!1}]}],checkeditemsCity:[],citySelectedOptions:[]},tag011:{uuid:"",uuidOptions:[0,1,2,3,4,5],isAdd:!0},tag012:{selectOne:"all",selectTwo:"in",selectLabel:"曾经消费门店",selectLabelTip:"注:存在其一即会员至少有一个字段值满足所选条件;所有即会员的所有字段值满足所选条件"},tag013:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[]},tag014:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag015:{radio:"1",monthDayRange:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag016:{dateRangeValue:[]},tag017:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag019:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tagData:{tagId:"",tagName:"",tagDescribe:"",isActive:0,inputSearch:""},baseUrl:""}},computed:{navpath:function(){var e=this.$route.query.navSign,t="platformTag"==e?{name:"平台标签列表",path:"/platformTagList"}:"manualTag"==e?{name:"手工标签列表",path:"/manualTagList"}:{name:"我的标签列表",path:"/myTagList"};return[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},t,{name:"标签详情",path:""}]}},beforeMount:function(){var e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{resetData:function(){this.templateData.forEach(function(e,t){e.checkeditems&&(e.checkeditems=[]),e.isIndeterminate&&(e.isIndeterminate=!1),e.checkAll&&(e.checkAll=!1),e.numRange&&(e.numRange=["",""]),e.fixedRecentRadio&&(e.fixedRecentRadio="1"),e.fixedRecentRangeValue&&(e.fixedRecentRangeValue=[]),e.fixedRecentRangeValue&&(e.fixedRecentTimeRecent=""),"tag007"==e.templateCode&&(e.addTags=[]),"tag008"==e.templateCode&&(e.addSelectTags=[]),"tag010"==e.templateCode&&(e.citySelectActive="first",e.isIndeterminateCity=!1,e.checkAllCity=!1,e.citySelectOptions=[],e.citySelectedOptions=[]),"tag019"==e.templateCode&&(e.dateRangeValue=[])})},changeRoute:function(e){this.$router.push(e)},addMytag:function(){var e=this,t={tagId:e.tagId};Object(k.a)("/enterpriseMemberTag/addByTagId",t).then(function(t){var a=t.data;if(1==a.errorCode)return f.a.showmsg("添加成功","success"),void(e.addFlag=!0);b.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},addTemporary:Object(C.a)(function(){this.addTemporaryPost()},500),addTemporaryPost:function(){var e=this;return d()(o.a.mark(function t(){var a,l,i,n,s,r,d,p,m,u,v,g,h;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((a=e).postTemplateData.selectedVal=[],l=!0,i=[],n={val:[{type:"data",data:{key:a.currentKey,compute:"",value:"",dealKey:""}}],time:[{type:"",value:""}]},"tag001"!==(s=a.templateData[0].templateCode)||a.templateData[0].checkeditems.length){t.next=9;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 9:if("tag001"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].checkeditems.join(" "),a.templateData[0].options.forEach(function(e,t){-1!=a.templateData[0].checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)})),"tag003"!==s||""!==a.templateData[0].numRange[0]&&""!==a.templateData[0].numRange[1]){t.next=13;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 13:if(!("tag003"===s&&a.templateData[0].numRange[0]>a.templateData[0].numRange[1])){t.next=16;break}return a.$message.error({message:"起始值必须小于等于最大值"}),t.abrupt("return",!1);case 16:if("tag003"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].numRange.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].numRange[0]+" <= "+a.tagData.tagName+" <= "+a.templateData[0].numRange[1])),"tag007"!==s||a.templateData[0].addTags.length){t.next=20;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 20:if("tag007"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].addTags.map(function(e){return e.value}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].addTags.map(function(e){return e.value}).join(","))),"tag009"!==s||a.templateData[0].selectedOptions.length){t.next=24;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 24:if("tag009"===s&&1===a.templateData.length&&(n.val[0].data.value=a.templateData[0].selectedOptions.map(function(e){return e.key}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].selectedOptions.map(function(e){return e.value}).join(","))),"tag010"!==s||a.templateData[0].citySelectedOptions.length){t.next=28;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 28:if("tag010"===s&&1===a.templateData.length&&(n.val[0].data.value=a.templateData[0].citySelectedOptions.map(function(e){return e.cityId}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].citySelectedOptions.map(function(e){return e.selected}).join(","))),"tag013"!==s||a.templateData[0].checkeditems.length){t.next=32;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 32:if(r=[],"tag013"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,a.templateData[0].options.forEach(function(e,t){-1!=a.templateData[0].checkeditems.indexOf(e.key)&&(a.postTemplateData.selectedVal.push(e.value),r.push(e.key))}),a.templateData[0].checkeditems=r,n.val[0].data.value=r.join(" "),r.length||(l=!1)),"tag016"!==s||a.templateData[0].dateRangeValue.length){t.next=37;break}return a.$message.error({message:"请选择时间"}),t.abrupt("return",!1);case 37:if("tag016"===s&&1===a.templateData.length&&(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].dateRangeValue.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].dateRangeValue[0]+" 至 "+a.templateData[0].dateRangeValue[1])),"tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!=a.templateData[0].radio||a.templateData[0].dateRangeValue.length){t.next=41;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 41:if("tag014"!==s&&"tag017"!==s&&"tag019"!==s||2!=a.templateData[0].radio||2!=a.templateData[0].timeChecked||a.templateData[0].timeInput){t.next=44;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 44:if("tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!==a.templateData.length||1!=a.templateData[0].radio||(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].dateRangeValue.join(","),a.templateData[0].timeInput="","tag019"===s&&(n.val[0].data.value=a.templateData[0].dateRangeValue.join(",").replace(/-/g,"").replace(/:/g,"").replace(/\s+/g,"")),a.postTemplateData.selectedVal.push(a.templateData[0].dateRangeValue[0].split(" ")[0]+"至"+a.templateData[0].dateRangeValue[1].split(" ")[0])),"tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!==a.templateData.length||2!=a.templateData[0].radio||(1==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="today":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当天"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 天")):(2==a.currentComputeType?n.val[0].data.compute="afterday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 天")))),2==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentMonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当月"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastmonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 月")):(2==a.currentComputeType?n.val[0].data.compute="aftermonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 月")))),3==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentYear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当年"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastyear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 年")):(2==a.currentComputeType?n.val[0].data.compute="afteryear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 年"))))),"tag015"!==s||1!=a.templateData[0].radio||a.templateData[0].monthDayRange.length){t.next=49;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 49:if("tag015"!==s||2!=a.templateData[0].radio||2!=a.templateData[0].timeChecked||a.templateData[0].timeInput){t.next=52;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 52:if("tag015"===s&&1===a.templateData.length&&1==a.templateData[0].radio&&(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].monthDayRange.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].monthDayRange[0]+" 至 "+a.templateData[0].monthDayRange[1])),"tag015"===s&&1===a.templateData.length&&2==a.templateData[0].radio&&(1==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="today":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当天"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 天")):(2==a.currentComputeType?n.val[0].data.compute="afterday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 天")))),2==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentMonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当月"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastmonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 月")):(2==a.currentComputeType?n.val[0].data.compute="aftermonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 月"))))),2!=a.templateData.length){t.next=81;break}d=o.a.mark(function t(i){var c;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("tag001"===i.templateCode&&(i.checkeditems.length||(l=!1),n.val[0].data.value=i.checkeditems.join(" "),i.options.forEach(function(e,t){-1!=i.checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)})),"tag002"===i.templateCode&&(n.val[0].data.compute=i.computeRadio,"in"==i.computeRadio?a.postTemplateData.selectedVal.unshift("属于"):a.postTemplateData.selectedVal.unshift("不属于")),"tag003"===i.templateCode&&(""!==i.numRange[0]&&""!==i.numRange[1]||(l=!1),i.numRange[0]>i.numRange[1]&&(l=!1),n.val[0].data.compute=i.postCompute,n.val[0].data.value=i.numRange.join(","),a.postTemplateData.selectedVal.push(i.numRange[0]+" <= "+a.tagData.tagName+" <= "+i.numRange[1])),"tag004"===i.templateCode&&(1!=i.fixedRecentRadio||i.fixedRecentRangeValue.length||(l=!1),2!=i.fixedRecentRadio||i.fixedRecentTimeRecent||(l=!1),1==i.fixedRecentRadio&&(n.time[0].type="between",n.time[0].value=i.fixedRecentRangeValue.join(","),a.postTemplateData.selectedVal.push("时间范围为"+i.fixedRecentRangeValue[0]+" 至 "+i.fixedRecentRangeValue[1])),2==i.fixedRecentRadio&&(n.time[0].type="lastday",n.time[0].value=String(i.fixedRecentTimeRecent),a.postTemplateData.selectedVal.push("时间范围为最近 "+i.fixedRecentTimeRecent+" 天"))),"tag005"===i.templateCode&&(""===i.timeRecent&&(l=!1),n.time[0].type=i.timeType,n.time[0].value=String(i.timeRecent),a.postTemplateData.selectedVal.push("时间范围为最近 "+i.timeRecent+" 天")),"tag006"===i.templateCode&&(""===i.timeAfter&&(l=!1),n.time[0].type=i.timeType,n.time[0].value=String(i.timeAfter),a.postTemplateData.selectedVal.push("时间范围为之后 "+i.timeAfter+" 天")),"tag008"===i.templateCode&&(i.addSelectTags.length||(l=!1),n.val[0].data.value=i.addSelectTags.map(function(e){return e.key}).join(" "),a.postTemplateData.selectedVal.push(i.addSelectTags.map(function(e){return e.value}).join(","))),"tag010"===i.templateCode&&(console.log(i.citySelectedOptions),i.citySelectedOptions.length||(l=!1),n.val[0].data.value=i.citySelectedOptions.map(function(e){return e.cityId}).join(" "),a.postTemplateData.selectedVal.push(i.citySelectedOptions.map(function(e){return e.selected}).join(","))),"tag011"!==i.templateCode){e.next=18;break}return e.next=11,a.$refs.storeNew[0].isStoreSave();case 11:return l=e.sent,e.next=14,a.$refs.storeNew[0].getStoreConfig();case 14:c=e.sent,a.postTemplateData.selectedVal.push(c.name+" "+c.list.map(function(e){return e.name}).join(",")),n.val[0].data.value=i.uuid,n.val[0].data.dealKey="storeWidget";case 18:"tag012"===i.templateCode&&("all"==i.selectOne&&"in"==i.selectTwo&&(n.val[0].data.compute="allIn",a.postTemplateData.selectedVal.unshift("所有属于")),"all"==i.selectOne&&"notin"==i.selectTwo&&(n.val[0].data.compute="notIn",a.postTemplateData.selectedVal.unshift("所有不属于")),"in"==i.selectOne&&"in"==i.selectTwo&&(n.val[0].data.compute="in",a.postTemplateData.selectedVal.unshift("存在其一属于")),"in"==i.selectOne&&"notin"==i.selectTwo&&(n.val[0].data.compute="notAllIn",a.postTemplateData.selectedVal.unshift("存在其一不属于"))),"tag013"===i.templateCode&&(i.checkeditems.length||(l=!1),n.val[0].data.value=i.checkeditems.join(" "),i.options.forEach(function(e,t){-1!=i.checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)}),a.postTemplateData.selectedVal.push(a.postTemplateData.selectedVal.join(",")));case 20:case"end":return e.stop()}},t,e)}),p=!0,m=!1,u=void 0,t.prev=59,v=c()(a.templateData);case 61:if(p=(g=v.next()).done){t.next=67;break}return h=g.value,t.delegateYield(d(h),"t0",64);case 64:p=!0,t.next=61;break;case 67:t.next=73;break;case 69:t.prev=69,t.t1=t.catch(59),m=!0,u=t.t1;case 73:t.prev=73,t.prev=74,!p&&v.return&&v.return();case 76:if(t.prev=76,!m){t.next=79;break}throw u;case 79:return t.finish(76);case 80:return t.finish(73);case 81:if(l){t.next=84;break}return a.$message.error({message:"请完善标签值"}),t.abrupt("return",!1);case 84:a.templateData.forEach(function(e,t){"tag011"==e.templateCode&&(e.isAdd=!1)}),a.postTemplateData.template=a.templateData,i=a.postTemplateData,a.addToTemp(n,i);case 88:case"end":return t.stop()}},t,e,[[59,69,73,81],[74,,76,80]])}))()},addToTemp:function(e,t){var a=this,l={tagId:a.tagShortId,tagValue:i()(e),tagParams:i()(t)};Object(k.b)("/member-tag-value/add.json",l).then(function(e){var t=e.data;if(1==t.errorCode)return f.a.showmsg("添加成功","success"),a.addTempFlag=!0,void a.updateTemp();b.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleCheckAllChange:function(e,t){e?(t.checkeditems=[],t.options.forEach(function(e,a){t.checkeditems.push(e.key)})):t.checkeditems=[],t.isIndeterminate=!1},handleCheckedChange:function(e,t){var a=e.length,l=JSON.parse(i()(e));a>=t.options.length&&(t.checkeditems=[],t.checkeditems=t.options.map(function(e){if(l.includes(e.key))return e.key}),a=t.checkeditems.length),t.checkAll=a===t.options.length,t.isIndeterminate=a>0&&a<t.options.length},blurFrom:function(e,t){var a=Number(e.target.value.replace(/[^.\d]/g,""))?Number(e.target.value.replace(/[^.\d]/g,"")):"";a&&!/^[0-9]+$/.test(a)&&(a=Number(a).toFixed(2)),t.numRange[0]=a,this.$forceUpdate()},blurTo:function(e,t){var a=Number(e.target.value.replace(/[^.\d]/g,""))?Number(e.target.value.replace(/[^.\d]/g,"")):"";a&&!/^[0-9]+$/.test(a)&&(a=Number(a).toFixed(2)),t.numRange[1]=a,this.$forceUpdate()},toEditInput:function(e,t,a){var l=void 0;(l=parseInt(String(e.target.value).replace(/[^\d]/g,""))?parseInt(String(e.target.value).replace(/[^\d]/g,"")):1)<=0&&(l=1),l>365&&(l=365),a[t]=l},timeRadioChange:function(e,t){t.timeInput=""},currentDayChange:function(e,t){e&&(t.timeInput="")},toEditDateInput:function(e,t,a){var l=void 0;(l=parseInt(String(e.target.value).replace(/[^\d]/g,""))?parseInt(String(e.target.value).replace(/[^\d]/g,"")):1)<=0&&(l=1),l>365&&1==t&&(l=365),l>12&&2==t&&(l=12),l>3&&3==t&&(l=2),a.timeInput=l},addInputVal:function(e){if(!e.addInputValue.trim())return this.$message.error({duration:1e3,message:"请输入值"}),!1;var t=null;if(e.addTags.length&&(t=e.addTags.map(function(e){return e.value})),t&&-1!==t.indexOf(e.addInputValue))return this.$message.error({duration:1e3,message:"输入值已存在"}),!1;e.addTags.push({value:e.addInputValue}),e.addInputValue=""},delInputVal:function(e,t){t.addTags.splice(e,1)},remoteMethod:Object(C.a)(function(e){this.getClerk(e)},500),remoteMethodFocus:function(e,t,a){this.remoteParent=t,this.pindex=a},changeRemoteMethod:function(e,t){},getClerk:function(e,t){var a=this,l={name:e,requestProject:"member-tag"};a.axios.post(a.baseUrl+"/api-plug/search-clerk",m.a.stringify(l)).then(function(e){var t=e.data;if(0==t.errorCode)return a.remoteParent.searchOptions=t.result,void a.$forceUpdate();b.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},addSearchSelectVal:function(e){if(!e.searchModel.length)return this.$message.error({duration:1e3,message:"请选择值"}),!1;var t=null;e.addSelectTags.length&&(t=e.addSelectTags.map(function(e){return e.value})),e.searchOptions.forEach(function(a,l){if(t&&-1!=t.indexOf(a.value))return!1;-1!=e.searchModel.indexOf(a.key)&&e.addSelectTags.push(a)}),e.searchModel=[],e.searchOptions=[]},delSearchSelectVal:function(e,t){t.addSelectTags.splice(e,1)},allSelectChange:function(e,t,a,l){e?l.selectedOptions.push(a):l.selectedOptions.length&&l.selectedOptions.forEach(function(e,t){e.id==a.id&&l.selectedOptions.splice(t,1)})},delallSelectVal:function(e,t,a){a.selectedOptions.splice(e,1),a.allSelectOptions.forEach(function(e,a){e.id==t.id&&(e.check=!1)})},toSearchInput:Object(C.a)(function(e,t){},500),getSearchSelectOptions:function(e){},cityCheckAllChange:function(e,t){e?(t.checkeditemsCity=[],t.citySelectedOptions=[],t.citySelectOptions.forEach(function(e,a){e.check=!0,t.checkeditemsCity.push(e.provinceId),e.children.forEach(function(a,l){a.check=!0,a.selected=a.cityName+"-"+e.provinceName,a.pId=e.provinceId,t.citySelectedOptions.push(a)})})):(t.checkeditemsCity=[],t.citySelectedOptions=[],t.citySelectOptions.forEach(function(e,t){e.check=!1,e.children.forEach(function(e,t){e.check=!1})})),t.isIndeterminateCity=!1},citySelectChange:function(e,t){var a=e.length;t.checkAllCity=a===t.citySelectOptions.length,t.isIndeterminateCity=a>0&&a<t.citySelectOptions.length,t.citySelectedOptions=[],t.citySelectOptions.forEach(function(a,l){-1!=e.indexOf(a.provinceId)?(a.check=!0,a.children.forEach(function(e,l){e.check=!0,e.selected=e.cityName+"-"+a.provinceName,e.pId=a.provinceId,t.citySelectedOptions.push(e)})):(a.check=!1,a.children.forEach(function(e,t){e.check=!1}))})},toggleCity:function(e,t,a){var l=this;t.showCity=!0!==t.showCity,a.citySelectOptions.forEach(function(t,a){t.provinceId!=e&&(t.showCity=!1)}),document.addEventListener("mousedown",function(e){l.hideCity(e,a)},!1)},toggleClickCity:function(e,t,a){e.check=!e.check,t.children.forEach(function(e,l){!e.check&&t.check&&(t.check=!1,a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.provinceId),1),a.checkAllCity=!1,a.isIndeterminateCity=!!a.checkeditemsCity.length)}),-1==t.children.map(function(e){return e.check}).indexOf(!1)?(t.check=!0,a.checkeditemsCity.push(t.provinceId)):-1!=a.checkeditemsCity.indexOf(t.provinceId)&&a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.provinceId),1);var l=a.checkeditemsCity.length;a.checkAllCity=l===a.citySelectOptions.length,a.isIndeterminateCity=l>0&&l<a.citySelectOptions.length,a.citySelectedOptions=[],a.citySelectOptions.forEach(function(e,t){e.children.forEach(function(t,l){t.check&&(t.selected=t.cityName+"-"+e.provinceName,t.pId=e.provinceId,a.citySelectedOptions.push(t))})}),this.$forceUpdate()},delcitySelectVal:function(e,t,a){a.citySelectedOptions.splice(e,1),a.citySelectOptions.forEach(function(e,a){t.pId==e.provinceId&&(e.check=!1),e.children.forEach(function(e,a){e.cityId==t.cityId&&(e.check=!1)})}),-1!=a.checkeditemsCity.indexOf(t.pId)&&a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.pId),1);var l=a.checkeditemsCity.length;a.checkAllCity=l===a.citySelectOptions.length,a.isIndeterminateCity=l>0&&l<a.citySelectOptions.length},getCityList:function(e,t){t.children=[];var a=!1;t.check&&(a=!0),t.children.push({id:11,name:"杭州",check:a}),this.$forceUpdate()},hideCity:function(e,t){-1==e.target.className.indexOf("city-name")&&t.citySelectOptions.forEach(function(e,t){e.showCity=!1})},getcityData:function(){var e=this;e.axios.post(e.baseUrl+"/api-plug/dict-district-tree",m.a.stringify({requestProject:"member-tag"})).then(function(t){var a=t.data;if(0==a.errorCode)return a.result.forEach(function(e,t){e.check=!1,e.showCity=!1,e.children.forEach(function(e,t){e.check=!1})}),void(e.tag010.citySelectOptions=a.result);b.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkTagTemplate:function(e){var t=this;t.templateData=[],t.postCompute=null;var a=JSON.parse(e);if(a){var l=a.val[0],i=a.time;if(t.currentComputeType=parseInt(l.compute.computeType),0===parseInt(l.compute.computeType)&&l.compute.computeWidgetId&&t.getTemplateCodeById(l.compute.computeWidgetId),1===parseInt(l.compute.computeType)&&(t.postCompute=l.compute.compute),l.valWidgetId&&setTimeout(function(){t.getTemplateCodeById(l.valWidgetId)},50),i.length){if(1===parseInt(l.compute.computeType))return void setTimeout(function(){i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})},60);i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})}}},getTemplateCodeById:function(e){var t=this,a={widgetId:e};Object(k.a)("/memberTag/findWidget",a).then(function(e){var a=e.data;if(1==a.errorCode){for(var l in a.result)t[a.result.templateCode][l]=a.result[l];return"tag010"===a.result.templateCode&&t.getcityData(),t.postCompute&&(t[a.result.templateCode].postCompute=t.postCompute),0===parseInt(a.result.sourceFlag)&&(a.result.widgetValues=JSON.parse(a.result.widgetValues),t[a.result.templateCode].options=a.result.widgetValues,console.log(t[a.result.templateCode].options)),1===parseInt(a.result.sourceFlag)?(a.result.widgetParam=JSON.parse(a.result.widgetParam),t.getAsyncList(a.result.widgetParam[0].value,t[a.result.templateCode]),"tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0),!1):(t.templateData.push(t[a.result.templateCode]),t.getExistData(t.tagData.tagId),void("tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0)))}b.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},isContained:function(e,t){if(!(e instanceof Array&&t instanceof Array))return!1;if(e.length<t.length)return!1;if(!t.length)return!1;for(var a=e.toString(),l=0,i=t.length;l<i;l++)if(-1==a.indexOf(t[l]))return!1;return!0},getAsyncList:function(e,t){var a=this,l={key:1==a.tagData.tagType?a.tagData.tagId:a.currentKey,requestProject:"member-tag"};a.axios.post(a.baseUrl+e,m.a.stringify(l)).then(function(e){var l=e.data;if(1!=a.tagData.tagType&&"tag"!=a.currentKey){if(0==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options)}else if(1==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options);a.$message.error({duration:1e3,message:l.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getExistData:function(e,t){var a=this,l={tagId:e};Object(k.a)("/member-tag-value/findOne.json",l).then(function(e){var l=e.data;if(1==l.errorCode){if(!l.result||"[]"==l.result.tagParams)return a.addTempFlag=!1,!1;a.addTempFlag=!0;var i=JSON.parse(l.result.tagParams).template;return t&&i.forEach(function(e,l){if("tag013"==e.templateCode){e.options=t;var i=t.map(function(e){return e.key}),n=!0;t.forEach(function(t,a){-1!=e.checkeditems.indexOf(t.key)&&(n=!1)});var c=e.checkeditems.length;if(a.isContained(e.checkeditems,i))return e.checkAll=!0,e.isIndeterminate=!1,!1;if(n&&t.length<c)return e.checkAll=!1,e.isIndeterminate=!1,!1;if(!n&&t.length>=c)return e.checkAll=!1,e.isIndeterminate=!0,!1;if(n&&t.length>=c)return e.checkAll=!1,e.isIndeterminate=!1,!1}}),void(a.templateData=i)}b.a.errorMsg(l)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getTagData:function(e){var t=this;t.searchFlag=!1;var a={tagId:e};Object(k.a)("/memberTag/getTagById",a).then(function(e){var a=e.data;if(1!=a.errorCode)b.a.errorMsg(a);else{t.tagData.tagId=a.result.tagId,t.tagData.tagName=a.result.tagName,t.tagData.tagDescribe=a.result.tagDescribe,t.tagData.isActive=a.result.isActive,t.tagData.tagType=a.result.tagType,t.currentKey=a.result.columnKey;var l=a.result.template;l&&t.checkTagTemplate(l.templateContent)}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleShowTag:function(){this.showTagDetail=!0},handleHideTag:function(e){this.showTagDetail=!1},showShortDetail:function(e){this.showTagDetail=!0,this.tagShortDetailId=e},updateTemp:function(){this.$refs.tagTemp.getTagList(),this.$refs.tagTemp.showTagList(),this.updataTagDetail()},updataTagDetail:function(){this.getTagData(this.tagId)}},watch:{$route:{handler:function(e,t){window.location.reload()},deep:!0}},updated:function(){},mounted:function(){this.tagFlag=-1==this.$route.fullPath.indexOf("notMyTag"),this.$route.query.tagId&&(this.tagId=this.$route.query.tagId,this.tagShortId=this.$route.query.tagId,this.getTagData(this.tagId),document.getElementById("app").style.zIndex=1),this.addFlag=!!this.$route.query.addFlag},components:{navCrumb:u.a,checkboxOption:v.a,tagShortDetail:h.a,tagTemporary:g.a},beforeDestroy:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"},destroyed:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"}},y={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"myTagDetail-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"checkboxOption-wrap"},[a("div",{staticClass:"checkboxOption-wrap__head"},[a("div",{staticClass:"checkboxOption-wrap__head__title"},[e._v("\n "+e._s(e.tagData.tagName)+"\n "),a("span",{staticClass:"realtime-span border-box"},[e._v(e._s(1==e.tagData.isActive?"实时":"非实时"))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__head__describe"},[e._v(e._s(e.tagData.tagDescribe))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body"},[a("div",{staticClass:"checkboxOption-wrap__body__title"},[e._v("标签值设置")]),e._v(" "),e._l(e.templateData,function(t,l){return a("div",{key:l},["tag001"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag003"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurFrom(a,t)}},model:{value:t.numRange[0],callback:function(a){e.$set(t.numRange,0,a)},expression:"parent.numRange[0]"}}),e._v(" "),a("label",[e._v(" - ")]),e._v(" "),a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurTo(a,t)}},model:{value:t.numRange[1],callback:function(a){e.$set(t.numRange,1,a)},expression:"parent.numRange[1]"}})],1)]:e._e(),e._v(" "),"tag014"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag005"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeRecent",t)}},model:{value:t.timeRecent,callback:function(a){e.$set(t,"timeRecent",a)},expression:"parent.timeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag006"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("之后")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeAfter",t)}},model:{value:t.timeAfter,callback:function(a){e.$set(t,"timeAfter",a)},expression:"parent.timeAfter"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag002"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"in"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("属于")]),e._v(" "),a("el-radio",{attrs:{label:"notIn"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("不属于")])],1)]:e._e(),e._v(" "),"tag004"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",[a("el-radio",{attrs:{label:"1"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("最近时段")])],1),e._v(" "),a("div",{staticClass:"m-t-18 w-500 h-80 fixed-date-picker border-box bg-f3f6f9"},[1==t.fixedRecentRadio?a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("时间范围")]):e._e(),1==t.fixedRecentRadio?a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.fixedRecentRangeValue,callback:function(a){e.$set(t,"fixedRecentRangeValue",a)},expression:"parent.fixedRecentRangeValue"}}):e._e(),e._v(" "),2==t.fixedRecentRadio?a("div",[a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-8",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"fixedRecentTimeRecent",t)}},model:{value:t.fixedRecentTimeRecent,callback:function(a){e.$set(t,"fixedRecentTimeRecent",a)},expression:"parent.fixedRecentTimeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1):e._e()],1)])]:e._e(),e._v(" "),"tag007"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",[a("el-input",{staticClass:"w-184 m-r-8",attrs:{placeholder:"请输入"},model:{value:t.addInputValue,callback:function(a){e.$set(t,"addInputValue",a)},expression:"parent.addInputValue"}}),a("el-button",{staticClass:"middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addInputVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delInputVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag008"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"add-search-select"},[a("el-select",{staticClass:"el-select--small",attrs:{size:"small",multiple:"",filterable:"",remote:"",placeholder:"请输入关键词","reserve-keyword":!1,"remote-method":e.remoteMethod},on:{focus:function(a){e.remoteMethodFocus(a,t,l)},change:function(a){e.changeRemoteMethod(a,t)}},model:{value:t.searchModel,callback:function(a){e.$set(t,"searchModel",a)},expression:"parent.searchModel"}},e._l(t.searchOptions,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})})),a("el-button",{staticClass:"m-l-8 middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addSearchSelectVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addSelectTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delSearchSelectVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag012"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-select",{staticClass:"w-98",attrs:{placeholder:"请选择"},model:{value:t.selectOne,callback:function(a){e.$set(t,"selectOne",a)},expression:"parent.selectOne"}},[a("el-option",{attrs:{label:"所有",value:"all"}}),e._v(" "),a("el-option",{attrs:{label:"存在其一",value:"in"}})],1),a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v(e._s(e.tagData.tagName))]),a("el-select",{staticClass:"w-98 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.selectTwo,callback:function(a){e.$set(t,"selectTwo",a)},expression:"parent.selectTwo"}},[a("el-option",{attrs:{label:"属于",value:"in"}}),e._v(" "),a("el-option",{attrs:{label:"不属于",value:"notin"}})],1)],1)]:e._e(),e._v(" "),"tag011"==t.templateCode?a("div",[a("div",{staticClass:"m-b-20"},[a("vue-gic-store-new",{ref:"storeNew",refInFor:!0,attrs:{options:t.uuidOptions,uuid:t.uuid,isAdd:t.isAdd},on:{"update:uuid":function(a){e.$set(t,"uuid",a)}}})],1)]):e._e(),e._v(" "),"tag009"==t.templateCode?[a("div",{staticClass:"multiple-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.allSelectActive,callback:function(a){e.$set(t,"allSelectActive",a)},expression:"parent.allSelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options"},[e._l(t.allSelectOptions,function(l,i){return[a("el-checkbox",{key:l.check+i,on:{change:function(a){e.allSelectChange(a,i,l,t)}},model:{value:l.check,callback:function(t){e.$set(l,"check",t)},expression:"item.check"}},[e._v(e._s(l.name))])]})],2)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.selectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions"},[e._l(t.selectedOptions,function(l,i){return[a("span",{key:l.name+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.name)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delallSelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag010"==t.templateCode?[a("div",{staticClass:"multiple-select-wrap city-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.citySelectActive,callback:function(a){e.$set(t,"citySelectActive",a)},expression:"parent.citySelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options all-select-options__city"},[a("div",{staticClass:"city-checkbox city-checkbox-all border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminateCity},on:{change:function(a){e.cityCheckAllChange(a,t)}},model:{value:t.checkAllCity,callback:function(a){e.$set(t,"checkAllCity",a)},expression:"parent.checkAllCity"}},[e._v("全选")])],1),e._v(" "),a("el-checkbox-group",{on:{change:function(a){e.citySelectChange(a,t)}},model:{value:t.checkeditemsCity,callback:function(a){e.$set(t,"checkeditemsCity",a)},expression:"parent.checkeditemsCity"}},[e._l(t.citySelectOptions,function(l,i){return[a("div",{key:l.provinceId+i,staticClass:"city-checkbox border-box border-t-e4e7ed"},[a("el-checkbox",{key:l.provinceId,attrs:{label:l.provinceId}},[e._v("{{}}")]),a("label",{staticClass:"inline-block middle font-14 pointer city-name",on:{click:function(a){a.stopPropagation(),e.toggleCity(l.provinceId,l,t)}}},[e._v(e._s(l.provinceName))]),e._v(" "),l.showCity?a("div",{staticClass:"el-select-dropdown el-popper is-multiple",staticStyle:{"min-width":"240px",position:"absolute",top:"30px",left:"20px","transform-origin":"center top 0px","z-index":"2215"},attrs:{"x-placement":"bottom-start"}},[a("div",{staticClass:"el-scrollbar"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-right":"-17px"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(l.children,function(i,n){return[a("li",{key:i.check+n,class:["el-select-dropdown__item","city-name",i.check?"selected":""],on:{click:function(a){a.stopPropagation(),e.toggleClickCity(i,l,t)}}},[a("span",{staticClass:"city-name"},[e._v(e._s(i.cityName))])])]})],2)]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])]),e._v(" "),a("div",{staticClass:"popper__arrow",staticStyle:{left:"35px"},attrs:{"x-arrow":""}})]):e._e()],1)]})],2)],1)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.citySelectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions city-slected-opyions"},[e._l(t.citySelectedOptions,function(l,i){return[a("span",{key:i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.selected)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delcitySelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag013"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag015"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("vue-gic-datepicker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",format:"MMdd","value-format":"MMdd"},model:{value:t.monthDayRange,callback:function(a){e.$set(t,"monthDayRange",a)},expression:"parent.monthDayRange"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":"月"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag016"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1)]:e._e(),e._v(" "),"tag019"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag017"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e()],2)})],2)]),e._v(" "),a("div",{staticClass:"myTagDetail-wrap__btn"},[e.tagFlag?a("el-button",{attrs:{type:"primary"},on:{click:e.addTemporary}},[e._v("\n "+e._s(e.addTempFlag?"更新标签选项":"添加到暂存架")+"\n ")]):e._e(),e._v(" "),e.tagFlag?e._e():a("el-button",{attrs:{type:"primary",disabled:!!e.addFlag},on:{click:e.addMytag}},[e._v("\n "+e._s(e.addFlag?"已添加至我的标签库":"添加至我的标签库")+"\n ")])],1)])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var D=a("VU/8")(_,y,!1,function(e){a("MWnV")},"data-v-9db72bb2",null);t.default=D.exports}});
\ No newline at end of file
webpackJsonp([12],{"30/t":function(t,a){},puJc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),r=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"platformTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.a,tagLib:r.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"platformTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(i,o,!1,function(t){e("30/t")},"data-v-8d837e0c",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([13],{"4SSP":function(e,t){},oVck:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3Xzz"),o=(a("Mk6G"),a("3E4D"),a("Ch4/")),n=function(e,t){function a(e){return(e=e.toString())[1]?e:"0"+e}if(null!=e){var r=new Date(e),o=r.getFullYear(),n=r.getMonth()+1,s=r.getDate(),i=r.getHours(),u=r.getMinutes(),l=r.getSeconds();return[o,n,s].map(a).join(t||"-")+" "+[i,u,l].map(a).join(":")}return"--"},s=(a("PI0u"),a("P9l9")),i={name:"memberGroupList",components:{navCrumb:r.a},data:function(){return{dialogVisible:!0,navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员分组",path:""}],tagSearch:"",groupTableData:[],currentPage:1,pageSize:20,total:0,groupSetShow:!1,loading:!1,statusSelect:""}},created:function(){this.loading=!0},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"},formatNum:function(e){return(e+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")},formatUpdateFrequency:function(e,t){switch(e){case 1:return"每天一次";case 2:return t?"每周"+["一","二","三","四","五","六","日"][t-1]:"每周一次";case 3:return t?"每月"+t+"号":"每月一次";default:return"--"}}},methods:{setRowClassName:function(e){e.row,e.rowIndex},showGroupSet:function(){this.groupSetShow=!0},changeRoute:function(e){this.$router.push(e)},toAddGroup:function(){this.changeRoute("/memberGroupEdit")},clearSearch:function(){this.currentPage=1,this.getGroupList()},searchEnterFun:function(e){this.currentPage=1,this.getGroupList()},handleSizeChange:function(e){this.pageSize=e,this.getGroupList()},handleCurrentChange:function(e){this.currentPage=e,this.getGroupList()},toInvalid:function(e){var t=this;t.$confirm("该分组失效后,不再更新数据,确认要失效吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.loading=!0;var a={effectiveStatus:"0",memberTagGroupId:e.memberTagGroupId};t.updateGroup(a,e)}).catch(function(){})},switchAppStatus:function(e,t){console.log(e,t);this.loading=!0;var a={memberTagGroupId:t.memberTagGroupId,appStatus:e};this.updateGroup(a,t)},refreshGroup:function(e){var t=this;t.loading=!0;var a={memberTagGroupId:e.memberTagGroupId};Object(s.a)("/member-tag-member/getMemberCountByGroupId.json",a).then(function(a){e.memberCount=a.data.result,t.loading=!1}).catch(function(e){t.loading=!1})},updateGroup:function(e,t){var a=this;Object(s.a)("/member-tag-group/simpleUpdate.json",e).then(function(r){t.effectiveStatus=e.effectiveStatus||t.effectiveStatus,t.memberCount=e.memberCount||0==e.memberCount?e.memberCount:t.memberCount,a.loading=!1,a.$message.success({duration:1e3,message:"操作成功!"}),a.loading=!1}).catch(function(e){a.loading=!1})},cancelDelTag:function(e,t){t.popVisible=!1},toDelTag:function(e,t){var a=this;a.$confirm("该分组覆盖"+a.$options.filters.formatNum(e.memberCount||0)+"人,一旦删除无法恢复,确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.loading=!0,a.delGroup(e.memberTagGroupId,t)}).catch(function(){})},delGroup:function(e,t){var a=this,r={memberTagGroupId:e};Object(s.a)("/member-tag-group/delete.json",r).then(function(e){var r=e.data;if(a.loading=!1,1==r.errorCode)return a.groupTableData.splice(t,1),void a.$message.success({duration:1e3,message:"删除成功!"});200003!=r.errorCode?o.a.errorMsg(r):a.$confirm("该分组正在被活动使用,无法删除!","提示",{confirmButtonText:"确定",type:"warning"})}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})})},searchByStatus:function(e){this.loading=!0,console.log(e,this.statusSelect),this.getGroupList()},getGroupList:function(){var e=this,t={groupName:e.tagSearch,pageSize:e.pageSize,pageNum:e.currentPage,effectiveStatus:e.statusSelect};Object(s.a)("/member-tag-group/findList.json",t).then(function(t){var a=t.data;if(1==a.errorCode)return e.total=a.result.totalCount,a.result.result.forEach(function(e,t){e.latestUpdateTime||(e.latestUpdateTime="- -"),e.createTime&&(e.createTime=n(e.createTime))}),e.groupTableData=a.result.result,void(e.loading=!1);e.loading=!1,o.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getGroupList()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"memberGroupList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-220 m-r-8",attrs:{placeholder:"请输入关键字搜索人群","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchEnterFun(t):null}},model:{value:e.tagSearch,callback:function(t){e.tagSearch=t},expression:"tagSearch"}}),e._v(" "),a("el-select",{staticClass:"w-220 m-l-0",attrs:{placeholder:"请选择"},on:{change:e.searchByStatus},model:{value:e.statusSelect,callback:function(t){e.statusSelect=t},expression:"statusSelect"}},[a("el-option",{key:0,attrs:{label:"失效",value:0}}),e._v(" "),a("el-option",{key:1,attrs:{label:"有效",value:1}}),e._v(" "),a("el-option",{key:"",attrs:{label:"全部",value:""}})],1),e._v(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:e.toAddGroup}},[e._v("新增分组")])],1),e._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{"row-class-name":e.setRowClassName,data:e.groupTableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"分组名称",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-popover",{attrs:{placement:"top-start",width:"200",trigger:"hover"}},[a("div",[a("p",[e._v("名称:"+e._s(t.row.groupName))]),e._v(" "),a("p",[e._v("描述:"+e._s(t.row.describle))])]),e._v(" "),a("a",{staticClass:"pointer a-href",attrs:{slot:"reference"},on:{click:function(a){e.changeRoute("/memberGroupDetail?memberTagGroupId="+t.row.memberTagGroupId)}},slot:"reference"},[e._v(e._s(t.row.groupName))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isRealTime?"实时":"非实时")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"最近更新时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.latestUpdateTime)))]),e._v(" "),a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.latestUpdateTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"更新频率","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.isRealTime?[e._v("\n "+e._s((t.row.updateType,t.row.updateDay|e.formatUpdateFrequency))+"\n ")]:[e._v("\n --\n ")]]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"state",label:"状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.effectiveStatus?"有效":"失效")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"peopleCover",label:"覆盖人数","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatNum")(t.row.memberCount||0))+" 人\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"appStatus",label:"好办展示"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#1890ff"},on:{change:function(a){e.switchAppStatus(t.row.appStatus,t.row)}},model:{value:t.row.appStatus,callback:function(a){e.$set(t.row,"appStatus",a)},expression:"scope.row.appStatus"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"createTime",label:"创建时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"recentUpdateDate",label:"到期时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.effectiveDate)))]),e._v(" "),a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.effectiveDate)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"257px"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.effectiveStatus?a("el-button",{staticClass:"p-r-12",attrs:{type:"text",size:"small"},on:{click:function(a){e.toInvalid(t.row)}}},[e._v("失效")]):e._e(),e._v(" "),a("router-link",{staticClass:"edit-btn el-button--text p-r-12",attrs:{to:{path:"/memberGroupDetail",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("详情")]),e._v(" "),a("router-link",{staticClass:"edit-btn el-button--text p-r-12",attrs:{to:{path:"/memberGroupEdit",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("编辑")]),e._v(" "),a("el-button",{staticClass:"p-r-12",attrs:{type:"text",size:"small"},on:{click:function(a){e.toDelTag(t.row,t.$index)}}},[e._v("删除")]),e._v(" "),a("el-popover",{attrs:{placement:"top",width:"50",trigger:"hover"}},[e._v("\n 刷新覆盖人数\n "),a("el-button",{attrs:{slot:"reference",type:"text",size:"small"},on:{click:function(a){e.refreshGroup(t.row)}},slot:"reference"},[e._v("刷新")])],1)]}}])})],1)],1),e._v(" "),0!=e.groupTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var l=a("VU/8")(i,u,!1,function(e){a("4SSP")},null,null);t.default=l.exports}});
\ No newline at end of file
webpackJsonp([13],{LYW7:function(e,t){},ijla:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("mvHQ"),i=a.n(l),s=a("mw3O"),n=a.n(s),o=a("3Xzz"),c=a("Tja3"),r=a("M2/U"),d=a("3fED"),m=a("DMDI"),u=(a("Mk6G"),a("3E4D")),p=a("Ch4/"),v=a("PI0u"),g=a("P9l9"),b={name:"myTagDetail",mixins:[m.a],data:function(){return{showTagDetail:!1,tagShortDetailId:"",fromFlag:"myTag",tagId:"",tagFlag:!1,addFlag:!1,templateCode:"",addTempFlag:!1,searchFlag:!1,postCompute:"",currentKey:null,currentComputeType:"",postTemplateData:{selectedVal:[],template:[]},templateData:[],tag001:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[],compute:"in"},tag002:{computeRadio:"in"},tag003:{numRange:["",""]},tag004:{fixedRecentRadio:"1",fixedRecentRangeValue:[],fixedRecentTimeRecent:""},tag005:{timeRecent:"",timeType:"lastday"},tag006:{timeAfter:"",timeType:"afterday"},tag007:{addInputValue:"",addTags:[]},tag008:{searchModel:[],searchOptions:[],addSelectTags:[]},tag009:{allSelectActive:"first",inputSearch:"",allSelectOptions:[],selectedOptions:[]},tag010:{citySelectActive:"first",isIndeterminateCity:!1,checkAllCity:!1,citySelectOptions:[{provinceId:1,check:!1,provinceName:"北京",showCity:!1,children:[{cityId:11,cityName:"北京",check:!1}]}],checkeditemsCity:[],citySelectedOptions:[]},tag011:{uuid:"",uuidOptions:[0,1,2,3,4,5],isAdd:!0},tag012:{selectOne:"all",selectTwo:"in",selectLabel:"曾经消费门店",selectLabelTip:"注:存在其一即会员至少有一个字段值满足所选条件;所有即会员的所有字段值满足所选条件"},tag013:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[]},tag014:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag015:{radio:"1",monthDayRange:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag016:{dateRangeValue:[]},tag017:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag019:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tagData:{tagId:"",tagName:"",tagDescribe:"",isActive:0,inputSearch:""},baseUrl:""}},computed:{navpath:function(){var e=this.$route.query.navSign,t="platformTag"==e?{name:"平台标签列表",path:"/platformTagList"}:"manualTag"==e?{name:"手工标签列表",path:"/manualTagList"}:{name:"我的标签列表",path:"/myTagList"};return[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},t,{name:"标签详情",path:""}]}},beforeMount:function(){var e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{addMytag:function(){var e=this,t={tagId:e.tagId};Object(g.a)("/enterpriseMemberTag/addByTagId",t).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("添加成功","success"),void(e.addFlag=!0);p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},addTemporary:Object(v.a)(function(){this.confirmPost()},500),addToTemp:function(e,t){var a=this,l={tagId:a.tagShortId,tagValue:i()(e),tagParams:i()(t)};Object(g.b)("/member-tag-value/add.json",l).then(function(e){var t=e.data;if(1==t.errorCode)return u.a.showmsg("添加成功","success"),a.addTempFlag=!0,void a.updateTemp();p.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},checkTagTemplate:function(e){var t=this;t.templateData=[],t.postCompute=null;var a=JSON.parse(e);if(a){var l=a.val[0],i=a.time;if(t.currentComputeType=parseInt(l.compute.computeType),0===parseInt(l.compute.computeType)&&l.compute.computeWidgetId&&t.getTemplateCodeById(l.compute.computeWidgetId),1===parseInt(l.compute.computeType)&&(t.postCompute=l.compute.compute),l.valWidgetId&&setTimeout(function(){t.getTemplateCodeById(l.valWidgetId)},50),i.length){if(1===parseInt(l.compute.computeType))return void setTimeout(function(){i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})},60);i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})}}},getTemplateCodeById:function(e){var t=this,a={widgetId:e};Object(g.a)("/memberTag/findWidget",a).then(function(e){var a=e.data;if(1==a.errorCode){for(var l in a.result)t[a.result.templateCode][l]=a.result[l];return"tag010"===a.result.templateCode&&t.getcityData(),t.postCompute&&(t[a.result.templateCode].postCompute=t.postCompute),0===parseInt(a.result.sourceFlag)&&(a.result.widgetValues=JSON.parse(a.result.widgetValues),t[a.result.templateCode].options=a.result.widgetValues),1===parseInt(a.result.sourceFlag)?(a.result.widgetParam=JSON.parse(a.result.widgetParam),t.getAsyncList(a.result.widgetParam[0].value,t[a.result.templateCode]),"tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0),!1):(t.templateData.push(t[a.result.templateCode]),t.getExistData(t.tagData.tagId),void("tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0)))}p.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},isContained:function(e,t){if(!(e instanceof Array&&t instanceof Array))return!1;if(e.length<t.length)return!1;if(!t.length)return!1;for(var a=e.toString(),l=0,i=t.length;l<i;l++)if(-1==a.indexOf(t[l]))return!1;return!0},getAsyncList:function(e,t){var a=this,l={key:1==a.tagData.tagType?a.tagData.tagId:a.currentKey,requestProject:"member-tag"};a.axios.post(a.baseUrl+e,n.a.stringify(l)).then(function(e){var l=e.data;if(1!=a.tagData.tagType&&"tag"!=a.currentKey){if(0==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options)}else if(1==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options);a.$message.error({duration:1e3,message:l.message})}).catch(function(e){console.log(e),a.$message.error({duration:1e3,message:e.message})})},getExistData:function(e,t){var a=this,l={tagId:e};Object(g.a)("/member-tag-value/findOne.json",l).then(function(e){var l=e.data;if(1==l.errorCode){if(!l.result||"[]"==l.result.tagParams)return a.addTempFlag=!1,!1;a.addTempFlag=!0;var i=JSON.parse(l.result.tagParams).template;return t&&i.forEach(function(e,l){if("tag013"==e.templateCode){e.options=t;var i=t.map(function(e){return e.key}),s=!0;t.forEach(function(t,a){-1!=e.checkeditems.indexOf(t.key)&&(s=!1)});var n=e.checkeditems.length;if(a.isContained(e.checkeditems,i))return e.checkAll=!0,e.isIndeterminate=!1,!1;if(s&&t.length<n)return e.checkAll=!1,e.isIndeterminate=!1,!1;if(!s&&t.length>=n)return e.checkAll=!1,e.isIndeterminate=!0,!1;if(s&&t.length>=n)return e.checkAll=!1,e.isIndeterminate=!1,!1}}),void(a.templateData=i)}p.a.errorMsg(l)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getTagData:function(e){var t=this;t.searchFlag=!1;var a={tagId:e};Object(g.a)("/memberTag/getTagById",a).then(function(e){var a=e.data;if(1!=a.errorCode)p.a.errorMsg(a);else{t.tagData.tagId=a.result.tagId,t.tagData.tagName=a.result.tagName,t.tagData.tagDescribe=a.result.tagDescribe,t.tagData.isActive=a.result.isActive,t.tagData.tagType=a.result.tagType,t.currentKey=a.result.columnKey;var l=a.result.template;l&&t.checkTagTemplate(l.templateContent)}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleShowTag:function(){this.showTagDetail=!0},handleHideTag:function(e){this.showTagDetail=!1},showShortDetail:function(e){this.showTagDetail=!0,this.tagShortDetailId=e},updateTemp:function(){this.$refs.tagTemp.getTagList(),this.$refs.tagTemp.showTagList(),this.updataTagDetail()},updataTagDetail:function(){this.getTagData(this.tagId)}},watch:{$route:{handler:function(e,t){window.location.reload()},deep:!0}},mounted:function(){this.tagFlag=-1==this.$route.fullPath.indexOf("notMyTag"),this.$route.query.tagId&&(this.tagId=this.$route.query.tagId,this.tagShortId=this.$route.query.tagId,this.getTagData(this.tagId),document.getElementById("app").style.zIndex=1),this.addFlag=!!this.$route.query.addFlag},components:{navCrumb:o.a,checkboxOption:c.a,tagShortDetail:d.a,tagTemporary:r.a},beforeDestroy:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"},destroyed:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"}},_={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"myTagDetail-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"checkboxOption-wrap"},[a("div",{staticClass:"checkboxOption-wrap__head"},[a("div",{staticClass:"checkboxOption-wrap__head__title"},[e._v("\n "+e._s(e.tagData.tagName)+"\n "),a("span",{staticClass:"realtime-span border-box"},[e._v(e._s(1==e.tagData.isActive?"实时":"非实时"))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__head__describe"},[e._v(e._s(e.tagData.tagDescribe))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body"},[a("div",{staticClass:"checkboxOption-wrap__body__title"},[e._v("标签值设置")]),e._v(" "),e._l(e.templateData,function(t,l){return a("div",{key:l},["tag001"==t.templateCode?[a("div",{key:"tag1"+l,staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag003"==t.templateCode?[a("div",{key:"tag2"+l,staticClass:"m-b-20"},[a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurFrom(a,t)}},model:{value:t.numRange[0],callback:function(a){e.$set(t.numRange,0,a)},expression:"parent.numRange[0]"}}),e._v(" "),a("label",[e._v(" - ")]),e._v(" "),a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurTo(a,t)}},model:{value:t.numRange[1],callback:function(a){e.$set(t.numRange,1,a)},expression:"parent.numRange[1]"}})],1)]:e._e(),e._v(" "),"tag014"==t.templateCode?[a("div",{key:"tag3"+l,staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag005"==t.templateCode?[a("div",{key:"tag4"+l,staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeRecent",t)}},model:{value:t.timeRecent,callback:function(a){e.$set(t,"timeRecent",a)},expression:"parent.timeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag006"==t.templateCode?[a("div",{key:"tag5"+l,staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("之后")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeAfter",t)}},model:{value:t.timeAfter,callback:function(a){e.$set(t,"timeAfter",a)},expression:"parent.timeAfter"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag002"==t.templateCode?[a("div",{key:"tag6"+l,staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"in"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("属于")]),e._v(" "),a("el-radio",{attrs:{label:"notIn"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("不属于")])],1)]:e._e(),e._v(" "),"tag004"==t.templateCode?[a("div",{key:"tag7"+l,staticClass:"m-b-20"},[a("div",[a("el-radio",{attrs:{label:"1"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("最近时段")])],1),e._v(" "),a("div",{staticClass:"m-t-18 w-500 h-80 fixed-date-picker border-box bg-f3f6f9"},[1==t.fixedRecentRadio?a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("时间范围")]):e._e(),1==t.fixedRecentRadio?a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.fixedRecentRangeValue,callback:function(a){e.$set(t,"fixedRecentRangeValue",a)},expression:"parent.fixedRecentRangeValue"}}):e._e(),e._v(" "),2==t.fixedRecentRadio?a("div",[a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-8",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"fixedRecentTimeRecent",t)}},model:{value:t.fixedRecentTimeRecent,callback:function(a){e.$set(t,"fixedRecentTimeRecent",a)},expression:"parent.fixedRecentTimeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1):e._e()],1)])]:e._e(),e._v(" "),"tag007"==t.templateCode?[a("div",{key:"tag8"+l,staticClass:"m-b-20"},[a("div",[a("el-input",{staticClass:"w-184 m-r-8",attrs:{placeholder:"请输入"},model:{value:t.addInputValue,callback:function(a){e.$set(t,"addInputValue",a)},expression:"parent.addInputValue"}}),a("el-button",{staticClass:"middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addInputVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delInputVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag008"==t.templateCode?[a("div",{key:"tag9"+l,staticClass:"m-b-20"},[a("div",{staticClass:"add-search-select"},[a("el-select",{staticClass:"el-select--small",attrs:{size:"small",multiple:"",filterable:"",remote:"",placeholder:"请输入关键词","reserve-keyword":!1,"remote-method":e.remoteMethod},on:{focus:function(a){e.remoteMethodFocus(a,t,l)},change:function(a){e.changeRemoteMethod(a,t)}},model:{value:t.searchModel,callback:function(a){e.$set(t,"searchModel",a)},expression:"parent.searchModel"}},e._l(t.searchOptions,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})})),a("el-button",{staticClass:"m-l-8 middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addSearchSelectVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addSelectTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delSearchSelectVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag012"==t.templateCode?[a("div",{key:"tag10"+l,staticClass:"m-b-20"},[a("el-select",{staticClass:"w-98",attrs:{placeholder:"请选择"},model:{value:t.selectOne,callback:function(a){e.$set(t,"selectOne",a)},expression:"parent.selectOne"}},[a("el-option",{attrs:{label:"所有",value:"all"}}),e._v(" "),a("el-option",{attrs:{label:"存在其一",value:"in"}})],1),a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v(e._s(e.tagData.tagName))]),a("el-select",{staticClass:"w-98 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.selectTwo,callback:function(a){e.$set(t,"selectTwo",a)},expression:"parent.selectTwo"}},[a("el-option",{attrs:{label:"属于",value:"in"}}),e._v(" "),a("el-option",{attrs:{label:"不属于",value:"notin"}})],1)],1)]:e._e(),e._v(" "),"tag011"==t.templateCode?a("div",[a("div",{key:"tag11"+l,staticClass:"m-b-20"},[a("vue-gic-store-new",{ref:"storeNew",refInFor:!0,attrs:{options:t.uuidOptions,uuid:t.uuid,isAdd:t.isAdd},on:{"update:uuid":function(a){e.$set(t,"uuid",a)}}})],1)]):e._e(),e._v(" "),"tag009"==t.templateCode?[a("div",{key:"tag12"+l,staticClass:"multiple-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.allSelectActive,callback:function(a){e.$set(t,"allSelectActive",a)},expression:"parent.allSelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options"},[e._l(t.allSelectOptions,function(l,i){return[a("el-checkbox",{key:l.check+i,on:{change:function(a){e.allSelectChange(a,i,l,t)}},model:{value:l.check,callback:function(t){e.$set(l,"check",t)},expression:"item.check"}},[e._v(e._s(l.name))])]})],2)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.selectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions"},[e._l(t.selectedOptions,function(l,i){return[a("span",{key:l.name+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.name)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delallSelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag010"==t.templateCode?[a("div",{key:"tag13"+l,staticClass:"multiple-select-wrap city-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.citySelectActive,callback:function(a){e.$set(t,"citySelectActive",a)},expression:"parent.citySelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options all-select-options__city"},[a("div",{staticClass:"city-checkbox city-checkbox-all border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminateCity},on:{change:function(a){e.cityCheckAllChange(a,t)}},model:{value:t.checkAllCity,callback:function(a){e.$set(t,"checkAllCity",a)},expression:"parent.checkAllCity"}},[e._v("全选")])],1),e._v(" "),a("el-checkbox-group",{on:{change:function(a){e.citySelectChange(a,t)}},model:{value:t.checkeditemsCity,callback:function(a){e.$set(t,"checkeditemsCity",a)},expression:"parent.checkeditemsCity"}},[e._l(t.citySelectOptions,function(l,i){return[a("div",{key:l.provinceId+i,staticClass:"city-checkbox border-box border-t-e4e7ed"},[a("el-checkbox",{key:l.provinceId,attrs:{label:l.provinceId}},[e._v("{{}}")]),a("label",{staticClass:"inline-block middle font-14 pointer city-name",on:{click:function(a){a.stopPropagation(),e.toggleCity(l.provinceId,l,t)}}},[e._v(e._s(l.provinceName))]),e._v(" "),l.showCity?a("div",{staticClass:"el-select-dropdown el-popper is-multiple",staticStyle:{"min-width":"240px",position:"absolute",top:"30px",left:"20px","transform-origin":"center top 0px","z-index":"2215"},attrs:{"x-placement":"bottom-start"}},[a("div",{staticClass:"el-scrollbar"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-right":"-17px"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(l.children,function(i,s){return[a("li",{key:i.check+s,class:["el-select-dropdown__item","city-name",i.check?"selected":""],on:{click:function(a){a.stopPropagation(),e.toggleClickCity(i,l,t)}}},[a("span",{staticClass:"city-name"},[e._v(e._s(i.cityName))])])]})],2)]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])]),e._v(" "),a("div",{staticClass:"popper__arrow",staticStyle:{left:"35px"},attrs:{"x-arrow":""}})]):e._e()],1)]})],2)],1)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.citySelectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions city-slected-opyions"},[e._l(t.citySelectedOptions,function(l,i){return[a("span",{key:l.selected+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.selected)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delcitySelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag013"==t.templateCode?[a("div",{key:"tag14"+l,staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag015"==t.templateCode?[a("div",{key:"tag15"+l,staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("vue-gic-datepicker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",format:"MMdd","value-format":"MMdd"},model:{value:t.monthDayRange,callback:function(a){e.$set(t,"monthDayRange",a)},expression:"parent.monthDayRange"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":"月"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag016"==t.templateCode?[a("div",{key:"tag16"+l,staticClass:"m-b-20"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1)]:e._e(),e._v(" "),"tag019"==t.templateCode?[a("div",{key:"tag17"+l,staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag017"==t.templateCode?[a("div",{key:"tag18"+l,staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e()],2)})],2)]),e._v(" "),a("div",{staticClass:"myTagDetail-wrap__btn"},[e.tagFlag?a("el-button",{attrs:{type:"primary"},on:{click:e.addTemporary}},[e._v("\n "+e._s(e.addTempFlag?"更新标签选项":"添加到暂存架")+"\n ")]):e._e(),e._v(" "),e.tagFlag?e._e():a("el-button",{attrs:{type:"primary",disabled:!!e.addFlag},on:{click:e.addMytag}},[e._v("\n "+e._s(e.addFlag?"已添加至我的标签库":"添加至我的标签库")+"\n ")])],1)])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("tagShortDetail",{attrs:{fromFlag:e.fromFlag,tagShortId:e.tagShortDetailId,showTagDetail:e.showTagDetail},on:{"update:tagShortId":function(t){e.tagShortDetailId=t},hideTag:e.handleHideTag,updateTemp:e.updateTemp}}),e._v(" "),a("tag-temporary",{ref:"tagTemp",on:{showShortDetail:e.showShortDetail}})],1)},staticRenderFns:[]};var h=a("VU/8")(b,_,!1,function(e){a("LYW7")},"data-v-9717fa84",null);t.default=h.exports}});
\ No newline at end of file
webpackJsonp([14],{m5M3:function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("m5M3")},"data-v-835d89ae",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([15],{XXBq:function(e,t){},f0o3:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),o=a.n(r),n=a("3Xzz"),i=a("5QTb"),s=a("Mk6G"),l=a("3E4D"),c=a("Ch4/"),u=(a("PI0u"),a("P9l9")),g={name:"manualTagList",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:"/manualTagLib"},{name:"手工标签列表",path:""}],tagLibName:"manualTag",tagSearch:"",tagTableData:[],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0,cateTableVisible:!1,inputNum:0,limitLength:10,cateForm:{cateTwo:"",cateThree:""},rules:{cateTwo:[{required:!0,message:"请选择分类",trigger:"blur"}],cateThree:[{required:!0,message:"请输入分类名称",trigger:"blur"}]},cateTwOptions:[],cateTableData:[]}},methods:{changeRoute:function(e){this.$router.push(e)},toAddMyTagLib:function(e,t){console.log(t);var a={};if("mult"===e){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;a.tagIds=[],this.selTagTableData.forEach(function(e,t){a.tagIds.push(e.tagId)}),console.log(a),a.tagIds=a.tagIds.join(","),this.addByTagId("addByTagIds",a)}else a.tagId=t,this.addByTagId("addByTagId",a)},addByTagId:function(e,t){var a=this;Object(u.a)("/enterpriseMemberTag/"+e,t).then(function(e){var t=e.data;if(1==t.errorCode)return l.a.showmsg("添加成功","success"),void a.getTagList();c.a.errorMsg(t)}).catch(function(e){console.log(e),a.$message.error({duration:1e3,message:e.message})})},searchEnterFun:function(e){console.log(e),this.currentPage=1,this.getTagList()},clearSearch:function(){this.currentPage=1,this.getTagList()},handleSelectChange:function(e){this.selTagTableData=e},handleSizeChange:function(e){this.pageSize=e,this.getTagList()},handleCurrentChange:function(e){this.currentPage=e,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+e),this.getTagList()},getTagList:function(e){var t=this,a={tagName:t.tagSearch,tagLevelGroupId:t.currentGroupId,pageNum:t.currentPage,pageSize:t.pageSize};Object(u.a)("/memberTag/handTagPageList",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tagTableData=a.result.result,void(t.total=a.result.totalCount);c.a.errorMsg(a)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},cancelDelTag:function(e,t){t.popVisible=!1},toDelTag:function(e,t){var a=this;a.$confirm("删除标签后,符合该标签值的会员对应标签值将同步删除。一旦删除将无法恢复,确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDelTag(e,t)}).catch(function(){})},postDelTag:function(e,t){var a=this,r={tagId:t.tagId};Object(u.a)("/memberTag/delHandMemberTag",r).then(function(t){var r=t.data;if(1==r.errorCode)return a.tagTableData.splice(e,1),void l.a.showmsg("删除成功","success");100005!=r.errorCode?c.a.errorMsg(r):a.$message.error({duration:1e3,message:"该标签正在被会员分组使用,无法删除!"})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},toManualTagEdit:function(){this.changeRoute("/manualTagEdit")},isRepeat:function(e){var t={};for(var a in e){if(t[e[a]])return!0;t[e[a]]=!0}return!1},showCateDialog:function(){this.cateTableVisible=!0,this.getTWoLevel()},cateTwoChange:function(e){this.cateForm.cateThree="",this.inputNum=0,this.getThreeLevel(e)},toAddCate:function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.cateForm.levelName=t.cateForm.cateThree,t.cateForm.editAble=!1,t.cateForm.inputValue="";var a=JSON.parse(o()(t.cateTableData));a.push(JSON.parse(o()(t.cateForm)));var r=a.map(function(e){return e.levelName});if(t.isRepeat(r))return a.splice(t.cateTableData.length-1,1),void t.$message.error({duration:1e3,message:"名称不能重复"});t.postAdd()})},postAdd:function(){var e=this,t={parentLevelGroupId:e.cateForm.cateTwo,levelName:e.cateForm.cateThree};Object(u.a)("/tagLevel/addHand",t).then(function(t){var a=t.data;if(1==a.errorCode)return e.$refs.tagCategoryCom.refreshData(),l.a.showmsg("添加成功","success"),void e.getThreeLevel(e.cateForm.cateTwo);c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEditCate:function(e,t){t.editAble=!0,t.inputValue=t.levelName},toDelCate:function(e,t){var a=this;a.$confirm("删除分类后,该分类下所有标签进入未分类,确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,r={tagLevelGroupId:t.tagLevelGroupId};Object(u.a)("/tagLevel/delHand",r).then(function(t){var r=t.data;if(1==r.errorCode)return a.cateTableData.splice(e,1),a.$refs.tagCategoryCom.refreshData(),void l.a.showmsg("删除成功","success");200001!=r.errorCode?c.a.errorMsg(r):a.$message.error({duration:1e3,message:"该标签被会员分组使用,无法删除!"})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},confirmEdit:function(e,t){if(!t.inputValue.trim())return this.$message.error({duration:1e3,message:"请输入分类名称"}),!1;var a=JSON.parse(o()(this.cateTableData));a[e].levelName=t.inputValue;var r=a.map(function(e){return e.levelName});this.isRepeat(r)?this.$message.error({duration:1e3,message:"名称不能重复"}):this.postEdit(t)},postEdit:function(e){var t=this,a={tagLevelGroupId:e.tagLevelGroupId,levelName:e.inputValue};Object(u.a)("/tagLevel/editHand",a).then(function(a){var r=a.data;if(1==r.errorCode)return e.levelName=e.inputValue,e.editAble=!1,t.$refs.tagCategoryCom.refreshData(),void l.a.showmsg("保存成功","success");c.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},cancleEdit:function(e,t){t.editAble=!1},toInput:function(e){var t="";t=s.a.getByteVal(e.target.value,this.limitLength),this.cateForm.cateThree=t.trim(),this.inputNum=s.a.getZhLen(t.trim())},toEditInput:function(e,t,a){var r="";r=s.a.getByteVal(e.target.value,this.limitLength),a.inputValue=r.trim()},closeCateDialog:function(){this.cateTableVisible=!1,this.cateForm.cateTwo="",this.cateForm.cateThree="",this.cateTableData=[],this.inputNum=0},cancelDialog:function(){this.closeCateDialog()},confirmDialog:function(){this.closeCateDialog()},getTWoLevel:function(){var e=this;Object(u.a)("/tagLevel/handSecondLevel",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.cateTwOptions=a.result,e.cateForm.cateTwo=e.cateTwOptions[0].tagLevelGroupId,void e.getThreeLevel(e.cateForm.cateTwo);c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getThreeLevel:function(e){var t=this,a={tagLevelGroupId:e};t.cateTableData=[],Object(u.a)("/tagLevel/handThirdLevel",a).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.forEach(function(e,t){e.inputValue="",e.editAble=!1}),void(t.cateTableData=a.result);c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,document.getElementById("app").style.zIndex="auto",this.getTagList()}},watch:{$route:{handler:function(e,t){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{navCrumb:n.a,tagCategory:i.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"manualTagList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{ref:"tagCategoryCom",attrs:{tagLibName:e.tagLibName}})],1),e._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"搜索标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchEnterFun(t):null}},model:{value:e.tagSearch,callback:function(t){e.tagSearch=t},expression:"tagSearch"}}),e._v(" "),a("el-button",{staticClass:"fr m-l-8",on:{click:function(t){e.toAddMyTagLib("mult")}}},[e._v("添加至我的标签库")]),e._v(" "),a("el-button",{staticClass:"fr",on:{click:e.showCateDialog}},[e._v("分类设置")]),e._v(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:e.toManualTagEdit}},[e._v("新增标签")])],1),e._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),e._v(" "),a("el-table-column",{attrs:{prop:"tagName",label:"标签名称","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isActive?"实时":"非实时")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"320"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/manualTagDetail",query:{tagId:t.row.tagId,addFlag:t.row.isAdd,form:"notMyTag",navSign:"manualTag"}}}},[e._v("详情")]),e._v(" "),a("router-link",{staticClass:"edit-btn el-button--text p-l-10",attrs:{to:{path:"/manualTagEdit",query:{tagId:t.row.tagId}}}},[e._v("编辑")]),e._v(" "),a("el-button",{staticClass:"p-l-10",attrs:{slot:"reference",type:"text"},on:{click:function(a){e.toDelTag(t.$index,t.row)}},slot:"reference"},[e._v("\n 删除\n ")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:1==t.row.isAdd},on:{click:function(a){e.toAddMyTagLib("single",t.row.tagId)}}},[e._v("\n "+e._s(1==t.row.isAdd?"已":"")+"添加至我的标签库\n ")])]}}])})],1)],1),e._v(" "),0!=e.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("el-dialog",{staticClass:"cate-dialog",attrs:{title:"分类设置",visible:e.cateTableVisible,width:"543px","before-close":e.closeCateDialog},on:{"update:visible":function(t){e.cateTableVisible=t}}},[a("el-form",{ref:"cateForm",attrs:{model:e.cateForm,rules:e.rules,"label-width":"80px","label-position":"left"}},[a("el-form-item",{attrs:{label:"二级分类",prop:"cateTwo"}},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:e.cateTwoChange},model:{value:e.cateForm.cateTwo,callback:function(t){e.$set(e.cateForm,"cateTwo",t)},expression:"cateForm.cateTwo"}},e._l(e.cateTwOptions,function(e){return a("el-option",{key:e.tagLevelGroupId,attrs:{label:e.levelName,value:e.tagLevelGroupId}})}))],1),e._v(" "),a("el-form-item",{attrs:{label:"三级分类",prop:"cateThree"}},[a("el-input",{attrs:{"auto-complete":"off",placeholder:"请输入分类名称"},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.cateForm.cateThree,callback:function(t){e.$set(e.cateForm,"cateThree",t)},expression:"cateForm.cateThree"}}),e._v(" "),a("label",{staticClass:"input-label"},[e._v(e._s(e.inputNum)+"/"+e._s(e.limitLength))]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){e.toAddCate("cateForm")}}},[e._v("添加")])],1)],1),e._v(" "),a("el-table",{attrs:{data:e.cateTableData,height:"275"}},[a("el-table-column",{attrs:{label:"分类名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.editAble?"":t.row.levelName)+"\n "),t.row.editAble?a("el-input",{staticClass:"h5-el-input",attrs:{size:"small",type:"text",placeholder:"请输入分类名称"},nativeOn:{keyup:function(a){return r=a,e.toEditInput(r,t.$index,t.row);var r}},model:{value:t.row.inputValue,callback:function(a){e.$set(t.row,"inputValue",a)},expression:"scope.row.inputValue"}}):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.editAble?e._e():a("el-button",{attrs:{type:"text",size:"small",disabled:!t.row.enterpriseId},on:{click:function(a){e.toEditCate(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),t.row.editAble?e._e():a("el-button",{attrs:{slot:"reference",type:"text",size:"small",disabled:!t.row.enterpriseId},on:{click:function(a){e.toDelCate(t.$index,t.row)}},slot:"reference"},[e._v("删除")]),e._v(" "),t.row.editAble?a("el-button",{attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.confirmEdit(t.$index,t.row)}}},[e._v("确认")]):e._e(),e._v(" "),t.row.editAble?a("el-button",{attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.cancleEdit(t.$index,t.row)}}},[e._v("取消")]):e._e()]}}])})],1)],1)],1)},staticRenderFns:[]};var h=a("VU/8")(g,d,!1,function(e){a("XXBq")},"data-v-5b5aebaa",null);t.default=h.exports}});
\ No newline at end of file
webpackJsonp([15],{FMfb:function(t,e){},NJTp:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3Xzz"),n=a("5QTb"),o=a("M2/U"),i=a("3fED"),s=(a("Mk6G"),a("3E4D")),l=a("Ch4/"),u=a("PI0u"),c=a("P9l9"),g={name:"myTagList",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:"/myTagLib"},{name:"我的标签列表",path:""}],showTagDetail:!1,tagShortDetailId:"",fromFlag:"myTag",tagLibName:"myTag",tagSearch:"",tagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{changeRoute:function(t){this.$router.push(t)},handleShowTag:function(){this.showTagDetail=!0},handleHideTag:function(t){this.showTagDetail=!1},toManualTagLib:function(){this.changeRoute("/manualTagList")},toPlatformTagLib:function(){this.changeRoute("/platformTagList")},searchEnterFun:Object(u.a)(function(t){this.currentPage=1,this.getTagList()},500),clearSearch:function(){this.currentPage=1,this.getTagList()},handleSizeChange:function(t){this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){this.currentPage=t,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+t),this.getTagList()},getTagList:function(){var t=this,e={tagName:t.tagSearch,tagLevelGroupId:t.currentGroupId,pageNum:t.currentPage,pageSize:t.pageSize};Object(c.a)("/enterpriseMemberTag/pageList",e).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.result&&a.result.result.length?(a.result.result.forEach(function(t,e){t.popVisible=!1}),t.tagTableData=a.result.result):(t.tagTableData=[],t.$message.error({duration:1e3,message:"未找到数据"})),void(t.total=a.result.totalCount);l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},addTemporary:function(t){this.tagShortDetailId=t,this.showTagDetail=!0,this.$refs.tagTemp.hideTagList()},cancelDelTag:function(t,e){e.popVisible=!1},toDelTag:function(t,e){var a=this;a.$confirm("确认要删除此标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postToDelTag(t,e)}).catch(function(){})},postToDelTag:function(t,e){var a=this,r={enterpriseMemberTagId:e.enterpriseMemberTagId};Object(c.a)("/enterpriseMemberTag/del",r).then(function(e){var r=e.data;if(1==r.errorCode)return s.a.showmsg("删除成功","success"),a.tagTableData.splice(t,1),void a.$refs.tagTemp.getTagList();l.a.errorMsg(r)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},showShortDetail:function(t){this.showTagDetail=!0,this.tagShortDetailId=t},updateTemp:function(){this.$refs.tagTemp.getTagList(),this.$refs.tagTemp.showTagList()},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,this.getTagList()}},watch:{$route:{handler:function(t,e){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{navCrumb:r.a,tagShortDetail:i.a,tagCategory:n.a,tagTemporary:o.a}},h={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"myTagList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{attrs:{tagLibName:t.tagLibName}})],1),t._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"搜索标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?(a=e,t.searchEnterFun(a)):null;var a}},model:{value:t.tagSearch,callback:function(e){t.tagSearch=e},expression:"tagSearch"}})],1),t._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"标签名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"pointer name-hover",on:{click:function(a){t.addTemporary(e.row.tagId)}}},[t._v(t._s(e.row.tagName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/myTagDetail",query:{tagId:e.row.tagId}}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"p-l-10",attrs:{type:"text",size:"small"},on:{click:function(a){t.addTemporary(e.row.tagId)}}},[t._v("添加至暂存架")]),t._v(" "),a("el-button",{attrs:{slot:"reference",type:"text"},on:{click:function(a){t.toDelTag(e.$index,e.row)}},slot:"reference"},[t._v("\n 删除\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("tagShortDetail",{attrs:{fromFlag:t.fromFlag,tagShortId:t.tagShortDetailId,showTagDetail:t.showTagDetail},on:{"update:tagShortId":function(e){t.tagShortDetailId=e},hideTag:t.handleHideTag,updateTemp:t.updateTemp}}),t._v(" "),a("tag-temporary",{ref:"tagTemp",on:{showShortDetail:t.showShortDetail}})],1)},staticRenderFns:[]};var p=a("VU/8")(g,h,!1,function(t){a("FMfb")},"data-v-75839696",null);e.default=p.exports}});
\ No newline at end of file
webpackJsonp([17],{"kV+b":function(t,a){},twLH:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("kV+b")},"data-v-58354cde",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([17],{"+uuR":function(e,t){},ijla:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("mvHQ"),i=a.n(l),s=a("mw3O"),n=a.n(s),o=a("3Xzz"),c=a("Tja3"),r=a("M2/U"),d=a("3fED"),m=a("DMDI"),u=(a("Mk6G"),a("3E4D")),p=a("Ch4/"),v=a("PI0u"),g=a("P9l9"),b={name:"myTagDetail",mixins:[m.a],data:function(){return{showTagDetail:!1,tagShortDetailId:"",fromFlag:"myTag",tagId:"",tagFlag:!1,addFlag:!1,templateCode:"",addTempFlag:!1,searchFlag:!1,postCompute:"",currentKey:null,currentComputeType:"",postTemplateData:{selectedVal:[],template:[]},templateData:[],tag001:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[],compute:"in"},tag002:{computeRadio:"in"},tag003:{numRange:["",""]},tag004:{fixedRecentRadio:"1",fixedRecentRangeValue:[],fixedRecentTimeRecent:""},tag005:{timeRecent:"",timeType:"lastday"},tag006:{timeAfter:"",timeType:"afterday"},tag007:{addInputValue:"",addTags:[]},tag008:{searchModel:[],searchOptions:[],addSelectTags:[]},tag009:{allSelectActive:"first",inputSearch:"",allSelectOptions:[],selectedOptions:[]},tag010:{citySelectActive:"first",isIndeterminateCity:!1,checkAllCity:!1,citySelectOptions:[{provinceId:1,check:!1,provinceName:"北京",showCity:!1,children:[{cityId:11,cityName:"北京",check:!1}]}],checkeditemsCity:[],citySelectedOptions:[]},tag011:{uuid:"",uuidOptions:[0,1,2,3,4,5],isAdd:!0},tag012:{selectOne:"all",selectTwo:"in",selectLabel:"曾经消费门店",selectLabelTip:"注:存在其一即会员至少有一个字段值满足所选条件;所有即会员的所有字段值满足所选条件"},tag013:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[]},tag014:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag015:{radio:"1",monthDayRange:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag016:{dateRangeValue:[]},tag017:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag019:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tagData:{tagId:"",tagName:"",tagDescribe:"",isActive:0,inputSearch:""},baseUrl:""}},computed:{navpath:function(){var e=this.$route.query.navSign,t="platformTag"==e?{name:"平台标签列表",path:"/platformTagList"}:"manualTag"==e?{name:"手工标签列表",path:"/manualTagList"}:{name:"我的标签列表",path:"/myTagList"};return[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},t,{name:"标签详情",path:""}]}},beforeMount:function(){var e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{addMytag:function(){var e=this,t={tagId:e.tagId};Object(g.a)("/enterpriseMemberTag/addByTagId",t).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("添加成功","success"),void(e.addFlag=!0);p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},addTemporary:Object(v.a)(function(){this.confirmPost()},500),addToTemp:function(e,t){var a=this,l={tagId:a.tagShortId,tagValue:i()(e),tagParams:i()(t)};Object(g.b)("/member-tag-value/add.json",l).then(function(e){var t=e.data;if(1==t.errorCode)return u.a.showmsg("添加成功","success"),a.addTempFlag=!0,void a.updateTemp();p.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},checkTagTemplate:function(e){var t=this;t.templateData=[],t.postCompute=null;var a=JSON.parse(e);if(a){var l=a.val[0],i=a.time;if(t.currentComputeType=parseInt(l.compute.computeType),0===parseInt(l.compute.computeType)&&l.compute.computeWidgetId&&t.getTemplateCodeById(l.compute.computeWidgetId),1===parseInt(l.compute.computeType)&&(t.postCompute=l.compute.compute),l.valWidgetId&&setTimeout(function(){t.getTemplateCodeById(l.valWidgetId)},50),i.length){if(1===parseInt(l.compute.computeType))return void setTimeout(function(){i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})},60);i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})}}},getTemplateCodeById:function(e){var t=this,a={widgetId:e};Object(g.a)("/memberTag/findWidget",a).then(function(e){var a=e.data;if(1==a.errorCode){for(var l in a.result)t[a.result.templateCode][l]=a.result[l];return"tag010"===a.result.templateCode&&t.getcityData(),t.postCompute&&(t[a.result.templateCode].postCompute=t.postCompute),0===parseInt(a.result.sourceFlag)&&(a.result.widgetValues=JSON.parse(a.result.widgetValues),t[a.result.templateCode].options=a.result.widgetValues),1===parseInt(a.result.sourceFlag)?(a.result.widgetParam=JSON.parse(a.result.widgetParam),t.getAsyncList(a.result.widgetParam[0].value,t[a.result.templateCode]),"tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0),!1):(t.templateData.push(t[a.result.templateCode]),t.getExistData(t.tagData.tagId),void("tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0)))}p.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},isContained:function(e,t){if(!(e instanceof Array&&t instanceof Array))return!1;if(e.length<t.length)return!1;if(!t.length)return!1;for(var a=e.toString(),l=0,i=t.length;l<i;l++)if(-1==a.indexOf(t[l]))return!1;return!0},getAsyncList:function(e,t){var a=this,l={key:1==a.tagData.tagType?a.tagData.tagId:a.currentKey,requestProject:"member-tag"};a.axios.post(a.baseUrl+e,n.a.stringify(l)).then(function(e){var l=e.data;if(1!=a.tagData.tagType&&"tag"!=a.currentKey){if(0==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options)}else if(1==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options);a.$message.error({duration:1e3,message:l.message})}).catch(function(e){console.log(e),a.$message.error({duration:1e3,message:e.message})})},getExistData:function(e,t){var a=this,l={tagId:e};Object(g.a)("/member-tag-value/findOne.json",l).then(function(e){var l=e.data;if(1==l.errorCode){if(!l.result||"[]"==l.result.tagParams)return a.addTempFlag=!1,!1;a.addTempFlag=!0;var i=JSON.parse(l.result.tagParams).template;return t&&i.forEach(function(e,l){if("tag013"==e.templateCode){e.options=t;var i=t.map(function(e){return e.key}),s=!0;t.forEach(function(t,a){-1!=e.checkeditems.indexOf(t.key)&&(s=!1)});var n=e.checkeditems.length;if(a.isContained(e.checkeditems,i))return e.checkAll=!0,e.isIndeterminate=!1,!1;if(s&&t.length<n)return e.checkAll=!1,e.isIndeterminate=!1,!1;if(!s&&t.length>=n)return e.checkAll=!1,e.isIndeterminate=!0,!1;if(s&&t.length>=n)return e.checkAll=!1,e.isIndeterminate=!1,!1}}),void(a.templateData=i)}p.a.errorMsg(l)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getTagData:function(e){var t=this;t.searchFlag=!1;var a={tagId:e};Object(g.a)("/memberTag/getTagById",a).then(function(e){var a=e.data;if(1!=a.errorCode)p.a.errorMsg(a);else{t.tagData.tagId=a.result.tagId,t.tagData.tagName=a.result.tagName,t.tagData.tagDescribe=a.result.tagDescribe,t.tagData.isActive=a.result.isActive,t.tagData.tagType=a.result.tagType,t.currentKey=a.result.columnKey;var l=a.result.template;l&&t.checkTagTemplate(l.templateContent)}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleShowTag:function(){this.showTagDetail=!0},handleHideTag:function(e){this.showTagDetail=!1},showShortDetail:function(e){this.showTagDetail=!0,this.tagShortDetailId=e},updateTemp:function(){this.$refs.tagTemp.getTagList(),this.$refs.tagTemp.showTagList(),this.updataTagDetail()},updataTagDetail:function(){this.getTagData(this.tagId)}},watch:{$route:{handler:function(e,t){window.location.reload()},deep:!0}},mounted:function(){this.tagFlag=-1==this.$route.fullPath.indexOf("notMyTag"),this.$route.query.tagId&&(this.tagId=this.$route.query.tagId,this.tagShortId=this.$route.query.tagId,this.getTagData(this.tagId),document.getElementById("app").style.zIndex=1),this.addFlag=!!this.$route.query.addFlag},components:{navCrumb:o.a,checkboxOption:c.a,tagShortDetail:d.a,tagTemporary:r.a},beforeDestroy:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"},destroyed:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"}},_={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"myTagDetail-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"checkboxOption-wrap"},[a("div",{staticClass:"checkboxOption-wrap__head"},[a("div",{staticClass:"checkboxOption-wrap__head__title"},[e._v("\n "+e._s(e.tagData.tagName)+"\n "),a("span",{staticClass:"realtime-span border-box"},[e._v(e._s(1==e.tagData.isActive?"实时":"非实时"))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__head__describe"},[e._v(e._s(e.tagData.tagDescribe))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body"},[a("div",{staticClass:"checkboxOption-wrap__body__title"},[e._v("标签值设置")]),e._v(" "),e._l(e.templateData,function(t,l){return a("div",{key:l},["tag001"==t.templateCode?[a("div",{key:"tag1"+l,staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag003"==t.templateCode?[a("div",{key:"tag2"+l,staticClass:"m-b-20"},[a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurFrom(a,t)}},model:{value:t.numRange[0],callback:function(a){e.$set(t.numRange,0,a)},expression:"parent.numRange[0]"}}),e._v(" "),a("label",[e._v(" - ")]),e._v(" "),a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurTo(a,t)}},model:{value:t.numRange[1],callback:function(a){e.$set(t.numRange,1,a)},expression:"parent.numRange[1]"}})],1)]:e._e(),e._v(" "),"tag014"==t.templateCode?[a("div",{key:"tag3"+l,staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag005"==t.templateCode?[a("div",{key:"tag4"+l,staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeRecent",t)}},model:{value:t.timeRecent,callback:function(a){e.$set(t,"timeRecent",a)},expression:"parent.timeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag006"==t.templateCode?[a("div",{key:"tag5"+l,staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("之后")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeAfter",t)}},model:{value:t.timeAfter,callback:function(a){e.$set(t,"timeAfter",a)},expression:"parent.timeAfter"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag002"==t.templateCode?[a("div",{key:"tag6"+l,staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"in"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("属于")]),e._v(" "),a("el-radio",{attrs:{label:"notIn"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("不属于")])],1)]:e._e(),e._v(" "),"tag004"==t.templateCode?[a("div",{key:"tag7"+l,staticClass:"m-b-20"},[a("div",[a("el-radio",{attrs:{label:"1"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("最近时段")])],1),e._v(" "),a("div",{staticClass:"m-t-18 w-500 h-80 fixed-date-picker border-box bg-f3f6f9"},[1==t.fixedRecentRadio?a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("时间范围")]):e._e(),1==t.fixedRecentRadio?a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.fixedRecentRangeValue,callback:function(a){e.$set(t,"fixedRecentRangeValue",a)},expression:"parent.fixedRecentRangeValue"}}):e._e(),e._v(" "),2==t.fixedRecentRadio?a("div",[a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-8",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"fixedRecentTimeRecent",t)}},model:{value:t.fixedRecentTimeRecent,callback:function(a){e.$set(t,"fixedRecentTimeRecent",a)},expression:"parent.fixedRecentTimeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1):e._e()],1)])]:e._e(),e._v(" "),"tag007"==t.templateCode?[a("div",{key:"tag8"+l,staticClass:"m-b-20"},[a("div",[a("el-input",{staticClass:"w-184 m-r-8",attrs:{placeholder:"请输入"},model:{value:t.addInputValue,callback:function(a){e.$set(t,"addInputValue",a)},expression:"parent.addInputValue"}}),a("el-button",{staticClass:"middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addInputVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delInputVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag008"==t.templateCode?[a("div",{key:"tag9"+l,staticClass:"m-b-20"},[a("div",{staticClass:"add-search-select"},[a("el-select",{staticClass:"el-select--small",attrs:{size:"small",multiple:"",filterable:"",remote:"",placeholder:"请输入关键词","reserve-keyword":!1,"remote-method":e.remoteMethod},on:{focus:function(a){e.remoteMethodFocus(a,t,l)},change:function(a){e.changeRemoteMethod(a,t)}},model:{value:t.searchModel,callback:function(a){e.$set(t,"searchModel",a)},expression:"parent.searchModel"}},e._l(t.searchOptions,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})})),a("el-button",{staticClass:"m-l-8 middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addSearchSelectVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addSelectTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delSearchSelectVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag012"==t.templateCode?[a("div",{key:"tag10"+l,staticClass:"m-b-20"},[a("el-select",{staticClass:"w-98",attrs:{placeholder:"请选择"},model:{value:t.selectOne,callback:function(a){e.$set(t,"selectOne",a)},expression:"parent.selectOne"}},[a("el-option",{attrs:{label:"所有",value:"all"}}),e._v(" "),a("el-option",{attrs:{label:"存在其一",value:"in"}})],1),a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v(e._s(e.tagData.tagName))]),a("el-select",{staticClass:"w-98 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.selectTwo,callback:function(a){e.$set(t,"selectTwo",a)},expression:"parent.selectTwo"}},[a("el-option",{attrs:{label:"属于",value:"in"}}),e._v(" "),a("el-option",{attrs:{label:"不属于",value:"notin"}})],1)],1)]:e._e(),e._v(" "),"tag011"==t.templateCode?a("div",[a("div",{key:"tag11"+l,staticClass:"m-b-20"},[a("vue-gic-store-new",{ref:"storeNew",refInFor:!0,attrs:{options:t.uuidOptions,uuid:t.uuid,isAdd:t.isAdd},on:{"update:uuid":function(a){e.$set(t,"uuid",a)}}})],1)]):e._e(),e._v(" "),"tag009"==t.templateCode?[a("div",{key:"tag12"+l,staticClass:"multiple-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.allSelectActive,callback:function(a){e.$set(t,"allSelectActive",a)},expression:"parent.allSelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options"},[e._l(t.allSelectOptions,function(l,i){return[a("el-checkbox",{key:l.check+i,on:{change:function(a){e.allSelectChange(a,i,l,t)}},model:{value:l.check,callback:function(t){e.$set(l,"check",t)},expression:"item.check"}},[e._v(e._s(l.name))])]})],2)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.selectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions"},[e._l(t.selectedOptions,function(l,i){return[a("span",{key:l.name+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.name)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delallSelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag010"==t.templateCode?[a("div",{key:"tag13"+l,staticClass:"multiple-select-wrap city-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.citySelectActive,callback:function(a){e.$set(t,"citySelectActive",a)},expression:"parent.citySelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options all-select-options__city"},[a("div",{staticClass:"city-checkbox city-checkbox-all border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminateCity},on:{change:function(a){e.cityCheckAllChange(a,t)}},model:{value:t.checkAllCity,callback:function(a){e.$set(t,"checkAllCity",a)},expression:"parent.checkAllCity"}},[e._v("全选")])],1),e._v(" "),a("el-checkbox-group",{on:{change:function(a){e.citySelectChange(a,t)}},model:{value:t.checkeditemsCity,callback:function(a){e.$set(t,"checkeditemsCity",a)},expression:"parent.checkeditemsCity"}},[e._l(t.citySelectOptions,function(l,i){return[a("div",{key:l.provinceId+i,staticClass:"city-checkbox border-box border-t-e4e7ed"},[a("el-checkbox",{key:l.provinceId,attrs:{label:l.provinceId}},[e._v("{{}}")]),a("label",{staticClass:"inline-block middle font-14 pointer city-name",on:{click:function(a){a.stopPropagation(),e.toggleCity(l.provinceId,l,t)}}},[e._v(e._s(l.provinceName))]),e._v(" "),l.showCity?a("div",{staticClass:"el-select-dropdown el-popper is-multiple",staticStyle:{"min-width":"240px",position:"absolute",top:"30px",left:"20px","transform-origin":"center top 0px","z-index":"2215"},attrs:{"x-placement":"bottom-start"}},[a("div",{staticClass:"el-scrollbar"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-right":"-17px"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(l.children,function(i,s){return[a("li",{key:i.check+s,class:["el-select-dropdown__item","city-name",i.check?"selected":""],on:{click:function(a){a.stopPropagation(),e.toggleClickCity(i,l,t)}}},[a("span",{staticClass:"city-name"},[e._v(e._s(i.cityName))])])]})],2)]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])]),e._v(" "),a("div",{staticClass:"popper__arrow",staticStyle:{left:"35px"},attrs:{"x-arrow":""}})]):e._e()],1)]})],2)],1)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.citySelectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions city-slected-opyions"},[e._l(t.citySelectedOptions,function(l,i){return[a("span",{key:l.selected+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.selected)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delcitySelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag013"==t.templateCode?[a("div",{key:"tag14"+l,staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag015"==t.templateCode?[a("div",{key:"tag15"+l,staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("vue-gic-datepicker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",format:"MMdd","value-format":"MMdd"},model:{value:t.monthDayRange,callback:function(a){e.$set(t,"monthDayRange",a)},expression:"parent.monthDayRange"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":"月"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag016"==t.templateCode?[a("div",{key:"tag16"+l,staticClass:"m-b-20"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1)]:e._e(),e._v(" "),"tag019"==t.templateCode?[a("div",{key:"tag17"+l,staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag017"==t.templateCode?[a("div",{key:"tag18"+l,staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e()],2)})],2)]),e._v(" "),a("div",{staticClass:"myTagDetail-wrap__btn"},[e.tagFlag?a("el-button",{attrs:{type:"primary"},on:{click:e.addTemporary}},[e._v("\n "+e._s(e.addTempFlag?"更新标签选项":"添加到暂存架")+"\n ")]):e._e(),e._v(" "),e.tagFlag?e._e():a("el-button",{attrs:{type:"primary",disabled:!!e.addFlag},on:{click:e.addMytag}},[e._v("\n "+e._s(e.addFlag?"已添加至我的标签库":"添加至我的标签库")+"\n ")])],1)])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("tagShortDetail",{attrs:{fromFlag:e.fromFlag,tagShortId:e.tagShortDetailId,showTagDetail:e.showTagDetail},on:{"update:tagShortId":function(t){e.tagShortDetailId=t},hideTag:e.handleHideTag,updateTemp:e.updateTemp}}),e._v(" "),a("tag-temporary",{ref:"tagTemp",on:{showShortDetail:e.showShortDetail}})],1)},staticRenderFns:[]};var h=a("VU/8")(b,_,!1,function(e){a("+uuR")},"data-v-4f303d24",null);t.default=h.exports}});
\ No newline at end of file
webpackJsonp([18],{Ms6j:function(e,t){},f0o3:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),o=a.n(r),n=a("3Xzz"),i=a("5QTb"),s=a("Mk6G"),l=a("3E4D"),c=a("Ch4/"),u=(a("PI0u"),a("P9l9")),g={name:"manualTagList",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:"/manualTagLib"},{name:"手工标签列表",path:""}],tagLibName:"manualTag",tagSearch:"",tagTableData:[],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0,cateTableVisible:!1,inputNum:0,limitLength:10,cateForm:{cateTwo:"",cateThree:""},rules:{cateTwo:[{required:!0,message:"请选择分类",trigger:"blur"}],cateThree:[{required:!0,message:"请输入分类名称",trigger:"blur"}]},cateTwOptions:[],cateTableData:[]}},methods:{changeRoute:function(e){this.$router.push(e)},toAddMyTagLib:function(e,t){console.log(t);var a={};if("mult"===e){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;a.tagIds=[],this.selTagTableData.forEach(function(e,t){a.tagIds.push(e.tagId)}),console.log(a),a.tagIds=a.tagIds.join(","),this.addByTagId("addByTagIds",a)}else a.tagId=t,this.addByTagId("addByTagId",a)},addByTagId:function(e,t){var a=this;Object(u.a)("/enterpriseMemberTag/"+e,t).then(function(e){var t=e.data;if(1==t.errorCode)return l.a.showmsg("添加成功","success"),void a.getTagList();c.a.errorMsg(t)}).catch(function(e){console.log(e),a.$message.error({duration:1e3,message:e.message})})},searchEnterFun:function(e){console.log(e),this.currentPage=1,this.getTagList()},clearSearch:function(){this.currentPage=1,this.getTagList()},handleSelectChange:function(e){this.selTagTableData=e},handleSizeChange:function(e){this.pageSize=e,this.getTagList()},handleCurrentChange:function(e){this.currentPage=e,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+e),this.getTagList()},getTagList:function(e){var t=this,a={tagName:t.tagSearch,tagLevelGroupId:t.currentGroupId,pageNum:t.currentPage,pageSize:t.pageSize};Object(u.a)("/memberTag/handTagPageList",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tagTableData=a.result.result,void(t.total=a.result.totalCount);c.a.errorMsg(a)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},cancelDelTag:function(e,t){t.popVisible=!1},toDelTag:function(e,t){var a=this;a.$confirm("删除标签后,符合该标签值的会员对应标签值将同步删除。一旦删除将无法恢复,确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDelTag(e,t)}).catch(function(){})},postDelTag:function(e,t){var a=this,r={tagId:t.tagId};Object(u.a)("/memberTag/delHandMemberTag",r).then(function(t){var r=t.data;if(1==r.errorCode)return a.tagTableData.splice(e,1),void l.a.showmsg("删除成功","success");100005!=r.errorCode?c.a.errorMsg(r):a.$message.error({duration:1e3,message:"该标签正在被会员分组使用,无法删除!"})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},toManualTagEdit:function(){this.changeRoute("/manualTagEdit")},isRepeat:function(e){var t={};for(var a in e){if(t[e[a]])return!0;t[e[a]]=!0}return!1},showCateDialog:function(){this.cateTableVisible=!0,this.getTWoLevel()},cateTwoChange:function(e){this.cateForm.cateThree="",this.inputNum=0,this.getThreeLevel(e)},toAddCate:function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.cateForm.levelName=t.cateForm.cateThree,t.cateForm.editAble=!1,t.cateForm.inputValue="";var a=JSON.parse(o()(t.cateTableData));a.push(JSON.parse(o()(t.cateForm)));var r=a.map(function(e){return e.levelName});if(t.isRepeat(r))return a.splice(t.cateTableData.length-1,1),void t.$message.error({duration:1e3,message:"名称不能重复"});t.postAdd()})},postAdd:function(){var e=this,t={parentLevelGroupId:e.cateForm.cateTwo,levelName:e.cateForm.cateThree};Object(u.a)("/tagLevel/addHand",t).then(function(t){var a=t.data;if(1==a.errorCode)return e.$refs.tagCategoryCom.refreshData(),l.a.showmsg("添加成功","success"),void e.getThreeLevel(e.cateForm.cateTwo);c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEditCate:function(e,t){t.editAble=!0,t.inputValue=t.levelName},toDelCate:function(e,t){var a=this;a.$confirm("删除分类后,该分类下所有标签进入未分类,确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,r={tagLevelGroupId:t.tagLevelGroupId};Object(u.a)("/tagLevel/delHand",r).then(function(t){var r=t.data;if(1==r.errorCode)return a.cateTableData.splice(e,1),a.$refs.tagCategoryCom.refreshData(),void l.a.showmsg("删除成功","success");200001!=r.errorCode?c.a.errorMsg(r):a.$message.error({duration:1e3,message:"该标签被会员分组使用,无法删除!"})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},confirmEdit:function(e,t){if(!t.inputValue.trim())return this.$message.error({duration:1e3,message:"请输入分类名称"}),!1;var a=JSON.parse(o()(this.cateTableData));a[e].levelName=t.inputValue;var r=a.map(function(e){return e.levelName});this.isRepeat(r)?this.$message.error({duration:1e3,message:"名称不能重复"}):this.postEdit(t)},postEdit:function(e){var t=this,a={tagLevelGroupId:e.tagLevelGroupId,levelName:e.inputValue};Object(u.a)("/tagLevel/editHand",a).then(function(a){var r=a.data;if(1==r.errorCode)return e.levelName=e.inputValue,e.editAble=!1,t.$refs.tagCategoryCom.refreshData(),void l.a.showmsg("保存成功","success");c.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},cancleEdit:function(e,t){t.editAble=!1},toInput:function(e){var t="";t=s.a.getByteVal(e.target.value,this.limitLength),this.cateForm.cateThree=t.trim(),this.inputNum=s.a.getZhLen(t.trim())},toEditInput:function(e,t,a){var r="";r=s.a.getByteVal(e.target.value,this.limitLength),a.inputValue=r.trim()},closeCateDialog:function(){this.cateTableVisible=!1,this.cateForm.cateTwo="",this.cateForm.cateThree="",this.cateTableData=[],this.inputNum=0},cancelDialog:function(){this.closeCateDialog()},confirmDialog:function(){this.closeCateDialog()},getTWoLevel:function(){var e=this;Object(u.a)("/tagLevel/handSecondLevel",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.cateTwOptions=a.result,e.cateForm.cateTwo=e.cateTwOptions[0].tagLevelGroupId,void e.getThreeLevel(e.cateForm.cateTwo);c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getThreeLevel:function(e){var t=this,a={tagLevelGroupId:e};t.cateTableData=[],Object(u.a)("/tagLevel/handThirdLevel",a).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.forEach(function(e,t){e.inputValue="",e.editAble=!1}),void(t.cateTableData=a.result);c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,document.getElementById("app").style.zIndex="auto",this.getTagList()}},watch:{$route:{handler:function(e,t){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{navCrumb:n.a,tagCategory:i.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"manualTagList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{ref:"tagCategoryCom",attrs:{tagLibName:e.tagLibName}})],1),e._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"搜索标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchEnterFun(t):null}},model:{value:e.tagSearch,callback:function(t){e.tagSearch=t},expression:"tagSearch"}}),e._v(" "),a("el-button",{staticClass:"fr m-l-8",on:{click:function(t){e.toAddMyTagLib("mult")}}},[e._v("添加至我的标签库")]),e._v(" "),a("el-button",{staticClass:"fr",on:{click:e.showCateDialog}},[e._v("分类设置")]),e._v(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:e.toManualTagEdit}},[e._v("新增标签")])],1),e._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),e._v(" "),a("el-table-column",{attrs:{prop:"tagName",label:"标签名称","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isActive?"实时":"非实时")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"320"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/manualTagDetail",query:{tagId:t.row.tagId,addFlag:t.row.isAdd,form:"notMyTag",navSign:"manualTag"}}}},[e._v("详情")]),e._v(" "),a("router-link",{staticClass:"edit-btn el-button--text p-l-10",attrs:{to:{path:"/manualTagEdit",query:{tagId:t.row.tagId}}}},[e._v("编辑")]),e._v(" "),a("el-button",{staticClass:"p-l-10",attrs:{slot:"reference",type:"text"},on:{click:function(a){e.toDelTag(t.$index,t.row)}},slot:"reference"},[e._v("\n 删除\n ")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small",disabled:1==t.row.isAdd},on:{click:function(a){e.toAddMyTagLib("single",t.row.tagId)}}},[e._v("\n "+e._s(1==t.row.isAdd?"已":"")+"添加至我的标签库\n ")])]}}])})],1)],1),e._v(" "),0!=e.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("el-dialog",{staticClass:"cate-dialog",attrs:{title:"分类设置",visible:e.cateTableVisible,width:"543px","before-close":e.closeCateDialog},on:{"update:visible":function(t){e.cateTableVisible=t}}},[a("el-form",{ref:"cateForm",attrs:{model:e.cateForm,rules:e.rules,"label-width":"80px","label-position":"left"}},[a("el-form-item",{attrs:{label:"二级分类",prop:"cateTwo"}},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:e.cateTwoChange},model:{value:e.cateForm.cateTwo,callback:function(t){e.$set(e.cateForm,"cateTwo",t)},expression:"cateForm.cateTwo"}},e._l(e.cateTwOptions,function(e){return a("el-option",{key:e.tagLevelGroupId,attrs:{label:e.levelName,value:e.tagLevelGroupId}})}))],1),e._v(" "),a("el-form-item",{attrs:{label:"三级分类",prop:"cateThree"}},[a("el-input",{attrs:{"auto-complete":"off",placeholder:"请输入分类名称"},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.cateForm.cateThree,callback:function(t){e.$set(e.cateForm,"cateThree",t)},expression:"cateForm.cateThree"}}),e._v(" "),a("label",{staticClass:"input-label"},[e._v(e._s(e.inputNum)+"/"+e._s(e.limitLength))]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){e.toAddCate("cateForm")}}},[e._v("添加")])],1)],1),e._v(" "),a("el-table",{attrs:{data:e.cateTableData,height:"275"}},[a("el-table-column",{attrs:{label:"分类名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.editAble?"":t.row.levelName)+"\n "),t.row.editAble?a("el-input",{staticClass:"h5-el-input",attrs:{size:"small",type:"text",placeholder:"请输入分类名称"},nativeOn:{keyup:function(a){return r=a,e.toEditInput(r,t.$index,t.row);var r}},model:{value:t.row.inputValue,callback:function(a){e.$set(t.row,"inputValue",a)},expression:"scope.row.inputValue"}}):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.editAble?e._e():a("el-button",{attrs:{type:"text",size:"small",disabled:!t.row.enterpriseId},on:{click:function(a){e.toEditCate(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),t.row.editAble?e._e():a("el-button",{attrs:{slot:"reference",type:"text",size:"small",disabled:!t.row.enterpriseId},on:{click:function(a){e.toDelCate(t.$index,t.row)}},slot:"reference"},[e._v("删除")]),e._v(" "),t.row.editAble?a("el-button",{attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.confirmEdit(t.$index,t.row)}}},[e._v("确认")]):e._e(),e._v(" "),t.row.editAble?a("el-button",{attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.cancleEdit(t.$index,t.row)}}},[e._v("取消")]):e._e()]}}])})],1)],1)],1)},staticRenderFns:[]};var h=a("VU/8")(g,d,!1,function(e){a("Ms6j")},"data-v-30b91dfa",null);t.default=h.exports}});
\ No newline at end of file
webpackJsonp([18],{ZG18:function(t,a){},puJc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),r=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"platformTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.a,tagLib:r.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"platformTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(i,o,!1,function(t){e("ZG18")},"data-v-4e16d35f",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([19],{skRu:function(t,a){},twLH:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("skRu")},"data-v-2eb237c0",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([19],{NJTp:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3Xzz"),n=a("5QTb"),o=a("M2/U"),i=a("3fED"),s=(a("Mk6G"),a("3E4D")),l=a("Ch4/"),u=a("PI0u"),g=a("P9l9"),c={name:"myTagList",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:"/myTagLib"},{name:"我的标签列表",path:""}],showTagDetail:!1,tagShortDetailId:"",fromFlag:"myTag",tagLibName:"myTag",tagSearch:"",tagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{changeRoute:function(t){this.$router.push(t)},handleShowTag:function(){this.showTagDetail=!0},handleHideTag:function(t){this.showTagDetail=!1},toManualTagLib:function(){this.changeRoute("/manualTagList")},toPlatformTagLib:function(){this.changeRoute("/platformTagList")},searchEnterFun:Object(u.a)(function(t){this.currentPage=1,this.getTagList()},500),clearSearch:function(){this.currentPage=1,this.getTagList()},handleSizeChange:function(t){this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){this.currentPage=t,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+t),this.getTagList()},getTagList:function(){var t=this,e={tagName:t.tagSearch,tagLevelGroupId:t.currentGroupId,pageNum:t.currentPage,pageSize:t.pageSize};Object(g.a)("/enterpriseMemberTag/pageList",e).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.result&&a.result.result.length?(a.result.result.forEach(function(t,e){t.popVisible=!1}),t.tagTableData=a.result.result):(t.tagTableData=[],t.$message.error({duration:1e3,message:"未找到数据"})),void(t.total=a.result.totalCount);l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},addTemporary:function(t){this.tagShortDetailId=t,this.showTagDetail=!0,this.$refs.tagTemp.hideTagList()},cancelDelTag:function(t,e){e.popVisible=!1},toDelTag:function(t,e){var a=this;a.$confirm("确认要删除此标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postToDelTag(t,e)}).catch(function(){})},postToDelTag:function(t,e){var a=this,r={enterpriseMemberTagId:e.enterpriseMemberTagId};Object(g.a)("/enterpriseMemberTag/del",r).then(function(e){var r=e.data;if(1==r.errorCode)return s.a.showmsg("删除成功","success"),a.tagTableData.splice(t,1),void a.$refs.tagTemp.getTagList();l.a.errorMsg(r)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},showShortDetail:function(t){this.showTagDetail=!0,this.tagShortDetailId=t},updateTemp:function(){this.$refs.tagTemp.getTagList(),this.$refs.tagTemp.showTagList()},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,this.getTagList()}},watch:{$route:{handler:function(t,e){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{navCrumb:r.a,tagShortDetail:i.a,tagCategory:n.a,tagTemporary:o.a}},h={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"myTagList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{attrs:{tagLibName:t.tagLibName}})],1),t._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"搜索标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?(a=e,t.searchEnterFun(a)):null;var a}},model:{value:t.tagSearch,callback:function(e){t.tagSearch=e},expression:"tagSearch"}})],1),t._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"标签名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"pointer name-hover",on:{click:function(a){t.addTemporary(e.row.tagId)}}},[t._v(t._s(e.row.tagName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/myTagDetail",query:{tagId:e.row.tagId}}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"p-l-10",attrs:{type:"text",size:"small"},on:{click:function(a){t.addTemporary(e.row.tagId)}}},[t._v("添加至暂存架")]),t._v(" "),a("el-button",{attrs:{slot:"reference",type:"text"},on:{click:function(a){t.toDelTag(e.$index,e.row)}},slot:"reference"},[t._v("\n 删除\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("tagShortDetail",{attrs:{fromFlag:t.fromFlag,tagShortId:t.tagShortDetailId,showTagDetail:t.showTagDetail},on:{"update:tagShortId":function(e){t.tagShortDetailId=e},hideTag:t.handleHideTag,updateTemp:t.updateTemp}}),t._v(" "),a("tag-temporary",{ref:"tagTemp",on:{showShortDetail:t.showShortDetail}})],1)},staticRenderFns:[]};var p=a("VU/8")(c,h,!1,function(t){a("t93m")},"data-v-3a7d50ff",null);e.default=p.exports},t93m:function(t,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.
webpackJsonp([21],{bFqx:function(e,t){},oVck:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3Xzz"),o=(a("Mk6G"),a("3E4D"),a("Ch4/")),n=function(e,t){function a(e){return(e=e.toString())[1]?e:"0"+e}if(null!=e){var r=new Date(e),o=r.getFullYear(),n=r.getMonth()+1,s=r.getDate(),i=r.getHours(),u=r.getMinutes(),l=r.getSeconds();return[o,n,s].map(a).join(t||"-")+" "+[i,u,l].map(a).join(":")}return"--"},s=(a("PI0u"),a("P9l9")),i={name:"memberGroupList",components:{navCrumb:r.a},data:function(){return{dialogVisible:!0,navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员分组",path:""}],tagSearch:"",groupTableData:[],currentPage:1,pageSize:20,total:0,groupSetShow:!1,loading:!1,statusSelect:""}},created:function(){this.loading=!0},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"},formatNum:function(e){return(e+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")},formatUpdateFrequency:function(e,t){switch(e){case 1:return"每天一次";case 2:return t?"每周"+["一","二","三","四","五","六","日"][t-1]:"每周一次";case 3:return t?"每月"+t+"号":"每月一次";default:return"--"}}},methods:{setRowClassName:function(e){e.row,e.rowIndex},showGroupSet:function(){this.groupSetShow=!0},changeRoute:function(e){this.$router.push(e)},toAddGroup:function(){this.changeRoute("/memberGroupEdit")},clearSearch:function(){this.currentPage=1,this.getGroupList()},searchEnterFun:function(e){this.currentPage=1,this.getGroupList()},handleSizeChange:function(e){this.pageSize=e,this.getGroupList()},handleCurrentChange:function(e){this.currentPage=e,this.getGroupList()},toInvalid:function(e){var t=this;t.$confirm("该分组失效后,不再更新数据,确认要失效吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.loading=!0;var a={effectiveStatus:"0",memberTagGroupId:e.memberTagGroupId};t.updateGroup(a,e)}).catch(function(){})},switchAppStatus:function(e,t){console.log(e,t);this.loading=!0;var a={memberTagGroupId:t.memberTagGroupId,appStatus:e};this.updateGroup(a,t)},refreshGroup:function(e){var t=this;t.loading=!0;var a={memberTagGroupId:e.memberTagGroupId};Object(s.a)("/member-tag-member/getMemberCountByGroupId.json",a).then(function(a){e.memberCount=a.data.result,t.loading=!1}).catch(function(e){t.loading=!1})},updateGroup:function(e,t){var a=this;Object(s.a)("/member-tag-group/simpleUpdate.json",e).then(function(r){t.effectiveStatus=e.effectiveStatus||t.effectiveStatus,t.memberCount=e.memberCount||0==e.memberCount?e.memberCount:t.memberCount,a.loading=!1,a.$message.success({duration:1e3,message:"操作成功!"}),a.loading=!1}).catch(function(e){a.loading=!1})},cancelDelTag:function(e,t){t.popVisible=!1},toDelTag:function(e,t){var a=this;a.$confirm("该分组覆盖"+a.$options.filters.formatNum(e.memberCount||0)+"人,一旦删除无法恢复,确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.loading=!0,a.delGroup(e.memberTagGroupId,t)}).catch(function(){})},delGroup:function(e,t){var a=this,r={memberTagGroupId:e};Object(s.a)("/member-tag-group/delete.json",r).then(function(e){var r=e.data;if(a.loading=!1,1==r.errorCode)return a.groupTableData.splice(t,1),void a.$message.success({duration:1e3,message:"删除成功!"});200003!=r.errorCode?o.a.errorMsg(r):a.$confirm("该分组正在被活动使用,无法删除!","提示",{confirmButtonText:"确定",type:"warning"})}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})})},searchByStatus:function(e){this.loading=!0,console.log(e,this.statusSelect),this.getGroupList()},getGroupList:function(){var e=this,t={groupName:e.tagSearch,pageSize:e.pageSize,pageNum:e.currentPage,effectiveStatus:e.statusSelect};Object(s.a)("/member-tag-group/findList.json",t).then(function(t){var a=t.data;if(1==a.errorCode)return e.total=a.result.totalCount,a.result.result.forEach(function(e,t){e.latestUpdateTime||(e.latestUpdateTime="- -"),e.createTime&&(e.createTime=n(e.createTime))}),e.groupTableData=a.result.result,void(e.loading=!1);e.loading=!1,o.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getGroupList()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"memberGroupList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-220 m-r-8",attrs:{placeholder:"请输入关键字搜索人群","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchEnterFun(t):null}},model:{value:e.tagSearch,callback:function(t){e.tagSearch=t},expression:"tagSearch"}}),e._v(" "),a("el-select",{staticClass:"w-220 m-l-0",attrs:{placeholder:"请选择"},on:{change:e.searchByStatus},model:{value:e.statusSelect,callback:function(t){e.statusSelect=t},expression:"statusSelect"}},[a("el-option",{key:0,attrs:{label:"失效",value:0}}),e._v(" "),a("el-option",{key:1,attrs:{label:"有效",value:1}}),e._v(" "),a("el-option",{key:"",attrs:{label:"全部",value:""}})],1),e._v(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:e.toAddGroup}},[e._v("新增分组")])],1),e._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{"row-class-name":e.setRowClassName,data:e.groupTableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"分组名称",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-popover",{attrs:{placement:"top-start",width:"200",trigger:"hover"}},[a("div",[a("p",[e._v("名称:"+e._s(t.row.groupName))]),e._v(" "),a("p",[e._v("描述:"+e._s(t.row.describle))])]),e._v(" "),a("a",{staticClass:"pointer a-href",attrs:{slot:"reference",href:"#/memberGroupDetail?memberTagGroupId="+t.row.memberTagGroupId},slot:"reference"},[e._v(e._s(t.row.groupName))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isRealTime?"实时":"非实时")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"最近更新时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.latestUpdateTime)))]),e._v(" "),a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.latestUpdateTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"更新频率","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.isRealTime?[e._v("\n "+e._s((t.row.updateType,t.row.updateDay|e.formatUpdateFrequency))+"\n ")]:[e._v("\n --\n ")]]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"state",label:"状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.effectiveStatus?"有效":"失效")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"peopleCover",label:"覆盖人数","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatNum")(t.row.memberCount||0))+" 人\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"appStatus",label:"好办展示"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#1890ff"},on:{change:function(a){e.switchAppStatus(t.row.appStatus,t.row)}},model:{value:t.row.appStatus,callback:function(a){e.$set(t.row,"appStatus",a)},expression:"scope.row.appStatus"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"createTime",label:"创建时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"recentUpdateDate",label:"到期时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.effectiveDate)))]),e._v(" "),a("p",{staticClass:"h-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.effectiveDate)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"257px"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.effectiveStatus?a("el-button",{staticClass:"p-r-12",attrs:{type:"text",size:"small"},on:{click:function(a){e.toInvalid(t.row)}}},[e._v("失效")]):e._e(),e._v(" "),a("router-link",{staticClass:"edit-btn el-button--text p-r-12",attrs:{to:{path:"/memberGroupDetail",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("详情")]),e._v(" "),a("router-link",{staticClass:"edit-btn el-button--text p-r-12",attrs:{to:{path:"/memberGroupEdit",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("编辑")]),e._v(" "),a("el-button",{staticClass:"p-r-12",attrs:{type:"text",size:"small"},on:{click:function(a){e.toDelTag(t.row,t.$index)}}},[e._v("删除")]),e._v(" "),a("el-popover",{attrs:{placement:"top",width:"50",trigger:"hover"}},[e._v("\n 刷新覆盖人数\n "),a("el-button",{attrs:{slot:"reference",type:"text",size:"small"},on:{click:function(a){e.refreshGroup(t.row)}},slot:"reference"},[e._v("刷新")])],1)]}}])})],1)],1),e._v(" "),0!=e.groupTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var l=a("VU/8")(i,u,!1,function(e){a("bFqx")},null,null);t.default=l.exports}});
\ No newline at end of file
webpackJsonp([22],{HLON:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i("GXH0"),l=i.n(s),a=i("mw3O"),n=i.n(a),o={name:"links",props:["linkToolsVisible"],data:function(){return{activeName:"first",twoLevelVisible:!1,threeLevelVisible:!1,linksType:"",linksTypeOptions:[],twoLevelValue:"",twoLevelOptions:[],threeLeveloneVisible:!1,threeLevelTreeVisible:!1,threeLevelSearchVisible:!1,threeLevelValue:"",threeLevelOptions:[],h5linkVisible:!1,h5linkObj:{name:"",url:"",fixParam:"",dynamicPara:"",dynamicParaOptions:[{value:"openid",label:"openid"},{value:"unionid",label:"unionid"},{value:"wxOpenid",label:"wxOpenid"},{value:"appkey",label:"appkey"},{value:"enterpriseId",label:"enterpriseId"},{value:"appid",label:"appid"},{value:"memberID",label:"memberID"}]},mylinkToolsVisible:this.linkToolsVisible,goodsLinksVisible:!1,searchGoods:"",category:null,categoryOptions:[],normalizer:function(e){return{id:e.key,label:e.name,children:e.subOptions}},selectGoodId:"",goodsList:[],currentPage:1,pageSize:9,total:0,classify:null,classifyOptions:[],goodsCategory:null,goodsCategoryOptions:[],oneLevelTypeValue:"",twoLevelSelectValue:"",threeLevelSelectValue:"",selectLinkObj:{name:"",url:""}}},methods:{linksTypeChange:function(e){var t="";this.linksTypeOptions.forEach(function(i,s){i.linkId==e&&(t=i)}),this.oneLevelTypeValue=t.type;var i=5==t.type;this.setOneLevelVisible(i,t),this.selectLinkObj.name="",this.selectLinkObj.url="",this.twoLevelSelectValue="",this.threeLevelSelectValue=""},setOneLevelVisible:function(e,t){e?(this.h5linkVisible=!0,this.twoLevelVisible=!1,this.threeLevelVisible=!1,this.goodsLinksVisible=!1):(this.h5linkVisible=!1,this.twoLevelVisible=!0,this.threeLevelVisible=!1,this.goodsLinksVisible=!1,this.twoLevelValue="",this.threeLevelValue="",this.getLinksList(t.linkId,2))},twoLevelValueChange:function(e){var t=this,i="";if(t.twoLevelOptions.forEach(function(t,s){e==t.linkId&&(i=t)}),1==i.type||4==i.type||6==i.type){if(t.threeLevelVisible=!1,t.threeLevelValue="",t.twoLevelSelectValue="",t.threeLevelSelectValue="",t.selectLinkObj.name="",t.selectLinkObj.url="",4==i.type)return t.getGoodsList(),t.getGoodsCategory(),t.getGoodsClassify(),t.threeLevelVisible=!1,t.goodsLinksVisible=!0,!1;t.twoLevelOptions.forEach(function(i,s){e==i.value&&(t.selectLinkObj.name=i.label,t.selectLinkObj.url=i.content)})}else{t.goodsLinksVisible=!1,t.threeLevelVisible=!0,t.threeLevelValue="",t.twoLevelSelectValue="",t.threeLevelSelectValue="";var s=i.type;if(t.setThreeVisible(s,i),2==s)return t.twoLevelSelectValue="sign",!1;if(3==s)return t.twoLevelSelectValue="goodsCate",t.getGoodsClassify(),!1;t.getLinksList(i.linkId,3,s)}},setThreeVisible:function(e,t){switch(e){case 0:this.threeLeveloneVisible=!0,this.threeLevelTreeVisible=!1,this.threeLevelSearchVisible=!1;break;case 2:this.threeLeveloneVisible=!1,this.threeLevelTreeVisible=!1,this.threeLevelSearchVisible=!0,this.selectLinkObj.name=t.name,this.selectLinkObj.url=t.content;break;case 3:this.threeLevelValue=null,this.threeLeveloneVisible=!1,this.threeLevelTreeVisible=!0,this.threeLevelSearchVisible=!1,this.selectLinkObj.name=t.name,this.selectLinkObj.url=t.content}},getGoodsCategory:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category",n.a.stringify({filterGoods:1,parentId:"tb-cid-11"})).then(function(t){var i=t.data,s="";if(0==i.errorCode){i.result.forEach(function(e,t){"-1"==e.parentId&&(e.subOptions=[],e.key=e.mallCategoryId,s=e,i.result.splice(t,1))});var l=i.result,a=i.result;return l.forEach(function(e,t){0==e.isLeaf&&(e.subOptions=null),e.key=e.mallCategoryId,a.forEach(function(t,i){t.key=t.mallCategoryId,t.parentId==e.mallCategoryId&&(e.subOptions=[],e.subOptions.push(t),l.splice(i,1))})}),l.forEach(function(e,t){s.subOptions.push(e)}),e.categoryOptions=[],e.categoryOptions.push(s),!1}e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getGoodsClassify:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_tag_tree",n.a.stringify({})).then(function(t){var i=t.data;if(0==i.errorCode){var s=[i.result];return s.forEach(function(t,i){t.name=t.tagName,t.key=t.mallProTagId,t.childTagList&&(t.subOptions=e.checkChildren(t.childTagList))}),e.goodsCategoryOptions=s,e.classifyOptions=s,!1}e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkChildren:function(e){var t=this;return e&&e.forEach(function(e,i){e.name=e.tagName,e.key=e.mallProTagId,e.childTagList&&(e.subOptions=t.checkChildren(e.childTagList))}),e},threeLevelValueChange:function(e){},categorySelect:function(e,t){this.category=e.key,this.getGoodsList()},beforeClearCategory:function(e,t){this.category=null,this.getGoodsList()},loadOptions:function(e){var t=e.action,i=e.parentNode;e.callback;"LOAD_CHILDREN_OPTIONS"===t&&i.key&&this.getChildrenNode(i,i.key)},getChildrenNode:function(e,t){var i=this,s={filterGoods:1,parentId:t};i.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category",n.a.stringify(s)).then(function(t){var s=t.data;0!=s.errorCode?i.$message.error({duration:1e3,message:s.message}):e.subOptions=s.result}).catch(function(e){i.$message.error({duration:1e3,message:e.message})})},classifySelect:function(e,t){this.classify=e.key,this.getGoodsList()},beforeClearClassify:function(e,t){this.classify=null,this.getGoodsList()},goodsCategorySelect:function(e,t){},handleClose:function(e){var t=this;t.$confirm("确认关闭?").then(function(i){e(),t.mylinkToolsVisible=!1,t.$emit("linkSelect")}).catch(function(e){})},linkSizeChange:function(e){this.pageSize=e,this.getGoodsList()},linkCurrentChange:function(e){this.currentPage=e,this.getGoodsList()},selectGoodLinkItem:function(e){this.selectGoodId=e.mallProId,this.selectLinkItem(e)},selectLinkItem:function(e){this.selectLinkObj.name=e.proName,this.selectLinkObj.url=e.mallProImageUrl},toSearchInput:function(e){1==this.currentPage?this.getGoodsList():this.currentPage=1},clearInput:function(e){1==this.currentPage?this.getGoodsList():this.currentPage=1},getGoodsList:function(){var e=this,t={pageNum:e.currentPage,searchparams:e.searchGoods||"",pageSize:e.pageSize,mallCategoryId:e.category,tagId:e.classify};e.axios.post("http://gicdev.demogic.com:9310/api-mall/page-mall-goods",n.a.stringify(t)).then(function(t){var i=t.data;if(0==i.errorCode)return e.goodsList=i.result.result,void(e.total=i.result.totalCount);e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},remoteMethod:function(e){""!==e?this.getStoreList(e,this.threeLevelValue):this.threeLevelOptions=[]},cancelLinkSelect:function(){var e=this;e.$confirm("确认关闭?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:""}).then(function(){e.$emit("linkSelect")}).catch(function(){})},confirmLinkSelect:function(){return 5==this.oneLevelTypeValue?this.h5linkObj.name.trim()&&this.h5linkObj.url.trim()?(this.selectLinkObj.name=this.h5linkObj.name,this.selectLinkObj.url=this.h5linkObj.url+"?"+this.h5linkObj.fixParam+"&"+this.h5linkObj.dynamicPara,void this.transData()):void this.$message.error({duration:1e3,message:"请填写链接内容"}):"sign"==this.twoLevelSelectValue?(this.checkTwoLevel(this.twoLevelSelectValue),!1):"goodsCate"==this.twoLevelSelectValue?(this.checkTwoLevel(this.twoLevelSelectValue),!1):void(this.selectLinkObj.name&&this.selectLinkObj.url?this.transData():this.$message.error({duration:1e3,message:"请选择链接"}))},checkTwoLevel:function(e){if(!this.threeLevelValue||!this.threeLevelValue.length)return this.$message.error({duration:1e3,message:"请选择"+("sign"==e?"门店":"商品分类")}),!1;this.selectLinkObj.url=this.selectLinkObj.url+"?"+this.threeLevelValue,this.transData()},resetAll:function(){this.h5linkVisible=!1,this.linksType="",this.twoLevelVisible=!1,this.threeLevelVisible=!1,this.goodsLinksVisible=!1,this.twoLevelValue="",this.twoLevelSelectValue="",this.threeLevelValue="",this.selectLinkObj={url:"",name:""},this.currentPage=1,this.total=0,this.pageSize=9,this.searchGoods="",this.classify=null,this.category=null,this.h5linkObj.name="",this.h5linkObj.url="",this.h5linkObj.fixParam="",this.h5linkObj.dynamicPara=""},transData:function(){this.$emit("linkSelect",this.selectLinkObj),this.resetAll()},getLinksList:function(e,t,i){var s=this;i=i||"";var l={parentId:e};s.axios.post("http://gicdev.demogic.com:9310/api-plug/list-link-data",n.a.stringify(l)).then(function(l){var a=l.data;0!=a.errorCode?s.$message.error({duration:1e3,message:a.message}):s.setLevelListOptions(e,a.result,t,i)}).catch(function(e){s.$message.error({duration:1e3,message:e.message})})},setLevelListOptions:function(e,t,i,s){return 0==e?(t.forEach(function(e,t){e.id=e.linkId,e.label=e.name,e.value=e.linkId}),void(this.linksTypeOptions=t)):2==i&&t[0]?(t.forEach(function(e,t){e.id=e.linkId,e.label=e.name,e.value=e.linkId}),void(this.twoLevelOptions=t)):void 0},getStoreList:function(e,t){var i=this,s={searchParam:e,selectedIds:t.toString(),flag:null};i.axios.post("http://gicdev.demogic.com:9310/api-plug/query-store-by-code-name",n.a.stringify(s)).then(function(e){var t=e.data;if(0==t.errorCode)return t.result.forEach(function(e,t){e.id=e.storeId,e.label=e.storeName,e.value=e.storeId}),void(i.threeLevelOptions=t.result);i.$message.error({duration:1e3,message:t.message})}).catch(function(e){i.$message.error({duration:1e3,message:e.message})})},toLogin:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-auth/do-login",n.a.stringify({loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"})).then(function(t){e.getLinksList(0,1)}).catch(function(e){})}},watch:{linkToolsVisible:function(e){this.mylinkToolsVisible=e}},mounted:function(){this.toLogin()},components:{Treeselect:l.a}},r={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"link-tools-contain"},[i("div",{class:"first"==e.activeName?"min-1028":"min-720"},[i("div",{staticClass:"el-dialog"},[i("div",{staticClass:"el-dialog__body"},[i("div",{staticClass:"links-types"},[i("label",{staticClass:"types-title"},[e._v("链接类型:")]),e._v(" "),i("el-select",{attrs:{placeholder:"请选择"},on:{change:e.linksTypeChange},model:{value:e.linksType,callback:function(t){e.linksType=t},expression:"linksType"}},e._l(e.linksTypeOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e._v(" "),e.twoLevelVisible?i("el-select",{attrs:{placeholder:"请选择"},on:{change:e.twoLevelValueChange},model:{value:e.twoLevelValue,callback:function(t){e.twoLevelValue=t},expression:"twoLevelValue"}},e._l(e.twoLevelOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e(),e._v(" "),e.threeLevelVisible?i("div",{staticClass:"three-level-wrap"},[e.threeLevelTreeVisible?i("treeselect",{attrs:{options:e.goodsCategoryOptions,normalizer:e.normalizer,"default-expand-level":1,placeholder:"所有分类",noOptionsText:"暂无数据",noResultsText:"无数据"},on:{select:e.goodsCategorySelect},model:{value:e.threeLevelValue,callback:function(t){e.threeLevelValue=t},expression:"threeLevelValue"}}):e._e(),e._v(" "),e.threeLevelSearchVisible?i("el-select",{attrs:{multiple:"",filterable:"",remote:"","reserve-keyword":"",placeholder:"请输入关键词","remote-method":e.remoteMethod},on:{change:e.threeLevelValueChange},model:{value:e.threeLevelValue,callback:function(t){e.threeLevelValue=t},expression:"threeLevelValue"}},e._l(e.threeLevelOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e()],1):e._e()],1),e._v(" "),e.h5linkVisible?i("div",{staticClass:"h5link-contain"},[i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("名称:")]),e._v(" "),i("el-input",{attrs:{placeholder:"请输入名称"},model:{value:e.h5linkObj.name,callback:function(t){e.$set(e.h5linkObj,"name",t)},expression:"h5linkObj.name"}})],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("网址:")]),e._v(" "),i("el-input",{attrs:{placeholder:"请输入网址"},model:{value:e.h5linkObj.url,callback:function(t){e.$set(e.h5linkObj,"url",t)},expression:"h5linkObj.url"}}),i("a",{staticClass:"h5link-help",attrs:{href:"http://doc.demogic.com/doc/index.php?s=/41&page_id=441",target:"_blank"}},[e._v("【帮助文档】请联系公司技术人员查看文档配置标准链接")])],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("固定参数:")]),e._v(" "),i("el-input",{attrs:{type:"textarea",resize:"none",rows:4,placeholder:"请输入固定参数(可选)"},model:{value:e.h5linkObj.fixParam,callback:function(t){e.$set(e.h5linkObj,"fixParam",t)},expression:"h5linkObj.fixParam"}})],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("动态参数:")]),e._v(" "),i("el-select",{staticClass:"dynamic-param-select",attrs:{multiple:"",placeholder:"请选择动态参数(可选)"},model:{value:e.h5linkObj.dynamicPara,callback:function(t){e.$set(e.h5linkObj,"dynamicPara",t)},expression:"h5linkObj.dynamicPara"}},e._l(e.h5linkObj.dynamicParaOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1)]):e._e(),e._v(" "),e.goodsLinksVisible?i("div",{staticClass:"goods-links-contian"},[i("div",{staticClass:"links-tools-row"},[i("treeselect",{attrs:{options:e.categoryOptions,normalizer:e.normalizer,"default-expand-level":1,flat:!0,placeholder:"所有品类",noOptionsText:"暂无数据",noResultsText:"无数据","no-children-text":"无数据","load-options":e.loadOptions,beforeClearAll:e.beforeClearCategory},on:{select:e.categorySelect},model:{value:e.category,callback:function(t){e.category=t},expression:"category"}}),e._v(" "),i("treeselect",{attrs:{options:e.classifyOptions,normalizer:e.normalizer,"default-expand-level":1,placeholder:"所有分类",noOptionsText:"暂无数据",noResultsText:"无数据",noChildrenText:"无数据",beforeClearAll:e.beforeClearClassify},on:{select:e.classifySelect},model:{value:e.classify,callback:function(t){e.classify=t},expression:"classify"}}),e._v(" "),i("el-input",{staticClass:"links-tools-input",attrs:{placeholder:"请输入商品名称/货号",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return i=t,e.toSearchInput(i);var i}},model:{value:e.searchGoods,callback:function(t){e.searchGoods=t},expression:"searchGoods"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),i("div",{staticClass:"goods-link-content"},[i("ul",{staticClass:"goods-link-list"},e._l(e.goodsList,function(t,s){return i("li",{key:t.proName+s,class:t.mallProId==e.selectGoodId?"goods-link-item goodSelect":"goods-link-item",on:{click:function(i){e.selectGoodLinkItem(t)}}},[i("img",{attrs:{src:t.mallProImageUrl,alt:"商品图片"}}),e._v(" "),i("div",{staticClass:"inline-block goods-message"},[i("p",{staticClass:"limit-2 pro-name"},[e._v(e._s(t.proName))]),e._v(" "),i("p",{staticClass:"gray-color pro-code"},[e._v("货号:"+e._s(t.proCode))]),e._v(" "),i("span",{staticClass:"pro-price"},[e._v("¥"+e._s(t.mallProSpuPrice))])])])}))]),e._v(" "),i("div",{staticClass:"links-tools-page"},[i("el-pagination",{attrs:{"current-page":e.currentPage,"page-sizes":[9],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.linkSizeChange,"current-change":e.linkCurrentChange}})],1)]):e._e(),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"})])])])])},staticRenderFns:[]};var c=i("VU/8")(o,r,!1,function(e){i("uUnm")},"data-v-24a47607",null);t.default=c.exports},uUnm:function(e,t){}}); webpackJsonp([21],{HLON:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i("GXH0"),l=i.n(s),a=i("mw3O"),n=i.n(a),o={name:"links",props:["linkToolsVisible"],data:function(){return{activeName:"first",twoLevelVisible:!1,threeLevelVisible:!1,linksType:"",linksTypeOptions:[],twoLevelValue:"",twoLevelOptions:[],threeLeveloneVisible:!1,threeLevelTreeVisible:!1,threeLevelSearchVisible:!1,threeLevelValue:"",threeLevelOptions:[],h5linkVisible:!1,h5linkObj:{name:"",url:"",fixParam:"",dynamicPara:"",dynamicParaOptions:[{value:"openid",label:"openid"},{value:"unionid",label:"unionid"},{value:"wxOpenid",label:"wxOpenid"},{value:"appkey",label:"appkey"},{value:"enterpriseId",label:"enterpriseId"},{value:"appid",label:"appid"},{value:"memberID",label:"memberID"}]},mylinkToolsVisible:this.linkToolsVisible,goodsLinksVisible:!1,searchGoods:"",category:null,categoryOptions:[],normalizer:function(e){return{id:e.key,label:e.name,children:e.subOptions}},selectGoodId:"",goodsList:[],currentPage:1,pageSize:9,total:0,classify:null,classifyOptions:[],goodsCategory:null,goodsCategoryOptions:[],oneLevelTypeValue:"",twoLevelSelectValue:"",threeLevelSelectValue:"",selectLinkObj:{name:"",url:""}}},methods:{linksTypeChange:function(e){var t="";this.linksTypeOptions.forEach(function(i,s){i.linkId==e&&(t=i)}),this.oneLevelTypeValue=t.type;var i=5==t.type;this.setOneLevelVisible(i,t),this.selectLinkObj.name="",this.selectLinkObj.url="",this.twoLevelSelectValue="",this.threeLevelSelectValue=""},setOneLevelVisible:function(e,t){e?(this.h5linkVisible=!0,this.twoLevelVisible=!1,this.threeLevelVisible=!1,this.goodsLinksVisible=!1):(this.h5linkVisible=!1,this.twoLevelVisible=!0,this.threeLevelVisible=!1,this.goodsLinksVisible=!1,this.twoLevelValue="",this.threeLevelValue="",this.getLinksList(t.linkId,2))},twoLevelValueChange:function(e){var t=this,i="";if(t.twoLevelOptions.forEach(function(t,s){e==t.linkId&&(i=t)}),1==i.type||4==i.type||6==i.type){if(t.threeLevelVisible=!1,t.threeLevelValue="",t.twoLevelSelectValue="",t.threeLevelSelectValue="",t.selectLinkObj.name="",t.selectLinkObj.url="",4==i.type)return t.getGoodsList(),t.getGoodsCategory(),t.getGoodsClassify(),t.threeLevelVisible=!1,t.goodsLinksVisible=!0,!1;t.twoLevelOptions.forEach(function(i,s){e==i.value&&(t.selectLinkObj.name=i.label,t.selectLinkObj.url=i.content)})}else{t.goodsLinksVisible=!1,t.threeLevelVisible=!0,t.threeLevelValue="",t.twoLevelSelectValue="",t.threeLevelSelectValue="";var s=i.type;if(t.setThreeVisible(s,i),2==s)return t.twoLevelSelectValue="sign",!1;if(3==s)return t.twoLevelSelectValue="goodsCate",t.getGoodsClassify(),!1;t.getLinksList(i.linkId,3,s)}},setThreeVisible:function(e,t){switch(e){case 0:this.threeLeveloneVisible=!0,this.threeLevelTreeVisible=!1,this.threeLevelSearchVisible=!1;break;case 2:this.threeLeveloneVisible=!1,this.threeLevelTreeVisible=!1,this.threeLevelSearchVisible=!0,this.selectLinkObj.name=t.name,this.selectLinkObj.url=t.content;break;case 3:this.threeLevelValue=null,this.threeLeveloneVisible=!1,this.threeLevelTreeVisible=!0,this.threeLevelSearchVisible=!1,this.selectLinkObj.name=t.name,this.selectLinkObj.url=t.content}},getGoodsCategory:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category",n.a.stringify({filterGoods:1,parentId:"tb-cid-11"})).then(function(t){var i=t.data,s="";if(0==i.errorCode){i.result.forEach(function(e,t){"-1"==e.parentId&&(e.subOptions=[],e.key=e.mallCategoryId,s=e,i.result.splice(t,1))});var l=i.result,a=i.result;return l.forEach(function(e,t){0==e.isLeaf&&(e.subOptions=null),e.key=e.mallCategoryId,a.forEach(function(t,i){t.key=t.mallCategoryId,t.parentId==e.mallCategoryId&&(e.subOptions=[],e.subOptions.push(t),l.splice(i,1))})}),l.forEach(function(e,t){s.subOptions.push(e)}),e.categoryOptions=[],e.categoryOptions.push(s),!1}e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getGoodsClassify:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_tag_tree",n.a.stringify({})).then(function(t){var i=t.data;if(0==i.errorCode){var s=[i.result];return s.forEach(function(t,i){t.name=t.tagName,t.key=t.mallProTagId,t.childTagList&&(t.subOptions=e.checkChildren(t.childTagList))}),e.goodsCategoryOptions=s,e.classifyOptions=s,!1}e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkChildren:function(e){var t=this;return e&&e.forEach(function(e,i){e.name=e.tagName,e.key=e.mallProTagId,e.childTagList&&(e.subOptions=t.checkChildren(e.childTagList))}),e},threeLevelValueChange:function(e){},categorySelect:function(e,t){this.category=e.key,this.getGoodsList()},beforeClearCategory:function(e,t){this.category=null,this.getGoodsList()},loadOptions:function(e){var t=e.action,i=e.parentNode;e.callback;"LOAD_CHILDREN_OPTIONS"===t&&i.key&&this.getChildrenNode(i,i.key)},getChildrenNode:function(e,t){var i=this,s={filterGoods:1,parentId:t};i.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category",n.a.stringify(s)).then(function(t){var s=t.data;0!=s.errorCode?i.$message.error({duration:1e3,message:s.message}):e.subOptions=s.result}).catch(function(e){i.$message.error({duration:1e3,message:e.message})})},classifySelect:function(e,t){this.classify=e.key,this.getGoodsList()},beforeClearClassify:function(e,t){this.classify=null,this.getGoodsList()},goodsCategorySelect:function(e,t){},handleClose:function(e){var t=this;t.$confirm("确认关闭?").then(function(i){e(),t.mylinkToolsVisible=!1,t.$emit("linkSelect")}).catch(function(e){})},linkSizeChange:function(e){this.pageSize=e,this.getGoodsList()},linkCurrentChange:function(e){this.currentPage=e,this.getGoodsList()},selectGoodLinkItem:function(e){this.selectGoodId=e.mallProId,this.selectLinkItem(e)},selectLinkItem:function(e){this.selectLinkObj.name=e.proName,this.selectLinkObj.url=e.mallProImageUrl},toSearchInput:function(e){1==this.currentPage?this.getGoodsList():this.currentPage=1},clearInput:function(e){1==this.currentPage?this.getGoodsList():this.currentPage=1},getGoodsList:function(){var e=this,t={pageNum:e.currentPage,searchparams:e.searchGoods||"",pageSize:e.pageSize,mallCategoryId:e.category,tagId:e.classify};e.axios.post("http://gicdev.demogic.com:9310/api-mall/page-mall-goods",n.a.stringify(t)).then(function(t){var i=t.data;if(0==i.errorCode)return e.goodsList=i.result.result,void(e.total=i.result.totalCount);e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},remoteMethod:function(e){""!==e?this.getStoreList(e,this.threeLevelValue):this.threeLevelOptions=[]},cancelLinkSelect:function(){var e=this;e.$confirm("确认关闭?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:""}).then(function(){e.$emit("linkSelect")}).catch(function(){})},confirmLinkSelect:function(){return 5==this.oneLevelTypeValue?this.h5linkObj.name.trim()&&this.h5linkObj.url.trim()?(this.selectLinkObj.name=this.h5linkObj.name,this.selectLinkObj.url=this.h5linkObj.url+"?"+this.h5linkObj.fixParam+"&"+this.h5linkObj.dynamicPara,void this.transData()):void this.$message.error({duration:1e3,message:"请填写链接内容"}):"sign"==this.twoLevelSelectValue?(this.checkTwoLevel(this.twoLevelSelectValue),!1):"goodsCate"==this.twoLevelSelectValue?(this.checkTwoLevel(this.twoLevelSelectValue),!1):void(this.selectLinkObj.name&&this.selectLinkObj.url?this.transData():this.$message.error({duration:1e3,message:"请选择链接"}))},checkTwoLevel:function(e){if(!this.threeLevelValue||!this.threeLevelValue.length)return this.$message.error({duration:1e3,message:"请选择"+("sign"==e?"门店":"商品分类")}),!1;this.selectLinkObj.url=this.selectLinkObj.url+"?"+this.threeLevelValue,this.transData()},resetAll:function(){this.h5linkVisible=!1,this.linksType="",this.twoLevelVisible=!1,this.threeLevelVisible=!1,this.goodsLinksVisible=!1,this.twoLevelValue="",this.twoLevelSelectValue="",this.threeLevelValue="",this.selectLinkObj={url:"",name:""},this.currentPage=1,this.total=0,this.pageSize=9,this.searchGoods="",this.classify=null,this.category=null,this.h5linkObj.name="",this.h5linkObj.url="",this.h5linkObj.fixParam="",this.h5linkObj.dynamicPara=""},transData:function(){this.$emit("linkSelect",this.selectLinkObj),this.resetAll()},getLinksList:function(e,t,i){var s=this;i=i||"";var l={parentId:e};s.axios.post("http://gicdev.demogic.com:9310/api-plug/list-link-data",n.a.stringify(l)).then(function(l){var a=l.data;0!=a.errorCode?s.$message.error({duration:1e3,message:a.message}):s.setLevelListOptions(e,a.result,t,i)}).catch(function(e){s.$message.error({duration:1e3,message:e.message})})},setLevelListOptions:function(e,t,i,s){return 0==e?(t.forEach(function(e,t){e.id=e.linkId,e.label=e.name,e.value=e.linkId}),void(this.linksTypeOptions=t)):2==i&&t[0]?(t.forEach(function(e,t){e.id=e.linkId,e.label=e.name,e.value=e.linkId}),void(this.twoLevelOptions=t)):void 0},getStoreList:function(e,t){var i=this,s={searchParam:e,selectedIds:t.toString(),flag:null};i.axios.post("http://gicdev.demogic.com:9310/api-plug/query-store-by-code-name",n.a.stringify(s)).then(function(e){var t=e.data;if(0==t.errorCode)return t.result.forEach(function(e,t){e.id=e.storeId,e.label=e.storeName,e.value=e.storeId}),void(i.threeLevelOptions=t.result);i.$message.error({duration:1e3,message:t.message})}).catch(function(e){i.$message.error({duration:1e3,message:e.message})})},toLogin:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-auth/do-login",n.a.stringify({loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"})).then(function(t){e.getLinksList(0,1)}).catch(function(e){})}},watch:{linkToolsVisible:function(e){this.mylinkToolsVisible=e}},mounted:function(){this.toLogin()},components:{Treeselect:l.a}},r={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"link-tools-contain"},[i("div",{class:"first"==e.activeName?"min-1028":"min-720"},[i("div",{staticClass:"el-dialog"},[i("div",{staticClass:"el-dialog__body"},[i("div",{staticClass:"links-types"},[i("label",{staticClass:"types-title"},[e._v("链接类型:")]),e._v(" "),i("el-select",{attrs:{placeholder:"请选择"},on:{change:e.linksTypeChange},model:{value:e.linksType,callback:function(t){e.linksType=t},expression:"linksType"}},e._l(e.linksTypeOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e._v(" "),e.twoLevelVisible?i("el-select",{attrs:{placeholder:"请选择"},on:{change:e.twoLevelValueChange},model:{value:e.twoLevelValue,callback:function(t){e.twoLevelValue=t},expression:"twoLevelValue"}},e._l(e.twoLevelOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e(),e._v(" "),e.threeLevelVisible?i("div",{staticClass:"three-level-wrap"},[e.threeLevelTreeVisible?i("treeselect",{attrs:{options:e.goodsCategoryOptions,normalizer:e.normalizer,"default-expand-level":1,placeholder:"所有分类",noOptionsText:"暂无数据",noResultsText:"无数据"},on:{select:e.goodsCategorySelect},model:{value:e.threeLevelValue,callback:function(t){e.threeLevelValue=t},expression:"threeLevelValue"}}):e._e(),e._v(" "),e.threeLevelSearchVisible?i("el-select",{attrs:{multiple:"",filterable:"",remote:"","reserve-keyword":"",placeholder:"请输入关键词","remote-method":e.remoteMethod},on:{change:e.threeLevelValueChange},model:{value:e.threeLevelValue,callback:function(t){e.threeLevelValue=t},expression:"threeLevelValue"}},e._l(e.threeLevelOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e()],1):e._e()],1),e._v(" "),e.h5linkVisible?i("div",{staticClass:"h5link-contain"},[i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("名称:")]),e._v(" "),i("el-input",{attrs:{placeholder:"请输入名称"},model:{value:e.h5linkObj.name,callback:function(t){e.$set(e.h5linkObj,"name",t)},expression:"h5linkObj.name"}})],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("网址:")]),e._v(" "),i("el-input",{attrs:{placeholder:"请输入网址"},model:{value:e.h5linkObj.url,callback:function(t){e.$set(e.h5linkObj,"url",t)},expression:"h5linkObj.url"}}),i("a",{staticClass:"h5link-help",attrs:{href:"http://doc.demogic.com/doc/index.php?s=/41&page_id=441",target:"_blank"}},[e._v("【帮助文档】请联系公司技术人员查看文档配置标准链接")])],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("固定参数:")]),e._v(" "),i("el-input",{attrs:{type:"textarea",resize:"none",rows:4,placeholder:"请输入固定参数(可选)"},model:{value:e.h5linkObj.fixParam,callback:function(t){e.$set(e.h5linkObj,"fixParam",t)},expression:"h5linkObj.fixParam"}})],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("动态参数:")]),e._v(" "),i("el-select",{staticClass:"dynamic-param-select",attrs:{multiple:"",placeholder:"请选择动态参数(可选)"},model:{value:e.h5linkObj.dynamicPara,callback:function(t){e.$set(e.h5linkObj,"dynamicPara",t)},expression:"h5linkObj.dynamicPara"}},e._l(e.h5linkObj.dynamicParaOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1)]):e._e(),e._v(" "),e.goodsLinksVisible?i("div",{staticClass:"goods-links-contian"},[i("div",{staticClass:"links-tools-row"},[i("treeselect",{attrs:{options:e.categoryOptions,normalizer:e.normalizer,"default-expand-level":1,flat:!0,placeholder:"所有品类",noOptionsText:"暂无数据",noResultsText:"无数据","no-children-text":"无数据","load-options":e.loadOptions,beforeClearAll:e.beforeClearCategory},on:{select:e.categorySelect},model:{value:e.category,callback:function(t){e.category=t},expression:"category"}}),e._v(" "),i("treeselect",{attrs:{options:e.classifyOptions,normalizer:e.normalizer,"default-expand-level":1,placeholder:"所有分类",noOptionsText:"暂无数据",noResultsText:"无数据",noChildrenText:"无数据",beforeClearAll:e.beforeClearClassify},on:{select:e.classifySelect},model:{value:e.classify,callback:function(t){e.classify=t},expression:"classify"}}),e._v(" "),i("el-input",{staticClass:"links-tools-input",attrs:{placeholder:"请输入商品名称/货号",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return i=t,e.toSearchInput(i);var i}},model:{value:e.searchGoods,callback:function(t){e.searchGoods=t},expression:"searchGoods"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),i("div",{staticClass:"goods-link-content"},[i("ul",{staticClass:"goods-link-list"},e._l(e.goodsList,function(t,s){return i("li",{key:t.proName+s,class:t.mallProId==e.selectGoodId?"goods-link-item goodSelect":"goods-link-item",on:{click:function(i){e.selectGoodLinkItem(t)}}},[i("img",{attrs:{src:t.mallProImageUrl,alt:"商品图片"}}),e._v(" "),i("div",{staticClass:"inline-block goods-message"},[i("p",{staticClass:"limit-2 pro-name"},[e._v(e._s(t.proName))]),e._v(" "),i("p",{staticClass:"gray-color pro-code"},[e._v("货号:"+e._s(t.proCode))]),e._v(" "),i("span",{staticClass:"pro-price"},[e._v("¥"+e._s(t.mallProSpuPrice))])])])}))]),e._v(" "),i("div",{staticClass:"links-tools-page"},[i("el-pagination",{attrs:{"current-page":e.currentPage,"page-sizes":[9],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.linkSizeChange,"current-change":e.linkCurrentChange}})],1)]):e._e(),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"})])])])])},staticRenderFns:[]};var c=i("VU/8")(o,r,!1,function(e){i("uUnm")},"data-v-24a47607",null);t.default=c.exports},uUnm:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([23],{Lc2x:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=i("GXH0"),s=i.n(l),a=i("mw3O"),n=i.n(a),o={name:"links",props:["linkToolsVisible"],data:function(){return{activeName:"first",twoLevelVisible:!1,threeLevelVisible:!1,linksType:"",linksTypeOptions:[],twoLevelValue:"",twoLevelOptions:[],threeLeveloneVisible:!1,threeLevelTreeVisible:!1,threeLevelSearchVisible:!1,threeLevelValue:"",threeLevelOptions:[],h5linkVisible:!1,h5linkObj:{name:"",url:"",fixParam:"",dynamicPara:"",dynamicParaOptions:[{value:"openid",label:"openid"},{value:"unionid",label:"unionid"},{value:"wxOpenid",label:"wxOpenid"},{value:"appkey",label:"appkey"},{value:"enterpriseId",label:"enterpriseId"},{value:"appid",label:"appid"},{value:"memberID",label:"memberID"}]},mylinkToolsVisible:this.linkToolsVisible,goodsLinksVisible:!1,searchGoods:"",category:null,categoryOptions:[],normalizer:function(e){return{id:e.key,label:e.name,children:e.subOptions}},selectGoodId:"",goodsList:[],currentPage:1,pageSize:9,total:0,classify:null,classifyOptions:[],goodsCategory:null,goodsCategoryOptions:[],oneLevelTypeValue:"",twoLevelSelectValue:"",threeLevelSelectValue:"",selectLinkObj:{name:"",url:""}}},methods:{linksTypeChange:function(e){var t="";this.linksTypeOptions.forEach(function(i,l){i.linkId==e&&(t=i)}),this.oneLevelTypeValue=t.type;var i=5==t.type;this.setOneLevelVisible(i,t),this.selectLinkObj.name="",this.selectLinkObj.url="",this.twoLevelSelectValue="",this.threeLevelSelectValue=""},setOneLevelVisible:function(e,t){e?(this.h5linkVisible=!0,this.twoLevelVisible=!1,this.threeLevelVisible=!1,this.goodsLinksVisible=!1):(this.h5linkVisible=!1,this.twoLevelVisible=!0,this.threeLevelVisible=!1,this.goodsLinksVisible=!1,this.twoLevelValue="",this.threeLevelValue="",this.getLinksList(t.linkId,2))},twoLevelValueChange:function(e){var t=this,i="";if(t.twoLevelOptions.forEach(function(t,l){e==t.linkId&&(i=t)}),1==i.type||4==i.type||6==i.type){if(t.threeLevelVisible=!1,t.threeLevelValue="",t.twoLevelSelectValue="",t.threeLevelSelectValue="",t.selectLinkObj.name="",t.selectLinkObj.url="",4==i.type)return t.getGoodsList(),t.getGoodsCategory(),t.getGoodsClassify(),t.threeLevelVisible=!1,t.goodsLinksVisible=!0,!1;t.twoLevelOptions.forEach(function(i,l){e==i.value&&(t.selectLinkObj.name=i.label,t.selectLinkObj.url=i.content)})}else{t.goodsLinksVisible=!1,t.threeLevelVisible=!0,t.threeLevelValue="",t.twoLevelSelectValue="",t.threeLevelSelectValue="";var l=i.type;if(t.setThreeVisible(l,i),2==l)return t.twoLevelSelectValue="sign",!1;if(3==l)return t.twoLevelSelectValue="goodsCate",t.getGoodsClassify(),!1;t.getLinksList(i.linkId,3,l)}},setThreeVisible:function(e,t){switch(e){case 0:this.threeLeveloneVisible=!0,this.threeLevelTreeVisible=!1,this.threeLevelSearchVisible=!1;break;case 2:this.threeLeveloneVisible=!1,this.threeLevelTreeVisible=!1,this.threeLevelSearchVisible=!0,this.selectLinkObj.name=t.name,this.selectLinkObj.url=t.content;break;case 3:this.threeLevelValue=null,this.threeLeveloneVisible=!1,this.threeLevelTreeVisible=!0,this.threeLevelSearchVisible=!1,this.selectLinkObj.name=t.name,this.selectLinkObj.url=t.content}},getGoodsCategory:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category",n.a.stringify({filterGoods:1,parentId:"tb-cid-11"})).then(function(t){var i=t.data,l="";if(0==i.errorCode){i.result.forEach(function(e,t){"-1"==e.parentId&&(e.subOptions=[],e.key=e.mallCategoryId,l=e,i.result.splice(t,1))});var s=i.result,a=i.result;return s.forEach(function(e,t){0==e.isLeaf&&(e.subOptions=null),e.key=e.mallCategoryId,a.forEach(function(t,i){t.key=t.mallCategoryId,t.parentId==e.mallCategoryId&&(e.subOptions=[],e.subOptions.push(t),s.splice(i,1))})}),s.forEach(function(e,t){l.subOptions.push(e)}),e.categoryOptions=[],e.categoryOptions.push(l),!1}e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getGoodsClassify:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_tag_tree",n.a.stringify({})).then(function(t){var i=t.data;if(0==i.errorCode){var l=[i.result];return l.forEach(function(t,i){t.name=t.tagName,t.key=t.mallProTagId,t.childTagList&&(t.subOptions=e.checkChildren(t.childTagList))}),e.goodsCategoryOptions=l,void(e.classifyOptions=l)}e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkChildren:function(e){var t=this;return e&&e.forEach(function(e,i){e.name=e.tagName,e.key=e.mallProTagId,e.childTagList&&(e.subOptions=t.checkChildren(e.childTagList))}),e},threeLevelValueChange:function(e){},categorySelect:function(e,t){this.category=e.key,this.getGoodsList()},beforeClearCategory:function(e,t){this.category=null,this.getGoodsList()},loadOptions:function(e){var t=e.action,i=e.parentNode;e.callback;"LOAD_CHILDREN_OPTIONS"===t&&i.key&&this.getChildrenNode(i,i.key)},getChildrenNode:function(e,t){var i=this,l={filterGoods:1,parentId:t};i.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category",n.a.stringify(l)).then(function(t){var l=t.data;0!=l.errorCode?i.$message.error({duration:1e3,message:l.message}):e.subOptions=l.result}).catch(function(e){i.$message.error({duration:1e3,message:e.message})})},classifySelect:function(e,t){this.classify=e.key,this.getGoodsList()},beforeClearClassify:function(e,t){this.classify=null,this.getGoodsList()},goodsCategorySelect:function(e,t){},handleClose:function(e){var t=this;t.$confirm("确认关闭?").then(function(i){e(),t.mylinkToolsVisible=!1,t.$emit("linkSelect")}).catch(function(e){})},linkSizeChange:function(e){this.pageSize=e,this.getGoodsList()},linkCurrentChange:function(e){this.currentPage=e,this.getGoodsList()},selectGoodLinkItem:function(e){this.selectGoodId=e.mallProId,this.selectLinkItem(e)},selectLinkItem:function(e){this.selectLinkObj.name=e.proName,this.selectLinkObj.url=e.mallProImageUrl},toSearchInput:function(e){1==this.currentPage?this.getGoodsList():this.currentPage=1},clearInput:function(e){1==this.currentPage?this.getGoodsList():this.currentPage=1},getGoodsList:function(){var e=this,t={pageNum:e.currentPage,searchparams:e.searchGoods||"",pageSize:e.pageSize,mallCategoryId:e.category,tagId:e.classify};e.axios.post("http://gicdev.demogic.com:9310/api-mall/page-mall-goods",n.a.stringify(t)).then(function(t){var i=t.data;if(0==i.errorCode)return e.goodsList=i.result.result,void(e.total=i.result.totalCount);e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},remoteMethod:function(e){""!==e?this.getStoreList(e,this.threeLevelValue):this.threeLevelOptions=[]},cancelLinkSelect:function(){var e=this;this.$confirm("确认关闭?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:""}).then(function(){e.$emit("linkSelect")}).catch(function(){})},confirmLinkSelect:function(){return 5==this.oneLevelTypeValue?this.h5linkObj.name.trim()&&this.h5linkObj.url.trim()?(this.selectLinkObj.name=this.h5linkObj.name,this.selectLinkObj.url=this.h5linkObj.url+"?"+this.h5linkObj.fixParam+"&"+this.h5linkObj.dynamicPara,void this.transData()):void this.$message.error({duration:1e3,message:"请填写链接内容"}):"sign"==this.twoLevelSelectValue?(this.checkTwoLevel(this.twoLevelSelectValue),!1):"goodsCate"==this.twoLevelSelectValue?(this.checkTwoLevel(this.twoLevelSelectValue),!1):void(this.selectLinkObj.name&&this.selectLinkObj.url?this.transData():this.$message.error({duration:1e3,message:"请选择链接"}))},checkTwoLevel:function(e){if(!this.threeLevelValue||!this.threeLevelValue.length)return this.$message.error({duration:1e3,message:"请选择"+("sign"==e?"门店":"商品分类")}),!1;this.selectLinkObj.url=this.selectLinkObj.url+"?"+this.threeLevelValue,this.transData()},resetAll:function(){this.h5linkVisible=!1,this.linksType="",this.twoLevelVisible=!1,this.threeLevelVisible=!1,this.goodsLinksVisible=!1,this.twoLevelValue="",this.twoLevelSelectValue="",this.threeLevelValue="",this.selectLinkObj={url:"",name:""},this.currentPage=1,this.total=0,this.pageSize=9,this.searchGoods="",this.classify=null,this.category=null,this.h5linkObj.name="",this.h5linkObj.url="",this.h5linkObj.fixParam="",this.h5linkObj.dynamicPara=""},transData:function(){this.$emit("linkSelect",this.selectLinkObj),this.resetAll()},getLinksList:function(e,t,i){var l=this;i=i||"";var s={parentId:e};l.axios.post("http://gicdev.demogic.com:9310/api-plug/list-link-data",n.a.stringify(s)).then(function(s){var a=s.data;0!=a.errorCode?l.$message.error({duration:1e3,message:a.message}):l.setLevelListOptions(e,a.result,t,i)}).catch(function(e){l.$message.error({duration:1e3,message:e.message})})},setLevelListOptions:function(e,t,i,l){return 0==e?(t.forEach(function(e,t){e.id=e.linkId,e.label=e.name,e.value=e.linkId}),void(this.linksTypeOptions=t)):2==i&&t[0]?(t.forEach(function(e,t){e.id=e.linkId,e.label=e.name,e.value=e.linkId}),void(this.twoLevelOptions=t)):void 0},getStoreList:function(e,t){var i=this,l={searchParam:e,selectedIds:t.toString(),flag:null};i.axios.post("http://gicdev.demogic.com:9310/api-plug/query-store-by-code-name",n.a.stringify(l)).then(function(e){var t=e.data;if(0==t.errorCode)return t.result.forEach(function(e,t){e.id=e.storeId,e.label=e.storeName,e.value=e.storeId}),void(i.threeLevelOptions=t.result);i.$message.error({duration:1e3,message:t.message})}).catch(function(e){i.$message.error({duration:1e3,message:e.message})})},toLogin:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-auth/do-login",n.a.stringify({loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"})).then(function(t){e.getLinksList(0,1)}).catch(function(e){})}},watch:{linkToolsVisible:function(e){this.mylinkToolsVisible=e}},mounted:function(){this.toLogin()},components:{Treeselect:s.a}},r={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"link-tools-contain"},[i("el-dialog",{class:"first"==e.activeName?"min-1026":"min-720",attrs:{title:"链接小工具",visible:e.mylinkToolsVisible,"before-close":e.handleClose},on:{"update:visible":function(t){e.mylinkToolsVisible=t}}},[i("div",{staticClass:"links-types"},[i("label",{staticClass:"types-title"},[e._v("链接类型:")]),e._v(" "),i("el-select",{attrs:{placeholder:"请选择"},on:{change:e.linksTypeChange},model:{value:e.linksType,callback:function(t){e.linksType=t},expression:"linksType"}},e._l(e.linksTypeOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e._v(" "),e.twoLevelVisible?i("el-select",{attrs:{placeholder:"请选择"},on:{change:e.twoLevelValueChange},model:{value:e.twoLevelValue,callback:function(t){e.twoLevelValue=t},expression:"twoLevelValue"}},e._l(e.twoLevelOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e(),e._v(" "),e.threeLevelVisible?i("div",{staticClass:"three-level-wrap"},[e.threeLevelTreeVisible?i("treeselect",{attrs:{options:e.goodsCategoryOptions,normalizer:e.normalizer,"default-expand-level":1,placeholder:"所有分类",noOptionsText:"暂无数据",noResultsText:"无数据"},on:{select:e.goodsCategorySelect},model:{value:e.threeLevelValue,callback:function(t){e.threeLevelValue=t},expression:"threeLevelValue"}}):e._e(),e._v(" "),e.threeLevelSearchVisible?i("el-select",{attrs:{multiple:"",filterable:"",remote:"","reserve-keyword":"",placeholder:"请输入关键词","remote-method":e.remoteMethod},on:{change:e.threeLevelValueChange},model:{value:e.threeLevelValue,callback:function(t){e.threeLevelValue=t},expression:"threeLevelValue"}},e._l(e.threeLevelOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e()],1):e._e()],1),e._v(" "),e.h5linkVisible?i("div",{staticClass:"h5link-contain"},[i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("名称:")]),e._v(" "),i("el-input",{attrs:{placeholder:"请输入名称"},model:{value:e.h5linkObj.name,callback:function(t){e.$set(e.h5linkObj,"name",t)},expression:"h5linkObj.name"}})],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("网址:")]),e._v(" "),i("el-input",{attrs:{placeholder:"请输入网址"},model:{value:e.h5linkObj.url,callback:function(t){e.$set(e.h5linkObj,"url",t)},expression:"h5linkObj.url"}}),i("a",{staticClass:"h5link-help",attrs:{href:"http://doc.demogic.com/doc/index.php?s=/41&page_id=441",target:"_blank"}},[e._v("【帮助文档】请联系公司技术人员查看文档配置标准链接")])],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("固定参数:")]),e._v(" "),i("el-input",{attrs:{type:"textarea",resize:"none",rows:4,placeholder:"请输入固定参数(可选)"},model:{value:e.h5linkObj.fixParam,callback:function(t){e.$set(e.h5linkObj,"fixParam",t)},expression:"h5linkObj.fixParam"}})],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("动态参数:")]),e._v(" "),i("el-select",{staticClass:"dynamic-param-select",attrs:{multiple:"",placeholder:"请选择动态参数(可选)"},model:{value:e.h5linkObj.dynamicPara,callback:function(t){e.$set(e.h5linkObj,"dynamicPara",t)},expression:"h5linkObj.dynamicPara"}},e._l(e.h5linkObj.dynamicParaOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1)]):e._e(),e._v(" "),e.goodsLinksVisible?i("div",{staticClass:"goods-links-contian"},[i("div",{staticClass:"links-tools-row"},[i("treeselect",{attrs:{options:e.categoryOptions,normalizer:e.normalizer,"default-expand-level":1,flat:!0,placeholder:"所有品类",noOptionsText:"暂无数据",noResultsText:"无数据","no-children-text":"无数据","load-options":e.loadOptions,beforeClearAll:e.beforeClearCategory},on:{select:e.categorySelect},model:{value:e.category,callback:function(t){e.category=t},expression:"category"}}),e._v(" "),i("treeselect",{attrs:{options:e.classifyOptions,normalizer:e.normalizer,"default-expand-level":1,placeholder:"所有分类",noOptionsText:"暂无数据",noResultsText:"无数据",noChildrenText:"无数据",beforeClearAll:e.beforeClearClassify},on:{select:e.classifySelect},model:{value:e.classify,callback:function(t){e.classify=t},expression:"classify"}}),e._v(" "),i("el-input",{staticClass:"links-tools-input",attrs:{placeholder:"请输入商品名称/货号",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return i=t,e.toSearchInput(i);var i}},model:{value:e.searchGoods,callback:function(t){e.searchGoods=t},expression:"searchGoods"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),i("div",{staticClass:"goods-link-content"},[i("ul",{staticClass:"goods-link-list"},e._l(e.goodsList,function(t,l){return i("li",{key:t.proName+l,class:t.mallProId==e.selectGoodId?"goods-link-item goodSelect":"goods-link-item",on:{click:function(i){e.selectGoodLinkItem(t)}}},[i("img",{attrs:{src:t.mallProImageUrl,alt:"商品图片"}}),e._v(" "),i("div",{staticClass:"inline-block goods-message"},[i("p",{staticClass:"limit-2 pro-name"},[e._v(e._s(t.proName))]),e._v(" "),i("p",{staticClass:"gray-color pro-code"},[e._v("货号:"+e._s(t.proCode))]),e._v(" "),i("span",{staticClass:"pro-price"},[e._v("¥"+e._s(t.mallProSpuPrice))])])])}))]),e._v(" "),i("div",{staticClass:"links-tools-page"},[i("el-pagination",{attrs:{"current-page":e.currentPage,"page-sizes":[9],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.linkSizeChange,"current-change":e.linkCurrentChange}})],1)]):e._e(),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.cancelLinkSelect}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.confirmLinkSelect}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var c=i("VU/8")(o,r,!1,function(e){i("rtQY")},"data-v-20b2819f",null);t.default=c.exports},rtQY:function(e,t){}}); webpackJsonp([22],{Lc2x:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=i("GXH0"),s=i.n(l),a=i("mw3O"),n=i.n(a),o={name:"links",props:["linkToolsVisible"],data:function(){return{activeName:"first",twoLevelVisible:!1,threeLevelVisible:!1,linksType:"",linksTypeOptions:[],twoLevelValue:"",twoLevelOptions:[],threeLeveloneVisible:!1,threeLevelTreeVisible:!1,threeLevelSearchVisible:!1,threeLevelValue:"",threeLevelOptions:[],h5linkVisible:!1,h5linkObj:{name:"",url:"",fixParam:"",dynamicPara:"",dynamicParaOptions:[{value:"openid",label:"openid"},{value:"unionid",label:"unionid"},{value:"wxOpenid",label:"wxOpenid"},{value:"appkey",label:"appkey"},{value:"enterpriseId",label:"enterpriseId"},{value:"appid",label:"appid"},{value:"memberID",label:"memberID"}]},mylinkToolsVisible:this.linkToolsVisible,goodsLinksVisible:!1,searchGoods:"",category:null,categoryOptions:[],normalizer:function(e){return{id:e.key,label:e.name,children:e.subOptions}},selectGoodId:"",goodsList:[],currentPage:1,pageSize:9,total:0,classify:null,classifyOptions:[],goodsCategory:null,goodsCategoryOptions:[],oneLevelTypeValue:"",twoLevelSelectValue:"",threeLevelSelectValue:"",selectLinkObj:{name:"",url:""}}},methods:{linksTypeChange:function(e){var t="";this.linksTypeOptions.forEach(function(i,l){i.linkId==e&&(t=i)}),this.oneLevelTypeValue=t.type;var i=5==t.type;this.setOneLevelVisible(i,t),this.selectLinkObj.name="",this.selectLinkObj.url="",this.twoLevelSelectValue="",this.threeLevelSelectValue=""},setOneLevelVisible:function(e,t){e?(this.h5linkVisible=!0,this.twoLevelVisible=!1,this.threeLevelVisible=!1,this.goodsLinksVisible=!1):(this.h5linkVisible=!1,this.twoLevelVisible=!0,this.threeLevelVisible=!1,this.goodsLinksVisible=!1,this.twoLevelValue="",this.threeLevelValue="",this.getLinksList(t.linkId,2))},twoLevelValueChange:function(e){var t=this,i="";if(t.twoLevelOptions.forEach(function(t,l){e==t.linkId&&(i=t)}),1==i.type||4==i.type||6==i.type){if(t.threeLevelVisible=!1,t.threeLevelValue="",t.twoLevelSelectValue="",t.threeLevelSelectValue="",t.selectLinkObj.name="",t.selectLinkObj.url="",4==i.type)return t.getGoodsList(),t.getGoodsCategory(),t.getGoodsClassify(),t.threeLevelVisible=!1,t.goodsLinksVisible=!0,!1;t.twoLevelOptions.forEach(function(i,l){e==i.value&&(t.selectLinkObj.name=i.label,t.selectLinkObj.url=i.content)})}else{t.goodsLinksVisible=!1,t.threeLevelVisible=!0,t.threeLevelValue="",t.twoLevelSelectValue="",t.threeLevelSelectValue="";var l=i.type;if(t.setThreeVisible(l,i),2==l)return t.twoLevelSelectValue="sign",!1;if(3==l)return t.twoLevelSelectValue="goodsCate",t.getGoodsClassify(),!1;t.getLinksList(i.linkId,3,l)}},setThreeVisible:function(e,t){switch(e){case 0:this.threeLeveloneVisible=!0,this.threeLevelTreeVisible=!1,this.threeLevelSearchVisible=!1;break;case 2:this.threeLeveloneVisible=!1,this.threeLevelTreeVisible=!1,this.threeLevelSearchVisible=!0,this.selectLinkObj.name=t.name,this.selectLinkObj.url=t.content;break;case 3:this.threeLevelValue=null,this.threeLeveloneVisible=!1,this.threeLevelTreeVisible=!0,this.threeLevelSearchVisible=!1,this.selectLinkObj.name=t.name,this.selectLinkObj.url=t.content}},getGoodsCategory:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category",n.a.stringify({filterGoods:1,parentId:"tb-cid-11"})).then(function(t){var i=t.data,l="";if(0==i.errorCode){i.result.forEach(function(e,t){"-1"==e.parentId&&(e.subOptions=[],e.key=e.mallCategoryId,l=e,i.result.splice(t,1))});var s=i.result,a=i.result;return s.forEach(function(e,t){0==e.isLeaf&&(e.subOptions=null),e.key=e.mallCategoryId,a.forEach(function(t,i){t.key=t.mallCategoryId,t.parentId==e.mallCategoryId&&(e.subOptions=[],e.subOptions.push(t),s.splice(i,1))})}),s.forEach(function(e,t){l.subOptions.push(e)}),e.categoryOptions=[],e.categoryOptions.push(l),!1}e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getGoodsClassify:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_tag_tree",n.a.stringify({})).then(function(t){var i=t.data;if(0==i.errorCode){var l=[i.result];return l.forEach(function(t,i){t.name=t.tagName,t.key=t.mallProTagId,t.childTagList&&(t.subOptions=e.checkChildren(t.childTagList))}),e.goodsCategoryOptions=l,void(e.classifyOptions=l)}e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkChildren:function(e){var t=this;return e&&e.forEach(function(e,i){e.name=e.tagName,e.key=e.mallProTagId,e.childTagList&&(e.subOptions=t.checkChildren(e.childTagList))}),e},threeLevelValueChange:function(e){},categorySelect:function(e,t){this.category=e.key,this.getGoodsList()},beforeClearCategory:function(e,t){this.category=null,this.getGoodsList()},loadOptions:function(e){var t=e.action,i=e.parentNode;e.callback;"LOAD_CHILDREN_OPTIONS"===t&&i.key&&this.getChildrenNode(i,i.key)},getChildrenNode:function(e,t){var i=this,l={filterGoods:1,parentId:t};i.axios.post("http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category",n.a.stringify(l)).then(function(t){var l=t.data;0!=l.errorCode?i.$message.error({duration:1e3,message:l.message}):e.subOptions=l.result}).catch(function(e){i.$message.error({duration:1e3,message:e.message})})},classifySelect:function(e,t){this.classify=e.key,this.getGoodsList()},beforeClearClassify:function(e,t){this.classify=null,this.getGoodsList()},goodsCategorySelect:function(e,t){},handleClose:function(e){var t=this;t.$confirm("确认关闭?").then(function(i){e(),t.mylinkToolsVisible=!1,t.$emit("linkSelect")}).catch(function(e){})},linkSizeChange:function(e){this.pageSize=e,this.getGoodsList()},linkCurrentChange:function(e){this.currentPage=e,this.getGoodsList()},selectGoodLinkItem:function(e){this.selectGoodId=e.mallProId,this.selectLinkItem(e)},selectLinkItem:function(e){this.selectLinkObj.name=e.proName,this.selectLinkObj.url=e.mallProImageUrl},toSearchInput:function(e){1==this.currentPage?this.getGoodsList():this.currentPage=1},clearInput:function(e){1==this.currentPage?this.getGoodsList():this.currentPage=1},getGoodsList:function(){var e=this,t={pageNum:e.currentPage,searchparams:e.searchGoods||"",pageSize:e.pageSize,mallCategoryId:e.category,tagId:e.classify};e.axios.post("http://gicdev.demogic.com:9310/api-mall/page-mall-goods",n.a.stringify(t)).then(function(t){var i=t.data;if(0==i.errorCode)return e.goodsList=i.result.result,void(e.total=i.result.totalCount);e.$message.error({duration:1e3,message:i.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},remoteMethod:function(e){""!==e?this.getStoreList(e,this.threeLevelValue):this.threeLevelOptions=[]},cancelLinkSelect:function(){var e=this;this.$confirm("确认关闭?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:""}).then(function(){e.$emit("linkSelect")}).catch(function(){})},confirmLinkSelect:function(){return 5==this.oneLevelTypeValue?this.h5linkObj.name.trim()&&this.h5linkObj.url.trim()?(this.selectLinkObj.name=this.h5linkObj.name,this.selectLinkObj.url=this.h5linkObj.url+"?"+this.h5linkObj.fixParam+"&"+this.h5linkObj.dynamicPara,void this.transData()):void this.$message.error({duration:1e3,message:"请填写链接内容"}):"sign"==this.twoLevelSelectValue?(this.checkTwoLevel(this.twoLevelSelectValue),!1):"goodsCate"==this.twoLevelSelectValue?(this.checkTwoLevel(this.twoLevelSelectValue),!1):void(this.selectLinkObj.name&&this.selectLinkObj.url?this.transData():this.$message.error({duration:1e3,message:"请选择链接"}))},checkTwoLevel:function(e){if(!this.threeLevelValue||!this.threeLevelValue.length)return this.$message.error({duration:1e3,message:"请选择"+("sign"==e?"门店":"商品分类")}),!1;this.selectLinkObj.url=this.selectLinkObj.url+"?"+this.threeLevelValue,this.transData()},resetAll:function(){this.h5linkVisible=!1,this.linksType="",this.twoLevelVisible=!1,this.threeLevelVisible=!1,this.goodsLinksVisible=!1,this.twoLevelValue="",this.twoLevelSelectValue="",this.threeLevelValue="",this.selectLinkObj={url:"",name:""},this.currentPage=1,this.total=0,this.pageSize=9,this.searchGoods="",this.classify=null,this.category=null,this.h5linkObj.name="",this.h5linkObj.url="",this.h5linkObj.fixParam="",this.h5linkObj.dynamicPara=""},transData:function(){this.$emit("linkSelect",this.selectLinkObj),this.resetAll()},getLinksList:function(e,t,i){var l=this;i=i||"";var s={parentId:e};l.axios.post("http://gicdev.demogic.com:9310/api-plug/list-link-data",n.a.stringify(s)).then(function(s){var a=s.data;0!=a.errorCode?l.$message.error({duration:1e3,message:a.message}):l.setLevelListOptions(e,a.result,t,i)}).catch(function(e){l.$message.error({duration:1e3,message:e.message})})},setLevelListOptions:function(e,t,i,l){return 0==e?(t.forEach(function(e,t){e.id=e.linkId,e.label=e.name,e.value=e.linkId}),void(this.linksTypeOptions=t)):2==i&&t[0]?(t.forEach(function(e,t){e.id=e.linkId,e.label=e.name,e.value=e.linkId}),void(this.twoLevelOptions=t)):void 0},getStoreList:function(e,t){var i=this,l={searchParam:e,selectedIds:t.toString(),flag:null};i.axios.post("http://gicdev.demogic.com:9310/api-plug/query-store-by-code-name",n.a.stringify(l)).then(function(e){var t=e.data;if(0==t.errorCode)return t.result.forEach(function(e,t){e.id=e.storeId,e.label=e.storeName,e.value=e.storeId}),void(i.threeLevelOptions=t.result);i.$message.error({duration:1e3,message:t.message})}).catch(function(e){i.$message.error({duration:1e3,message:e.message})})},toLogin:function(){var e=this;e.axios.post("http://gicdev.demogic.com:9310/api-auth/do-login",n.a.stringify({loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"})).then(function(t){e.getLinksList(0,1)}).catch(function(e){})}},watch:{linkToolsVisible:function(e){this.mylinkToolsVisible=e}},mounted:function(){this.toLogin()},components:{Treeselect:s.a}},r={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"link-tools-contain"},[i("el-dialog",{class:"first"==e.activeName?"min-1026":"min-720",attrs:{title:"链接小工具",visible:e.mylinkToolsVisible,"before-close":e.handleClose},on:{"update:visible":function(t){e.mylinkToolsVisible=t}}},[i("div",{staticClass:"links-types"},[i("label",{staticClass:"types-title"},[e._v("链接类型:")]),e._v(" "),i("el-select",{attrs:{placeholder:"请选择"},on:{change:e.linksTypeChange},model:{value:e.linksType,callback:function(t){e.linksType=t},expression:"linksType"}},e._l(e.linksTypeOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e._v(" "),e.twoLevelVisible?i("el-select",{attrs:{placeholder:"请选择"},on:{change:e.twoLevelValueChange},model:{value:e.twoLevelValue,callback:function(t){e.twoLevelValue=t},expression:"twoLevelValue"}},e._l(e.twoLevelOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e(),e._v(" "),e.threeLevelVisible?i("div",{staticClass:"three-level-wrap"},[e.threeLevelTreeVisible?i("treeselect",{attrs:{options:e.goodsCategoryOptions,normalizer:e.normalizer,"default-expand-level":1,placeholder:"所有分类",noOptionsText:"暂无数据",noResultsText:"无数据"},on:{select:e.goodsCategorySelect},model:{value:e.threeLevelValue,callback:function(t){e.threeLevelValue=t},expression:"threeLevelValue"}}):e._e(),e._v(" "),e.threeLevelSearchVisible?i("el-select",{attrs:{multiple:"",filterable:"",remote:"","reserve-keyword":"",placeholder:"请输入关键词","remote-method":e.remoteMethod},on:{change:e.threeLevelValueChange},model:{value:e.threeLevelValue,callback:function(t){e.threeLevelValue=t},expression:"threeLevelValue"}},e._l(e.threeLevelOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e()],1):e._e()],1),e._v(" "),e.h5linkVisible?i("div",{staticClass:"h5link-contain"},[i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("名称:")]),e._v(" "),i("el-input",{attrs:{placeholder:"请输入名称"},model:{value:e.h5linkObj.name,callback:function(t){e.$set(e.h5linkObj,"name",t)},expression:"h5linkObj.name"}})],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("网址:")]),e._v(" "),i("el-input",{attrs:{placeholder:"请输入网址"},model:{value:e.h5linkObj.url,callback:function(t){e.$set(e.h5linkObj,"url",t)},expression:"h5linkObj.url"}}),i("a",{staticClass:"h5link-help",attrs:{href:"http://doc.demogic.com/doc/index.php?s=/41&page_id=441",target:"_blank"}},[e._v("【帮助文档】请联系公司技术人员查看文档配置标准链接")])],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("固定参数:")]),e._v(" "),i("el-input",{attrs:{type:"textarea",resize:"none",rows:4,placeholder:"请输入固定参数(可选)"},model:{value:e.h5linkObj.fixParam,callback:function(t){e.$set(e.h5linkObj,"fixParam",t)},expression:"h5linkObj.fixParam"}})],1),e._v(" "),i("div",{staticClass:"h5link-row"},[i("label",{staticClass:"h5link-title"},[e._v("动态参数:")]),e._v(" "),i("el-select",{staticClass:"dynamic-param-select",attrs:{multiple:"",placeholder:"请选择动态参数(可选)"},model:{value:e.h5linkObj.dynamicPara,callback:function(t){e.$set(e.h5linkObj,"dynamicPara",t)},expression:"h5linkObj.dynamicPara"}},e._l(e.h5linkObj.dynamicParaOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1)]):e._e(),e._v(" "),e.goodsLinksVisible?i("div",{staticClass:"goods-links-contian"},[i("div",{staticClass:"links-tools-row"},[i("treeselect",{attrs:{options:e.categoryOptions,normalizer:e.normalizer,"default-expand-level":1,flat:!0,placeholder:"所有品类",noOptionsText:"暂无数据",noResultsText:"无数据","no-children-text":"无数据","load-options":e.loadOptions,beforeClearAll:e.beforeClearCategory},on:{select:e.categorySelect},model:{value:e.category,callback:function(t){e.category=t},expression:"category"}}),e._v(" "),i("treeselect",{attrs:{options:e.classifyOptions,normalizer:e.normalizer,"default-expand-level":1,placeholder:"所有分类",noOptionsText:"暂无数据",noResultsText:"无数据",noChildrenText:"无数据",beforeClearAll:e.beforeClearClassify},on:{select:e.classifySelect},model:{value:e.classify,callback:function(t){e.classify=t},expression:"classify"}}),e._v(" "),i("el-input",{staticClass:"links-tools-input",attrs:{placeholder:"请输入商品名称/货号",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return i=t,e.toSearchInput(i);var i}},model:{value:e.searchGoods,callback:function(t){e.searchGoods=t},expression:"searchGoods"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),i("div",{staticClass:"goods-link-content"},[i("ul",{staticClass:"goods-link-list"},e._l(e.goodsList,function(t,l){return i("li",{key:t.proName+l,class:t.mallProId==e.selectGoodId?"goods-link-item goodSelect":"goods-link-item",on:{click:function(i){e.selectGoodLinkItem(t)}}},[i("img",{attrs:{src:t.mallProImageUrl,alt:"商品图片"}}),e._v(" "),i("div",{staticClass:"inline-block goods-message"},[i("p",{staticClass:"limit-2 pro-name"},[e._v(e._s(t.proName))]),e._v(" "),i("p",{staticClass:"gray-color pro-code"},[e._v("货号:"+e._s(t.proCode))]),e._v(" "),i("span",{staticClass:"pro-price"},[e._v("¥"+e._s(t.mallProSpuPrice))])])])}))]),e._v(" "),i("div",{staticClass:"links-tools-page"},[i("el-pagination",{attrs:{"current-page":e.currentPage,"page-sizes":[9],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.linkSizeChange,"current-change":e.linkCurrentChange}})],1)]):e._e(),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.cancelLinkSelect}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.confirmLinkSelect}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var c=i("VU/8")(o,r,!1,function(e){i("rtQY")},"data-v-20b2819f",null);t.default=c.exports},rtQY:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([23],{"G/on":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3Xzz"),n=a("5QTb"),s=(a("Mk6G"),a("3E4D")),o=a("Ch4/"),i=(a("PI0u"),a("P9l9")),l={name:"platformTagList",data:function(){return{navpath:[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:"/platformTagLib"},{name:"平台标签列表",path:""}],tagLibName:"platformTag",tagSearch:"",tagTableData:[],selTagTableData:[],currentPage:1,pageSize:20,total:0,currentGroupId:0}},methods:{toAddMyTagLib:function(t,e){var a={};if("mult"===t){if(!this.selTagTableData.length)return this.$message.error({message:"请选择标签"}),!1;a.tagIds=[],this.selTagTableData.forEach(function(t,e){a.tagIds.push(t.tagId)}),a.tagIds=a.tagIds.join(","),this.addByTagId("addByTagIds",a)}else a.tagId=e,this.addByTagId("addByTagId",a)},addByTagId:function(t,e){var a=this;Object(i.a)("/enterpriseMemberTag/"+t,e).then(function(t){var e=t.data;if(1==e.errorCode)return s.a.showmsg("添加成功","success"),void a.getTagList();o.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},searchEnterFun:function(t){this.currentPage=1,this.getTagList()},clearSearch:function(){this.currentPage=1,this.getTagList()},handleSelectChange:function(t){this.selTagTableData=t},handleSizeChange:function(t){this.pageSize=t,this.getTagList()},handleCurrentChange:function(t){this.currentPage=t,this.$route.fullPath.includes("?")&&this.$router.push(this.$route.path+"?tagLevelGroupId="+this.$route.query.tagLevelGroupId+"&currentPage="+t),this.getTagList()},getTagList:function(t){var e=this,a={tagName:e.tagSearch,tagLevelGroupId:e.currentGroupId,pageNum:e.currentPage,pageSize:e.pageSize};Object(i.a)("/memberTag/platformTagPageList",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tagTableData=a.result.result,void(e.total=a.result.totalCount);o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getUrlParams:function(){this.tagSearch=this.$route.query.searchName?this.$route.query.searchName:"",this.currentGroupId=this.$route.query.tagLevelGroupId?this.$route.query.tagLevelGroupId:0,this.currentPage=this.$route.query.currentPage?parseInt(this.$route.query.currentPage):1,this.getTagList()}},watch:{$route:{handler:function(t,e){this.getUrlParams()},deep:!0}},mounted:function(){this.getUrlParams()},components:{navCrumb:r.a,tagCategory:n.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"platformTagList-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"common-wrap__cateTags"},[a("tag-category",{attrs:{tagLibName:t.tagLibName}})],1),t._v(" "),a("div",{staticClass:"common-wrap__opt"},[a("el-input",{staticClass:"w-184",attrs:{placeholder:"搜索标签","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.tagSearch,callback:function(e){t.tagSearch=e},expression:"tagSearch"}}),t._v(" "),a("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:function(e){t.toAddMyTagLib("mult")}}},[t._v("添加至我的标签库")])],1),t._v(" "),a("div",{staticClass:"common-wrap__table m-t-20"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tagTableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagName",label:"标签名称","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1==e.row.isActive?"实时":"非实时")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"edit-btn el-button--text",attrs:{to:{path:"/platformTagDetail",query:{tagId:e.row.tagId,addFlag:e.row.isAdd,form:"notMyTag",navSign:"platformTag"}}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"p-l-10",attrs:{type:"text",size:"small",disabled:1==e.row.isAdd},on:{click:function(a){t.toAddMyTagLib("single",e.row.tagId)}}},[t._v("\n "+t._s(1==e.row.isAdd?"已":"")+"添加至我的标签库\n ")])]}}])})],1)],1),t._v(" "),0!=t.tagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var g=a("VU/8")(l,c,!1,function(t){a("mh8G")},"data-v-1e6a053d",null);e.default=g.exports},mh8G:function(t,e){}});
\ No newline at end of file
webpackJsonp([3],{GR11:function(e,t){},YNZc:function(e,t){},q0vu:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),l=a.n(r),o=a("3Xzz"),s=a("fZjL"),i=a.n(s),n=a("BO1k"),c=a.n(n),u=a("Ch4/"),g=a("P9l9"),d={name:"tagCategory",props:{tagLibName:{type:String}},data:function(){return{currentTagDatas:[],childTagDatas:[]}},methods:{toRequestData:function(e){this.getCateData(e)},getCateData:function(e){var t=this,a={tagLevelGroupId:e};Object(g.b)("/enterpriseMemberTag/enterpriseTagLevel",a).then(function(a){var r=a.data;if(1==r.errorCode)return t.currentTagDatas=r.result.currentNode,t.childTagDatas=r.result.dataList,void t.$emit("changeId",e);u.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.getCateData(0)},components:{}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-wrap__cateTags"},[a("div",{staticClass:"common-wrap__temp flex"},[a("div",{staticClass:"common-wrap__currentTag inline-block"},[a("a",{staticClass:"common-wrap__currentTag__name",on:{click:function(t){t.stopPropagation(),e.toRequestData(0)}}},[e._v("全部")]),e._v(" "),e.currentTagDatas.length?a("i",{staticClass:"el-icon-arrow-right m-l-8 m-r-8"}):e._e(),e._v(" "),e._l(e.currentTagDatas,function(t,r){return[a("a",{key:t.levelName+r,staticClass:"common-wrap__currentTag__name",on:{click:function(a){a.stopPropagation(),e.toRequestData(t.tagLevelGroupId)}}},[e._v(e._s(t.levelName))]),e._v(" "),e.currentTagDatas.length-1!=r?a("i",{key:r,staticClass:"el-icon-arrow-right m-l-8 m-r-8"}):e._e()]})],2),e._v(" "),e.childTagDatas.length?a("div",{staticClass:"common-wrap__childTag inline-block"},[e._l(e.childTagDatas,function(t,r){return[a("a",{key:t.levelName+r,staticClass:"common-wrap__childTag__name",on:{click:function(a){a.stopPropagation(),e.toRequestData(t.tagLevelGroupId)}}},[e._v(" "+e._s(t.levelName)+"("+e._s(t.count)+") ")])]})],2):e._e(),e._v(" "),e.childTagDatas.length>=3?a("div",{staticClass:"common-wrap__moreTag p-l-20"},[a("el-popover",{attrs:{placement:"bottom-end",trigger:"click",width:"500"}},[a("div",{staticClass:"common-wrap__moreTag__body"},[e._l(e.childTagDatas,function(t,r){return[a("a",{key:t.levelName+r,staticClass:"common-wrap__childTag__name",on:{click:function(a){a.stopPropagation(),e.toRequestData(t.tagLevelGroupId)}}},[e._v(" "+e._s(t.levelName)+"("+e._s(t.count)+") ")])]})],2),e._v(" "),a("i",{staticClass:"el-icon-more",attrs:{slot:"reference"},slot:"reference"})])],1):e._e()])])},staticRenderFns:[]};var p=a("VU/8")(d,m,!1,function(e){a("scvE")},"data-v-9368c5a2",null).exports,h=a("Mk6G"),f=a("3E4D"),T=a("PI0u"),v={name:"addTagView",props:{tagLibName:{type:String},addTagShow:Boolean,selTagData:{type:Array},delTagId:String,returnEditObj:{type:Object}},data:function(){return{addTagTabActive:"first",currentGroupId:0,myTagTableData:[],currentPage:1,pageSize:6,total:0,temporaryData:[],selectTableArr:[]}},methods:{addTagTabClick:function(e,t){console.log(e,t)},closeView:function(){this.$emit("update:addTagShow")},handleSizeChange:function(e){this.pageSize=e,this.getTagList()},handleCurrentChange:function(e){this.currentPage=e,this.getTagList()},getTagList:function(){var e=this,t={tagName:"",tagLevelGroupId:e.currentGroupId,pageNum:e.currentPage,pageSize:e.pageSize};Object(g.a)("/enterpriseMemberTag/pageList",t).then(function(t){var a=t.data;if(1!=a.errorCode)u.a.errorMsg(a);else{if(a.result.result&&a.result.result.length){var r=e.selTagData.map(function(e){return e.tagId});a.result.result.forEach(function(e,t){-1!=r.indexOf(e.tagId)?e.isAdd=!0:e.isAdd=!1}),e.myTagTableData=a.result.result}e.total=a.result.totalCount}}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkSelectTag:function(){var e=this,t=e.selTagData.map(function(e){return e.tagId});e.myTagTableData.forEach(function(e,a){-1!=t.indexOf(e.tagId)?e.isAdd=!0:e.isAdd=!1}),"first"===e.addTagTabActive&&(t.length?(e.temporaryData.forEach(function(a,r){if(t.includes(a.tagId)){e.$refs.templateTable.toggleRowSelection(a,!0);var l=!0,o=!1,s=void 0;try{for(var i,n=c()(e.selTagData);!(l=(i=n.next()).done);l=!0){var u=i.value;u.tagId==a.tagId&&(a.tagParams=u.tagParams,a.tagValue=u.tagValue,a.newTagVal=u.newTagVal)}}catch(e){o=!0,s=e}finally{try{!l&&n.return&&n.return()}finally{if(o)throw s}}}}),e.$forceUpdate()):e.$refs.templateTable.clearSelection())},checkTempSelectTag:function(e){var t=this;"first"===t.addTagTabActive&&t.temporaryData.forEach(function(a,r){-1!=e.indexOf(a.tagId)&&t.$refs.templateTable.toggleRowSelection(a,!0)})},changeCateId:function(e){this.currentGroupId=e,this.getTagList()},getTempList:function(e){var t=this;Object(g.a)("/member-tag-value/findList.json",{}).then(function(e){var a=e.data;if(1==a.errorCode){var r=JSON.parse(l()(a.result));return r.forEach(function(e,t){var a=JSON.parse(e.tagParams);""!=a.selectedVal?e.newTagVal=l()(a.selectedVal).replace(/"/g,""):e.newTagVal=""}),void(t.temporaryData=r)}u.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSelectChange:function(e){this.selectTableArr=e},handleSelectAll:function(e){if(e.length){if(this.selectTableArr=e,"first"===this.addTagTabActive)return!1;this.$emit("returnTempData",e)}else{if(this.selectTableArr=[],"first"===this.addTagTabActive)return!1;this.$emit("returnTempTableData",this.temporaryData)}},selectRow:function(e,t){e.length?(this.selectTableArr=e,-1==this.selectTableArr.map(function(e){return e.tagId}).indexOf(t.tagId)?this.$emit("returnTempTagId",t.tagId):this.$emit("returnTempRowData",t)):(this.selectTableArr=[],this.$emit("returnTempTagId",t.tagId))},showTagShort:function(e,t){this.$emit("showShortDetail",e.tagId),this.$emit("showTabActive",t)},refreshTemp:function(){},changeTempTagRowData:function(e){var t=JSON.parse(e.tagParams);""!=t.selectedVal?e.newTagVal=l()(t.selectedVal).replace(/"/g,""):e.newTagVal="",this.temporaryData.forEach(function(t,a){t.tagId==e.tagId&&(t.tagParams=e.tagParams,t.tagValue=e.tagValue,t.newTagVal=e.newTagVal)})},toDelTagId:function(e){var t=this;if(t.selTagData.length){if(t.temporaryData.map(function(e){return e.tagId}).includes(e)){var a=null;t.temporaryData.forEach(function(r,l){r.tagId==e&&(a=r,t.temporaryData.splice(l,1))});var r=t.selTagData.map(function(e){return e.tagId});t.temporaryData.forEach(function(e,a){-1!=r.indexOf(e.tagId)&&t.$refs.templateTable.toggleRowSelection(e,!0)}),t.temporaryData.push(JSON.parse(l()(a))),t.$forceUpdate()}}else t.$refs.templateTable.clearSelection()}},watch:{selTagData:function(e,t){this.checkSelectTag()},delTagId:function(e,t){e&&this.toDelTagId(e)},returnEditObj:function(e,t){e&&i()(e).length&&this.changeTempTagRowData(e)}},beforeMount:function(){this.getTagList(),this.getTempList()},components:{tagCategorySmall:p}},b={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["addTag-tab",e.addTagShow?"addTag-tab-show":""]},[a("div",{staticClass:"addTag-tab-wrap"},[a("button",{staticClass:"el-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:e.closeView}},[a("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]),e._v(" "),a("el-tabs",{on:{"tab-click":e.addTagTabClick},model:{value:e.addTagTabActive,callback:function(t){e.addTagTabActive=t},expression:"addTagTabActive"}},[a("el-tab-pane",{attrs:{label:"我的标签列表",name:"first"}},[a("tag-category-small",{attrs:{tagLibName:e.tagLibName},on:{changeId:e.changeCateId}}),e._v(" "),a("div",{staticClass:"common-wrap__table"},[a("el-table",{staticStyle:{width:"100%","max-height":"425px"},attrs:{data:e.myTagTableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectChange}},[e._v('\n class="myTagTab-table"\n '),a("el-table-column",{attrs:{label:"标签名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"myTagTab-name color-blue",on:{click:function(a){e.showTagShort(t.row,"first")}}},[e._v("\n "+e._s(t.row.tagName)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{staticClass:"over-hide",attrs:{label:"是否实时"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"tag-select-flag"},[e._v(e._s(1==t.row.isActive?"实时":"非实时"))]),e._v(" "),t.row.isAdd?a("label",{staticClass:"el-upload-list__item-status-label"},[a("i",{staticClass:"el-icon-upload-success el-icon-check"})]):e._e()]}}])})],1)],1),e._v(" "),0!=e.myTagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-size":e.pageSize,layout:"prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"暂存架",name:"second"}},[a("el-table",{ref:"templateTable",staticStyle:{width:"100%"},attrs:{data:e.temporaryData,"tooltip-effect":"dark",height:"480"},on:{select:e.selectRow,"select-all":e.handleSelectAll,"selection-change":e.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),e._v(" "),a("el-table-column",{attrs:{label:"标签名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"myTagTab-name color-blue",on:{click:function(a){e.showTagShort(t.row,"second")}}},[e._v("\n "+e._s(t.row.tagName)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"已选标签值","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.newTagVal))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isActive?"实时":"非实时")+"\n ")]}}])})],1)],1)],1)],1)])},staticRenderFns:[]};var _=a("VU/8")(v,b,!1,function(e){a("GR11")},"data-v-5da0931f",null).exports,D=a("3fED"),w={name:"memberGroupEdit",data:function(){var e=this;return{ruleForm:{memberTagGroupId:"",selectedTag:[],newTagVal:"",groupName:"",effectiveDateTmp:"",describle:"",isActive:0,updateType:"",updateDay:"",effectiveStatus:1},pickerOptions:{disabledDate:function(e){var t=(new Date).getTime()+31536e6;return e.getTime()<Date.now()-864e5||e.getTime()>t}},rules:{selectedTag:[{type:"array",required:!0,message:"请选择标签",trigger:"blur"}],groupName:[{required:!0,message:"请输入分组名称",trigger:"blur"}],effectiveDateTmp:[{required:!0,message:"请选择分组过期时间",trigger:"change"}],updateType:[{validator:function(t,a,r){console.log(a),0==e.ruleForm.isActive&&""==a?r(new Error("请选择更新频率")):r()},trigger:"blur"}],updateDay:[{validator:function(t,a,r){console.log(a,e.ruleForm),0!=e.ruleForm.isActive||"1"==e.ruleForm.updateType&&""!=e.ruleForm.updateType||""!=a?r():(console.log(a,e.ruleForm),r(new Error("请选择更新频率")))},trigger:"change"}]},inputNumObj:{groupName:0,describle:0},rateOptions:[],showTagFlag:!1,selectedTagData:[],rowItemData:{},showTagDetail:!1,tagShortDetailId:"",fromFlag:"memberGroup",delTagId:"",returnEditObj:{},tabActiveName:"first"}},computed:{navpath:function(){var e=this.$route.query.memberTagGroupId;return[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员标签",path:""},{name:"会员分组",path:"/memberGroupList"},{name:e?"会员分组编辑":"新增会员分组",path:""}]}},methods:{changeRoute:function(e){this.$router.push(e)},showAddTag:function(){this.showTagFlag=!0},focus:function(e,t){console.log(e,t),this.inputFlag=e,this.inputFlagNum=t},toInput:function(e){console.log(e);var t="";if("describle"==this.inputFlag)return t=h.a.getCharVal(e.target.value,this.inputFlagNum),this.ruleForm[this.inputFlag]=t.trim(),this.inputNumObj[this.inputFlag]=h.a.getByteLen(this.ruleForm[this.inputFlag]),!1;t=h.a.getByteVal(e.target.value,this.inputFlagNum),console.log(t),this.ruleForm[this.inputFlag]=t.trim(),this.inputNumObj[this.inputFlag]=h.a.getZhLen(this.ruleForm[this.inputFlag]),console.log(this.ruleForm[this.inputFlag])},changeRate:function(e,t){if(console.log(e,t),this.ruleForm.updateDay=t?String(t):"",2!=e)if(3!=e);else{this.rateOptions=[];for(r=1;r<29;r++)this.rateOptions.push({value:""+r,label:r+" 号"})}else{this.rateOptions=[];for(var a=["一","二","三","四","五","六","日"],r=0;r<7;r++)this.rateOptions.push({value:String(r+1),label:"周"+a[r]})}},editSelTag:function(e,t){this.showTagDetail=!0,this.tagShortDetailId=t.tagId,console.log(t),this.rowItemData=t},delSelTag:function(e,t){console.log(this.selectedTagData),this.selectedTagData.splice(e,1),console.log(this.selectedTagData),this.ruleForm.selectedTag=this.selectedTagData,this.checkRealTime(),this.delTagId=t.tagId},checkRealTime:function(){if(this.selectedTagData.length){var e=this.selectedTagData.map(function(e){return parseInt(e.isActive)});return console.log("已选标签实时/非实时:",e),e.includes(0)?this.ruleForm.isActive=0:this.ruleForm.isActive=1,console.log(this.ruleForm),!1}this.ruleForm.isActive=0},cancelSave:function(){this.changeRoute("/memberGroupList")},confirmSave:Object(T.a)(function(e){this.confirmSavePost(e)},500),confirmSavePost:function(e){var t=this;t.$refs[e].validate(function(e){return!!e&&(console.log("valid",t.ruleForm),0==t.ruleForm.isActive&&1!=t.ruleForm.updateType&&""==t.ruleForm.updateDay?(t.$message.error({message:"请选择更新频率!"}),!1):void t.postSave(t.ruleForm))})},postSave:function(e){var t=this;e.updateType="null"==e.updateType?"":e.updateType,e.updateDay="null"==e.updateDay?"":e.updateDay,e.effectiveDateTmp=e.effectiveDateTmp.split(" ")[0]+" 23:59:59";var a={memberTagGroupId:e.memberTagGroupId,groupName:e.groupName,isRealTime:e.isActive,describle:e.describle,updateType:e.updateType,updateDay:e.updateDay?e.updateDay:"",effectiveStatus:e.effectiveStatus,json:l()(e.selectedTag),effectiveDateTmp:e.effectiveDateTmp},r="/member-tag-group/add.json";t.ruleForm.memberTagGroupId&&(r="/member-tag-group/update.json"),Object(g.b)(r,a).then(function(e){var a=e.data;if(1==a.errorCode)return f.a.showmsg("编辑成功","success"),void t.changeRoute("/memberGroupList");u.a.errorMsg(a)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},showShortDetail:function(e){this.showTagDetail=!0,this.tagShortDetailId=e},handleHideTag:function(e){this.showTagDetail=!1},isRepeat:function(e){var t={};for(var a in e){if(t[e[a]])return!0;t[e[a]]=!0}return!1},returnTagData:function(e){if(console.log("返回obj:",e),this.returnEditObj=e,"second"==this.tabActiveName)return!1;var t=this.selectedTagData.length?this.selectedTagData.map(function(e){return e.tagId}):[];if(-1!=t.indexOf(e.tagId)){var a=JSON.parse(l()(this.selectedTagData));a.forEach(function(t,a){t.tagId==e.tagId&&(t.tagValue=e.tagValue,t.tagParams=e.tagParams)}),this.selectedTagData=a}else console.log(t.indexOf(e.tagId)),this.selectedTagData.unshift(JSON.parse(l()(e))),console.log("处理obj:",this.selectedTagData);this.handleReturnData(this.selectedTagData)},returnTempData:function(e){if(console.log("暂存架全选数据:",e),e.length){var t=e.map(function(e){return e.tagId});console.log(t);var a=[];JSON.parse(l()(this.selectedTagData)).forEach(function(e,r){t.includes(e.tagId)||a.push(e)}),e.forEach(function(e,t){a.unshift(e)}),this.selectedTagData=a,this.handleReturnData(this.selectedTagData)}},returnTempTableData:function(e){console.log("返回暂存架所有标签数据:",e);var t=e.map(function(e){return e.tagId}),a=JSON.parse(l()(this.selectedTagData)),r=[];a.forEach(function(e,a){t.includes(e.tagId)||r.push(e)}),console.log("全不选:",a),this.selectedTagData=r,this.handleReturnData(this.selectedTagData)},returnTempTagId:function(e){var t=this;console.log("返回暂存架标签 id:",e),JSON.parse(l()(t.selectedTagData)).forEach(function(a,r){a.tagId==e&&t.selectedTagData.splice(r,1)}),console.log("返回暂存架标签 id 后:",t.selectedTagData),t.ruleForm.selectedTag=t.selectedTagData,t.checkRealTime()},returnTempRowData:function(e){var t=JSON.parse(l()(this.selectedTagData));t.forEach(function(t,a){t.tagId==e.tagId&&(t.tagParams=e.tagParams,t.tagValue=e.tagValue,t.newTagVal=e.newTagVal)}),-1==t.map(function(e){return e.tagId}).indexOf(e.tagId)&&t.unshift(e),this.selectedTagData=t,this.ruleForm.selectedTag=this.selectedTagData,this.checkRealTime()},handleReturnData:function(e){e.forEach(function(e,t){var a=JSON.parse(e.tagParams);""!=a.selectedVal?e.newTagVal=l()(a.selectedVal).replace(/"/g,""):e.newTagVal=""}),this.ruleForm.selectedTag=e,this.checkRealTime()},showTabActive:function(e){this.tabActiveName=e},getGroupData:function(){var e=this,t={memberTagGroupId:e.ruleForm.memberTagGroupId};Object(g.b)("/member-tag-group/findOneDetial.json",t).then(function(t){var a=t.data;if(1==a.errorCode){var r=a.result.tagGroupDto;r&&(e.ruleForm.groupName=r.groupName,e.ruleForm.isActive=r.isRealTime,e.ruleForm.effectiveStatus=r.effectiveStatus,e.ruleForm.describle=r.describle,e.ruleForm.effectiveDateTmp=r.effectiveDate,e.ruleForm.updateType=r.updateType?String(r.updateType):"",e.ruleForm.updateDay=r.updateDay?String(r.updateDay):"",e.inputNumObj.groupName=h.a.getZhLen(e.ruleForm.groupName),e.inputNumObj.describle=h.a.getByteLen(e.ruleForm.describle),1!=e.ruleForm.updateType&&e.changeRate(e.ruleForm.updateType,e.ruleForm.updateDay));var o=a.result.tagValueDtoList;return o.forEach(function(e,t){var a=JSON.parse(e.tagParams);""!=a.selectedVal?e.newTagVal=l()(a.selectedVal).replace(/"/g,""):e.newTagVal=""}),e.ruleForm.selectedTag=o,void(e.selectedTagData=o)}u.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){var e=this,t=sessionStorage.getItem("selectTempTag");if(t&&(e.ruleForm.selectedTag=JSON.parse(t),setTimeout(function(){e.selectedTagData=JSON.parse(t),e.checkRealTime()},500),sessionStorage.removeItem("selectTempTag")),e.$route.query.memberTagGroupId)e.ruleForm.memberTagGroupId=e.$route.query.memberTagGroupId,e.getGroupData();else{var a=new Date((new Date).getTime()+31536e6),r=a.getFullYear()+"-",l=(a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1)+"-",o=(a.getDate()<10?"0"+a.getDate():a.getDate())+" ";e.ruleForm.effectiveDateTmp=e.effectiveDateTmp=r+l+o+"23:59:59",console.log(e.effectiveDateTmp)}},components:{navCrumb:o.a,addTagView:_,tagShortDetail:D.a}},y={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"memberGroupEdit-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"memberGroupEdit-wrap__body"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[a("el-form-item",{attrs:{label:"",prop:"selectedTag"}},[a("div",{staticClass:"memberGroupEdit-wrap__item__title"},[e._v("\n 已选标签"),a("span",{staticClass:"color-c0c4cc font-14"},[e._v("(筛选同时符合下列条件的会员)")]),e._v(" "),a("el-button",{staticClass:"m-l-220",attrs:{type:"text"},on:{click:e.showAddTag}},[e._v("添加标签")])],1),e._v(" "),a("div",{staticClass:"memberGroupEdit-wrap__tags w-548 border-box"},e._l(e.selectedTagData,function(t,r){return a("div",{key:r,staticClass:"memberGroupEdit-wrap__tagcell"},[a("span",[e._v(e._s(t.tagName))]),e._v(" "),a("span",{staticClass:"memberGroupEdit-wrap__tag-name"},[e._v("【选择:"+e._s(t.newTagVal)+"】")]),e._v(" "),a("i",{staticClass:"el-icon-edit",on:{click:function(a){e.editSelTag(r,t)}}}),e._v(" "),a("i",{staticClass:"el-icon-delete",on:{click:function(a){e.delSelTag(r,t)}}})])}))]),e._v(" "),a("el-form-item",{staticClass:"w-220",attrs:{label:"",prop:"groupName"}},[a("div",{staticClass:"memberGroupEdit-wrap__item__title"},[e._v("分组名称")]),e._v(" "),a("el-input",{staticClass:"w-220",on:{focus:function(t){e.focus("groupName",10)}},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.ruleForm.groupName,callback:function(t){e.$set(e.ruleForm,"groupName",t)},expression:"ruleForm.groupName"}}),e._v(" "),a("label",{staticClass:"input-label"},[e._v(e._s(e.inputNumObj.groupName)+"/10")])],1),e._v(" "),a("el-form-item",{attrs:{label:"",prop:"effectiveDateTmp"}},[a("div",{staticClass:"memberGroupEdit-wrap__item__title"},[e._v("分组有效期")]),e._v(" "),a("el-date-picker",{attrs:{type:"date",editable:!1,format:"yyyyMMdd","value-format":"yyyy-MM-dd HH:mm:ss","default-time":"23:59:59","picker-options":e.pickerOptions},model:{value:e.ruleForm.effectiveDateTmp,callback:function(t){e.$set(e.ruleForm,"effectiveDateTmp",t)},expression:"ruleForm.effectiveDateTmp"}}),e._v(" "),a("div",{staticClass:"form-tip-text"},[a("label",{},[e._v("*分组有效期需早于所用标签的最早有效期,且最长不超过365天")])])],1),e._v(" "),a("el-form-item",{staticClass:"w-548",attrs:{label:"",prop:"describle"}},[a("div",{staticClass:"memberGroupEdit-wrap__item__title"},[e._v("分组描述")]),e._v(" "),a("el-input",{staticClass:"w-407",staticStyle:{height:"96px"},attrs:{type:"textarea"},on:{focus:function(t){e.focus("describle",200)}},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.ruleForm.describle,callback:function(t){e.$set(e.ruleForm,"describle",t)},expression:"ruleForm.describle"}}),e._v(" "),[a("label",{staticClass:"input-label textarea-label"},[e._v(e._s(e.inputNumObj.describle)+"/200")])]],2),e._v(" "),0==e.ruleForm.isActive?a("el-form-item",{attrs:{label:"",prop:"updateDay"}},[a("div",{staticClass:"memberGroupEdit-wrap__item__title"},[e._v("更新频率")]),e._v(" "),a("el-select",{staticClass:"w-200",attrs:{placeholder:"请选择"},on:{change:function(t){e.changeRate(e.ruleForm.updateType)}},model:{value:e.ruleForm.updateType,callback:function(t){e.$set(e.ruleForm,"updateType",t)},expression:"ruleForm.updateType"}},[a("el-option",{attrs:{label:"每日一次",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"每周一次",value:"2"}}),e._v(" "),a("el-option",{attrs:{label:"每月一次",value:"3"}})],1),1!=e.ruleForm.updateType?a("el-select",{staticClass:"w-200 p-l-8",attrs:{placeholder:"请选择"},model:{value:e.ruleForm.updateDay,callback:function(t){e.$set(e.ruleForm,"updateDay",t)},expression:"ruleForm.updateDay"}},e._l(e.rateOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e(),e._v(" "),a("div",{staticClass:"form-tip-text"},[a("label",{},[e._v("*更新时间预计选择日期的凌晨0点至6点")])])],1):e._e(),e._v(" "),a("el-form-item",{staticClass:"font-0",attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){t.stopPropagation(),e.confirmSave("ruleForm")}}},[e._v("保存")]),e._v(" "),a("el-button",{on:{click:function(t){return t.stopPropagation(),e.cancelSave(t)}}},[e._v("返回")])],1)],1)],1)])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("tagShortDetail",{attrs:{fromFlag:e.fromFlag,showTagDetail:e.showTagDetail,tagShortId:e.tagShortDetailId,tabActive:e.tabActiveName,rowItemData:e.rowItemData},on:{"update:tagShortId":function(t){e.tagShortDetailId=t},"update:rowItemData":function(t){e.rowItemData=t},hideTag:e.handleHideTag,returnTagData:e.returnTagData}}),e._v(" "),a("add-tag-view",{ref:"addTagViewComponent",attrs:{delTagId:e.delTagId,addTagShow:e.showTagFlag,selTagData:e.selectedTagData,returnEditObj:e.returnEditObj},on:{"update:addTagShow":function(t){e.showTagFlag=t},showTabActive:e.showTabActive,showShortDetail:e.showShortDetail,returnTempData:e.returnTempData,returnTempTableData:e.returnTempTableData,returnTempTagId:e.returnTempTagId,returnTempRowData:e.returnTempRowData}})],1)},staticRenderFns:[]};var S=a("VU/8")(w,y,!1,function(e){a("YNZc")},"data-v-8e9021de",null);t.default=S.exports},scvE:function(e,t){}}); webpackJsonp([3],{GR11:function(e,t){},ayrE:function(e,t){},q0vu:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),l=a.n(r),o=a("3Xzz"),s=a("fZjL"),i=a.n(s),n=a("BO1k"),c=a.n(n),u=a("Ch4/"),g=a("P9l9"),d={name:"tagCategory",props:{tagLibName:{type:String}},data:function(){return{currentTagDatas:[],childTagDatas:[]}},methods:{toRequestData:function(e){this.getCateData(e)},getCateData:function(e){var t=this,a={tagLevelGroupId:e};Object(g.b)("/enterpriseMemberTag/enterpriseTagLevel",a).then(function(a){var r=a.data;if(1==r.errorCode)return t.currentTagDatas=r.result.currentNode,t.childTagDatas=r.result.dataList,void t.$emit("changeId",e);u.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.getCateData(0)},components:{}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-wrap__cateTags"},[a("div",{staticClass:"common-wrap__temp flex"},[a("div",{staticClass:"common-wrap__currentTag inline-block"},[a("a",{staticClass:"common-wrap__currentTag__name",on:{click:function(t){t.stopPropagation(),e.toRequestData(0)}}},[e._v("全部")]),e._v(" "),e.currentTagDatas.length?a("i",{staticClass:"el-icon-arrow-right m-l-8 m-r-8"}):e._e(),e._v(" "),e._l(e.currentTagDatas,function(t,r){return[a("a",{key:t.levelName+r,staticClass:"common-wrap__currentTag__name",on:{click:function(a){a.stopPropagation(),e.toRequestData(t.tagLevelGroupId)}}},[e._v(e._s(t.levelName))]),e._v(" "),e.currentTagDatas.length-1!=r?a("i",{key:r,staticClass:"el-icon-arrow-right m-l-8 m-r-8"}):e._e()]})],2),e._v(" "),e.childTagDatas.length?a("div",{staticClass:"common-wrap__childTag inline-block"},[e._l(e.childTagDatas,function(t,r){return[a("a",{key:t.levelName+r,staticClass:"common-wrap__childTag__name",on:{click:function(a){a.stopPropagation(),e.toRequestData(t.tagLevelGroupId)}}},[e._v(" "+e._s(t.levelName)+"("+e._s(t.count)+") ")])]})],2):e._e(),e._v(" "),e.childTagDatas.length>=3?a("div",{staticClass:"common-wrap__moreTag p-l-20"},[a("el-popover",{attrs:{placement:"bottom-end",trigger:"click",width:"500"}},[a("div",{staticClass:"common-wrap__moreTag__body"},[e._l(e.childTagDatas,function(t,r){return[a("a",{key:t.levelName+r,staticClass:"common-wrap__childTag__name",on:{click:function(a){a.stopPropagation(),e.toRequestData(t.tagLevelGroupId)}}},[e._v(" "+e._s(t.levelName)+"("+e._s(t.count)+") ")])]})],2),e._v(" "),a("i",{staticClass:"el-icon-more",attrs:{slot:"reference"},slot:"reference"})])],1):e._e()])])},staticRenderFns:[]};var p=a("VU/8")(d,m,!1,function(e){a("scvE")},"data-v-9368c5a2",null).exports,h=a("Mk6G"),f=a("3E4D"),T=a("PI0u"),v={name:"addTagView",props:{tagLibName:{type:String},addTagShow:Boolean,selTagData:{type:Array},delTagId:String,returnEditObj:{type:Object}},data:function(){return{addTagTabActive:"first",currentGroupId:0,myTagTableData:[],currentPage:1,pageSize:6,total:0,temporaryData:[],selectTableArr:[]}},methods:{addTagTabClick:function(e,t){console.log(e,t)},closeView:function(){this.$emit("update:addTagShow")},handleSizeChange:function(e){this.pageSize=e,this.getTagList()},handleCurrentChange:function(e){this.currentPage=e,this.getTagList()},getTagList:function(){var e=this,t={tagName:"",tagLevelGroupId:e.currentGroupId,pageNum:e.currentPage,pageSize:e.pageSize};Object(g.a)("/enterpriseMemberTag/pageList",t).then(function(t){var a=t.data;if(1!=a.errorCode)u.a.errorMsg(a);else{if(a.result.result&&a.result.result.length){var r=e.selTagData.map(function(e){return e.tagId});a.result.result.forEach(function(e,t){-1!=r.indexOf(e.tagId)?e.isAdd=!0:e.isAdd=!1}),e.myTagTableData=a.result.result}e.total=a.result.totalCount}}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkSelectTag:function(){var e=this,t=e.selTagData.map(function(e){return e.tagId});e.myTagTableData.forEach(function(e,a){-1!=t.indexOf(e.tagId)?e.isAdd=!0:e.isAdd=!1}),"first"===e.addTagTabActive&&(t.length?(e.temporaryData.forEach(function(a,r){if(t.includes(a.tagId)){e.$refs.templateTable.toggleRowSelection(a,!0);var l=!0,o=!1,s=void 0;try{for(var i,n=c()(e.selTagData);!(l=(i=n.next()).done);l=!0){var u=i.value;u.tagId==a.tagId&&(a.tagParams=u.tagParams,a.tagValue=u.tagValue,a.newTagVal=u.newTagVal)}}catch(e){o=!0,s=e}finally{try{!l&&n.return&&n.return()}finally{if(o)throw s}}}}),e.$forceUpdate()):e.$refs.templateTable.clearSelection())},checkTempSelectTag:function(e){var t=this;"first"===t.addTagTabActive&&t.temporaryData.forEach(function(a,r){-1!=e.indexOf(a.tagId)&&t.$refs.templateTable.toggleRowSelection(a,!0)})},changeCateId:function(e){this.currentGroupId=e,this.getTagList()},getTempList:function(e){var t=this;Object(g.a)("/member-tag-value/findList.json",{}).then(function(e){var a=e.data;if(1==a.errorCode){var r=JSON.parse(l()(a.result));return r.forEach(function(e,t){var a=JSON.parse(e.tagParams);""!=a.selectedVal?e.newTagVal=l()(a.selectedVal).replace(/"/g,""):e.newTagVal=""}),void(t.temporaryData=r)}u.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSelectChange:function(e){this.selectTableArr=e},handleSelectAll:function(e){if(e.length){if(this.selectTableArr=e,"first"===this.addTagTabActive)return!1;this.$emit("returnTempData",e)}else{if(this.selectTableArr=[],"first"===this.addTagTabActive)return!1;this.$emit("returnTempTableData",this.temporaryData)}},selectRow:function(e,t){e.length?(this.selectTableArr=e,-1==this.selectTableArr.map(function(e){return e.tagId}).indexOf(t.tagId)?this.$emit("returnTempTagId",t.tagId):this.$emit("returnTempRowData",t)):(this.selectTableArr=[],this.$emit("returnTempTagId",t.tagId))},showTagShort:function(e,t){this.$emit("showShortDetail",e.tagId),this.$emit("showTabActive",t)},refreshTemp:function(){},changeTempTagRowData:function(e){var t=JSON.parse(e.tagParams);""!=t.selectedVal?e.newTagVal=l()(t.selectedVal).replace(/"/g,""):e.newTagVal="",this.temporaryData.forEach(function(t,a){t.tagId==e.tagId&&(t.tagParams=e.tagParams,t.tagValue=e.tagValue,t.newTagVal=e.newTagVal)})},toDelTagId:function(e){var t=this;if(t.selTagData.length){if(t.temporaryData.map(function(e){return e.tagId}).includes(e)){var a=null;t.temporaryData.forEach(function(r,l){r.tagId==e&&(a=r,t.temporaryData.splice(l,1))});var r=t.selTagData.map(function(e){return e.tagId});t.temporaryData.forEach(function(e,a){-1!=r.indexOf(e.tagId)&&t.$refs.templateTable.toggleRowSelection(e,!0)}),t.temporaryData.push(JSON.parse(l()(a))),t.$forceUpdate()}}else t.$refs.templateTable.clearSelection()}},watch:{selTagData:function(e,t){this.checkSelectTag()},delTagId:function(e,t){e&&this.toDelTagId(e)},returnEditObj:function(e,t){e&&i()(e).length&&this.changeTempTagRowData(e)}},beforeMount:function(){this.getTagList(),this.getTempList()},components:{tagCategorySmall:p}},b={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["addTag-tab",e.addTagShow?"addTag-tab-show":""]},[a("div",{staticClass:"addTag-tab-wrap"},[a("button",{staticClass:"el-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:e.closeView}},[a("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]),e._v(" "),a("el-tabs",{on:{"tab-click":e.addTagTabClick},model:{value:e.addTagTabActive,callback:function(t){e.addTagTabActive=t},expression:"addTagTabActive"}},[a("el-tab-pane",{attrs:{label:"我的标签列表",name:"first"}},[a("tag-category-small",{attrs:{tagLibName:e.tagLibName},on:{changeId:e.changeCateId}}),e._v(" "),a("div",{staticClass:"common-wrap__table"},[a("el-table",{staticStyle:{width:"100%","max-height":"425px"},attrs:{data:e.myTagTableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectChange}},[e._v('\n class="myTagTab-table"\n '),a("el-table-column",{attrs:{label:"标签名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"myTagTab-name color-blue",on:{click:function(a){e.showTagShort(t.row,"first")}}},[e._v("\n "+e._s(t.row.tagName)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"tagDescribe",label:"标签描述","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{staticClass:"over-hide",attrs:{label:"是否实时"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"tag-select-flag"},[e._v(e._s(1==t.row.isActive?"实时":"非实时"))]),e._v(" "),t.row.isAdd?a("label",{staticClass:"el-upload-list__item-status-label"},[a("i",{staticClass:"el-icon-upload-success el-icon-check"})]):e._e()]}}])})],1)],1),e._v(" "),0!=e.myTagTableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-size":e.pageSize,layout:"prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"暂存架",name:"second"}},[a("el-table",{ref:"templateTable",staticStyle:{width:"100%"},attrs:{data:e.temporaryData,"tooltip-effect":"dark",height:"480"},on:{select:e.selectRow,"select-all":e.handleSelectAll,"selection-change":e.handleSelectChange}},[a("el-table-column",{attrs:{type:"selection"}}),e._v(" "),a("el-table-column",{attrs:{label:"标签名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"myTagTab-name color-blue",on:{click:function(a){e.showTagShort(t.row,"second")}}},[e._v("\n "+e._s(t.row.tagName)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"已选标签值","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.newTagVal))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"是否实时"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isActive?"实时":"非实时")+"\n ")]}}])})],1)],1)],1)],1)])},staticRenderFns:[]};var _=a("VU/8")(v,b,!1,function(e){a("GR11")},"data-v-5da0931f",null).exports,D=a("3fED"),w={name:"memberGroupEdit",data:function(){var e=this;return{ruleForm:{memberTagGroupId:"",selectedTag:[],newTagVal:"",groupName:"",effectiveDateTmp:"",describle:"",isActive:0,updateType:"",updateDay:"",effectiveStatus:1},pickerOptions:{disabledDate:function(e){var t=(new Date).getTime()+31536e6;return e.getTime()<Date.now()-864e5||e.getTime()>t}},rules:{selectedTag:[{type:"array",required:!0,message:"请选择标签",trigger:"blur"}],groupName:[{required:!0,message:"请输入分组名称",trigger:"blur"}],effectiveDateTmp:[{required:!0,message:"请选择分组过期时间",trigger:"change"}],updateType:[{validator:function(t,a,r){console.log(a),0==e.ruleForm.isActive&&""==a?r(new Error("请选择更新频率")):r()},trigger:"blur"}],updateDay:[{validator:function(t,a,r){console.log(a,e.ruleForm),0!=e.ruleForm.isActive||"1"==e.ruleForm.updateType&&""!=e.ruleForm.updateType||""!=a?r():(console.log(a,e.ruleForm),r(new Error("请选择更新频率")))},trigger:"change"}]},inputNumObj:{groupName:0,describle:0},rateOptions:[],showTagFlag:!1,selectedTagData:[],rowItemData:{},showTagDetail:!1,tagShortDetailId:"",fromFlag:"memberGroup",delTagId:"",returnEditObj:{},tabActiveName:"first"}},computed:{navpath:function(){var e=this.$route.query.memberTagGroupId;return[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员标签",path:""},{name:"会员分组",path:"/memberGroupList"},{name:e?"会员分组编辑":"新增会员分组",path:""}]}},methods:{changeRoute:function(e){this.$router.push(e)},showAddTag:function(){this.showTagFlag=!0},focus:function(e,t){console.log(e,t),this.inputFlag=e,this.inputFlagNum=t},toInput:function(e){console.log(e);var t="";if("describle"==this.inputFlag)return t=h.a.getCharVal(e.target.value,this.inputFlagNum),this.ruleForm[this.inputFlag]=t.trim(),this.inputNumObj[this.inputFlag]=h.a.getByteLen(this.ruleForm[this.inputFlag]),!1;t=h.a.getByteVal(e.target.value,this.inputFlagNum),console.log(t),this.ruleForm[this.inputFlag]=t.trim(),this.inputNumObj[this.inputFlag]=h.a.getZhLen(this.ruleForm[this.inputFlag]),console.log(this.ruleForm[this.inputFlag])},changeRate:function(e,t){if(console.log(e,t),this.ruleForm.updateDay=t?String(t):"",2!=e)if(3!=e);else{this.rateOptions=[];for(r=1;r<29;r++)this.rateOptions.push({value:""+r,label:r+" 号"})}else{this.rateOptions=[];for(var a=["一","二","三","四","五","六","日"],r=0;r<7;r++)this.rateOptions.push({value:String(r+1),label:"周"+a[r]})}},editSelTag:function(e,t){this.showTagDetail=!0,this.tagShortDetailId=t.tagId,console.log(t),this.rowItemData=t},delSelTag:function(e,t){console.log(this.selectedTagData),this.selectedTagData.splice(e,1),console.log(this.selectedTagData),this.ruleForm.selectedTag=this.selectedTagData,this.checkRealTime(),this.delTagId=t.tagId},checkRealTime:function(){if(this.selectedTagData.length){var e=this.selectedTagData.map(function(e){return parseInt(e.isActive)});return console.log("已选标签实时/非实时:",e),e.includes(0)?this.ruleForm.isActive=0:this.ruleForm.isActive=1,console.log(this.ruleForm),!1}this.ruleForm.isActive=0},cancelSave:function(){this.changeRoute("/memberGroupList")},confirmSave:Object(T.a)(function(e){this.confirmSavePost(e)},500),confirmSavePost:function(e){var t=this;t.$refs[e].validate(function(e){return!!e&&(console.log("valid",t.ruleForm),0==t.ruleForm.isActive&&1!=t.ruleForm.updateType&&""==t.ruleForm.updateDay?(t.$message.error({message:"请选择更新频率!"}),!1):void t.postSave(t.ruleForm))})},postSave:function(e){var t=this;e.updateType="null"==e.updateType?"":e.updateType,e.updateDay="null"==e.updateDay?"":e.updateDay,e.effectiveDateTmp=e.effectiveDateTmp.split(" ")[0]+" 23:59:59";var a={memberTagGroupId:e.memberTagGroupId,groupName:e.groupName,isRealTime:e.isActive,describle:e.describle,updateType:e.updateType,updateDay:e.updateDay?e.updateDay:"",effectiveStatus:e.effectiveStatus,json:l()(e.selectedTag),effectiveDateTmp:e.effectiveDateTmp},r="/member-tag-group/add.json";t.ruleForm.memberTagGroupId&&(r="/member-tag-group/update.json"),Object(g.b)(r,a).then(function(e){var a=e.data;if(1==a.errorCode)return f.a.showmsg("编辑成功","success"),void t.changeRoute("/memberGroupList");u.a.errorMsg(a)}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})},showShortDetail:function(e){this.showTagDetail=!0,this.tagShortDetailId=e},handleHideTag:function(e){this.showTagDetail=!1},isRepeat:function(e){var t={};for(var a in e){if(t[e[a]])return!0;t[e[a]]=!0}return!1},returnTagData:function(e){if(console.log("返回obj:",e),this.returnEditObj=e,"second"==this.tabActiveName)return!1;var t=this.selectedTagData.length?this.selectedTagData.map(function(e){return e.tagId}):[];if(-1!=t.indexOf(e.tagId)){var a=JSON.parse(l()(this.selectedTagData));a.forEach(function(t,a){t.tagId==e.tagId&&(t.tagValue=e.tagValue,t.tagParams=e.tagParams)}),this.selectedTagData=a}else console.log(t.indexOf(e.tagId)),this.selectedTagData.unshift(JSON.parse(l()(e))),console.log("处理obj:",this.selectedTagData);this.handleReturnData(this.selectedTagData)},returnTempData:function(e){if(console.log("暂存架全选数据:",e),e.length){var t=e.map(function(e){return e.tagId});console.log(t);var a=[];JSON.parse(l()(this.selectedTagData)).forEach(function(e,r){t.includes(e.tagId)||a.push(e)}),e.forEach(function(e,t){a.unshift(e)}),this.selectedTagData=a,this.handleReturnData(this.selectedTagData)}},returnTempTableData:function(e){console.log("返回暂存架所有标签数据:",e);var t=e.map(function(e){return e.tagId}),a=JSON.parse(l()(this.selectedTagData)),r=[];a.forEach(function(e,a){t.includes(e.tagId)||r.push(e)}),console.log("全不选:",a),this.selectedTagData=r,this.handleReturnData(this.selectedTagData)},returnTempTagId:function(e){var t=this;console.log("返回暂存架标签 id:",e),JSON.parse(l()(t.selectedTagData)).forEach(function(a,r){a.tagId==e&&t.selectedTagData.splice(r,1)}),console.log("返回暂存架标签 id 后:",t.selectedTagData),t.ruleForm.selectedTag=t.selectedTagData,t.checkRealTime()},returnTempRowData:function(e){var t=JSON.parse(l()(this.selectedTagData));t.forEach(function(t,a){t.tagId==e.tagId&&(t.tagParams=e.tagParams,t.tagValue=e.tagValue,t.newTagVal=e.newTagVal)}),-1==t.map(function(e){return e.tagId}).indexOf(e.tagId)&&t.unshift(e),this.selectedTagData=t,this.ruleForm.selectedTag=this.selectedTagData,this.checkRealTime()},handleReturnData:function(e){e.forEach(function(e,t){var a=JSON.parse(e.tagParams);""!=a.selectedVal?e.newTagVal=l()(a.selectedVal).replace(/"/g,""):e.newTagVal=""}),this.ruleForm.selectedTag=e,this.checkRealTime()},showTabActive:function(e){this.tabActiveName=e},getGroupData:function(){var e=this,t={memberTagGroupId:e.ruleForm.memberTagGroupId};Object(g.b)("/member-tag-group/findOneDetial.json",t).then(function(t){var a=t.data;if(1==a.errorCode){var r=a.result.tagGroupDto;r&&(e.ruleForm.groupName=r.groupName,e.ruleForm.isActive=r.isRealTime,e.ruleForm.effectiveStatus=r.effectiveStatus,e.ruleForm.describle=r.describle,e.ruleForm.effectiveDateTmp=r.effectiveDate,e.ruleForm.updateType=r.updateType?String(r.updateType):"",e.ruleForm.updateDay=r.updateDay?String(r.updateDay):"",e.inputNumObj.groupName=h.a.getZhLen(e.ruleForm.groupName),e.inputNumObj.describle=h.a.getByteLen(e.ruleForm.describle),1!=e.ruleForm.updateType&&e.changeRate(e.ruleForm.updateType,e.ruleForm.updateDay));var o=a.result.tagValueDtoList;return o.forEach(function(e,t){var a=JSON.parse(e.tagParams);""!=a.selectedVal?e.newTagVal=l()(a.selectedVal).replace(/"/g,""):e.newTagVal=""}),e.ruleForm.selectedTag=o,void(e.selectedTagData=o)}u.a.errorMsg(a)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){var e=this,t=sessionStorage.getItem("selectTempTag");if(t&&(e.ruleForm.selectedTag=JSON.parse(t),setTimeout(function(){e.selectedTagData=JSON.parse(t),e.checkRealTime()},500),sessionStorage.removeItem("selectTempTag")),e.$route.query.memberTagGroupId)e.ruleForm.memberTagGroupId=e.$route.query.memberTagGroupId,e.getGroupData();else{var a=new Date((new Date).getTime()+31536e6),r=a.getFullYear()+"-",l=(a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1)+"-",o=(a.getDate()<10?"0"+a.getDate():a.getDate())+" ";e.ruleForm.effectiveDateTmp=e.effectiveDateTmp=r+l+o+"23:59:59",console.log(e.effectiveDateTmp)}},components:{navCrumb:o.a,addTagView:_,tagShortDetail:D.a}},y={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"memberGroupEdit-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"memberGroupEdit-wrap__body"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[a("el-form-item",{attrs:{label:"",prop:"selectedTag"}},[a("div",{staticClass:"memberGroupEdit-wrap__item__title"},[e._v("\n 已选标签"),a("span",{staticClass:"color-c0c4cc font-14"},[e._v("(筛选同时符合下列条件的会员)")]),e._v(" "),a("el-button",{staticClass:"m-l-220",attrs:{type:"text"},on:{click:e.showAddTag}},[e._v("添加标签")])],1),e._v(" "),a("div",{staticClass:"memberGroupEdit-wrap__tags w-548 border-box"},e._l(e.selectedTagData,function(t,r){return a("div",{key:r,staticClass:"memberGroupEdit-wrap__tagcell"},[a("span",[e._v(e._s(t.tagName))]),e._v(" "),a("span",{staticClass:"memberGroupEdit-wrap__tag-name"},[e._v("【选择:"+e._s(t.newTagVal)+"】")]),e._v(" "),a("i",{staticClass:"el-icon-edit",on:{click:function(a){e.editSelTag(r,t)}}}),e._v(" "),a("i",{staticClass:"el-icon-delete",on:{click:function(a){e.delSelTag(r,t)}}})])}))]),e._v(" "),a("el-form-item",{staticClass:"w-220",attrs:{label:"",prop:"groupName"}},[a("div",{staticClass:"memberGroupEdit-wrap__item__title"},[e._v("分组名称")]),e._v(" "),a("el-input",{staticClass:"w-220",on:{focus:function(t){e.focus("groupName",10)}},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.ruleForm.groupName,callback:function(t){e.$set(e.ruleForm,"groupName",t)},expression:"ruleForm.groupName"}}),e._v(" "),a("label",{staticClass:"input-label"},[e._v(e._s(e.inputNumObj.groupName)+"/10")])],1),e._v(" "),a("el-form-item",{attrs:{label:"",prop:"effectiveDateTmp"}},[a("div",{staticClass:"memberGroupEdit-wrap__item__title"},[e._v("分组有效期")]),e._v(" "),a("el-date-picker",{attrs:{type:"date",editable:!1,format:"yyyyMMdd","value-format":"yyyy-MM-dd HH:mm:ss","default-time":"23:59:59","picker-options":e.pickerOptions},model:{value:e.ruleForm.effectiveDateTmp,callback:function(t){e.$set(e.ruleForm,"effectiveDateTmp",t)},expression:"ruleForm.effectiveDateTmp"}}),e._v(" "),a("div",{staticClass:"form-tip-text"},[a("label",{},[e._v("*分组有效期需早于所用标签的最早有效期,且最长不超过365天")])])],1),e._v(" "),a("el-form-item",{staticClass:"w-548",attrs:{label:"",prop:"describle"}},[a("div",{staticClass:"memberGroupEdit-wrap__item__title"},[e._v("分组描述")]),e._v(" "),a("el-input",{staticClass:"w-407",staticStyle:{height:"96px"},attrs:{type:"textarea"},on:{focus:function(t){e.focus("describle",200)}},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.ruleForm.describle,callback:function(t){e.$set(e.ruleForm,"describle",t)},expression:"ruleForm.describle"}}),e._v(" "),[a("label",{staticClass:"input-label textarea-label"},[e._v(e._s(e.inputNumObj.describle)+"/200")])]],2),e._v(" "),0==e.ruleForm.isActive?a("el-form-item",{attrs:{label:"",prop:"updateDay"}},[a("div",{staticClass:"memberGroupEdit-wrap__item__title"},[e._v("更新频率")]),e._v(" "),a("el-select",{staticClass:"w-200",attrs:{placeholder:"请选择"},on:{change:function(t){e.changeRate(e.ruleForm.updateType)}},model:{value:e.ruleForm.updateType,callback:function(t){e.$set(e.ruleForm,"updateType",t)},expression:"ruleForm.updateType"}},[a("el-option",{attrs:{label:"每日一次",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"每周一次",value:"2"}}),e._v(" "),a("el-option",{attrs:{label:"每月一次",value:"3"}})],1),1!=e.ruleForm.updateType?a("el-select",{staticClass:"w-200 p-l-8",attrs:{placeholder:"请选择"},model:{value:e.ruleForm.updateDay,callback:function(t){e.$set(e.ruleForm,"updateDay",t)},expression:"ruleForm.updateDay"}},e._l(e.rateOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e(),e._v(" "),a("div",{staticClass:"form-tip-text"},[a("label",{},[e._v("*更新时间预计选择日期的凌晨0点至6点")])])],1):e._e(),e._v(" "),a("el-form-item",{staticClass:"font-0",attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){t.stopPropagation(),e.confirmSave("ruleForm")}}},[e._v("保存")]),e._v(" "),a("el-button",{on:{click:function(t){return t.stopPropagation(),e.cancelSave(t)}}},[e._v("返回")])],1)],1)],1)])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("tagShortDetail",{attrs:{fromFlag:e.fromFlag,showTagDetail:e.showTagDetail,tagShortId:e.tagShortDetailId,tabActive:e.tabActiveName,rowItemData:e.rowItemData},on:{"update:tagShortId":function(t){e.tagShortDetailId=t},"update:rowItemData":function(t){e.rowItemData=t},hideTag:e.handleHideTag,returnTagData:e.returnTagData}}),e._v(" "),a("add-tag-view",{ref:"addTagViewComponent",attrs:{delTagId:e.delTagId,addTagShow:e.showTagFlag,selTagData:e.selectedTagData,returnEditObj:e.returnEditObj},on:{"update:addTagShow":function(t){e.showTagFlag=t},showTabActive:e.showTabActive,showShortDetail:e.showShortDetail,returnTempData:e.returnTempData,returnTempTableData:e.returnTempTableData,returnTempTagId:e.returnTempTagId,returnTempRowData:e.returnTempRowData}})],1)},staticRenderFns:[]};var S=a("VU/8")(w,y,!1,function(e){a("ayrE")},"data-v-911d640c",null);t.default=S.exports},scvE:function(e,t){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([4],{"+/ey":function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("Dd8w"),o=s.n(a),n=s("3Xzz"),i=(s("3E4D"),s("Ch4/")),r=s("P9l9"),l={name:"userDefined",props:{showUserDefined:Boolean,selectedData:{type:Array},fieldsData:{type:Array}},data:function(){return{checkedFields:[],memberFields:[],showFlag:!1}},methods:{handleClose:function(e){this.$emit("hideUserDefined",!1)},submitFields:function(){this.$emit("confirmUserDefined",this.checkedFields)},cancelSel:function(){this.handleClose()}},watch:{showUserDefined:function(e,t){this.showFlag=e},fieldsData:function(e,t){this.memberFields=e},selectedData:function(e,t){this.checkedFields=e}},mounted:function(){this.showFlag=this.showUserDefined,this.memberFields=this.fieldsData,this.checkedFields=this.selectedData}},c={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-dialog",{attrs:{title:"自定义字段列表",visible:e.showFlag,"before-close":e.handleClose,width:"600px"},on:{"update:visible":function(t){e.showFlag=t}}},[s("div",{staticClass:"checkwtip mBottom10"},[e._v("\n 请选择您想显示的列表详细信息,最多勾选8个选项,已经勾选了\n "),s("span",{staticClass:"curcheck"},[e._v(e._s(e.checkedFields.length))]),e._v(" 个\n ")]),e._v(" "),s("el-checkbox-group",{attrs:{min:0,max:8},model:{value:e.checkedFields,callback:function(t){e.checkedFields=t},expression:"checkedFields"}},[s("div",{staticClass:"checkwrap flex flex-wrap"},e._l(e.memberFields,function(t,a){return s("div",{key:a,staticClass:"checkwrap-item line-30"},[s("el-checkbox",{key:t.code,attrs:{label:t.code}},[e._v(e._s(t.name))])],1)}))]),e._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:e.cancelSel}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.submitFields}},[e._v("确 定")])],1)],1)},staticRenderFns:[]};var d=s("VU/8")(l,c,!1,function(e){s("YC1h")},"data-v-0d3005b0",null).exports,m=(s("Mk6G"),s("PI0u"),s("mw3O"),{name:"memberGroupDetail",data:function(){return{loading:!1,showUserDefined:!1,memberFields:[],selectedUserDefined:[],selectedFields:[],groupName:"分组名称",groupIsRealTime:1,selectedTagData:[],sortableFlag:!1,memberGroupDetailData:[],memberGroupDetailDataBack:[],currentPage:1,pageSize:20,total:0,singleInfo:{sex:0,age:0,cardNo:0,mainStoreName:"dd",costFee:0,costTimes:0,lastCost:0,numOfSale:0,numOfmarket:0,couponCount:0,status:0,wxStatus:0,phoneStatus:0,authStatus:0},baseUrl:"",sortFiled:"",order:""}},created:function(){this.loading=!0},computed:{navpath:function(){return console.log(window.origin,"origin"),[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员分组",path:"/memberGroupList"},{name:"会员分组详情",path:""}]}},filters:{formatTimeYMD:function(e){if(e&&e>0){var t=e.toString().split("");return t.splice(0,4).join("")+"-"+t.splice(0,2).join("")+"-"+t.splice(0,2).join("")}return"--"},formatTimeHMS:function(e){if(e&&e>0){var t=e.toString().split("");return t.splice(0,8),t.splice(0,2).join("")+":"+t.splice(0,2).join("")+":"+t.splice(0,2).join("")}return"--"}},methods:{sortChange:function(e){e.column;var t=e.prop,s=e.order;console.log(t,s),this.sortFiled=t,this.order="descending"==s?"desc":"asc",this.getGroupDetail()},getTagValueDtoList:function(){var e=this,t={memberTagGroupId:e.$route.query.memberTagGroupId};Object(r.a)("/member-tag-group/findOneDetial.json",t).then(function(t){console.log(t,"tagValueDtoList"),e.groupName=t.data.result.tagGroupDto.groupName,e.groupIsRealTime=t.data.result.tagGroupDto.isRealTime;var s=t.data.result.tagValueDtoList;s.forEach(function(e){e.tagParams&&(e.tagParams=JSON.parse(e.tagParams))}),e.selectedTagData=s}).catch(function(e){console.log(e,"error of getTagValueDtoList")})},showDefined:function(){this.showUserDefined=!0},hideUserDefined:function(e){this.showUserDefined=e},confirmUserDefined:function(e){console.log(e);var t=this;if(e.length<1)return t.$message.error({duration:1e3,message:"请选择自定义字段"}),!1;t.loading=!0;var s=e.join(",");t.selectedUserDefined=e,t.showUserDefined=!1,t.selectedFields=[],t.memberFields.forEach(function(e,s){-1!=t.selectedUserDefined.indexOf(e.code)&&t.selectedFields.push(e)}),t.saveFieldsList(s),t.getGroupDetail()},saveFieldsList:function(e){var t={pageName:"memberSign",fields:e};this.axios.post(this.baseUrl+"/api-member/update-fields?requestProject=memberTag",t).then(function(e){console.log(e)})},handleSizeChange:function(e){console.log("每页 "+e+" 条"),this.pageSize=e,this.getGroupDetail()},handleCurrentChange:function(e){console.log("当前页: "+e),this.currentPage=e,this.getGroupDetail()},getGroupDetail:function(e){var t=this,s={memberTagGroupId:t.$route.query.memberTagGroupId,pageNum:t.currentPage,pageSize:t.pageSize,sortColName:t.sortFiled,sortType:t.order};Object(r.a)("/member-tag-member/findMemberList.json",s).then(function(s){console.log(s,"groupDetail"),t.total=s.data.result.page.totalCount,t.memberGroupDetailData=s.data.result.page.result;var a=s.data.result.fieldsStr.split(",");e&&e.forEach(function(e,s){(e.check||a.indexOf(e.code)>-1)&&(t.selectedUserDefined.push(e.code),t.selectedFields.push(e))}),t.loading=!1}).catch(function(e){console.log(e,"error of get group detail"),t.loading=!1})},linkDetail:function(e,t){window.open(t?window.location.origin+"/member/#/wechatmemberDetail?memberId="+e+"&channel=wxMember&fromPage=memberGroup":window.location.origin+"/member/#/posmemberDetail?memberId="+e+"&channel=posMember&fromPage=memberGroup")},showSingleInfo:function(e){console.log(e);var t=this,s={memberId:e};t.singleInfo="",t.axios.post(t.baseUrl+"/api-member/load-member-single-info?requestProject=memberTag",s).then(function(e){var s=e.data;if(0!=s.errorCode)i.a.errorMsg(s);else{var a=s.result.memberSingle;t.singleInfo=o()({},a,{sex:0==a.sex?"性别未知":1==a.sex?"男":"女",age:0!=a.age?a.age:"年龄未知",cardNo:a.cardNo?a.cardNo:"无会员卡",mainStoreName:a.mainStoreName?a.mainStoreName:"主门店未知"})}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getFieldsList:function(){var e=this;e.selectedUserDefined=[],e.selectedFields=[],e.axios.post(e.baseUrl+"/api-member/find-member-fields?requestProject=memberTag",{pageName:"memberSign"}).then(function(t){console.log(t,"自定义列表字段");var s=t.data;if(0==s.errorCode)return e.memberFields=s.result,void e.getGroupDetail(s.result);i.a.errorMsg(s)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},beforeMount:function(){var e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},mounted:function(){this.getTagValueDtoList(),this.getFieldsList(),document.getElementById("app").style.zIndex="auto"},components:{navCrumb:n.a,userDefined:d}}),g={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"memberGroupDetail-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"memberGroupDetail-wrap__head"},[a("p",{staticClass:"m-b-20"},[a("span",{staticClass:"group-name"},[e._v(e._s(e.groupName))]),a("span",{staticClass:"font-10 real-time inline-block m-l-8"},[e._v(e._s(e.groupIsRealTime?"实时":"非实时"))])]),e._v(" "),a("div",{staticClass:"flex"},[a("span",{staticClass:"tag-selected-title"},[e._v("筛选标签")]),e._v(" "),a("div",{staticClass:"inline-block tag-cell-wrap flex-1"},[e._l(e.selectedTagData,function(t,s){return[0!=s?a("span",{key:s,staticClass:"p-lr-18"},[e._v("并且")]):e._e(),e._v(" "),a("span",{key:s+t.tagValueId,staticClass:"tag-cell inline-block border-box color-606266"},[a("span",[e._v(e._s(t.tagName))]),e._v(" "),t.tagParams?a("span",[e._v("【选择:"+e._s(t.tagParams.selectedVal.join(","))+"】")]):e._e()])]})],2)])]),e._v(" "),a("div",{staticClass:"memberGroupDetail-wrap__info"},[a("span",[e._v("覆盖人数"+e._s(e.total)+"人")]),e._v(" "),a("span",{staticClass:"fr inline-block middle"},[a("el-button",{attrs:{type:"primary",icon:"el-icon-setting "},on:{click:e.showDefined}})],1)]),e._v(" "),a("div",{staticClass:"memberGroupDetail-wrap__table"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.memberGroupDetailData},on:{"sort-change":e.sortChange}},[e._l(e.selectedFields,function(t,o){return a("div",{key:o},[a("el-table-column",{attrs:{sortable:"name"!=t.code&&"grade"!=t.code&&"status"!=t.code&&"channel"!=t.code&&"createCardStoreName"!=t.code&&"cardNo"!=t.code&&"forzenStatus"!=t.code&&"mainStoreName"!=t.code&&"costCategory"!=t.code&&"custom",prop:t.code,fixed:"name"==t.code,label:t.name},scopedSlots:e._u([{key:"default",fn:function(o){return["name"==t.code?["name"===t.code?a("div",{staticClass:"tablecontent-cell",staticStyle:{cursor:"pointer"},on:{click:function(t){e.linkDetail(o.row.memberId,o.row.isWeixinMember)}}},[a("el-popover",{attrs:{placement:"top-start",width:"400",height:"180",trigger:"hover"},on:{show:function(t){e.showSingleInfo(o.row.memberId)}}},[a("div",{staticClass:"pointer",on:{click:function(t){e.linkDetail(o.row.memberId,o.row.isWeixinMember)}}},[a("div",{staticClass:"singelinfo flex"},[a("div",{staticClass:"singelinfo-img"},[a("img",{attrs:{width:"100",height:"100",src:o.row.thirdImgUrl?o.row.thirdImgUrl:s("OFPh"),alt:""}})]),e._v(" "),a("div",{staticClass:"singelinfo-content flex-1 pLeft10 pRight10"},[a("span",{staticClass:"lheigth0"},[e._v(e._s(o.row.memberName)+"\n "),a("span",{staticClass:"channelicon fr",class:0==e.singleInfo.status?"gzhiconcanclegray":1==e.singleInfo.status?"gzhicon":"gzhicongray",attrs:{title:0==e.singleInfo.status?"取消关注公众号":1==e.singleInfo.status?"已关注公众号":"未关注公众号"}}),e._v(" "),a("span",{staticClass:"channelicon fr m-r-6",class:0==e.singleInfo.wxStatus?"xcxicongray":1==e.singleInfo.wxStatus?"xcxicon":"",attrs:{title:0==e.singleInfo.wxStatus?"未使用小程序":1==e.singleInfo.wxStatus?"使用过小程序":""}})]),e._v(" "),a("p",{staticClass:"lheigth0"},[a("span",{staticClass:"evl-right"},[e._v(e._s(e.singleInfo.sex))]),e._v(" "),a("span",{staticClass:"evl-right"},[e._v(e._s(e.singleInfo.age))]),e._v(" "),a("span",{attrs:{title:e.singleInfo.cardNo}},[e._v(e._s(e.singleInfo.cardNo))])]),e._v(" "),a("p",{staticClass:"lheigth0"},[a("span",[e._v(e._s(e.singleInfo.mainStoreName))])]),e._v(" "),a("div",{staticClass:"singelinfo-cost flex"},[a("div",{staticClass:"singelinfo-costitem flex-1"},[a("p",[e._v(e._s(e.singleInfo.costFee))]),e._v(" "),a("p",[e._v("消费总额")])]),e._v(" "),a("div",{staticClass:"singelinfo-costitem flex-1"},[a("p",[e._v(e._s(e.singleInfo.costTimes))]),e._v(" "),a("p",[e._v("消费次数")])]),e._v(" "),a("div",{staticClass:"singelinfo-costitem"},[a("p",[e._v(e._s(e.singleInfo.lastCost))]),e._v(" "),a("p",[e._v("最近消费")])])])])]),e._v(" "),a("div",{staticClass:"singelinfo-jl flex mBottom20 mTop20"},[a("a",{staticClass:"singelinfo-jlitem flex-1"},[e._v("消费记录 ("+e._s(e.singleInfo.numOfSale)+")")]),e._v(" "),a("a",{staticClass:"singelinfo-jlitem flex-1"},[e._v("营销记录 ("+e._s(e.singleInfo.numOfmarket)+")")]),e._v(" "),a("a",{staticClass:"singelinfo-jlitem flex-1"},[e._v("卡券记录 ("+e._s(e.singleInfo.couponCount)+")")])])]),e._v(" "),a("span",{attrs:{slot:"reference"},slot:"reference"},[a("span",{staticClass:"table-member__img inline-block middle border-box m-r-8"},[a("img",{attrs:{src:o.row.thirdImgUrl?o.row.thirdImgUrl:s("OFPh")}})]),a("span",[e._v(e._s(o.row.memberName))])])])],1):e._e()]:e._e(),e._v(" "),"grade"==t.code?[e._v("\n "+e._s(o.row.gradeName)+"\n ")]:e._e(),e._v(" "),"status"==t.code?[a("span",{staticClass:"channelicon",class:0==o.row.wxStatus?"xcxicongray":1==o.row.wxStatus?"xcxicon":"",attrs:{title:0==o.row.wxStatus?"未使用小程序":1==o.row.wxStatus?"已使用小程序":""}}),e._v(" "),a("span",{staticClass:"channelicon",class:0==o.row.status?"gzhiconcanclegray":1==o.row.status?"gzhicon":"gzhicongray",attrs:{title:0==o.row.status?"取消关注公众号":1==o.row.status?"已关注公众号":"未关注公众号"}})]:e._e(),e._v(" "),"channel"==t.code?[a("span",{staticClass:"channelicon",class:0==o.row.channelTaobao?"taobaoicongray":1==o.row.channelTaobao?"taobaoicon":""}),e._v(" "),a("span",{staticClass:"channelicon",class:0==o.row.channelJd?"jdicongray":1==o.row.channelJd?"jdicon":""}),e._v(" "),a("span",{staticClass:"channelicon",class:0==o.row.channelWei?"vipicongray":1==o.row.channelWei?"vipicon":""})]:e._e(),e._v(" "),"crateCardDateString"==t.code?[a("div",[e._v(e._s(o.row.crateCardDateString))])]:e._e(),e._v(" "),"createTime"==t.code?[a("div",[e._v(e._s(e._f("formatTimeYMD")(o.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(o.row.createTime)))])]:e._e(),e._v(" "),"attentionDate"==t.code?[a("div",[e._v(e._s(e._f("formatTimeYMD")(o.row.attentionTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(o.row.attentionTime)))])]:e._e(),e._v(" "),"costAll"==t.code?[a("span",[e._v("\n "+e._s(o.row.costFee)+"\n ")])]:e._e(),e._v(" "),"costTimes"==t.code?[a("div",[e._v(e._s(o.row.costTimes))])]:e._e(),e._v(" "),"lastCostTime"==t.code?[a("div",[e._v(e._s(e._f("formatTimeYMD")(o.row.lastCostTime)))])]:e._e(),e._v(" "),"avgCost"==t.code?[e._v("\n "+e._s(o.row.avgCost)+"\n ")]:e._e(),e._v(" "),"avgNumber"==t.code?[e._v("\n "+e._s(o.row.avgNumber)+"\n ")]:e._e(),e._v(" "),"costCategory"==t.code?[e._v("\n "+e._s(o.row.costCategory)+"\n ")]:e._e(),e._v(" "),"discountRate"==t.code?[e._v("\n "+e._s(o.row.discountRate)+"\n ")]:e._e(),e._v(" "),"cancelAttentionTime"==t.code?[a("div",[e._v(e._s(e._f("formatTimeYMD")(o.row.cancelAttentionTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(o.row.cancelAttentionTime)))])]:e._e(),e._v(" "),"age"==t.code?[e._v("\n "+e._s(o.row.age)+"\n ")]:e._e(),e._v(" "),"birthday"==t.code?[e._v("\n "+e._s(o.row.birthdayMD)+"\n ")]:e._e(),e._v(" "),"storedValueAll"==t.code?[e._v("\n "+e._s(o.row.storedValueAll)+"\n ")]:e._e(),e._v(" "),"storedValueCurrent"==t.code?[e._v("\n "+e._s(o.row.storedValueCurrent)+"\n ")]:e._e(),e._v(" "),"pointsAll"==t.code?[e._v("\n "+e._s(o.row.pointsAll)+"\n ")]:e._e(),e._v(" "),"pointsCurrent"==t.code?[e._v("\n "+e._s(o.row.pointsCurrent)+"\n ")]:e._e(),e._v(" "),"mainStoreName"==t.code?[e._v("\n "+e._s(o.row.mainStoreName)+"\n ")]:e._e(),e._v(" "),"createCardStoreName"==t.code?[e._v("\n "+e._s(o.row.openStoreName)+"\n ")]:e._e(),e._v(" "),"cardNo"==t.code?[e._v("\n "+e._s(o.row.cardNo)+"\n ")]:e._e(),e._v(" "),"frozenStatus"==t.code?[0==o.row.frozenStatus?a("span",{staticClass:"dm-status--success"},[e._v("正常")]):e._e(),e._v(" "),1==o.row.frozenStatus?a("span",{staticClass:"dm-status--warning"},[e._v("冻结")]):e._e()]:e._e(),e._v(" "),"lastCost"==t.code?[e._v("\n "+e._s(o.row.lastCost)+"\n ")]:e._e()]}}])})],1)}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.isWeixinMember?a("a",{staticClass:"el-button el-button--text",attrs:{target:"_blank",href:"/member/#/wechatmemberDetail?memberId="+t.row.memberId+"&channel=wxMember&fromPage=memberGroup"}},[e._v("查看")]):a("a",{staticClass:"el-button el-button--text",attrs:{target:"_blank",href:"/member/#/posmemberDetail?memberId="+t.row.memberId+"&channel=posMember&fromPage=memberGroup"}},[e._v("查看")])]}}])})],2)],1),e._v(" "),0!=e.memberGroupDetailData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("userDefined",{attrs:{fieldsData:e.memberFields,selectedData:e.selectedUserDefined,showUserDefined:e.showUserDefined},on:{hideUserDefined:e.hideUserDefined,confirmUserDefined:e.confirmUserDefined}})],1)},staticRenderFns:[]};var u=s("VU/8")(m,g,!1,function(e){s("HCED")},"data-v-51ed0d93",null);t.default=u.exports},HCED:function(e,t){},OFPh:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAMAAAAshD+zAAAAS1BMVEX19/rc5fLDzuDF0OHW3+3H0uPZ4/DN1+fP2ejK1eXY4e/U3ezj6PHy9fnX3+vR2efR2+rn6/Pa4ezd4+3U3Onw8/jg5e/q7vXt8fYImdr7AAAHWklEQVR42uzbyZLjIAwAUMS+GYPxkv//0ukkUzWd6Uy3Ew4jKL2q3HJRySCBZUYIIYQQQgghhBBCCCGEEEIIIYQQQoawlX2ZnVNCKDenvWxsFJe6CmVykF6D9lJmo8RaL6x/W7TCBg2PdLDCxs7zt1VhpIZntDS8dhzeVLnV8G/e8jqxPkVuPXzPGx5Zh7bkJPxMqtTfs1m4hXPsXFhfdiHhrCB21pNFeDjPi4X1Y1EaXqFVP9FVoeE1WlTWhyg0vEqLPkrCwSW8TvIums01wDtyYvgtBt5j8G8qRcCbtDgYcjnAu/LKcIsK3qeQ75hGwvvkzDCLDloo1C20kdAiYE7doaCNQFzJFwttLN4Wc+Ie2njOsDoUtFJoC/luoJVBeyj/0zIP2KVwD60k1kW3CWimBdKLvqIAht1RooGbITuw3UA7h/RkcA1u2FpQb8EN2oDtIwcXR34soxt4Qylq4FJw71BGPa5yDa08R9p+sVnCzZAXYNVCK4v2Tr0oaOWQ7ifXHUVDG412ybUfxSGgPYgzVtygVe6G+1Fv9j5UM2RjeTdx3ZQ43GNu1QybuLZVJw1DbnfDvlhtqXW2g1mNg2uAYadsqgCAYeejFgevU0gvhr5Ir0fnOlhwvyUDrzH9xHbN3ah5u1qUh7N8R3Oyd1WEQee3r8ps4QRtnk/eTxPqJnpaTiQvfxlMv5S4zPxuXfaI9GUkO1b1fXhBpeMhsJisUMYGKaX/+AVrnDIp4kximVXW8Jy2ai2fI9uNMFl++bvMjq84Pyc8EnfBw998cHz5nLWYlZHwDzo4kVA+n1tZubI5SO/1B9AyW+UecxGNC/AtndWK9Pao1LRyzsUNT/UxC5E7CT8LKuE9OEzbdvmwsUeXpCSck7F8ODJdjrikdZ2fsJx/SluG07RZ///S+9XemS23CUNheLSvCEms7/+knQaX1paRQG4EZPRdddI2QYGz+vyHaTQQEcGtVQq/A81rnobBERQ8NZ9pJiPI4tOTH+vPhoGDSHJelj11kFiZlLYshud6Do4jzDlB3VnCJUiB2/lhbgrkwM6QuWouFEhDoXucDYM8ePF751qx72LFYnDu99nu0QZ0PVGHLmxuFVi5ds9lf20qH/1Jw8HKpbtlsxEU7ESMQf8vBwkLRXMH+VFFi0bgHp8wj0c8A3LZop/QL30/nsjDylTPwMfQAg+mF/TwaNf0OtNxUQmvJxmaiN6ClQsrJQ8uKlg0tzMCT8jd34OWHBTrjp0N8yXE2ec0HyK+s30LBS02tuKgPDoGG85lorEZDNsVRabBk1LhYGhxjpal42HgY3hnFGlxodFTw7MkVhCHX9Rkp3PsVZkJxpFkDWdP5N1IVKt2RZEB0iJjOQOUGQqrUNjKuvSs5nqTPC8zn2l43hANlK+ZRrPGvtQk5oTKBHKH8kZ8Z/T26+F1v7u/xpYZF+tV3oivZuHjOr+98NAyHSqjt3MkUzLQqw0/OCMaqwI3vA4PRjTLjdmHtiXkVlbmecRct+KF+oap6Ilkam0HSLcKzwbSeIr8rm7E3xDHjc2oULZ/K8RFhzVxuzkQSAOjO2UilnfbUi3cRoc1idtcjkDZf697tMidgx1ZxGGMItIu6VgBNWFutcl0RBIjYaS1gqbFWDcPd/pT+cgsPY8FaU02jdXzQjrQiWTLdDyPBopWgfcxfkalpE2Qg/w7F71IRzb+wthCCt4BqazDhTYXJmG9fZsxO1RqXn9GEnzqLUPs+/yZdX8f1xKhQAuarQAfWaI1ZmyQ9scKdRrIk8spHEOjErEuRJg/izHeYpFLhlI290pfewgJXQ5mCSUGXsr7siE8BMPUhincBqm10In/Y9dqtXydGkYyhlP98Y69dHE7VlDclPmBb7rgxvAlfyY6SLwilfiZenChkzm36J5MTPWBEYaPwzUOZ01yyYF8fnTRFLig0Etd43BSrA3nVNFH/vltGJsqNS7gUP4Y3cjSjdsWrwnZhNL//Pw498ezDSgd6jVZ/9irsgsxtcjezbk623QStizY0KTwapgGfvRcOpFOZCYoFqEIxyDDVxZrpYe1F8NplX+jhyUqlN/G5Nkn/lKL3Ytl47NygTspr5AL7wqUUUPywY8pvC/SEJnpUtJ6a+IDGV7hfeQjZDjr1qUjJRW9nudJt+y0TfLNyAhTNOvWucQIkRIIEaZO3fM5jT0iXGFKD7Rmd3okCs5fCDBMXS8gIoJxbh8yAhlBwWbjwbyqhreZnR47vwhAYBT0OJyD9JabdZsIw9Csk1WfLdY9X/aSWASQjby8iNcwkAm9/NmeTvcDX8BkRJa9XUVFlzGLmkLdZLnIb7EFBg9+4OvqAk1CHCpu9aLB4UuyejfR6m40ZxLsAV9ZbrxJt6d8UuRG1vZSPglLY7bG73q0L3SPhNp6ma5A/tq5ZJJB91Bw9SyhkIqL+78G+YvG+XYtDjlngsDW/4iT/V0N4HTne+O70c3XXIVSqVQqlUqlUqlUKpVKpVKpVCqVSqVSqVQqlcpV+AWjlXUSpI85lAAAAABJRU5ErkJggg=="},YC1h:function(e,t){}});
\ No newline at end of file
webpackJsonp([4],{"+/ey":function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("Dd8w"),o=s.n(a),n=s("3Xzz"),i=(s("3E4D"),s("Ch4/")),r=s("P9l9"),l={name:"userDefined",props:{showUserDefined:Boolean,selectedData:{type:Array},fieldsData:{type:Array}},data:function(){return{checkedFields:[],memberFields:[],showFlag:!1}},methods:{handleClose:function(e){this.$emit("hideUserDefined",!1)},submitFields:function(){this.$emit("confirmUserDefined",this.checkedFields)},cancelSel:function(){this.handleClose()}},watch:{showUserDefined:function(e,t){this.showFlag=e},fieldsData:function(e,t){this.memberFields=e},selectedData:function(e,t){this.checkedFields=e}},mounted:function(){this.showFlag=this.showUserDefined,this.memberFields=this.fieldsData,this.checkedFields=this.selectedData}},c={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-dialog",{attrs:{title:"自定义字段列表",visible:e.showFlag,"before-close":e.handleClose,width:"600px"},on:{"update:visible":function(t){e.showFlag=t}}},[s("div",{staticClass:"checkwtip mBottom10"},[e._v("\n 请选择您想显示的列表详细信息,最多勾选8个选项,已经勾选了\n "),s("span",{staticClass:"curcheck"},[e._v(e._s(e.checkedFields.length))]),e._v(" 个\n ")]),e._v(" "),s("el-checkbox-group",{attrs:{min:0,max:8},model:{value:e.checkedFields,callback:function(t){e.checkedFields=t},expression:"checkedFields"}},[s("div",{staticClass:"checkwrap flex flex-wrap"},e._l(e.memberFields,function(t,a){return s("div",{key:a,staticClass:"checkwrap-item line-30"},[s("el-checkbox",{key:t.code,attrs:{label:t.code}},[e._v(e._s(t.name))])],1)}))]),e._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:e.cancelSel}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.submitFields}},[e._v("确 定")])],1)],1)},staticRenderFns:[]};var d=s("VU/8")(l,c,!1,function(e){s("YC1h")},"data-v-0d3005b0",null).exports,m=(s("Mk6G"),s("PI0u"),s("mw3O"),{name:"memberGroupDetail",data:function(){return{loading:!1,showUserDefined:!1,memberFields:[],selectedUserDefined:[],selectedFields:[],groupName:"分组名称",groupIsRealTime:1,selectedTagData:[],sortableFlag:!1,memberGroupDetailData:[],memberGroupDetailDataBack:[],currentPage:1,pageSize:20,total:0,singleInfo:{sex:0,age:0,cardNo:0,mainStoreName:"dd",costFee:0,costTimes:0,lastCost:0,numOfSale:0,numOfmarket:0,couponCount:0,status:0,wxStatus:0,phoneStatus:0,authStatus:0},baseUrl:"",sortFiled:"",order:""}},created:function(){this.loading=!0},computed:{navpath:function(){return console.log(window.location.origin,"origin"),[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员分组",path:"/memberGroupList"},{name:"会员分组详情",path:""}]}},filters:{formatTimeYMD:function(e){if(e&&e>0){var t=e.toString().split("");return t.splice(0,4).join("")+"-"+t.splice(0,2).join("")+"-"+t.splice(0,2).join("")}return"--"},formatTimeHMS:function(e){if(e&&e>0){var t=e.toString().split("");return t.splice(0,8),t.splice(0,2).join("")+":"+t.splice(0,2).join("")+":"+t.splice(0,2).join("")}return"--"}},methods:{sortChange:function(e){e.column;var t=e.prop,s=e.order;console.log(t,s),this.sortFiled=t,this.order="descending"==s?"desc":"asc",this.getGroupDetail()},getTagValueDtoList:function(){var e=this,t={memberTagGroupId:e.$route.query.memberTagGroupId};Object(r.a)("/member-tag-group/findOneDetial.json",t).then(function(t){console.log(t,"tagValueDtoList"),e.groupName=t.data.result.tagGroupDto.groupName,e.groupIsRealTime=t.data.result.tagGroupDto.isRealTime;var s=t.data.result.tagValueDtoList;s.forEach(function(e){e.tagParams&&(e.tagParams=JSON.parse(e.tagParams))}),e.selectedTagData=s}).catch(function(e){console.log(e,"error of getTagValueDtoList")})},showDefined:function(){this.showUserDefined=!0},hideUserDefined:function(e){this.showUserDefined=e},confirmUserDefined:function(e){console.log(e);var t=this;if(e.length<1)return t.$message.error({duration:1e3,message:"请选择自定义字段"}),!1;t.loading=!0;var s=e.join(",");t.selectedUserDefined=e,t.showUserDefined=!1,t.selectedFields=[],t.memberFields.forEach(function(e,s){-1!=t.selectedUserDefined.indexOf(e.code)&&t.selectedFields.push(e)}),t.saveFieldsList(s),t.getGroupDetail()},saveFieldsList:function(e){var t={pageName:"memberSign",fields:e};this.axios.post(this.baseUrl+"/api-member/update-fields?requestProject=memberTag",t).then(function(e){console.log(e)})},handleSizeChange:function(e){console.log("每页 "+e+" 条"),this.pageSize=e,this.getGroupDetail()},handleCurrentChange:function(e){console.log("当前页: "+e),this.currentPage=e,this.getGroupDetail()},getGroupDetail:function(e){var t=this,s={memberTagGroupId:t.$route.query.memberTagGroupId,pageNum:t.currentPage,pageSize:t.pageSize,sortColName:t.sortFiled,sortType:t.order};Object(r.a)("/member-tag-member/findMemberList.json",s).then(function(s){console.log(s,"groupDetail"),t.total=s.data.result.page.totalCount,t.memberGroupDetailData=s.data.result.page.result;var a=s.data.result.fieldsStr.split(",");e&&e.forEach(function(e,s){(e.check||a.indexOf(e.code)>-1)&&(t.selectedUserDefined.push(e.code),t.selectedFields.push(e))}),t.loading=!1}).catch(function(e){console.log(e,"error of get group detail"),t.loading=!1})},linkDetail:function(e,t){window.open(t?window.location.origin+"/member/#/wechatmemberDetail?memberId="+e+"&channel=wxMember&fromPage=memberGroup":window.location.origin+"/member/#/posmemberDetail?memberId="+e+"&channel=posMember&fromPage=memberGroup")},showSingleInfo:function(e){console.log(e);var t=this,s={memberId:e};t.singleInfo="",t.axios.post(t.baseUrl+"/api-member/load-member-single-info?requestProject=memberTag",s).then(function(e){var s=e.data;if(0!=s.errorCode)i.a.errorMsg(s);else{var a=s.result.memberSingle;t.singleInfo=o()({},a,{sex:0==a.sex?"性别未知":1==a.sex?"男":"女",age:0!=a.age?a.age:"年龄未知",cardNo:a.cardNo?a.cardNo:"无会员卡",mainStoreName:a.mainStoreName?a.mainStoreName:"主门店未知"})}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getFieldsList:function(){var e=this;e.selectedUserDefined=[],e.selectedFields=[],e.axios.post(e.baseUrl+"/api-member/find-member-fields?requestProject=memberTag",{pageName:"memberSign"}).then(function(t){console.log(t,"自定义列表字段");var s=t.data;if(0==s.errorCode)return e.memberFields=s.result,void e.getGroupDetail(s.result);i.a.errorMsg(s)}).catch(function(t){console.log(t),e.$message.error({duration:1e3,message:t.message})})}},beforeMount:function(){var e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},mounted:function(){this.getTagValueDtoList(),this.getFieldsList(),document.getElementById("app").style.zIndex="auto"},components:{navCrumb:n.a,userDefined:d}}),g={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"memberGroupDetail-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"memberGroupDetail-wrap__head"},[a("p",{staticClass:"m-b-20"},[a("span",{staticClass:"group-name"},[e._v(e._s(e.groupName))]),a("span",{staticClass:"font-10 real-time inline-block m-l-8"},[e._v(e._s(e.groupIsRealTime?"实时":"非实时"))])]),e._v(" "),a("div",{staticClass:"flex"},[a("span",{staticClass:"tag-selected-title"},[e._v("筛选标签")]),e._v(" "),a("div",{staticClass:"inline-block tag-cell-wrap flex-1"},[e._l(e.selectedTagData,function(t,s){return[0!=s?a("span",{key:s,staticClass:"p-lr-18"},[e._v("并且")]):e._e(),e._v(" "),a("span",{key:s+t.tagValueId,staticClass:"tag-cell inline-block border-box color-606266"},[a("span",[e._v(e._s(t.tagName))]),e._v(" "),t.tagParams?a("span",[e._v("【选择:"+e._s(t.tagParams.selectedVal.join(","))+"】")]):e._e()])]})],2)])]),e._v(" "),a("div",{staticClass:"memberGroupDetail-wrap__info"},[a("span",[e._v("覆盖人数"+e._s(e.total)+"人")]),e._v(" "),a("span",{staticClass:"fr inline-block middle"},[a("el-button",{attrs:{type:"primary",icon:"el-icon-setting "},on:{click:e.showDefined}})],1)]),e._v(" "),a("div",{staticClass:"memberGroupDetail-wrap__table"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.memberGroupDetailData},on:{"sort-change":e.sortChange}},[e._l(e.selectedFields,function(t,o){return a("div",{key:o},[a("el-table-column",{attrs:{sortable:"name"!=t.code&&"grade"!=t.code&&"status"!=t.code&&"channel"!=t.code&&"createCardStoreName"!=t.code&&"cardNo"!=t.code&&"forzenStatus"!=t.code&&"mainStoreName"!=t.code&&"costCategory"!=t.code&&"custom",prop:t.code,fixed:"name"==t.code,label:t.name},scopedSlots:e._u([{key:"default",fn:function(o){return["name"==t.code?["name"===t.code?a("div",{staticClass:"tablecontent-cell",staticStyle:{cursor:"pointer"},on:{click:function(t){e.linkDetail(o.row.memberId,o.row.isWeixinMember)}}},[a("el-popover",{attrs:{placement:"top-start",width:"400",height:"180",trigger:"hover"},on:{show:function(t){e.showSingleInfo(o.row.memberId)}}},[a("div",{staticClass:"pointer",on:{click:function(t){e.linkDetail(o.row.memberId,o.row.isWeixinMember)}}},[a("div",{staticClass:"singelinfo flex"},[a("div",{staticClass:"singelinfo-img"},[a("img",{attrs:{width:"100",height:"100",src:o.row.thirdImgUrl?o.row.thirdImgUrl:s("OFPh"),alt:""}})]),e._v(" "),a("div",{staticClass:"singelinfo-content flex-1 pLeft10 pRight10"},[a("span",{staticClass:"lheigth0"},[e._v(e._s(o.row.memberName)+"\n "),a("span",{staticClass:"channelicon fr",class:0==e.singleInfo.status?"gzhiconcanclegray":1==e.singleInfo.status?"gzhicon":"gzhicongray",attrs:{title:0==e.singleInfo.status?"取消关注公众号":1==e.singleInfo.status?"已关注公众号":"未关注公众号"}}),e._v(" "),a("span",{staticClass:"channelicon fr m-r-6",class:0==e.singleInfo.wxStatus?"xcxicongray":1==e.singleInfo.wxStatus?"xcxicon":"",attrs:{title:0==e.singleInfo.wxStatus?"未使用小程序":1==e.singleInfo.wxStatus?"使用过小程序":""}})]),e._v(" "),a("p",{staticClass:"lheigth0"},[a("span",{staticClass:"evl-right"},[e._v(e._s(e.singleInfo.sex))]),e._v(" "),a("span",{staticClass:"evl-right"},[e._v(e._s(e.singleInfo.age))]),e._v(" "),a("span",{attrs:{title:e.singleInfo.cardNo}},[e._v(e._s(e.singleInfo.cardNo))])]),e._v(" "),a("p",{staticClass:"lheigth0"},[a("span",[e._v(e._s(e.singleInfo.mainStoreName))])]),e._v(" "),a("div",{staticClass:"singelinfo-cost flex"},[a("div",{staticClass:"singelinfo-costitem flex-1"},[a("p",[e._v(e._s(e.singleInfo.costFee))]),e._v(" "),a("p",[e._v("消费总额")])]),e._v(" "),a("div",{staticClass:"singelinfo-costitem flex-1"},[a("p",[e._v(e._s(e.singleInfo.costTimes))]),e._v(" "),a("p",[e._v("消费次数")])]),e._v(" "),a("div",{staticClass:"singelinfo-costitem"},[a("p",[e._v(e._s(e.singleInfo.lastCost))]),e._v(" "),a("p",[e._v("最近消费")])])])])]),e._v(" "),a("div",{staticClass:"singelinfo-jl flex mBottom20 mTop20"},[a("a",{staticClass:"singelinfo-jlitem flex-1"},[e._v("消费记录 ("+e._s(e.singleInfo.numOfSale)+")")]),e._v(" "),a("a",{staticClass:"singelinfo-jlitem flex-1"},[e._v("营销记录 ("+e._s(e.singleInfo.numOfmarket)+")")]),e._v(" "),a("a",{staticClass:"singelinfo-jlitem flex-1"},[e._v("卡券记录 ("+e._s(e.singleInfo.couponCount)+")")])])]),e._v(" "),a("span",{attrs:{slot:"reference"},slot:"reference"},[a("span",{staticClass:"table-member__img inline-block middle border-box m-r-8"},[a("img",{attrs:{src:o.row.thirdImgUrl?o.row.thirdImgUrl:s("OFPh")}})]),a("span",[e._v(e._s(o.row.memberName))])])])],1):e._e()]:e._e(),e._v(" "),"grade"==t.code?[e._v("\n "+e._s(o.row.gradeName)+"\n ")]:e._e(),e._v(" "),"status"==t.code?[a("span",{staticClass:"channelicon",class:0==o.row.wxStatus?"xcxicongray":1==o.row.wxStatus?"xcxicon":"",attrs:{title:0==o.row.wxStatus?"未使用小程序":1==o.row.wxStatus?"已使用小程序":""}}),e._v(" "),a("span",{staticClass:"channelicon",class:0==o.row.status?"gzhiconcanclegray":1==o.row.status?"gzhicon":"gzhicongray",attrs:{title:0==o.row.status?"取消关注公众号":1==o.row.status?"已关注公众号":"未关注公众号"}})]:e._e(),e._v(" "),"channel"==t.code?[a("span",{staticClass:"channelicon",class:0==o.row.channelTaobao?"taobaoicongray":1==o.row.channelTaobao?"taobaoicon":""}),e._v(" "),a("span",{staticClass:"channelicon",class:0==o.row.channelJd?"jdicongray":1==o.row.channelJd?"jdicon":""}),e._v(" "),a("span",{staticClass:"channelicon",class:0==o.row.channelWei?"vipicongray":1==o.row.channelWei?"vipicon":""})]:e._e(),e._v(" "),"crateCardDateString"==t.code?[a("div",[e._v(e._s(o.row.crateCardDateString))])]:e._e(),e._v(" "),"createTime"==t.code?[a("div",[e._v(e._s(e._f("formatTimeYMD")(o.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(o.row.createTime)))])]:e._e(),e._v(" "),"attentionDate"==t.code?[a("div",[e._v(e._s(e._f("formatTimeYMD")(o.row.attentionTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(o.row.attentionTime)))])]:e._e(),e._v(" "),"costAll"==t.code?[a("span",[e._v("\n "+e._s(o.row.costFee)+"\n ")])]:e._e(),e._v(" "),"costTimes"==t.code?[a("div",[e._v(e._s(o.row.costTimes))])]:e._e(),e._v(" "),"lastCostTime"==t.code?[a("div",[e._v(e._s(e._f("formatTimeYMD")(o.row.lastCostTime)))])]:e._e(),e._v(" "),"avgCost"==t.code?[e._v("\n "+e._s(o.row.avgCost)+"\n ")]:e._e(),e._v(" "),"avgNumber"==t.code?[e._v("\n "+e._s(o.row.avgNumber)+"\n ")]:e._e(),e._v(" "),"costCategory"==t.code?[e._v("\n "+e._s(o.row.costCategory)+"\n ")]:e._e(),e._v(" "),"discountRate"==t.code?[e._v("\n "+e._s(o.row.discountRate)+"\n ")]:e._e(),e._v(" "),"cancelAttentionTime"==t.code?[a("div",[e._v(e._s(e._f("formatTimeYMD")(o.row.cancelAttentionTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(o.row.cancelAttentionTime)))])]:e._e(),e._v(" "),"age"==t.code?[e._v("\n "+e._s(o.row.age)+"\n ")]:e._e(),e._v(" "),"birthday"==t.code?[e._v("\n "+e._s(o.row.birthdayMD)+"\n ")]:e._e(),e._v(" "),"storedValueAll"==t.code?[e._v("\n "+e._s(o.row.storedValueAll)+"\n ")]:e._e(),e._v(" "),"storedValueCurrent"==t.code?[e._v("\n "+e._s(o.row.storedValueCurrent)+"\n ")]:e._e(),e._v(" "),"pointsAll"==t.code?[e._v("\n "+e._s(o.row.pointsAll)+"\n ")]:e._e(),e._v(" "),"pointsCurrent"==t.code?[e._v("\n "+e._s(o.row.pointsCurrent)+"\n ")]:e._e(),e._v(" "),"mainStoreName"==t.code?[e._v("\n "+e._s(o.row.mainStoreName)+"\n ")]:e._e(),e._v(" "),"createCardStoreName"==t.code?[e._v("\n "+e._s(o.row.openStoreName)+"\n ")]:e._e(),e._v(" "),"cardNo"==t.code?[e._v("\n "+e._s(o.row.cardNo)+"\n ")]:e._e(),e._v(" "),"frozenStatus"==t.code?[0==o.row.frozenStatus?a("span",{staticClass:"dm-status--success"},[e._v("正常")]):e._e(),e._v(" "),1==o.row.frozenStatus?a("span",{staticClass:"dm-status--warning"},[e._v("冻结")]):e._e()]:e._e(),e._v(" "),"lastCost"==t.code?[e._v("\n "+e._s(o.row.lastCost)+"\n ")]:e._e()]}}])})],1)}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.isWeixinMember?a("a",{staticClass:"el-button el-button--text",attrs:{rel:"nofollow noopener noreferrer",target:"_blank",href:"/member/#/wechatmemberDetail?memberId="+t.row.memberId+"&channel=wxMember&fromPage=memberGroup"}},[e._v("查看")]):a("a",{staticClass:"el-button el-button--text",attrs:{rel:"nofollow noopener noreferrer",target:"_blank",href:"/member/#/posmemberDetail?memberId="+t.row.memberId+"&channel=posMember&fromPage=memberGroup"}},[e._v("查看")])]}}])})],2)],1),e._v(" "),0!=e.memberGroupDetailData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])]),e._v(" "),a("vue-gic-footer"),e._v(" "),a("userDefined",{attrs:{fieldsData:e.memberFields,selectedData:e.selectedUserDefined,showUserDefined:e.showUserDefined},on:{hideUserDefined:e.hideUserDefined,confirmUserDefined:e.confirmUserDefined}})],1)},staticRenderFns:[]};var u=s("VU/8")(m,g,!1,function(e){s("gr1s")},"data-v-29b81ee1",null);t.default=u.exports},OFPh:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAMAAAAshD+zAAAAS1BMVEX19/rc5fLDzuDF0OHW3+3H0uPZ4/DN1+fP2ejK1eXY4e/U3ezj6PHy9fnX3+vR2efR2+rn6/Pa4ezd4+3U3Onw8/jg5e/q7vXt8fYImdr7AAAHWklEQVR42uzbyZLjIAwAUMS+GYPxkv//0ukkUzWd6Uy3Ew4jKL2q3HJRySCBZUYIIYQQQgghhBBCCCGEEEIIIYQQQoawlX2ZnVNCKDenvWxsFJe6CmVykF6D9lJmo8RaL6x/W7TCBg2PdLDCxs7zt1VhpIZntDS8dhzeVLnV8G/e8jqxPkVuPXzPGx5Zh7bkJPxMqtTfs1m4hXPsXFhfdiHhrCB21pNFeDjPi4X1Y1EaXqFVP9FVoeE1WlTWhyg0vEqLPkrCwSW8TvIums01wDtyYvgtBt5j8G8qRcCbtDgYcjnAu/LKcIsK3qeQ75hGwvvkzDCLDloo1C20kdAiYE7doaCNQFzJFwttLN4Wc+Ie2njOsDoUtFJoC/luoJVBeyj/0zIP2KVwD60k1kW3CWimBdKLvqIAht1RooGbITuw3UA7h/RkcA1u2FpQb8EN2oDtIwcXR34soxt4Qylq4FJw71BGPa5yDa08R9p+sVnCzZAXYNVCK4v2Tr0oaOWQ7ifXHUVDG412ybUfxSGgPYgzVtygVe6G+1Fv9j5UM2RjeTdx3ZQ43GNu1QybuLZVJw1DbnfDvlhtqXW2g1mNg2uAYadsqgCAYeejFgevU0gvhr5Ir0fnOlhwvyUDrzH9xHbN3ah5u1qUh7N8R3Oyd1WEQee3r8ps4QRtnk/eTxPqJnpaTiQvfxlMv5S4zPxuXfaI9GUkO1b1fXhBpeMhsJisUMYGKaX/+AVrnDIp4kximVXW8Jy2ai2fI9uNMFl++bvMjq84Pyc8EnfBw998cHz5nLWYlZHwDzo4kVA+n1tZubI5SO/1B9AyW+UecxGNC/AtndWK9Pao1LRyzsUNT/UxC5E7CT8LKuE9OEzbdvmwsUeXpCSck7F8ODJdjrikdZ2fsJx/SluG07RZ///S+9XemS23CUNheLSvCEms7/+knQaX1paRQG4EZPRdddI2QYGz+vyHaTQQEcGtVQq/A81rnobBERQ8NZ9pJiPI4tOTH+vPhoGDSHJelj11kFiZlLYshud6Do4jzDlB3VnCJUiB2/lhbgrkwM6QuWouFEhDoXucDYM8ePF751qx72LFYnDu99nu0QZ0PVGHLmxuFVi5ds9lf20qH/1Jw8HKpbtlsxEU7ESMQf8vBwkLRXMH+VFFi0bgHp8wj0c8A3LZop/QL30/nsjDylTPwMfQAg+mF/TwaNf0OtNxUQmvJxmaiN6ClQsrJQ8uKlg0tzMCT8jd34OWHBTrjp0N8yXE2ec0HyK+s30LBS02tuKgPDoGG85lorEZDNsVRabBk1LhYGhxjpal42HgY3hnFGlxodFTw7MkVhCHX9Rkp3PsVZkJxpFkDWdP5N1IVKt2RZEB0iJjOQOUGQqrUNjKuvSs5nqTPC8zn2l43hANlK+ZRrPGvtQk5oTKBHKH8kZ8Z/T26+F1v7u/xpYZF+tV3oivZuHjOr+98NAyHSqjt3MkUzLQqw0/OCMaqwI3vA4PRjTLjdmHtiXkVlbmecRct+KF+oap6Ilkam0HSLcKzwbSeIr8rm7E3xDHjc2oULZ/K8RFhzVxuzkQSAOjO2UilnfbUi3cRoc1idtcjkDZf697tMidgx1ZxGGMItIu6VgBNWFutcl0RBIjYaS1gqbFWDcPd/pT+cgsPY8FaU02jdXzQjrQiWTLdDyPBopWgfcxfkalpE2Qg/w7F71IRzb+wthCCt4BqazDhTYXJmG9fZsxO1RqXn9GEnzqLUPs+/yZdX8f1xKhQAuarQAfWaI1ZmyQ9scKdRrIk8spHEOjErEuRJg/izHeYpFLhlI290pfewgJXQ5mCSUGXsr7siE8BMPUhincBqm10In/Y9dqtXydGkYyhlP98Y69dHE7VlDclPmBb7rgxvAlfyY6SLwilfiZenChkzm36J5MTPWBEYaPwzUOZ01yyYF8fnTRFLig0Etd43BSrA3nVNFH/vltGJsqNS7gUP4Y3cjSjdsWrwnZhNL//Pw498ezDSgd6jVZ/9irsgsxtcjezbk623QStizY0KTwapgGfvRcOpFOZCYoFqEIxyDDVxZrpYe1F8NplX+jhyUqlN/G5Nkn/lKL3Ytl47NygTspr5AL7wqUUUPywY8pvC/SEJnpUtJ6a+IDGV7hfeQjZDjr1qUjJRW9nudJt+y0TfLNyAhTNOvWucQIkRIIEaZO3fM5jT0iXGFKD7Rmd3okCs5fCDBMXS8gIoJxbh8yAhlBwWbjwbyqhreZnR47vwhAYBT0OJyD9JabdZsIw9Csk1WfLdY9X/aSWASQjby8iNcwkAm9/NmeTvcDX8BkRJa9XUVFlzGLmkLdZLnIb7EFBg9+4OvqAk1CHCpu9aLB4UuyejfR6m40ZxLsAV9ZbrxJt6d8UuRG1vZSPglLY7bG73q0L3SPhNp6ma5A/tq5ZJJB91Bw9SyhkIqL+78G+YvG+XYtDjlngsDW/4iT/V0N4HTne+O70c3XXIVSqVQqlUqlUqlUKpVKpVKpVCqVSqVSqVQqlcpV+AWjlXUSpI85lAAAAABJRU5ErkJggg=="},YC1h:function(e,t){},gr1s:function(e,t){}});
\ No newline at end of file
webpackJsonp([5],{Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},PRsh:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("Minx"),e=i.n(a),n={name:"page404",data:function(){return{img_404:e.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},r={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 c=i("VU/8")(n,r,!1,function(t){i("W3VK")},"data-v-d9afa4a6",null);s.default=c.exports},W3VK:function(t,s){}});
\ No newline at end of file
webpackJsonp([5],{Minx:function(t,e,s){t.exports=s.p+"static/img/error_404.bf58747.svg"},PRsh:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("Minx"),n=s.n(i),a={name:"page404",data:function(){return{img_404:n.a}},methods:{changeRoute:function(t){this.$router.push(t)}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},c={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;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:t.img_404,alt:"404"}})]),t._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),t._v(" "),s("a",{staticClass:"bullshit__return-home",on:{click:function(e){t.changeRoute("/myTagLib")}}},[t._v("返回首页")])])])])},staticRenderFns:[]};var r=s("VU/8")(a,c,!1,function(t){s("T/qO")},"data-v-f4a98b8a",null);e.default=r.exports},"T/qO":function(t,e){}});
\ No newline at end of file
webpackJsonp([6],{"/HCr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("2X9c"),i=s.n(a),n={name:"page500",data:function(){return{img_500:i.a}},methods:{changeRoute:function(t){this.$router.push(t)}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;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:t.img_500,alt:"500"}})]),t._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),t._v(" "),s("a",{staticClass:"bullshit__return-home",on:{click:function(e){t.changeRoute("/myTagLib")}}},[t._v("返回首页")])])])])},staticRenderFns:[]};var r=s("VU/8")(n,c,!1,function(t){s("ixa6")},"data-v-609edd63",null);e.default=r.exports},"2X9c":function(t,e,s){t.exports=s.p+"static/img/error_500.ed0cba4.svg"},ixa6:function(t,e){}});
\ No newline at end of file
webpackJsonp([6],{"4KSJ":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("MOmO"),s=a.n(i),r={name:"page401",data:function(){return{errGif:s.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/companyGroup"}):this.$router.go(-1)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"errPage-container"},[a("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("你没有权限去该页面!")]),t._v(" "),a("h2"),t._v(" "),a("h6"),t._v(" "),a("ul",{staticClass:"list-unstyled"})]),t._v(" "),a("el-col",{attrs:{span:12}},[a("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),a("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var o=a("VU/8")(r,n,!1,function(t){a("Pbo7")},"data-v-c9225862",null);e.default=o.exports},MOmO:function(t,e,a){t.exports=a.p+"static/img/401.089007e.gif"},Pbo7:function(t,e){}});
\ No newline at end of file
webpackJsonp([7],{"4KSJ":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("MOmO"),s=a.n(i),r={name:"page401",data:function(){return{errGif:s.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/myTagLib"}):this.$router.go(-1)}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"errPage-container"},[a("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("你没有权限去该页面!")]),t._v(" "),a("h2"),t._v(" "),a("h6"),t._v(" "),a("ul",{staticClass:"list-unstyled"})]),t._v(" "),a("el-col",{attrs:{span:12}},[a("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),a("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var l=a("VU/8")(r,n,!1,function(t){a("VhVP")},"data-v-11312fe4",null);e.default=l.exports},MOmO:function(t,e,a){t.exports=a.p+"static/img/401.089007e.gif"},VhVP:function(t,e){}});
\ No newline at end of file
webpackJsonp([8],{"/HCr":function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),n={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},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_500,alt:"500"}})]),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("9y4d")},"data-v-1b03bc50",null);s.default=r.exports},"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},"9y4d":function(t,s){}});
\ No newline at end of file
webpackJsonp([8],{KN59:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("mvHQ"),i=a.n(l),n=a("BO1k"),c=a.n(n),s=a("Xxa5"),o=a.n(s),r=a("exGp"),d=a.n(r),p=a("mw3O"),m=a.n(p),u=a("3Xzz"),g=a("Tja3"),v=a("P9l9"),h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"checkboxOption-wrap"},[a("div",{staticClass:"checkboxOption-wrap__head"},[a("div",{staticClass:"checkboxOption-wrap__head__title"},[e._v(e._s(e.tagData.name))]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__head__describe"},[e._v(e._s(e.tagData.des))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body"},[a("div",{staticClass:"checkboxOption-wrap__body__title"},[e._v("标签值设置")]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:e.tagData.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.tagData.checkAll,callback:function(t){e.$set(e.tagData,"checkAll",t)},expression:"tagData.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:e.handleCheckedChange},model:{value:e.tagData.checkeditems,callback:function(t){e.$set(e.tagData,"checkeditems",t)},expression:"tagData.checkeditems"}},e._l(e.tagData.options,function(t,l){return a("el-checkbox",{key:t.id+l,attrs:{label:t.id}},[e._v(e._s(t.name))])}))],1)])])},staticRenderFns:[]};var f=a("VU/8")({name:"checkboxOptionAsync",data:function(){return{tagData:{name:"性别",des:"根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述",checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[{id:1,name:"男"},{id:2,name:"女"}]}}},methods:{handleCheckAllChange:function(e){var t=this;e?t.tagData.options.forEach(function(e,a){t.tagData.checkeditems.push(e.id)}):t.tagData.checkeditems=[],t.tagData.isIndeterminate=!1},handleCheckedChange:function(e){var t=e.length;this.tagData.checkAll=t===this.tagData.options.length,this.tagData.isIndeterminate=t>0&&t<this.tagData.options.length}},mounted:function(){},components:{}},h,!1,function(e){a("whi2")},"data-v-0ceb3b8f",null).exports,b=a("M2/U"),C=a("3fED"),k=(a("Mk6G"),a("3E4D")),_=a("Ch4/"),y=a("PI0u"),D={name:"myTagDetail",data:function(){return{showTagDetail:!1,tagShortDetailId:"",fromFlag:"myTag",tagId:"",tagFlag:!1,addFlag:!1,templateCode:"",addTempFlag:!1,searchFlag:!1,postCompute:"",currentKey:null,currentComputeType:"",postTemplateData:{selectedVal:[],template:[]},templateData:[],tag001:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[],compute:"in"},tag002:{computeRadio:"in"},tag003:{numRange:["",""]},tag004:{fixedRecentRadio:"1",fixedRecentRangeValue:[],fixedRecentTimeRecent:""},tag005:{timeRecent:"",timeType:"lastday"},tag006:{timeAfter:"",timeType:"afterday"},tag007:{addInputValue:"",addTags:[]},tag008:{searchModel:[],searchOptions:[],addSelectTags:[]},tag009:{allSelectActive:"first",inputSearch:"",allSelectOptions:[],selectedOptions:[]},tag010:{citySelectActive:"first",isIndeterminateCity:!1,checkAllCity:!1,citySelectOptions:[{provinceId:1,check:!1,provinceName:"北京",showCity:!1,children:[{cityId:11,cityName:"北京",check:!1}]},{provinceId:2,check:!1,provinceName:"浙江",showCity:!1,children:[{cityId:21,cityName:"杭州",check:!1},{cityId:22,cityName:"温州",check:!1}]}],checkeditemsCity:[],citySelectedOptions:[]},tag011:{uuid:"",uuidOptions:[0,1,2,3,4,5],isAdd:!0},tag012:{selectOne:"all",selectTwo:"in",selectLabel:"曾经消费门店",selectLabelTip:"注:存在其一即会员至少有一个字段值满足所选条件;所有即会员的所有字段值满足所选条件"},tag013:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[]},tag014:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag015:{radio:"1",monthDayRange:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag016:{dateRangeValue:[]},tag017:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag019:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tagData:{tagId:"",tagName:"",tagDescribe:"",isActive:0,inputSearch:""},baseUrl:""}},computed:{navpath:function(){var e=this.$route.query.navSign,t="platformTag"==e?{name:"平台标签列表",path:"/platformTagList"}:"manualTag"==e?{name:"手工标签列表",path:"/manualTagList"}:{name:"我的标签列表",path:"/myTagList"};return[{name:"首页",path:window.location.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},t,{name:"标签详情",path:""}]}},beforeMount:function(){var e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{resetData:function(){this.templateData.forEach(function(e,t){e.checkeditems&&(e.checkeditems=[]),e.isIndeterminate&&(e.isIndeterminate=!1),e.checkAll&&(e.checkAll=!1),e.numRange&&(e.numRange=["",""]),e.fixedRecentRadio&&(e.fixedRecentRadio="1"),e.fixedRecentRangeValue&&(e.fixedRecentRangeValue=[]),e.fixedRecentRangeValue&&(e.fixedRecentTimeRecent=""),"tag007"==e.templateCode&&(e.addTags=[]),"tag008"==e.templateCode&&(e.addSelectTags=[]),"tag010"==e.templateCode&&(e.citySelectActive="first",e.isIndeterminateCity=!1,e.checkAllCity=!1,e.citySelectOptions=[],e.citySelectedOptions=[]),"tag019"==e.templateCode&&(e.dateRangeValue=[])})},changeRoute:function(e){this.$router.push(e)},addMytag:function(){var e=this,t={tagId:e.tagId};Object(v.a)("/enterpriseMemberTag/addByTagId",t).then(function(t){var a=t.data;if(1==a.errorCode)return k.a.showmsg("添加成功","success"),void(e.addFlag=!0);_.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},addTemporary:Object(y.a)(function(){this.addTemporaryPost()},500),addTemporaryPost:function(){var e=this;return d()(o.a.mark(function t(){var a,l,i,n,s,r,d,p,m,u,g,v,h;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((a=e).postTemplateData.selectedVal=[],l=!0,i=[],n={val:[{type:"data",data:{key:a.currentKey,compute:"",value:"",dealKey:""}}],time:[{type:"",value:""}]},"tag001"!==(s=a.templateData[0].templateCode)||a.templateData[0].checkeditems.length){t.next=9;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 9:if("tag001"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].checkeditems.join(" "),a.templateData[0].options.forEach(function(e,t){-1!=a.templateData[0].checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)})),"tag003"!==s||""!==a.templateData[0].numRange[0]&&""!==a.templateData[0].numRange[1]){t.next=13;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 13:if(!("tag003"===s&&a.templateData[0].numRange[0]>a.templateData[0].numRange[1])){t.next=16;break}return a.$message.error({message:"起始值必须小于等于最大值"}),t.abrupt("return",!1);case 16:if("tag003"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].numRange.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].numRange[0]+" <= "+a.tagData.tagName+" <= "+a.templateData[0].numRange[1])),"tag007"!==s||a.templateData[0].addTags.length){t.next=20;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 20:if("tag007"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].addTags.map(function(e){return e.value}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].addTags.map(function(e){return e.value}).join(","))),"tag009"!==s||a.templateData[0].selectedOptions.length){t.next=24;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 24:if("tag009"===s&&1===a.templateData.length&&(n.val[0].data.value=a.templateData[0].selectedOptions.map(function(e){return e.key}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].selectedOptions.map(function(e){return e.value}).join(","))),"tag010"!==s||a.templateData[0].citySelectedOptions.length){t.next=28;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 28:if("tag010"===s&&1===a.templateData.length&&(n.val[0].data.value=a.templateData[0].citySelectedOptions.map(function(e){return e.cityId}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].citySelectedOptions.map(function(e){return e.selected}).join(","))),"tag013"!==s||a.templateData[0].checkeditems.length){t.next=32;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 32:if(r=[],"tag013"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,a.templateData[0].options.forEach(function(e,t){-1!=a.templateData[0].checkeditems.indexOf(e.key)&&(a.postTemplateData.selectedVal.push(e.value),r.push(e.key))}),a.templateData[0].checkeditems=r,n.val[0].data.value=r.join(" "),r.length||(l=!1)),"tag016"!==s||a.templateData[0].dateRangeValue.length){t.next=37;break}return a.$message.error({message:"请选择时间"}),t.abrupt("return",!1);case 37:if("tag016"===s&&1===a.templateData.length&&(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].dateRangeValue.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].dateRangeValue[0]+" 至 "+a.templateData[0].dateRangeValue[1])),"tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!=a.templateData[0].radio||a.templateData[0].dateRangeValue.length){t.next=41;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 41:if("tag014"!==s&&"tag017"!==s&&"tag019"!==s||2!=a.templateData[0].radio||2!=a.templateData[0].timeChecked||a.templateData[0].timeInput){t.next=44;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 44:if("tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!==a.templateData.length||1!=a.templateData[0].radio||(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].dateRangeValue.join(","),a.templateData[0].timeInput="","tag019"===s&&(n.val[0].data.value=a.templateData[0].dateRangeValue.join(",").replace(/-/g,"").replace(/:/g,"").replace(/\s+/g,"")),a.postTemplateData.selectedVal.push(a.templateData[0].dateRangeValue[0].split(" ")[0]+"至"+a.templateData[0].dateRangeValue[1].split(" ")[0])),"tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!==a.templateData.length||2!=a.templateData[0].radio||(1==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="today":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当天"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 天")):(2==a.currentComputeType?n.val[0].data.compute="afterday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 天")))),2==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentMonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当月"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastmonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 月")):(2==a.currentComputeType?n.val[0].data.compute="aftermonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 月")))),3==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentYear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当年"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastyear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 年")):(2==a.currentComputeType?n.val[0].data.compute="afteryear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 年"))))),"tag015"!==s||1!=a.templateData[0].radio||a.templateData[0].monthDayRange.length){t.next=49;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 49:if("tag015"!==s||2!=a.templateData[0].radio||2!=a.templateData[0].timeChecked||a.templateData[0].timeInput){t.next=52;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 52:if("tag015"===s&&1===a.templateData.length&&1==a.templateData[0].radio&&(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].monthDayRange.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].monthDayRange[0]+" 至 "+a.templateData[0].monthDayRange[1])),"tag015"===s&&1===a.templateData.length&&2==a.templateData[0].radio&&(1==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="today":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当天"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 天")):(2==a.currentComputeType?n.val[0].data.compute="afterday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 天")))),2==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentMonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当月"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastmonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 月")):(2==a.currentComputeType?n.val[0].data.compute="aftermonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 月"))))),2!=a.templateData.length){t.next=81;break}d=o.a.mark(function t(i){var c;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("tag001"===i.templateCode&&(i.checkeditems.length||(l=!1),n.val[0].data.value=i.checkeditems.join(" "),i.options.forEach(function(e,t){-1!=i.checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)})),"tag002"===i.templateCode&&(n.val[0].data.compute=i.computeRadio,"in"==i.computeRadio?a.postTemplateData.selectedVal.unshift("属于"):a.postTemplateData.selectedVal.unshift("不属于")),"tag003"===i.templateCode&&(""!==i.numRange[0]&&""!==i.numRange[1]||(l=!1),i.numRange[0]>i.numRange[1]&&(l=!1),n.val[0].data.compute=i.postCompute,n.val[0].data.value=i.numRange.join(","),a.postTemplateData.selectedVal.push(i.numRange[0]+" <= "+a.tagData.tagName+" <= "+i.numRange[1])),"tag004"===i.templateCode&&(1!=i.fixedRecentRadio||i.fixedRecentRangeValue.length||(l=!1),2!=i.fixedRecentRadio||i.fixedRecentTimeRecent||(l=!1),1==i.fixedRecentRadio&&(n.time[0].type="between",n.time[0].value=i.fixedRecentRangeValue.join(","),a.postTemplateData.selectedVal.push("时间范围为"+i.fixedRecentRangeValue[0]+" 至 "+i.fixedRecentRangeValue[1])),2==i.fixedRecentRadio&&(n.time[0].type="lastday",n.time[0].value=String(i.fixedRecentTimeRecent),a.postTemplateData.selectedVal.push("时间范围为最近 "+i.fixedRecentTimeRecent+" 天"))),"tag005"===i.templateCode&&(""===i.timeRecent&&(l=!1),n.time[0].type=i.timeType,n.time[0].value=String(i.timeRecent),a.postTemplateData.selectedVal.push("时间范围为最近 "+i.timeRecent+" 天")),"tag006"===i.templateCode&&(""===i.timeAfter&&(l=!1),n.time[0].type=i.timeType,n.time[0].value=String(i.timeAfter),a.postTemplateData.selectedVal.push("时间范围为之后 "+i.timeAfter+" 天")),"tag008"===i.templateCode&&(i.addSelectTags.length||(l=!1),n.val[0].data.value=i.addSelectTags.map(function(e){return e.key}).join(" "),a.postTemplateData.selectedVal.push(i.addSelectTags.map(function(e){return e.value}).join(","))),"tag010"===i.templateCode&&(console.log(i.citySelectedOptions),i.citySelectedOptions.length||(l=!1),n.val[0].data.value=i.citySelectedOptions.map(function(e){return e.cityId}).join(" "),a.postTemplateData.selectedVal.push(i.citySelectedOptions.map(function(e){return e.selected}).join(","))),"tag011"!==i.templateCode){e.next=18;break}return e.next=11,a.$refs.storeNew[0].isStoreSave();case 11:return l=e.sent,e.next=14,a.$refs.storeNew[0].getStoreConfig();case 14:c=e.sent,a.postTemplateData.selectedVal.push(c.name+" "+c.list.map(function(e){return e.name}).join(",")),n.val[0].data.value=i.uuid,n.val[0].data.dealKey="storeWidget";case 18:"tag012"===i.templateCode&&("all"==i.selectOne&&"in"==i.selectTwo&&(n.val[0].data.compute="allIn",a.postTemplateData.selectedVal.unshift("所有属于")),"all"==i.selectOne&&"notin"==i.selectTwo&&(n.val[0].data.compute="notIn",a.postTemplateData.selectedVal.unshift("所有不属于")),"in"==i.selectOne&&"in"==i.selectTwo&&(n.val[0].data.compute="in",a.postTemplateData.selectedVal.unshift("存在其一属于")),"in"==i.selectOne&&"notin"==i.selectTwo&&(n.val[0].data.compute="notAllIn",a.postTemplateData.selectedVal.unshift("存在其一不属于"))),"tag013"===i.templateCode&&(i.checkeditems.length||(l=!1),n.val[0].data.value=i.checkeditems.join(" "),i.options.forEach(function(e,t){-1!=i.checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)}),a.postTemplateData.selectedVal.push(a.postTemplateData.selectedVal.join(",")));case 20:case"end":return e.stop()}},t,e)}),p=!0,m=!1,u=void 0,t.prev=59,g=c()(a.templateData);case 61:if(p=(v=g.next()).done){t.next=67;break}return h=v.value,t.delegateYield(d(h),"t0",64);case 64:p=!0,t.next=61;break;case 67:t.next=73;break;case 69:t.prev=69,t.t1=t.catch(59),m=!0,u=t.t1;case 73:t.prev=73,t.prev=74,!p&&g.return&&g.return();case 76:if(t.prev=76,!m){t.next=79;break}throw u;case 79:return t.finish(76);case 80:return t.finish(73);case 81:if(l){t.next=84;break}return a.$message.error({message:"请完善标签值"}),t.abrupt("return",!1);case 84:a.templateData.forEach(function(e,t){"tag011"==e.templateCode&&(e.isAdd=!1)}),a.postTemplateData.template=a.templateData,i=a.postTemplateData,a.addToTemp(n,i);case 88:case"end":return t.stop()}},t,e,[[59,69,73,81],[74,,76,80]])}))()},addToTemp:function(e,t){var a=this,l={tagId:a.tagShortId,tagValue:i()(e),tagParams:i()(t)};Object(v.b)("/member-tag-value/add.json",l).then(function(e){var t=e.data;if(1==t.errorCode)return k.a.showmsg("添加成功","success"),a.addTempFlag=!0,void a.updateTemp();_.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleCheckAllChange:function(e,t){e?(t.checkeditems=[],t.options.forEach(function(e,a){t.checkeditems.push(e.key)})):t.checkeditems=[],t.isIndeterminate=!1},handleCheckedChange:function(e,t){var a=e.length,l=JSON.parse(i()(e));a>=t.options.length&&(t.checkeditems=[],t.checkeditems=t.options.map(function(e){if(l.includes(e.key))return e.key}),a=t.checkeditems.length),t.checkAll=a===t.options.length,t.isIndeterminate=a>0&&a<t.options.length},blurFrom:function(e,t){var a=Number(e.target.value.replace(/[^.\d]/g,""))?Number(e.target.value.replace(/[^.\d]/g,"")):"";a&&!/^[0-9]+$/.test(a)&&(a=Number(a).toFixed(2)),t.numRange[0]=a,this.$forceUpdate()},blurTo:function(e,t){var a=Number(e.target.value.replace(/[^.\d]/g,""))?Number(e.target.value.replace(/[^.\d]/g,"")):"";a&&!/^[0-9]+$/.test(a)&&(a=Number(a).toFixed(2)),t.numRange[1]=a,this.$forceUpdate()},toEditInput:function(e,t,a){var l=void 0;(l=parseInt(String(e.target.value).replace(/[^\d]/g,""))?parseInt(String(e.target.value).replace(/[^\d]/g,"")):1)<=0&&(l=1),l>365&&(l=365),a[t]=l},timeRadioChange:function(e,t){t.timeInput=""},currentDayChange:function(e,t){e&&(t.timeInput="")},toEditDateInput:function(e,t,a){var l=void 0;(l=parseInt(String(e.target.value).replace(/[^\d]/g,""))?parseInt(String(e.target.value).replace(/[^\d]/g,"")):1)<=0&&(l=1),l>365&&1==t&&(l=365),l>12&&2==t&&(l=12),l>3&&3==t&&(l=2),a.timeInput=l},addInputVal:function(e){if(!e.addInputValue.trim())return this.$message.error({duration:1e3,message:"请输入值"}),!1;var t=null;if(e.addTags.length&&(t=e.addTags.map(function(e){return e.value})),t&&-1!==t.indexOf(e.addInputValue))return this.$message.error({duration:1e3,message:"输入值已存在"}),!1;e.addTags.push({value:e.addInputValue}),e.addInputValue=""},delInputVal:function(e,t){t.addTags.splice(e,1)},remoteMethod:Object(y.a)(function(e){this.getClerk(e)},500),remoteMethodFocus:function(e,t,a){this.remoteParent=t,this.pindex=a},changeRemoteMethod:function(e,t){},getClerk:function(e,t){var a=this,l={name:e,requestProject:"member-tag"};a.axios.post(a.baseUrl+"/api-plug/search-clerk",m.a.stringify(l)).then(function(e){var t=e.data;if(0==t.errorCode)return a.remoteParent.searchOptions=t.result,void a.$forceUpdate();_.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},addSearchSelectVal:function(e){if(!e.searchModel.length)return this.$message.error({duration:1e3,message:"请选择值"}),!1;var t=null;e.addSelectTags.length&&(t=e.addSelectTags.map(function(e){return e.value})),e.searchOptions.forEach(function(a,l){if(t&&-1!=t.indexOf(a.value))return!1;-1!=e.searchModel.indexOf(a.key)&&e.addSelectTags.push(a)}),e.searchModel=[],e.searchOptions=[]},delSearchSelectVal:function(e,t){t.addSelectTags.splice(e,1)},allSelectChange:function(e,t,a,l){e?l.selectedOptions.push(a):l.selectedOptions.length&&l.selectedOptions.forEach(function(e,t){e.id==a.id&&l.selectedOptions.splice(t,1)})},delallSelectVal:function(e,t,a){a.selectedOptions.splice(e,1),a.allSelectOptions.forEach(function(e,a){e.id==t.id&&(e.check=!1)})},toSearchInput:Object(y.a)(function(e,t){},500),getSearchSelectOptions:function(e){},cityCheckAllChange:function(e,t){e?(t.checkeditemsCity=[],t.citySelectedOptions=[],t.citySelectOptions.forEach(function(e,a){e.check=!0,t.checkeditemsCity.push(e.provinceId),e.children.forEach(function(a,l){a.check=!0,a.selected=a.cityName+"-"+e.provinceName,a.pId=e.provinceId,t.citySelectedOptions.push(a)})})):(t.checkeditemsCity=[],t.citySelectedOptions=[],t.citySelectOptions.forEach(function(e,t){e.check=!1,e.children.forEach(function(e,t){e.check=!1})})),t.isIndeterminateCity=!1},citySelectChange:function(e,t){var a=e.length;t.checkAllCity=a===t.citySelectOptions.length,t.isIndeterminateCity=a>0&&a<t.citySelectOptions.length,t.citySelectedOptions=[],t.citySelectOptions.forEach(function(a,l){-1!=e.indexOf(a.provinceId)?(a.check=!0,a.children.forEach(function(e,l){e.check=!0,e.selected=e.cityName+"-"+a.provinceName,e.pId=a.provinceId,t.citySelectedOptions.push(e)})):(a.check=!1,a.children.forEach(function(e,t){e.check=!1}))})},toggleCity:function(e,t,a){var l=this;t.showCity=!0!==t.showCity,a.citySelectOptions.forEach(function(t,a){t.provinceId!=e&&(t.showCity=!1)}),document.addEventListener("mousedown",function(e){l.hideCity(e,a)},!1)},toggleClickCity:function(e,t,a){e.check=!e.check,t.children.forEach(function(e,l){!e.check&&t.check&&(t.check=!1,a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.provinceId),1),a.checkAllCity=!1,a.isIndeterminateCity=!!a.checkeditemsCity.length)}),-1==t.children.map(function(e){return e.check}).indexOf(!1)?(t.check=!0,a.checkeditemsCity.push(t.provinceId)):-1!=a.checkeditemsCity.indexOf(t.provinceId)&&a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.provinceId),1);var l=a.checkeditemsCity.length;a.checkAllCity=l===a.citySelectOptions.length,a.isIndeterminateCity=l>0&&l<a.citySelectOptions.length,a.citySelectedOptions=[],a.citySelectOptions.forEach(function(e,t){e.children.forEach(function(t,l){t.check&&(t.selected=t.cityName+"-"+e.provinceName,t.pId=e.provinceId,a.citySelectedOptions.push(t))})}),this.$forceUpdate()},delcitySelectVal:function(e,t,a){a.citySelectedOptions.splice(e,1),a.citySelectOptions.forEach(function(e,a){t.pId==e.provinceId&&(e.check=!1),e.children.forEach(function(e,a){e.cityId==t.cityId&&(e.check=!1)})}),-1!=a.checkeditemsCity.indexOf(t.pId)&&a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.pId),1);var l=a.checkeditemsCity.length;a.checkAllCity=l===a.citySelectOptions.length,a.isIndeterminateCity=l>0&&l<a.citySelectOptions.length},getCityList:function(e,t){t.children=[];var a=!1;t.check&&(a=!0),t.children.push({id:11,name:"杭州",check:a}),this.$forceUpdate()},hideCity:function(e,t){-1==e.target.className.indexOf("city-name")&&t.citySelectOptions.forEach(function(e,t){e.showCity=!1})},getcityData:function(){var e=this;e.axios.post(e.baseUrl+"/api-plug/dict-district-tree",m.a.stringify({requestProject:"member-tag"})).then(function(t){var a=t.data;if(0==a.errorCode)return a.result.forEach(function(e,t){e.check=!1,e.showCity=!1,e.children.forEach(function(e,t){e.check=!1})}),void(e.tag010.citySelectOptions=a.result);_.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkTagTemplate:function(e){var t=this;t.templateData=[],t.postCompute=null;var a=JSON.parse(e);if(a){var l=a.val[0],i=a.time;if(t.currentComputeType=parseInt(l.compute.computeType),0===parseInt(l.compute.computeType)&&l.compute.computeWidgetId&&t.getTemplateCodeById(l.compute.computeWidgetId),1===parseInt(l.compute.computeType)&&(t.postCompute=l.compute.compute),l.valWidgetId&&setTimeout(function(){t.getTemplateCodeById(l.valWidgetId)},50),i.length){if(1===parseInt(l.compute.computeType))return void setTimeout(function(){i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})},60);i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})}}},getTemplateCodeById:function(e){var t=this,a={widgetId:e};Object(v.a)("/memberTag/findWidget",a).then(function(e){var a=e.data;if(1==a.errorCode){for(var l in a.result)t[a.result.templateCode][l]=a.result[l];return"tag010"===a.result.templateCode&&t.getcityData(),t.postCompute&&(t[a.result.templateCode].postCompute=t.postCompute),0===parseInt(a.result.sourceFlag)&&(a.result.widgetValues=JSON.parse(a.result.widgetValues),t[a.result.templateCode].options=a.result.widgetValues),1===parseInt(a.result.sourceFlag)?(a.result.widgetParam=JSON.parse(a.result.widgetParam),t.getAsyncList(a.result.widgetParam[0].value,t[a.result.templateCode]),"tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0),!1):(t.templateData.push(t[a.result.templateCode]),t.getExistData(t.tagData.tagId),void("tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0)))}_.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},isContained:function(e,t){if(!(e instanceof Array&&t instanceof Array))return!1;if(e.length<t.length)return!1;if(!t.length)return!1;for(var a=e.toString(),l=0,i=t.length;l<i;l++)if(-1==a.indexOf(t[l]))return!1;return!0},getAsyncList:function(e,t){var a=this,l={key:1==a.tagData.tagType?a.tagData.tagId:a.currentKey,requestProject:"member-tag"};a.axios.post(a.baseUrl+e,m.a.stringify(l)).then(function(e){var l=e.data;if(1!=a.tagData.tagType&&"tag"!=a.currentKey){if(0==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options)}else if(1==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options);a.$message.error({duration:1e3,message:l.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getExistData:function(e,t){var a=this,l={tagId:e};Object(v.a)("/member-tag-value/findOne.json",l).then(function(e){var l=e.data;if(1==l.errorCode){if(!l.result||"[]"==l.result.tagParams)return a.addTempFlag=!1,!1;a.addTempFlag=!0;var i=JSON.parse(l.result.tagParams).template;return t&&i.forEach(function(e,l){if("tag013"==e.templateCode){e.options=t;var i=t.map(function(e){return e.key}),n=!0;t.forEach(function(t,a){-1!=e.checkeditems.indexOf(t.key)&&(n=!1)});var c=e.checkeditems.length;if(a.isContained(e.checkeditems,i))return e.checkAll=!0,e.isIndeterminate=!1,!1;if(n&&t.length<c)return e.checkAll=!1,e.isIndeterminate=!1,!1;if(!n&&t.length>=c)return e.checkAll=!1,e.isIndeterminate=!0,!1;if(n&&t.length>=c)return e.checkAll=!1,e.isIndeterminate=!1,!1}}),void(a.templateData=i)}_.a.errorMsg(l)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getTagData:function(e){var t=this;t.searchFlag=!1;var a={tagId:e};Object(v.a)("/memberTag/getTagById",a).then(function(e){var a=e.data;if(1!=a.errorCode)_.a.errorMsg(a);else{t.tagData.tagId=a.result.tagId,t.tagData.tagName=a.result.tagName,t.tagData.tagDescribe=a.result.tagDescribe,t.tagData.isActive=a.result.isActive,t.tagData.tagType=a.result.tagType,t.currentKey=a.result.columnKey;var l=a.result.template;l&&t.checkTagTemplate(l.templateContent)}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleShowTag:function(){that.showTagDetail=!0},handleHideTag:function(e){that.showTagDetail=!1},showShortDetail:function(e){this.showTagDetail=!0,this.tagShortDetailId=e},updateTemp:function(){this.$refs.tagTemp.getTagList(),this.$refs.tagTemp.showTagList(),this.updataTagDetail()},updataTagDetail:function(){this.getTagData(this.tagId)}},watch:{$route:{handler:function(e,t){window.location.reload()},deep:!0}},updated:function(){},mounted:function(){this.tagFlag=-1==this.$route.fullPath.indexOf("notMyTag"),this.$route.query.tagId&&(this.tagId=this.$route.query.tagId,this.tagShortId=this.$route.query.tagId,this.getTagData(this.tagId),document.getElementById("app").style.zIndex=1),this.addFlag=!!this.$route.query.addFlag},components:{navCrumb:u.a,checkboxOption:g.a,checkboxOptionAsync:f,tagShortDetail:C.a,tagTemporary:b.a},beforeDestroy:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"},destroyed:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"}},x={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"myTagDetail-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"checkboxOption-wrap"},[a("div",{staticClass:"checkboxOption-wrap__head"},[a("div",{staticClass:"checkboxOption-wrap__head__title"},[e._v("\n "+e._s(e.tagData.tagName)+"\n "),a("span",{staticClass:"realtime-span border-box"},[e._v(e._s(1==e.tagData.isActive?"实时":"非实时"))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__head__describe"},[e._v(e._s(e.tagData.tagDescribe))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body"},[a("div",{staticClass:"checkboxOption-wrap__body__title"},[e._v("标签值设置")]),e._v(" "),e._l(e.templateData,function(t,l){return a("div",{key:l},["tag001"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag003"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurFrom(a,t)}},model:{value:t.numRange[0],callback:function(a){e.$set(t.numRange,0,a)},expression:"parent.numRange[0]"}}),e._v(" "),a("label",[e._v(" - ")]),e._v(" "),a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurTo(a,t)}},model:{value:t.numRange[1],callback:function(a){e.$set(t.numRange,1,a)},expression:"parent.numRange[1]"}})],1)]:e._e(),e._v(" "),"tag014"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag005"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeRecent",t)}},model:{value:t.timeRecent,callback:function(a){e.$set(t,"timeRecent",a)},expression:"parent.timeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag006"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("之后")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeAfter",t)}},model:{value:t.timeAfter,callback:function(a){e.$set(t,"timeAfter",a)},expression:"parent.timeAfter"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag002"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"in"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("属于")]),e._v(" "),a("el-radio",{attrs:{label:"notIn"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("不属于")])],1)]:e._e(),e._v(" "),"tag004"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",[a("el-radio",{attrs:{label:"1"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("最近时段")])],1),e._v(" "),a("div",{staticClass:"m-t-18 w-500 h-80 fixed-date-picker border-box bg-f3f6f9"},[1==t.fixedRecentRadio?a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("时间范围")]):e._e(),1==t.fixedRecentRadio?a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.fixedRecentRangeValue,callback:function(a){e.$set(t,"fixedRecentRangeValue",a)},expression:"parent.fixedRecentRangeValue"}}):e._e(),e._v(" "),2==t.fixedRecentRadio?a("div",[a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-8",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"fixedRecentTimeRecent",t)}},model:{value:t.fixedRecentTimeRecent,callback:function(a){e.$set(t,"fixedRecentTimeRecent",a)},expression:"parent.fixedRecentTimeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1):e._e()],1)])]:e._e(),e._v(" "),"tag007"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",[a("el-input",{staticClass:"w-184 m-r-8",attrs:{placeholder:"请输入"},model:{value:t.addInputValue,callback:function(a){e.$set(t,"addInputValue",a)},expression:"parent.addInputValue"}}),a("el-button",{staticClass:"middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addInputVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delInputVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag008"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"add-search-select"},[a("el-select",{staticClass:"el-select--small",attrs:{size:"small",multiple:"",filterable:"",remote:"",placeholder:"请输入关键词","reserve-keyword":!1,"remote-method":e.remoteMethod},on:{focus:function(a){e.remoteMethodFocus(a,t,l)},change:function(a){e.changeRemoteMethod(a,t)}},model:{value:t.searchModel,callback:function(a){e.$set(t,"searchModel",a)},expression:"parent.searchModel"}},e._l(t.searchOptions,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})})),a("el-button",{staticClass:"m-l-8 middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addSearchSelectVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addSelectTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delSearchSelectVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag012"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-select",{staticClass:"w-98",attrs:{placeholder:"请选择"},model:{value:t.selectOne,callback:function(a){e.$set(t,"selectOne",a)},expression:"parent.selectOne"}},[a("el-option",{attrs:{label:"所有",value:"all"}}),e._v(" "),a("el-option",{attrs:{label:"存在其一",value:"in"}})],1),a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v(e._s(e.tagData.tagName))]),a("el-select",{staticClass:"w-98 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.selectTwo,callback:function(a){e.$set(t,"selectTwo",a)},expression:"parent.selectTwo"}},[a("el-option",{attrs:{label:"属于",value:"in"}}),e._v(" "),a("el-option",{attrs:{label:"不属于",value:"notin"}})],1)],1)]:e._e(),e._v(" "),"tag011"==t.templateCode?a("div",[a("div",{staticClass:"m-b-20"},[a("vue-gic-store-new",{ref:"storeNew",refInFor:!0,attrs:{options:t.uuidOptions,uuid:t.uuid,isAdd:t.isAdd},on:{"update:uuid":function(a){e.$set(t,"uuid",a)}}})],1)]):e._e(),e._v(" "),"tag009"==t.templateCode?[a("div",{staticClass:"multiple-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.allSelectActive,callback:function(a){e.$set(t,"allSelectActive",a)},expression:"parent.allSelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options"},[e._l(t.allSelectOptions,function(l,i){return[a("el-checkbox",{key:l.check+i,on:{change:function(a){e.allSelectChange(a,i,l,t)}},model:{value:l.check,callback:function(t){e.$set(l,"check",t)},expression:"item.check"}},[e._v(e._s(l.name))])]})],2)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.selectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions"},[e._l(t.selectedOptions,function(l,i){return[a("span",{key:l.name+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.name)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delallSelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag010"==t.templateCode?[a("div",{staticClass:"multiple-select-wrap city-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.citySelectActive,callback:function(a){e.$set(t,"citySelectActive",a)},expression:"parent.citySelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options all-select-options__city"},[a("div",{staticClass:"city-checkbox city-checkbox-all border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminateCity},on:{change:function(a){e.cityCheckAllChange(a,t)}},model:{value:t.checkAllCity,callback:function(a){e.$set(t,"checkAllCity",a)},expression:"parent.checkAllCity"}},[e._v("全选")])],1),e._v(" "),a("el-checkbox-group",{on:{change:function(a){e.citySelectChange(a,t)}},model:{value:t.checkeditemsCity,callback:function(a){e.$set(t,"checkeditemsCity",a)},expression:"parent.checkeditemsCity"}},[e._l(t.citySelectOptions,function(l,i){return[a("div",{key:l.provinceId+i,staticClass:"city-checkbox border-box border-t-e4e7ed"},[a("el-checkbox",{key:l.provinceId,attrs:{label:l.provinceId}},[e._v("{{}}")]),a("label",{staticClass:"inline-block middle font-14 pointer city-name",on:{click:function(a){a.stopPropagation(),e.toggleCity(l.provinceId,l,t)}}},[e._v(e._s(l.provinceName))]),e._v(" "),l.showCity?a("div",{staticClass:"el-select-dropdown el-popper is-multiple",staticStyle:{"min-width":"240px",position:"absolute",top:"30px",left:"20px","transform-origin":"center top 0px","z-index":"2215"},attrs:{"x-placement":"bottom-start"}},[a("div",{staticClass:"el-scrollbar"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-right":"-17px"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(l.children,function(i,n){return[a("li",{key:i.check+n,class:["el-select-dropdown__item","city-name",i.check?"selected":""],on:{click:function(a){a.stopPropagation(),e.toggleClickCity(i,l,t)}}},[a("span",{staticClass:"city-name"},[e._v(e._s(i.cityName))])])]})],2)]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])]),e._v(" "),a("div",{staticClass:"popper__arrow",staticStyle:{left:"35px"},attrs:{"x-arrow":""}})]):e._e()],1)]})],2)],1)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.citySelectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions city-slected-opyions"},[e._l(t.citySelectedOptions,function(l,i){return[a("span",{key:l.selected+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.selected)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delcitySelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag013"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag015"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("vue-gic-datepicker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",format:"MMdd","value-format":"MMdd"},model:{value:t.monthDayRange,callback:function(a){e.$set(t,"monthDayRange",a)},expression:"parent.monthDayRange"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":"月"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag016"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1)]:e._e(),e._v(" "),"tag019"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag017"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e()],2)})],2)]),e._v(" "),a("div",{staticClass:"myTagDetail-wrap__btn"},[e.tagFlag?a("el-button",{attrs:{type:"primary"},on:{click:e.addTemporary}},[e._v("\n "+e._s(e.addTempFlag?"更新标签选项":"添加到暂存架")+"\n ")]):e._e(),e._v(" "),e.tagFlag?e._e():a("el-button",{attrs:{type:"primary",disabled:!!e.addFlag},on:{click:e.addMytag}},[e._v("\n "+e._s(e.addFlag?"已添加至我的标签库":"添加至我的标签库")+"\n ")])],1)])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var R=a("VU/8")(D,x,!1,function(e){a("LGn+")},"data-v-29189385",null);t.default=R.exports},"LGn+":function(e,t){},whi2:function(e,t){}});
\ No newline at end of file
webpackJsonp([7],{CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDAwIDMzNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZBRkNGRjt9DQoJLnN0MXtmaWxsOiNEQkU1RjE7fQ0KCS5zdDJ7ZmlsbDojREVFN0Y0O30NCgkuc3Qze2ZpbGw6I0I5QzdEQjt9DQoJLnN0NHtmaWxsOiNGRkZGRkY7fQ0KCS5zdDV7ZmlsbDpub25lO3N0cm9rZTojQjlDN0RCO3N0cm9rZS13aWR0aDo0O3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Q2e2ZpbGw6bm9uZTtzdHJva2U6I0I2QzdEODtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0NSIgZD0iTTI3NC41LDI0MS4zYy01LjMtNS4zLTQuNCw0LjQtNi43LDYuN2MtMy4xLDMuMS02LjMsNi05LjcsOC42SDEyNS4yYy0zLjQtMi43LTYuNi01LjYtOS43LTguNw0KCWMtMjguNC0yOC41LTM4LjYtNzAuNS0yNi42LTEwOWwtMTAuNS0xMC42Yy01LjMtNS4zLTUuMy0xMy44LDAtMTkuMmM1LjItNS4zLDEzLjctNS4zLDE5LTAuMWMwLDAsMCwwLDAuMSwwLjFsNi42LDYuOA0KCWMzLjEsMy4yLDguMiwzLjIsMTEuNCwwbDAsMGMzLjItMy4yLDMuMi04LjMsMC0xMS41TDEwMy4xLDkyYy0zLjItMy4yLTMuMi04LjMsMC0xMS41YzMuMS0zLjIsOC4yLTMuMiwxMS40LDBsMCwwbDE3LjIsMTcuMg0KCWMtMC45LDMuNywwLjksNy42LDQuNCw5LjNjMy41LDEuNyw3LjcsMC42LDkuOS0yLjVjMi4zLTMuMSwyLjEtNy40LTAuNS0xMC4zYy0zLjMtMy44LTYuNS03LjItNi41LTcuMmwtNy4zLTcuNA0KCWMzNC44LTIxLjMsODIuNi0yMS43LDExNy4yLDBjMzQuNSwyMS43LDUzLjksNjEuMiw1MCwxMDEuOWwxNS40LDE1LjZjMy4yLDMuMiwzLjIsOC4zLDAsMTEuNWMtMy4xLDMuMi04LjIsMy4yLTExLjQsMGwwLDANCglsLTE1LjEtMTUuM2MtMy4xLTMuMi04LjItMy4yLTExLjQsMGwwLDBjLTMuMiwzLjItMy4yLDguMywwLDExLjVsMTcuMSwxNy4yYzUuMiw1LjMsNS4yLDEzLjgsMCwxOS4xDQoJQzI4OC40LDI0Ni42LDI3OS45LDI0Ni42LDI3NC41LDI0MS4zQzI3NC42LDI0MS4zLDI3NC42LDI0MS4zLDI3NC41LDI0MS4zTDI3NC41LDI0MS4zeiIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTg2LjYsNzEuNGMwLDQuNywzLjgsOC41LDguNSw4LjVjMS41LDAsMy0wLjQsNC4zLTEuMWM0LjEtMi4zLDUuNS03LjUsMy4xLTExLjZjLTEuNS0yLjYtNC4zLTQuMy03LjQtNC4zDQoJQzkwLjQsNjIuOSw4Ni42LDY2LjcsODYuNiw3MS40Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjE2LjQsMTQ1LjRoMjQuM2wtNy40LDE3LjljMi42LDEuOCw0LjUsMy44LDUuOCw2YzEuMiwyLjIsMS45LDQuOCwxLjksNy44YzAsNC42LTEuNiw4LjQtNC44LDExLjINCgljLTMuMiwyLjktNy4zLDQuMy0xMi4zLDQuM2MtMi41LDAtNS4xLTAuNC03LjUtMS4xdi0xMy4xYzIsMC45LDMuOSwxLjQsNS41LDEuNHMyLjktMC41LDMuNy0xLjRjMC45LTEsMS4zLTIuMywxLjMtNC4xDQoJYzAtMS45LTAuOC0zLjQtMi40LTQuNmMtMS42LTEuMi0zLjctMS43LTYuNC0xLjdsMy40LTkuMWgtNS4xVjE0NS40TDIxNi40LDE0NS40eiBNMjA3LjUsMTgxLjZjMCwxLjUtMC4zLDMtMC44LDQuMw0KCXMtMS4zLDIuNS0yLjMsMy41cy0yLjIsMS44LTMuNCwyLjNjLTEuMywwLjYtMi44LDAuOS00LjMsMC45aC05LjZjLTEuNSwwLTIuOS0wLjMtNC4zLTAuOWMtMS4zLTAuNi0yLjUtMS4zLTMuNC0yLjMNCgljLTAuNC0wLjQtMC44LTAuOS0xLjItMS40bDExLjctMTcuM3Y2YzAsMC42LDAuMiwxLjEsMC42LDEuNGMwLjQsMC40LDAuOCwwLjYsMS40LDAuNmMxLjEsMCwyLTAuOCwyLTEuOXYtMC4xdi0xMS45bDEwLjktMTYuMQ0KCWMxLjgsMiwyLjgsNC42LDIuNyw3LjNMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZ6IE0xNzcuMSwxODUuOWMtMC42LTEuNC0wLjktMi44LTAuOC00LjNWMTU2YzAtMS41LDAuMy0zLDAuOC00LjMNCglzMS4zLTIuNSwyLjMtMy41czIuMi0xLjgsMy40LTIuM2MxLjMtMC42LDIuOC0wLjksNC4zLTAuOWg5LjZjMS41LDAsMi45LDAuMyw0LjMsMC45YzEuMywwLjUsMi40LDEuMywzLjQsMi4zbC0xMC41LDE1LjR2LTIuNw0KCWMwLTAuNS0wLjItMS4xLTAuNi0xLjRjLTAuNC0wLjQtMC45LTAuNi0xLjQtMC42Yy0xLjEsMC0yLDAuOC0yLDEuOXYwLjF2OC42bC0xMi4xLDE3LjlDMTc3LjUsMTg2LjksMTc3LjMsMTg2LjQsMTc3LjEsMTg1LjkNCglMMTc3LjEsMTg1Ljl6IE0yNDMuOCwxOTIuN2MzLjUtNy40LDUuMy0xNS41LDUuMy0yMy43YzAtMzAuNS0yNC40LTU1LjItNTQuNi01NS4ycy01NC42LDI0LjctNTQuNiw1NS4yYzAsMC40LDAsMC44LDAsMS4xDQoJbDE5LjYtMjQuNmgxMS40TDE1NCwxNzEuM2g1LjV2LTYuNWwxMS43LTE4LjV2NDYuOGgtMTEuN3YtOS44aC0xNy44YzUuMSwxOS4yLDIwLjEsMzQuMywzOS4yLDM5LjJjLTEuMiwzLjEtNC44LDEwLjctMTAuNywxMg0KCWMtNy4zLDEuNywxOS45LDAuNCwzOS40LTEyLjVjMTQuOS00LjQsMjcuMi0xNSwzMy45LTI4LjlMMjQzLjgsMTkyLjdMMjQzLjgsMTkyLjd6Ii8+DQo8cGF0aCBjbGFzcz0ic3Q0IiBkPSJNMjM4LjksMTU0LjNsLTI0LjQsMzUuNGwwLjUsMC4zbDI0LjQtMzUuNEwyMzguOSwxNTQuM3oiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yNjYuMiw2Ni42aDhjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjIsMC4zLTAuNiwwLjQtMC45LDAuNGgtOA0KCWMtMC40LDAtMC43LTAuMS0wLjktMC40Yy0wLjUtMC41LTAuNS0xLjQsMC0xLjlDMjY1LjUsNjYuNywyNjUuOCw2Ni42LDI2Ni4yLDY2LjYgTTExNi41LDIwMS45Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJczgtMy42LDgtOC4xUzEyMC45LDIwMS45LDExNi41LDIwMS45TDExNi41LDIwMS45eiBNMTIxLjQsMjEyLjFjLTAuOCwyLTIuOCwzLjMtNC45LDMuM2MtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4xLDMuMy01DQoJYzItMC44LDQuMy0wLjQsNS44LDEuMkMxMjEuOCwyMDcuNywxMjIuMiwyMTAsMTIxLjQsMjEyLjFMMTIxLjQsMjEyLjF6IE0xOTEuMyw3OC43Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJYzIuMSwwLDQuMi0wLjksNS43LTIuNHMyLjMtMy42LDIuMy01LjdDMTk5LjMsODIuNCwxOTUuNyw3OC43LDE5MS4zLDc4Ljd6IE0xOTYuMyw4OC45Yy0wLjgsMi0yLjgsMy4zLTQuOSwzLjMNCgljLTMsMC01LjMtMi40LTUuMy01LjRjMC0yLjIsMS4zLTQuMiwzLjMtNXM0LjMtMC40LDUuOCwxLjJDMTk2LjYsODQuNiwxOTcuMSw4Ni45LDE5Ni4zLDg4LjlMMTk2LjMsODguOXogTTI3MC4yLDE2Mi42DQoJYy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xczgtMy42LDgtOC4xQzI3OC4yLDE2Ni4zLDI3NC42LDE2Mi42LDI3MC4yLDE2Mi42eiBNMjc1LjEsMTcyLjhjLTAuOCwyLTIuOCwzLjMtNC45LDMuMw0KCWMtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4yLDMuMy01czQuMy0wLjQsNS44LDEuMlMyNzUuOSwxNzAuOCwyNzUuMSwxNzIuOHogTTIzMC4xLDMxLjRjLTQuNCwwLTgsMy42LTgsOC4xczMuNiw4LjEsOCw4LjENCgljMi4xLDAsNC4yLTAuOSw1LjctMi40czIuMy0zLjYsMi4zLTUuN0MyMzguMSwzNSwyMzQuNSwzMS40LDIzMC4xLDMxLjR6IE0yMzUsNDEuNmMtMC44LDItMi44LDMuMy00LjksMy4zYy0zLDAtNS4zLTIuNC01LjMtNS40DQoJYzAtMi4yLDEuMy00LjIsMy4zLTVzNC4zLTAuNCw1LjgsMS4yQzIzNS40LDM3LjIsMjM1LjgsMzkuNSwyMzUsNDEuNnoiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0xNjMuMiw0NS45aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuNSwwLjUsMC41LDEuMywwLDEuOWwwLDBjLTAuMywwLjMtMC42LDAuNC0xLDAuNGgtOC4yDQoJYy0wLjQsMC0wLjctMC4xLTEtMC40Yy0wLjUtMC41LTAuNS0xLjMsMC0xLjlsMCwwQzE2Mi40LDQ2LjEsMTYyLjgsNDUuOSwxNjMuMiw0NS45IE0yNzEuNyw2My41djhjMCwwLjQtMC4xLDAuNy0wLjQsMC45DQoJYy0wLjMsMC4zLTAuNiwwLjQtMSwwLjRjLTAuNywwLTEuNC0wLjYtMS40LTEuM2wwLDB2LThjMC0wLjQsMC4xLTAuNywwLjQtMC45YzAuNS0wLjUsMS40LTAuNSwxLjksMA0KCUMyNzEuNiw2Mi44LDI3MS43LDYzLjIsMjcxLjcsNjMuNSIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTEwNy40LDE1NC44aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuMywwLjIsMC40LDAuNiwwLjQsMC45YzAsMC43LTAuNiwxLjMtMS40LDEuM2gtOC4yDQoJYy0wLjUsMC0wLjktMC4zLTEuMi0wLjdjLTAuMi0wLjQtMC4yLTAuOSwwLTEuM0MxMDYuNCwxNTUuMSwxMDYuOSwxNTQuOCwxMDcuNCwxNTQuOCBNMTY5LDQyLjd2OGMwLDAuNC0wLjEsMC43LTAuNCwwLjkNCgljLTAuNSwwLjUtMS40LDAuNS0yLDBjLTAuMi0wLjItMC40LTAuNi0wLjQtMC45di04YzAtMC40LDAuMS0wLjcsMC40LTAuOWMwLjUtMC41LDEuNC0wLjUsMS45LDBDMTY4LjgsNDIsMTY5LDQyLjMsMTY5LDQyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yMzAuOSwxMTAuM2g4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS40YzAsMC43LTAuNiwxLjMtMS4zLDEuNGgtOC4xYy0wLjgsMC0xLjQtMC42LTEuNC0xLjQNCgljMC0wLjQsMC4xLTAuNywwLjQtMUMyMzAuMiwxMTAuNCwyMzAuNiwxMTAuMywyMzAuOSwxMTAuMyIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTExNC42LDE2My44djguMmMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjUsMC41LTEuNCwwLjUtMS45LDBjLTAuMy0wLjMtMC40LTAuNi0wLjQtMXYtOC4yYzAtMC40LDAuMS0wLjcsMC40LTENCgljMC41LTAuNSwxLjQtMC41LDEuOSwwbDAsMEMxMTQuNCwxNjMuMSwxMTQuNiwxNjMuNCwxMTQuNiwxNjMuOCIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTEyNiwyNzIuN2g2MC40YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40SDEyNmMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzEyNC43LDI3My4zLDEyNS4zLDI3Mi43LDEyNiwyNzIuNyIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTIxOC42LDI3Mi43aDM0LjljMC43LDAsMS4zLDAuNiwxLjMsMS4zYzAsMC43LTAuNiwxLjMtMS4zLDEuM2gtMzQuOWMtMC43LDAtMS4zLTAuNi0xLjQtMS4zDQoJYzAtMC40LDAuMS0wLjcsMC40LTFDMjE3LjksMjcyLjksMjE4LjIsMjcyLjcsMjE4LjYsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xNTguMiwyODIuMmgxMzEuNWMwLjcsMCwxLjMsMC42LDEuNCwxLjNjMCwwLjQtMC4xLDAuNy0wLjQsMWMtMC4zLDAuMy0wLjYsMC40LTEsMC40SDE1OC4yDQoJYy0wLjcsMC0xLjMtMC42LTEuMy0xLjNsMCwwQzE1Ni45LDI4Mi44LDE1Ny41LDI4Mi4yLDE1OC4yLDI4Mi4yIi8+DQo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOTMuOCwyODIuMmgzNC45YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40bDAsMEg5My44Yy0wLjcsMC0xLjMtMC42LTEuNC0xLjMNCgljMC0wLjQsMC4xLTAuNywwLjQtMUM5My4xLDI4Mi4zLDkzLjUsMjgyLjIsOTMuOCwyODIuMiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTE5Ny4xLDI3Mi43aDguMWMwLjcsMCwxLjMsMC42LDEuMywxLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},"aM+6":function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var N=j("CkW6"),u=j.n(N),w={name:"page403",data:function(){return{img_403:u.a}},computed:{message:function(){return"抱歉,你无权访问该页面"}}},D={render:function(){var M=this.$createElement,L=this._self._c||M;return L("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[L("div",{staticClass:"wscn-http404"},[L("div",{staticClass:"pic-404"},[L("img",{staticClass:"pic-404__parent",attrs:{src:this.img_403,alt:"403"}})]),this._v(" "),L("div",{staticClass:"bullshit"},[L("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),L("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var C=j("VU/8")(w,D,!1,function(M){j("e8iJ")},"data-v-a6c075c2",null);L.default=C.exports},e8iJ:function(M,L){}}); webpackJsonp([9],{CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDAwIDMzNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZBRkNGRjt9DQoJLnN0MXtmaWxsOiNEQkU1RjE7fQ0KCS5zdDJ7ZmlsbDojREVFN0Y0O30NCgkuc3Qze2ZpbGw6I0I5QzdEQjt9DQoJLnN0NHtmaWxsOiNGRkZGRkY7fQ0KCS5zdDV7ZmlsbDpub25lO3N0cm9rZTojQjlDN0RCO3N0cm9rZS13aWR0aDo0O3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Q2e2ZpbGw6bm9uZTtzdHJva2U6I0I2QzdEODtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0NSIgZD0iTTI3NC41LDI0MS4zYy01LjMtNS4zLTQuNCw0LjQtNi43LDYuN2MtMy4xLDMuMS02LjMsNi05LjcsOC42SDEyNS4yYy0zLjQtMi43LTYuNi01LjYtOS43LTguNw0KCWMtMjguNC0yOC41LTM4LjYtNzAuNS0yNi42LTEwOWwtMTAuNS0xMC42Yy01LjMtNS4zLTUuMy0xMy44LDAtMTkuMmM1LjItNS4zLDEzLjctNS4zLDE5LTAuMWMwLDAsMCwwLDAuMSwwLjFsNi42LDYuOA0KCWMzLjEsMy4yLDguMiwzLjIsMTEuNCwwbDAsMGMzLjItMy4yLDMuMi04LjMsMC0xMS41TDEwMy4xLDkyYy0zLjItMy4yLTMuMi04LjMsMC0xMS41YzMuMS0zLjIsOC4yLTMuMiwxMS40LDBsMCwwbDE3LjIsMTcuMg0KCWMtMC45LDMuNywwLjksNy42LDQuNCw5LjNjMy41LDEuNyw3LjcsMC42LDkuOS0yLjVjMi4zLTMuMSwyLjEtNy40LTAuNS0xMC4zYy0zLjMtMy44LTYuNS03LjItNi41LTcuMmwtNy4zLTcuNA0KCWMzNC44LTIxLjMsODIuNi0yMS43LDExNy4yLDBjMzQuNSwyMS43LDUzLjksNjEuMiw1MCwxMDEuOWwxNS40LDE1LjZjMy4yLDMuMiwzLjIsOC4zLDAsMTEuNWMtMy4xLDMuMi04LjIsMy4yLTExLjQsMGwwLDANCglsLTE1LjEtMTUuM2MtMy4xLTMuMi04LjItMy4yLTExLjQsMGwwLDBjLTMuMiwzLjItMy4yLDguMywwLDExLjVsMTcuMSwxNy4yYzUuMiw1LjMsNS4yLDEzLjgsMCwxOS4xDQoJQzI4OC40LDI0Ni42LDI3OS45LDI0Ni42LDI3NC41LDI0MS4zQzI3NC42LDI0MS4zLDI3NC42LDI0MS4zLDI3NC41LDI0MS4zTDI3NC41LDI0MS4zeiIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTg2LjYsNzEuNGMwLDQuNywzLjgsOC41LDguNSw4LjVjMS41LDAsMy0wLjQsNC4zLTEuMWM0LjEtMi4zLDUuNS03LjUsMy4xLTExLjZjLTEuNS0yLjYtNC4zLTQuMy03LjQtNC4zDQoJQzkwLjQsNjIuOSw4Ni42LDY2LjcsODYuNiw3MS40Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjE2LjQsMTQ1LjRoMjQuM2wtNy40LDE3LjljMi42LDEuOCw0LjUsMy44LDUuOCw2YzEuMiwyLjIsMS45LDQuOCwxLjksNy44YzAsNC42LTEuNiw4LjQtNC44LDExLjINCgljLTMuMiwyLjktNy4zLDQuMy0xMi4zLDQuM2MtMi41LDAtNS4xLTAuNC03LjUtMS4xdi0xMy4xYzIsMC45LDMuOSwxLjQsNS41LDEuNHMyLjktMC41LDMuNy0xLjRjMC45LTEsMS4zLTIuMywxLjMtNC4xDQoJYzAtMS45LTAuOC0zLjQtMi40LTQuNmMtMS42LTEuMi0zLjctMS43LTYuNC0xLjdsMy40LTkuMWgtNS4xVjE0NS40TDIxNi40LDE0NS40eiBNMjA3LjUsMTgxLjZjMCwxLjUtMC4zLDMtMC44LDQuMw0KCXMtMS4zLDIuNS0yLjMsMy41cy0yLjIsMS44LTMuNCwyLjNjLTEuMywwLjYtMi44LDAuOS00LjMsMC45aC05LjZjLTEuNSwwLTIuOS0wLjMtNC4zLTAuOWMtMS4zLTAuNi0yLjUtMS4zLTMuNC0yLjMNCgljLTAuNC0wLjQtMC44LTAuOS0xLjItMS40bDExLjctMTcuM3Y2YzAsMC42LDAuMiwxLjEsMC42LDEuNGMwLjQsMC40LDAuOCwwLjYsMS40LDAuNmMxLjEsMCwyLTAuOCwyLTEuOXYtMC4xdi0xMS45bDEwLjktMTYuMQ0KCWMxLjgsMiwyLjgsNC42LDIuNyw3LjNMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZ6IE0xNzcuMSwxODUuOWMtMC42LTEuNC0wLjktMi44LTAuOC00LjNWMTU2YzAtMS41LDAuMy0zLDAuOC00LjMNCglzMS4zLTIuNSwyLjMtMy41czIuMi0xLjgsMy40LTIuM2MxLjMtMC42LDIuOC0wLjksNC4zLTAuOWg5LjZjMS41LDAsMi45LDAuMyw0LjMsMC45YzEuMywwLjUsMi40LDEuMywzLjQsMi4zbC0xMC41LDE1LjR2LTIuNw0KCWMwLTAuNS0wLjItMS4xLTAuNi0xLjRjLTAuNC0wLjQtMC45LTAuNi0xLjQtMC42Yy0xLjEsMC0yLDAuOC0yLDEuOXYwLjF2OC42bC0xMi4xLDE3LjlDMTc3LjUsMTg2LjksMTc3LjMsMTg2LjQsMTc3LjEsMTg1LjkNCglMMTc3LjEsMTg1Ljl6IE0yNDMuOCwxOTIuN2MzLjUtNy40LDUuMy0xNS41LDUuMy0yMy43YzAtMzAuNS0yNC40LTU1LjItNTQuNi01NS4ycy01NC42LDI0LjctNTQuNiw1NS4yYzAsMC40LDAsMC44LDAsMS4xDQoJbDE5LjYtMjQuNmgxMS40TDE1NCwxNzEuM2g1LjV2LTYuNWwxMS43LTE4LjV2NDYuOGgtMTEuN3YtOS44aC0xNy44YzUuMSwxOS4yLDIwLjEsMzQuMywzOS4yLDM5LjJjLTEuMiwzLjEtNC44LDEwLjctMTAuNywxMg0KCWMtNy4zLDEuNywxOS45LDAuNCwzOS40LTEyLjVjMTQuOS00LjQsMjcuMi0xNSwzMy45LTI4LjlMMjQzLjgsMTkyLjdMMjQzLjgsMTkyLjd6Ii8+DQo8cGF0aCBjbGFzcz0ic3Q0IiBkPSJNMjM4LjksMTU0LjNsLTI0LjQsMzUuNGwwLjUsMC4zbDI0LjQtMzUuNEwyMzguOSwxNTQuM3oiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yNjYuMiw2Ni42aDhjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjIsMC4zLTAuNiwwLjQtMC45LDAuNGgtOA0KCWMtMC40LDAtMC43LTAuMS0wLjktMC40Yy0wLjUtMC41LTAuNS0xLjQsMC0xLjlDMjY1LjUsNjYuNywyNjUuOCw2Ni42LDI2Ni4yLDY2LjYgTTExNi41LDIwMS45Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJczgtMy42LDgtOC4xUzEyMC45LDIwMS45LDExNi41LDIwMS45TDExNi41LDIwMS45eiBNMTIxLjQsMjEyLjFjLTAuOCwyLTIuOCwzLjMtNC45LDMuM2MtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4xLDMuMy01DQoJYzItMC44LDQuMy0wLjQsNS44LDEuMkMxMjEuOCwyMDcuNywxMjIuMiwyMTAsMTIxLjQsMjEyLjFMMTIxLjQsMjEyLjF6IE0xOTEuMyw3OC43Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJYzIuMSwwLDQuMi0wLjksNS43LTIuNHMyLjMtMy42LDIuMy01LjdDMTk5LjMsODIuNCwxOTUuNyw3OC43LDE5MS4zLDc4Ljd6IE0xOTYuMyw4OC45Yy0wLjgsMi0yLjgsMy4zLTQuOSwzLjMNCgljLTMsMC01LjMtMi40LTUuMy01LjRjMC0yLjIsMS4zLTQuMiwzLjMtNXM0LjMtMC40LDUuOCwxLjJDMTk2LjYsODQuNiwxOTcuMSw4Ni45LDE5Ni4zLDg4LjlMMTk2LjMsODguOXogTTI3MC4yLDE2Mi42DQoJYy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xczgtMy42LDgtOC4xQzI3OC4yLDE2Ni4zLDI3NC42LDE2Mi42LDI3MC4yLDE2Mi42eiBNMjc1LjEsMTcyLjhjLTAuOCwyLTIuOCwzLjMtNC45LDMuMw0KCWMtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4yLDMuMy01czQuMy0wLjQsNS44LDEuMlMyNzUuOSwxNzAuOCwyNzUuMSwxNzIuOHogTTIzMC4xLDMxLjRjLTQuNCwwLTgsMy42LTgsOC4xczMuNiw4LjEsOCw4LjENCgljMi4xLDAsNC4yLTAuOSw1LjctMi40czIuMy0zLjYsMi4zLTUuN0MyMzguMSwzNSwyMzQuNSwzMS40LDIzMC4xLDMxLjR6IE0yMzUsNDEuNmMtMC44LDItMi44LDMuMy00LjksMy4zYy0zLDAtNS4zLTIuNC01LjMtNS40DQoJYzAtMi4yLDEuMy00LjIsMy4zLTVzNC4zLTAuNCw1LjgsMS4yQzIzNS40LDM3LjIsMjM1LjgsMzkuNSwyMzUsNDEuNnoiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0xNjMuMiw0NS45aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuNSwwLjUsMC41LDEuMywwLDEuOWwwLDBjLTAuMywwLjMtMC42LDAuNC0xLDAuNGgtOC4yDQoJYy0wLjQsMC0wLjctMC4xLTEtMC40Yy0wLjUtMC41LTAuNS0xLjMsMC0xLjlsMCwwQzE2Mi40LDQ2LjEsMTYyLjgsNDUuOSwxNjMuMiw0NS45IE0yNzEuNyw2My41djhjMCwwLjQtMC4xLDAuNy0wLjQsMC45DQoJYy0wLjMsMC4zLTAuNiwwLjQtMSwwLjRjLTAuNywwLTEuNC0wLjYtMS40LTEuM2wwLDB2LThjMC0wLjQsMC4xLTAuNywwLjQtMC45YzAuNS0wLjUsMS40LTAuNSwxLjksMA0KCUMyNzEuNiw2Mi44LDI3MS43LDYzLjIsMjcxLjcsNjMuNSIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTEwNy40LDE1NC44aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuMywwLjIsMC40LDAuNiwwLjQsMC45YzAsMC43LTAuNiwxLjMtMS40LDEuM2gtOC4yDQoJYy0wLjUsMC0wLjktMC4zLTEuMi0wLjdjLTAuMi0wLjQtMC4yLTAuOSwwLTEuM0MxMDYuNCwxNTUuMSwxMDYuOSwxNTQuOCwxMDcuNCwxNTQuOCBNMTY5LDQyLjd2OGMwLDAuNC0wLjEsMC43LTAuNCwwLjkNCgljLTAuNSwwLjUtMS40LDAuNS0yLDBjLTAuMi0wLjItMC40LTAuNi0wLjQtMC45di04YzAtMC40LDAuMS0wLjcsMC40LTAuOWMwLjUtMC41LDEuNC0wLjUsMS45LDBDMTY4LjgsNDIsMTY5LDQyLjMsMTY5LDQyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yMzAuOSwxMTAuM2g4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS40YzAsMC43LTAuNiwxLjMtMS4zLDEuNGgtOC4xYy0wLjgsMC0xLjQtMC42LTEuNC0xLjQNCgljMC0wLjQsMC4xLTAuNywwLjQtMUMyMzAuMiwxMTAuNCwyMzAuNiwxMTAuMywyMzAuOSwxMTAuMyIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTExNC42LDE2My44djguMmMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjUsMC41LTEuNCwwLjUtMS45LDBjLTAuMy0wLjMtMC40LTAuNi0wLjQtMXYtOC4yYzAtMC40LDAuMS0wLjcsMC40LTENCgljMC41LTAuNSwxLjQtMC41LDEuOSwwbDAsMEMxMTQuNCwxNjMuMSwxMTQuNiwxNjMuNCwxMTQuNiwxNjMuOCIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTEyNiwyNzIuN2g2MC40YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40SDEyNmMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzEyNC43LDI3My4zLDEyNS4zLDI3Mi43LDEyNiwyNzIuNyIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTIxOC42LDI3Mi43aDM0LjljMC43LDAsMS4zLDAuNiwxLjMsMS4zYzAsMC43LTAuNiwxLjMtMS4zLDEuM2gtMzQuOWMtMC43LDAtMS4zLTAuNi0xLjQtMS4zDQoJYzAtMC40LDAuMS0wLjcsMC40LTFDMjE3LjksMjcyLjksMjE4LjIsMjcyLjcsMjE4LjYsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xNTguMiwyODIuMmgxMzEuNWMwLjcsMCwxLjMsMC42LDEuNCwxLjNjMCwwLjQtMC4xLDAuNy0wLjQsMWMtMC4zLDAuMy0wLjYsMC40LTEsMC40SDE1OC4yDQoJYy0wLjcsMC0xLjMtMC42LTEuMy0xLjNsMCwwQzE1Ni45LDI4Mi44LDE1Ny41LDI4Mi4yLDE1OC4yLDI4Mi4yIi8+DQo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOTMuOCwyODIuMmgzNC45YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40bDAsMEg5My44Yy0wLjcsMC0xLjMtMC42LTEuNC0xLjMNCgljMC0wLjQsMC4xLTAuNywwLjQtMUM5My4xLDI4Mi4zLDkzLjUsMjgyLjIsOTMuOCwyODIuMiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTE5Ny4xLDI3Mi43aDguMWMwLjcsMCwxLjMsMC42LDEuMywxLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},PTPp:function(M,L){},"aM+6":function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var u=j("CkW6"),N=j.n(u),w={name:"page403",data:function(){return{img_403:N.a}},methods:{changeRoute:function(M){this.$router.push(M)}},computed:{message:function(){return"抱歉,你无权访问该页面"}}},D={render:function(){var M=this,L=M.$createElement,j=M._self._c||L;return j("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[j("div",{staticClass:"wscn-http404"},[j("div",{staticClass:"pic-404"},[j("img",{staticClass:"pic-404__parent",attrs:{src:M.img_403,alt:"403"}})]),M._v(" "),j("div",{staticClass:"bullshit"},[j("div",{staticClass:"bullshit__headline"},[M._v(M._s(M.message))]),M._v(" "),j("a",{staticClass:"bullshit__return-home",on:{click:function(L){M.changeRoute("/myTagLib")}}},[M._v("返回首页")])])])])},staticRenderFns:[]};var C=j("VU/8")(w,D,!1,function(M){j("PTPp")},"data-v-0101b5a4",null);L.default=C.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([9],{KN59:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("mvHQ"),i=a.n(l),n=a("BO1k"),c=a.n(n),s=a("Xxa5"),o=a.n(s),r=a("exGp"),d=a.n(r),p=a("mw3O"),m=a.n(p),u=a("3Xzz"),g=a("Tja3"),v=a("P9l9"),h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"checkboxOption-wrap"},[a("div",{staticClass:"checkboxOption-wrap__head"},[a("div",{staticClass:"checkboxOption-wrap__head__title"},[e._v(e._s(e.tagData.name))]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__head__describe"},[e._v(e._s(e.tagData.des))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body"},[a("div",{staticClass:"checkboxOption-wrap__body__title"},[e._v("标签值设置")]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:e.tagData.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.tagData.checkAll,callback:function(t){e.$set(e.tagData,"checkAll",t)},expression:"tagData.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:e.handleCheckedChange},model:{value:e.tagData.checkeditems,callback:function(t){e.$set(e.tagData,"checkeditems",t)},expression:"tagData.checkeditems"}},e._l(e.tagData.options,function(t,l){return a("el-checkbox",{key:t.id+l,attrs:{label:t.id}},[e._v(e._s(t.name))])}))],1)])])},staticRenderFns:[]};var f=a("VU/8")({name:"checkboxOptionAsync",data:function(){return{tagData:{name:"性别",des:"根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述根据描述",checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[{id:1,name:"男"},{id:2,name:"女"}]}}},methods:{handleCheckAllChange:function(e){var t=this;e?t.tagData.options.forEach(function(e,a){t.tagData.checkeditems.push(e.id)}):t.tagData.checkeditems=[],t.tagData.isIndeterminate=!1},handleCheckedChange:function(e){var t=e.length;this.tagData.checkAll=t===this.tagData.options.length,this.tagData.isIndeterminate=t>0&&t<this.tagData.options.length}},mounted:function(){},components:{}},h,!1,function(e){a("whi2")},"data-v-0ceb3b8f",null).exports,b=a("M2/U"),C=a("3fED"),k=(a("Mk6G"),a("3E4D")),_=a("Ch4/"),y=a("PI0u"),D={name:"myTagDetail",data:function(){return{showTagDetail:!1,tagShortDetailId:"",fromFlag:"myTag",tagId:"",tagFlag:!1,addFlag:!1,templateCode:"",addTempFlag:!1,searchFlag:!1,postCompute:"",currentKey:null,currentComputeType:"",postTemplateData:{selectedVal:[],template:[]},templateData:[],tag001:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[],compute:"in"},tag002:{computeRadio:"in"},tag003:{numRange:["",""]},tag004:{fixedRecentRadio:"1",fixedRecentRangeValue:[],fixedRecentTimeRecent:""},tag005:{timeRecent:"",timeType:"lastday"},tag006:{timeAfter:"",timeType:"afterday"},tag007:{addInputValue:"",addTags:[]},tag008:{searchModel:[],searchOptions:[],addSelectTags:[]},tag009:{allSelectActive:"first",inputSearch:"",allSelectOptions:[],selectedOptions:[]},tag010:{citySelectActive:"first",isIndeterminateCity:!1,checkAllCity:!1,citySelectOptions:[{provinceId:1,check:!1,provinceName:"北京",showCity:!1,children:[{cityId:11,cityName:"北京",check:!1}]},{provinceId:2,check:!1,provinceName:"浙江",showCity:!1,children:[{cityId:21,cityName:"杭州",check:!1},{cityId:22,cityName:"温州",check:!1}]}],checkeditemsCity:[],citySelectedOptions:[]},tag011:{uuid:"",uuidOptions:[0,1,2,3,4,5],isAdd:!0},tag012:{selectOne:"all",selectTwo:"in",selectLabel:"曾经消费门店",selectLabelTip:"注:存在其一即会员至少有一个字段值满足所选条件;所有即会员的所有字段值满足所选条件"},tag013:{checkeditems:[],isIndeterminate:!1,checkAll:!1,options:[]},tag014:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag015:{radio:"1",monthDayRange:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag016:{dateRangeValue:[]},tag017:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tag019:{radio:"1",dateRangeValue:[],timeRadio:"1",timeChecked:"1",timeSelect:"1",timeInput:""},tagData:{tagId:"",tagName:"",tagDescribe:"",isActive:0,inputSearch:""},baseUrl:""}},computed:{navpath:function(){var e=this.$route.query.navSign,t="platformTag"==e?{name:"平台标签列表",path:"/platformTagList"}:"manualTag"==e?{name:"手工标签列表",path:"/manualTagList"}:{name:"我的标签列表",path:"/myTagList"};return[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},t,{name:"标签详情",path:""}]}},beforeMount:function(){var e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{resetData:function(){this.templateData.forEach(function(e,t){e.checkeditems&&(e.checkeditems=[]),e.isIndeterminate&&(e.isIndeterminate=!1),e.checkAll&&(e.checkAll=!1),e.numRange&&(e.numRange=["",""]),e.fixedRecentRadio&&(e.fixedRecentRadio="1"),e.fixedRecentRangeValue&&(e.fixedRecentRangeValue=[]),e.fixedRecentRangeValue&&(e.fixedRecentTimeRecent=""),"tag007"==e.templateCode&&(e.addTags=[]),"tag008"==e.templateCode&&(e.addSelectTags=[]),"tag010"==e.templateCode&&(e.citySelectActive="first",e.isIndeterminateCity=!1,e.checkAllCity=!1,e.citySelectOptions=[],e.citySelectedOptions=[]),"tag019"==e.templateCode&&(e.dateRangeValue=[])})},changeRoute:function(e){this.$router.push(e)},addMytag:function(){var e=this,t={tagId:e.tagId};Object(v.a)("/enterpriseMemberTag/addByTagId",t).then(function(t){var a=t.data;if(1==a.errorCode)return k.a.showmsg("添加成功","success"),void(e.addFlag=!0);_.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},addTemporary:Object(y.a)(function(){this.addTemporaryPost()},500),addTemporaryPost:function(){var e=this;return d()(o.a.mark(function t(){var a,l,i,n,s,r,d,p,m,u,g,v,h;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((a=e).postTemplateData.selectedVal=[],l=!0,i=[],n={val:[{type:"data",data:{key:a.currentKey,compute:"",value:"",dealKey:""}}],time:[{type:"",value:""}]},"tag001"!==(s=a.templateData[0].templateCode)||a.templateData[0].checkeditems.length){t.next=9;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 9:if("tag001"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].checkeditems.join(" "),a.templateData[0].options.forEach(function(e,t){-1!=a.templateData[0].checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)})),"tag003"!==s||""!==a.templateData[0].numRange[0]&&""!==a.templateData[0].numRange[1]){t.next=13;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 13:if(!("tag003"===s&&a.templateData[0].numRange[0]>a.templateData[0].numRange[1])){t.next=16;break}return a.$message.error({message:"起始值必须小于等于最大值"}),t.abrupt("return",!1);case 16:if("tag003"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].numRange.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].numRange[0]+" <= "+a.tagData.tagName+" <= "+a.templateData[0].numRange[1])),"tag007"!==s||a.templateData[0].addTags.length){t.next=20;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 20:if("tag007"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].addTags.map(function(e){return e.value}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].addTags.map(function(e){return e.value}).join(","))),"tag009"!==s||a.templateData[0].selectedOptions.length){t.next=24;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 24:if("tag009"===s&&1===a.templateData.length&&(n.val[0].data.value=a.templateData[0].selectedOptions.map(function(e){return e.key}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].selectedOptions.map(function(e){return e.value}).join(","))),"tag010"!==s||a.templateData[0].citySelectedOptions.length){t.next=28;break}return a.$message.error({message:"请添加值"}),t.abrupt("return",!1);case 28:if("tag010"===s&&1===a.templateData.length&&(n.val[0].data.value=a.templateData[0].citySelectedOptions.map(function(e){return e.cityId}).join(" "),a.postTemplateData.selectedVal.push(a.templateData[0].citySelectedOptions.map(function(e){return e.selected}).join(","))),"tag013"!==s||a.templateData[0].checkeditems.length){t.next=32;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 32:if(r=[],"tag013"===s&&1===a.templateData.length&&(n.val[0].data.compute=a.templateData[0].postCompute,a.templateData[0].options.forEach(function(e,t){-1!=a.templateData[0].checkeditems.indexOf(e.key)&&(a.postTemplateData.selectedVal.push(e.value),r.push(e.key))}),a.templateData[0].checkeditems=r,n.val[0].data.value=r.join(" "),r.length||(l=!1)),"tag016"!==s||a.templateData[0].dateRangeValue.length){t.next=37;break}return a.$message.error({message:"请选择时间"}),t.abrupt("return",!1);case 37:if("tag016"===s&&1===a.templateData.length&&(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].dateRangeValue.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].dateRangeValue[0]+" 至 "+a.templateData[0].dateRangeValue[1])),"tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!=a.templateData[0].radio||a.templateData[0].dateRangeValue.length){t.next=41;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 41:if("tag014"!==s&&"tag017"!==s&&"tag019"!==s||2!=a.templateData[0].radio||2!=a.templateData[0].timeChecked||a.templateData[0].timeInput){t.next=44;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 44:if("tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!==a.templateData.length||1!=a.templateData[0].radio||(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].dateRangeValue.join(","),a.templateData[0].timeInput="","tag019"===s&&(n.val[0].data.value=a.templateData[0].dateRangeValue.join(",").replace(/-/g,"").replace(/:/g,"").replace(/\s+/g,"")),a.postTemplateData.selectedVal.push(a.templateData[0].dateRangeValue[0].split(" ")[0]+"至"+a.templateData[0].dateRangeValue[1].split(" ")[0])),"tag014"!==s&&"tag017"!==s&&"tag019"!==s||1!==a.templateData.length||2!=a.templateData[0].radio||(1==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="today":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当天"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 天")):(2==a.currentComputeType?n.val[0].data.compute="afterday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 天")))),2==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentMonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当月"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastmonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 月")):(2==a.currentComputeType?n.val[0].data.compute="aftermonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 月")))),3==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentYear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当年"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastyear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 年")):(2==a.currentComputeType?n.val[0].data.compute="afteryear":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 年"))))),"tag015"!==s||1!=a.templateData[0].radio||a.templateData[0].monthDayRange.length){t.next=49;break}return a.$message.error({message:"请选择值"}),t.abrupt("return",!1);case 49:if("tag015"!==s||2!=a.templateData[0].radio||2!=a.templateData[0].timeChecked||a.templateData[0].timeInput){t.next=52;break}return a.$message.error({message:"请填写值"}),t.abrupt("return",!1);case 52:if("tag015"===s&&1===a.templateData.length&&1==a.templateData[0].radio&&(2==a.currentComputeType?n.val[0].data.compute="between":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=a.templateData[0].monthDayRange.join(","),a.postTemplateData.selectedVal.push(a.templateData[0].monthDayRange[0]+" 至 "+a.templateData[0].monthDayRange[1])),"tag015"===s&&1===a.templateData.length&&2==a.templateData[0].radio&&(1==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="today":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当天"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 天")):(2==a.currentComputeType?n.val[0].data.compute="afterday":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 天")))),2==a.templateData[0].timeRadio&&(1==a.templateData[0].timeChecked&&(2==a.currentComputeType?n.val[0].data.compute="currentMonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value="1",a.postTemplateData.selectedVal.push("当月"),a.templateData[0].timeInput=""),2==a.templateData[0].timeChecked&&(1==a.templateData[0].timeSelect?(2==a.currentComputeType?n.val[0].data.compute="lastmonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("最近 "+a.templateData[0].timeInput+" 月")):(2==a.currentComputeType?n.val[0].data.compute="aftermonth":n.val[0].data.compute=a.templateData[0].postCompute,n.val[0].data.value=String(a.templateData[0].timeInput),a.postTemplateData.selectedVal.push("之后 "+a.templateData[0].timeInput+" 月"))))),2!=a.templateData.length){t.next=81;break}d=o.a.mark(function t(i){var c;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("tag001"===i.templateCode&&(i.checkeditems.length||(l=!1),n.val[0].data.value=i.checkeditems.join(" "),i.options.forEach(function(e,t){-1!=i.checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)})),"tag002"===i.templateCode&&(n.val[0].data.compute=i.computeRadio,"in"==i.computeRadio?a.postTemplateData.selectedVal.unshift("属于"):a.postTemplateData.selectedVal.unshift("不属于")),"tag003"===i.templateCode&&(""!==i.numRange[0]&&""!==i.numRange[1]||(l=!1),i.numRange[0]>i.numRange[1]&&(l=!1),n.val[0].data.compute=i.postCompute,n.val[0].data.value=i.numRange.join(","),a.postTemplateData.selectedVal.push(i.numRange[0]+" <= "+a.tagData.tagName+" <= "+i.numRange[1])),"tag004"===i.templateCode&&(1!=i.fixedRecentRadio||i.fixedRecentRangeValue.length||(l=!1),2!=i.fixedRecentRadio||i.fixedRecentTimeRecent||(l=!1),1==i.fixedRecentRadio&&(n.time[0].type="between",n.time[0].value=i.fixedRecentRangeValue.join(","),a.postTemplateData.selectedVal.push("时间范围为"+i.fixedRecentRangeValue[0]+" 至 "+i.fixedRecentRangeValue[1])),2==i.fixedRecentRadio&&(n.time[0].type="lastday",n.time[0].value=String(i.fixedRecentTimeRecent),a.postTemplateData.selectedVal.push("时间范围为最近 "+i.fixedRecentTimeRecent+" 天"))),"tag005"===i.templateCode&&(""===i.timeRecent&&(l=!1),n.time[0].type=i.timeType,n.time[0].value=String(i.timeRecent),a.postTemplateData.selectedVal.push("时间范围为最近 "+i.timeRecent+" 天")),"tag006"===i.templateCode&&(""===i.timeAfter&&(l=!1),n.time[0].type=i.timeType,n.time[0].value=String(i.timeAfter),a.postTemplateData.selectedVal.push("时间范围为之后 "+i.timeAfter+" 天")),"tag008"===i.templateCode&&(i.addSelectTags.length||(l=!1),n.val[0].data.value=i.addSelectTags.map(function(e){return e.key}).join(" "),a.postTemplateData.selectedVal.push(i.addSelectTags.map(function(e){return e.value}).join(","))),"tag010"===i.templateCode&&(console.log(i.citySelectedOptions),i.citySelectedOptions.length||(l=!1),n.val[0].data.value=i.citySelectedOptions.map(function(e){return e.cityId}).join(" "),a.postTemplateData.selectedVal.push(i.citySelectedOptions.map(function(e){return e.selected}).join(","))),"tag011"!==i.templateCode){e.next=18;break}return e.next=11,a.$refs.storeNew[0].isStoreSave();case 11:return l=e.sent,e.next=14,a.$refs.storeNew[0].getStoreConfig();case 14:c=e.sent,a.postTemplateData.selectedVal.push(c.name+" "+c.list.map(function(e){return e.name}).join(",")),n.val[0].data.value=i.uuid,n.val[0].data.dealKey="storeWidget";case 18:"tag012"===i.templateCode&&("all"==i.selectOne&&"in"==i.selectTwo&&(n.val[0].data.compute="allIn",a.postTemplateData.selectedVal.unshift("所有属于")),"all"==i.selectOne&&"notin"==i.selectTwo&&(n.val[0].data.compute="notIn",a.postTemplateData.selectedVal.unshift("所有不属于")),"in"==i.selectOne&&"in"==i.selectTwo&&(n.val[0].data.compute="in",a.postTemplateData.selectedVal.unshift("存在其一属于")),"in"==i.selectOne&&"notin"==i.selectTwo&&(n.val[0].data.compute="notAllIn",a.postTemplateData.selectedVal.unshift("存在其一不属于"))),"tag013"===i.templateCode&&(i.checkeditems.length||(l=!1),n.val[0].data.value=i.checkeditems.join(" "),i.options.forEach(function(e,t){-1!=i.checkeditems.indexOf(e.key)&&a.postTemplateData.selectedVal.push(e.value)}),a.postTemplateData.selectedVal.push(a.postTemplateData.selectedVal.join(",")));case 20:case"end":return e.stop()}},t,e)}),p=!0,m=!1,u=void 0,t.prev=59,g=c()(a.templateData);case 61:if(p=(v=g.next()).done){t.next=67;break}return h=v.value,t.delegateYield(d(h),"t0",64);case 64:p=!0,t.next=61;break;case 67:t.next=73;break;case 69:t.prev=69,t.t1=t.catch(59),m=!0,u=t.t1;case 73:t.prev=73,t.prev=74,!p&&g.return&&g.return();case 76:if(t.prev=76,!m){t.next=79;break}throw u;case 79:return t.finish(76);case 80:return t.finish(73);case 81:if(l){t.next=84;break}return a.$message.error({message:"请完善标签值"}),t.abrupt("return",!1);case 84:a.templateData.forEach(function(e,t){"tag011"==e.templateCode&&(e.isAdd=!1)}),a.postTemplateData.template=a.templateData,i=a.postTemplateData,a.addToTemp(n,i);case 88:case"end":return t.stop()}},t,e,[[59,69,73,81],[74,,76,80]])}))()},addToTemp:function(e,t){var a=this,l={tagId:a.tagShortId,tagValue:i()(e),tagParams:i()(t)};Object(v.b)("/member-tag-value/add.json",l).then(function(e){var t=e.data;if(1==t.errorCode)return k.a.showmsg("添加成功","success"),a.addTempFlag=!0,void a.updateTemp();_.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleCheckAllChange:function(e,t){e?(t.checkeditems=[],t.options.forEach(function(e,a){t.checkeditems.push(e.key)})):t.checkeditems=[],t.isIndeterminate=!1},handleCheckedChange:function(e,t){var a=e.length,l=JSON.parse(i()(e));a>=t.options.length&&(t.checkeditems=[],t.checkeditems=t.options.map(function(e){if(l.includes(e.key))return e.key}),a=t.checkeditems.length),t.checkAll=a===t.options.length,t.isIndeterminate=a>0&&a<t.options.length},blurFrom:function(e,t){var a=Number(e.target.value.replace(/[^.\d]/g,""))?Number(e.target.value.replace(/[^.\d]/g,"")):"";a&&!/^[0-9]+$/.test(a)&&(a=Number(a).toFixed(2)),t.numRange[0]=a,this.$forceUpdate()},blurTo:function(e,t){var a=Number(e.target.value.replace(/[^.\d]/g,""))?Number(e.target.value.replace(/[^.\d]/g,"")):"";a&&!/^[0-9]+$/.test(a)&&(a=Number(a).toFixed(2)),t.numRange[1]=a,this.$forceUpdate()},toEditInput:function(e,t,a){var l=void 0;(l=parseInt(String(e.target.value).replace(/[^\d]/g,""))?parseInt(String(e.target.value).replace(/[^\d]/g,"")):1)<=0&&(l=1),l>365&&(l=365),a[t]=l},timeRadioChange:function(e,t){t.timeInput=""},currentDayChange:function(e,t){e&&(t.timeInput="")},toEditDateInput:function(e,t,a){var l=void 0;(l=parseInt(String(e.target.value).replace(/[^\d]/g,""))?parseInt(String(e.target.value).replace(/[^\d]/g,"")):1)<=0&&(l=1),l>365&&1==t&&(l=365),l>12&&2==t&&(l=12),l>3&&3==t&&(l=2),a.timeInput=l},addInputVal:function(e){if(!e.addInputValue.trim())return this.$message.error({duration:1e3,message:"请输入值"}),!1;var t=null;if(e.addTags.length&&(t=e.addTags.map(function(e){return e.value})),t&&-1!==t.indexOf(e.addInputValue))return this.$message.error({duration:1e3,message:"输入值已存在"}),!1;e.addTags.push({value:e.addInputValue}),e.addInputValue=""},delInputVal:function(e,t){t.addTags.splice(e,1)},remoteMethod:Object(y.a)(function(e){this.getClerk(e)},500),remoteMethodFocus:function(e,t,a){this.remoteParent=t,this.pindex=a},changeRemoteMethod:function(e,t){},getClerk:function(e,t){var a=this,l={name:e,requestProject:"member-tag"};a.axios.post(a.baseUrl+"/api-plug/search-clerk",m.a.stringify(l)).then(function(e){var t=e.data;if(0==t.errorCode)return a.remoteParent.searchOptions=t.result,void a.$forceUpdate();_.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},addSearchSelectVal:function(e){if(!e.searchModel.length)return this.$message.error({duration:1e3,message:"请选择值"}),!1;var t=null;e.addSelectTags.length&&(t=e.addSelectTags.map(function(e){return e.value})),e.searchOptions.forEach(function(a,l){if(t&&-1!=t.indexOf(a.value))return!1;-1!=e.searchModel.indexOf(a.key)&&e.addSelectTags.push(a)}),e.searchModel=[],e.searchOptions=[]},delSearchSelectVal:function(e,t){t.addSelectTags.splice(e,1)},allSelectChange:function(e,t,a,l){e?l.selectedOptions.push(a):l.selectedOptions.length&&l.selectedOptions.forEach(function(e,t){e.id==a.id&&l.selectedOptions.splice(t,1)})},delallSelectVal:function(e,t,a){a.selectedOptions.splice(e,1),a.allSelectOptions.forEach(function(e,a){e.id==t.id&&(e.check=!1)})},toSearchInput:Object(y.a)(function(e,t){},500),getSearchSelectOptions:function(e){},cityCheckAllChange:function(e,t){e?(t.checkeditemsCity=[],t.citySelectedOptions=[],t.citySelectOptions.forEach(function(e,a){e.check=!0,t.checkeditemsCity.push(e.provinceId),e.children.forEach(function(a,l){a.check=!0,a.selected=a.cityName+"-"+e.provinceName,a.pId=e.provinceId,t.citySelectedOptions.push(a)})})):(t.checkeditemsCity=[],t.citySelectedOptions=[],t.citySelectOptions.forEach(function(e,t){e.check=!1,e.children.forEach(function(e,t){e.check=!1})})),t.isIndeterminateCity=!1},citySelectChange:function(e,t){var a=e.length;t.checkAllCity=a===t.citySelectOptions.length,t.isIndeterminateCity=a>0&&a<t.citySelectOptions.length,t.citySelectedOptions=[],t.citySelectOptions.forEach(function(a,l){-1!=e.indexOf(a.provinceId)?(a.check=!0,a.children.forEach(function(e,l){e.check=!0,e.selected=e.cityName+"-"+a.provinceName,e.pId=a.provinceId,t.citySelectedOptions.push(e)})):(a.check=!1,a.children.forEach(function(e,t){e.check=!1}))})},toggleCity:function(e,t,a){var l=this;t.showCity=!0!==t.showCity,a.citySelectOptions.forEach(function(t,a){t.provinceId!=e&&(t.showCity=!1)}),document.addEventListener("mousedown",function(e){l.hideCity(e,a)},!1)},toggleClickCity:function(e,t,a){e.check=!e.check,t.children.forEach(function(e,l){!e.check&&t.check&&(t.check=!1,a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.provinceId),1),a.checkAllCity=!1,a.isIndeterminateCity=!!a.checkeditemsCity.length)}),-1==t.children.map(function(e){return e.check}).indexOf(!1)?(t.check=!0,a.checkeditemsCity.push(t.provinceId)):-1!=a.checkeditemsCity.indexOf(t.provinceId)&&a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.provinceId),1);var l=a.checkeditemsCity.length;a.checkAllCity=l===a.citySelectOptions.length,a.isIndeterminateCity=l>0&&l<a.citySelectOptions.length,a.citySelectedOptions=[],a.citySelectOptions.forEach(function(e,t){e.children.forEach(function(t,l){t.check&&(t.selected=t.cityName+"-"+e.provinceName,t.pId=e.provinceId,a.citySelectedOptions.push(t))})}),this.$forceUpdate()},delcitySelectVal:function(e,t,a){a.citySelectedOptions.splice(e,1),a.citySelectOptions.forEach(function(e,a){t.pId==e.provinceId&&(e.check=!1),e.children.forEach(function(e,a){e.cityId==t.cityId&&(e.check=!1)})}),-1!=a.checkeditemsCity.indexOf(t.pId)&&a.checkeditemsCity.splice(a.checkeditemsCity.indexOf(t.pId),1);var l=a.checkeditemsCity.length;a.checkAllCity=l===a.citySelectOptions.length,a.isIndeterminateCity=l>0&&l<a.citySelectOptions.length},getCityList:function(e,t){t.children=[];var a=!1;t.check&&(a=!0),t.children.push({id:11,name:"杭州",check:a}),this.$forceUpdate()},hideCity:function(e,t){-1==e.target.className.indexOf("city-name")&&t.citySelectOptions.forEach(function(e,t){e.showCity=!1})},getcityData:function(){var e=this;e.axios.post(e.baseUrl+"/api-plug/dict-district-tree",m.a.stringify({requestProject:"member-tag"})).then(function(t){var a=t.data;if(0==a.errorCode)return a.result.forEach(function(e,t){e.check=!1,e.showCity=!1,e.children.forEach(function(e,t){e.check=!1})}),void(e.tag010.citySelectOptions=a.result);_.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkTagTemplate:function(e){var t=this;t.templateData=[],t.postCompute=null;var a=JSON.parse(e);if(a){var l=a.val[0],i=a.time;if(t.currentComputeType=parseInt(l.compute.computeType),0===parseInt(l.compute.computeType)&&l.compute.computeWidgetId&&t.getTemplateCodeById(l.compute.computeWidgetId),1===parseInt(l.compute.computeType)&&(t.postCompute=l.compute.compute),l.valWidgetId&&setTimeout(function(){t.getTemplateCodeById(l.valWidgetId)},50),i.length){if(1===parseInt(l.compute.computeType))return void setTimeout(function(){i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})},60);i.forEach(function(e,a){e.timeWidgetId&&t.getTemplateCodeById(e.timeWidgetId)})}}},getTemplateCodeById:function(e){var t=this,a={widgetId:e};Object(v.a)("/memberTag/findWidget",a).then(function(e){var a=e.data;if(1==a.errorCode){for(var l in a.result)t[a.result.templateCode][l]=a.result[l];return"tag010"===a.result.templateCode&&t.getcityData(),t.postCompute&&(t[a.result.templateCode].postCompute=t.postCompute),0===parseInt(a.result.sourceFlag)&&(a.result.widgetValues=JSON.parse(a.result.widgetValues),t[a.result.templateCode].options=a.result.widgetValues),1===parseInt(a.result.sourceFlag)?(a.result.widgetParam=JSON.parse(a.result.widgetParam),t.getAsyncList(a.result.widgetParam[0].value,t[a.result.templateCode]),"tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0),!1):(t.templateData.push(t[a.result.templateCode]),t.getExistData(t.tagData.tagId),void("tag009"!==a.result.templateCode&&"tag010"!==a.result.templateCode||(t.searchFlag=!0)))}_.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},isContained:function(e,t){if(!(e instanceof Array&&t instanceof Array))return!1;if(e.length<t.length)return!1;if(!t.length)return!1;for(var a=e.toString(),l=0,i=t.length;l<i;l++)if(-1==a.indexOf(t[l]))return!1;return!0},getAsyncList:function(e,t){var a=this,l={key:1==a.tagData.tagType?a.tagData.tagId:a.currentKey,requestProject:"member-tag"};a.axios.post(a.baseUrl+e,m.a.stringify(l)).then(function(e){var l=e.data;if(1!=a.tagData.tagType&&"tag"!=a.currentKey){if(0==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options)}else if(1==l.errorCode)return t.options=l.result,a.templateData.push(t),void a.getExistData(a.tagData.tagId,t.options);a.$message.error({duration:1e3,message:l.message})}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getExistData:function(e,t){var a=this,l={tagId:e};Object(v.a)("/member-tag-value/findOne.json",l).then(function(e){var l=e.data;if(1==l.errorCode){if(!l.result||"[]"==l.result.tagParams)return a.addTempFlag=!1,!1;a.addTempFlag=!0;var i=JSON.parse(l.result.tagParams).template;return t&&i.forEach(function(e,l){if("tag013"==e.templateCode){e.options=t;var i=t.map(function(e){return e.key}),n=!0;t.forEach(function(t,a){-1!=e.checkeditems.indexOf(t.key)&&(n=!1)});var c=e.checkeditems.length;if(a.isContained(e.checkeditems,i))return e.checkAll=!0,e.isIndeterminate=!1,!1;if(n&&t.length<c)return e.checkAll=!1,e.isIndeterminate=!1,!1;if(!n&&t.length>=c)return e.checkAll=!1,e.isIndeterminate=!0,!1;if(n&&t.length>=c)return e.checkAll=!1,e.isIndeterminate=!1,!1}}),void(a.templateData=i)}_.a.errorMsg(l)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getTagData:function(e){var t=this;t.searchFlag=!1;var a={tagId:e};Object(v.a)("/memberTag/getTagById",a).then(function(e){var a=e.data;if(1!=a.errorCode)_.a.errorMsg(a);else{t.tagData.tagId=a.result.tagId,t.tagData.tagName=a.result.tagName,t.tagData.tagDescribe=a.result.tagDescribe,t.tagData.isActive=a.result.isActive,t.tagData.tagType=a.result.tagType,t.currentKey=a.result.columnKey;var l=a.result.template;l&&t.checkTagTemplate(l.templateContent)}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleShowTag:function(){that.showTagDetail=!0},handleHideTag:function(e){that.showTagDetail=!1},showShortDetail:function(e){this.showTagDetail=!0,this.tagShortDetailId=e},updateTemp:function(){this.$refs.tagTemp.getTagList(),this.$refs.tagTemp.showTagList(),this.updataTagDetail()},updataTagDetail:function(){this.getTagData(this.tagId)}},watch:{$route:{handler:function(e,t){window.location.reload()},deep:!0}},updated:function(){},mounted:function(){this.tagFlag=-1==this.$route.fullPath.indexOf("notMyTag"),this.$route.query.tagId&&(this.tagId=this.$route.query.tagId,this.tagShortId=this.$route.query.tagId,this.getTagData(this.tagId),document.getElementById("app").style.zIndex=1),this.addFlag=!!this.$route.query.addFlag},components:{navCrumb:u.a,checkboxOption:g.a,checkboxOptionAsync:f,tagShortDetail:C.a,tagTemporary:b.a},beforeDestroy:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"},destroyed:function(){document.removeEventListener("mousedown",function(){}),document.getElementById("app").style.zIndex="auto"}},x={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"myTagDetail-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"checkboxOption-wrap"},[a("div",{staticClass:"checkboxOption-wrap__head"},[a("div",{staticClass:"checkboxOption-wrap__head__title"},[e._v("\n "+e._s(e.tagData.tagName)+"\n "),a("span",{staticClass:"realtime-span border-box"},[e._v(e._s(1==e.tagData.isActive?"实时":"非实时"))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__head__describe"},[e._v(e._s(e.tagData.tagDescribe))])]),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body"},[a("div",{staticClass:"checkboxOption-wrap__body__title"},[e._v("标签值设置")]),e._v(" "),e._l(e.templateData,function(t,l){return a("div",{key:l},["tag001"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag003"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurFrom(a,t)}},model:{value:t.numRange[0],callback:function(a){e.$set(t.numRange,0,a)},expression:"parent.numRange[0]"}}),e._v(" "),a("label",[e._v(" - ")]),e._v(" "),a("el-input",{staticClass:"select-wrap-input",staticStyle:{width:"100px","margin-right":"0"},attrs:{placeholder:"请输入数字"},on:{blur:function(a){e.blurTo(a,t)}},model:{value:t.numRange[1],callback:function(a){e.$set(t.numRange,1,a)},expression:"parent.numRange[1]"}})],1)]:e._e(),e._v(" "),"tag014"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag005"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeRecent",t)}},model:{value:t.timeRecent,callback:function(a){e.$set(t,"timeRecent",a)},expression:"parent.timeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag006"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("label",{staticClass:"inline-block middle label-unit"},[e._v("之后")]),a("el-input",{staticClass:"w-90 m-r-20 m-l-20",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"timeAfter",t)}},model:{value:t.timeAfter,callback:function(a){e.$set(t,"timeAfter",a)},expression:"parent.timeAfter"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1)]:e._e(),e._v(" "),"tag002"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"in"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("属于")]),e._v(" "),a("el-radio",{attrs:{label:"notIn"},model:{value:t.computeRadio,callback:function(a){e.$set(t,"computeRadio",a)},expression:"parent.computeRadio"}},[e._v("不属于")])],1)]:e._e(),e._v(" "),"tag004"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",[a("el-radio",{attrs:{label:"1"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.fixedRecentRadio,callback:function(a){e.$set(t,"fixedRecentRadio",a)},expression:"parent.fixedRecentRadio"}},[e._v("最近时段")])],1),e._v(" "),a("div",{staticClass:"m-t-18 w-500 h-80 fixed-date-picker border-box bg-f3f6f9"},[1==t.fixedRecentRadio?a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("时间范围")]):e._e(),1==t.fixedRecentRadio?a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.fixedRecentRangeValue,callback:function(a){e.$set(t,"fixedRecentRangeValue",a)},expression:"parent.fixedRecentRangeValue"}}):e._e(),e._v(" "),2==t.fixedRecentRadio?a("div",[a("label",{staticClass:"inline-block middle label-unit m-r-8"},[e._v("最近")]),a("el-input",{staticClass:"w-90 m-r-8",attrs:{placeholder:"请输入"},on:{blur:function(a){return e.toEditInput(a,"fixedRecentTimeRecent",t)}},model:{value:t.fixedRecentTimeRecent,callback:function(a){e.$set(t,"fixedRecentTimeRecent",a)},expression:"parent.fixedRecentTimeRecent"}}),a("label",{staticClass:"inline-block middle label-unit"},[e._v("天")])],1):e._e()],1)])]:e._e(),e._v(" "),"tag007"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",[a("el-input",{staticClass:"w-184 m-r-8",attrs:{placeholder:"请输入"},model:{value:t.addInputValue,callback:function(a){e.$set(t,"addInputValue",a)},expression:"parent.addInputValue"}}),a("el-button",{staticClass:"middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addInputVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delInputVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag008"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"add-search-select"},[a("el-select",{staticClass:"el-select--small",attrs:{size:"small",multiple:"",filterable:"",remote:"",placeholder:"请输入关键词","reserve-keyword":!1,"remote-method":e.remoteMethod},on:{focus:function(a){e.remoteMethodFocus(a,t,l)},change:function(a){e.changeRemoteMethod(a,t)}},model:{value:t.searchModel,callback:function(a){e.$set(t,"searchModel",a)},expression:"parent.searchModel"}},e._l(t.searchOptions,function(e){return a("el-option",{key:e.key,attrs:{label:e.value,value:e.key}})})),a("el-button",{staticClass:"m-l-8 middle",attrs:{type:"text"},on:{click:function(a){a.stopPropagation(),e.addSearchSelectVal(t)}}},[e._v("添加")])],1),e._v(" "),a("div",{staticClass:"m-t-18 add-tags-wrap"},[e._l(t.addSelectTags,function(l,i){return[a("span",{key:l.value+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.value)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delSearchSelectVal(i,t)}}})])]})],2)])]:e._e(),e._v(" "),"tag012"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-select",{staticClass:"w-98",attrs:{placeholder:"请选择"},model:{value:t.selectOne,callback:function(a){e.$set(t,"selectOne",a)},expression:"parent.selectOne"}},[a("el-option",{attrs:{label:"所有",value:"all"}}),e._v(" "),a("el-option",{attrs:{label:"存在其一",value:"in"}})],1),a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v(e._s(e.tagData.tagName))]),a("el-select",{staticClass:"w-98 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.selectTwo,callback:function(a){e.$set(t,"selectTwo",a)},expression:"parent.selectTwo"}},[a("el-option",{attrs:{label:"属于",value:"in"}}),e._v(" "),a("el-option",{attrs:{label:"不属于",value:"notin"}})],1)],1)]:e._e(),e._v(" "),"tag011"==t.templateCode?a("div",[a("div",{staticClass:"m-b-20"},[a("vue-gic-store-new",{ref:"storeNew",refInFor:!0,attrs:{options:t.uuidOptions,uuid:t.uuid,isAdd:t.isAdd},on:{"update:uuid":function(a){e.$set(t,"uuid",a)}}})],1)]):e._e(),e._v(" "),"tag009"==t.templateCode?[a("div",{staticClass:"multiple-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.allSelectActive,callback:function(a){e.$set(t,"allSelectActive",a)},expression:"parent.allSelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options"},[e._l(t.allSelectOptions,function(l,i){return[a("el-checkbox",{key:l.check+i,on:{change:function(a){e.allSelectChange(a,i,l,t)}},model:{value:l.check,callback:function(t){e.$set(l,"check",t)},expression:"item.check"}},[e._v(e._s(l.name))])]})],2)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.selectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions"},[e._l(t.selectedOptions,function(l,i){return[a("span",{key:l.name+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.name)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delallSelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag010"==t.templateCode?[a("div",{staticClass:"multiple-select-wrap city-select-wrap m-b-20"},[a("div",{staticClass:"multiple-select-wrap__body"},[a("div",{staticClass:"multiple-select-wrap__tab"},[a("el-tabs",{model:{value:t.citySelectActive,callback:function(a){e.$set(t,"citySelectActive",a)},expression:"parent.citySelectActive"}},[a("el-tab-pane",{attrs:{label:"全部选项",name:"first"}},[a("div",{staticClass:"all-select-options all-select-options__city"},[a("div",{staticClass:"city-checkbox city-checkbox-all border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminateCity},on:{change:function(a){e.cityCheckAllChange(a,t)}},model:{value:t.checkAllCity,callback:function(a){e.$set(t,"checkAllCity",a)},expression:"parent.checkAllCity"}},[e._v("全选")])],1),e._v(" "),a("el-checkbox-group",{on:{change:function(a){e.citySelectChange(a,t)}},model:{value:t.checkeditemsCity,callback:function(a){e.$set(t,"checkeditemsCity",a)},expression:"parent.checkeditemsCity"}},[e._l(t.citySelectOptions,function(l,i){return[a("div",{key:l.provinceId+i,staticClass:"city-checkbox border-box border-t-e4e7ed"},[a("el-checkbox",{key:l.provinceId,attrs:{label:l.provinceId}},[e._v("{{}}")]),a("label",{staticClass:"inline-block middle font-14 pointer city-name",on:{click:function(a){a.stopPropagation(),e.toggleCity(l.provinceId,l,t)}}},[e._v(e._s(l.provinceName))]),e._v(" "),l.showCity?a("div",{staticClass:"el-select-dropdown el-popper is-multiple",staticStyle:{"min-width":"240px",position:"absolute",top:"30px",left:"20px","transform-origin":"center top 0px","z-index":"2215"},attrs:{"x-placement":"bottom-start"}},[a("div",{staticClass:"el-scrollbar"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-right":"-17px"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(l.children,function(i,n){return[a("li",{key:i.check+n,class:["el-select-dropdown__item","city-name",i.check?"selected":""],on:{click:function(a){a.stopPropagation(),e.toggleClickCity(i,l,t)}}},[a("span",{staticClass:"city-name"},[e._v(e._s(i.cityName))])])]})],2)]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])]),e._v(" "),a("div",{staticClass:"popper__arrow",staticStyle:{left:"35px"},attrs:{"x-arrow":""}})]):e._e()],1)]})],2)],1)]),e._v(" "),a("el-tab-pane",{attrs:{label:"已选选项("+t.citySelectedOptions.length+")",name:"second"}},[a("div",{staticClass:"slected-opyions city-slected-opyions"},[e._l(t.citySelectedOptions,function(l,i){return[a("span",{key:l.selected+i,staticClass:"el-tag el-tag--small"},[e._v(e._s(l.selected)),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(a){e.delcitySelectVal(i,l,t)}}})])]})],2)])],1)],1)])])]:e._e(),e._v(" "),"tag013"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("div",{staticClass:"checkboxOption-wrap__body__checkAll border-box"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:function(a){e.handleCheckAllChange(a,t)}},model:{value:t.checkAll,callback:function(a){e.$set(t,"checkAll",a)},expression:"parent.checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"checkboxOption-wrap__body__options border-box"},[a("el-checkbox-group",{on:{change:function(a){e.handleCheckedChange(a,t)}},model:{value:t.checkeditems,callback:function(a){e.$set(t,"checkeditems",a)},expression:"parent.checkeditems"}},e._l(t.options,function(t,l){return a("el-checkbox",{key:t.key+l,attrs:{label:t.key}},[e._v(e._s(t.value))])}))],1)])]:e._e(),e._v(" "),"tag015"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("vue-gic-datepicker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",format:"MMdd","value-format":"MMdd"},model:{value:t.monthDayRange,callback:function(a){e.$set(t,"monthDayRange",a)},expression:"parent.monthDayRange"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":"月"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag016"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1)]:e._e(),e._v(" "),"tag019"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"之后",value:"2"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e(),e._v(" "),"tag017"==t.templateCode?[a("div",{staticClass:"m-b-20"},[a("el-radio",{attrs:{label:"1"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("固定时段")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.radio,callback:function(a){e.$set(t,"radio",a)},expression:"parent.radio"}},[e._v("相对时段")]),e._v(" "),1==t.radio?a("div",{staticClass:"m-t-18 w-438 p-20 border-box bg-f3f6f9"},[a("el-date-picker",{attrs:{type:"daterange",editable:!1,"range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyyMMdd","value-format":"yyyyMMdd","default-time":["000000","235959"]},model:{value:t.dateRangeValue,callback:function(a){e.$set(t,"dateRangeValue",a)},expression:"parent.dateRangeValue"}})],1):e._e(),e._v(" "),1!=t.radio?a("div",{staticClass:"relative-range m-t-18 border-box"},[a("div",[a("div",[a("label",{staticClass:"inline-block w-98 label-unit"},[e._v("时间精度")]),e._v(" "),a("el-radio-group",{on:{change:function(a){e.timeRadioChange(a,t)}},model:{value:t.timeRadio,callback:function(a){e.$set(t,"timeRadio",a)},expression:"parent.timeRadio"}},[a("el-radio",{attrs:{label:"1"}},[e._v("天")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("月")]),e._v(" "),a("el-radio",{attrs:{label:"3"}},[e._v("年")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(a){e.currentDayChange(a,t)}},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v(" 当"+e._s(1==t.timeRadio?"天":2==t.timeRadio?"月":"年"))])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("label",{staticClass:"inline-block w-98"}),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.timeChecked,callback:function(a){e.$set(t,"timeChecked",a)},expression:"parent.timeChecked"}},[e._v("{{}}")]),e._v(" "),a("el-select",{staticClass:"w-86 m-l-8",attrs:{placeholder:"请选择"},model:{value:t.timeSelect,callback:function(a){e.$set(t,"timeSelect",a)},expression:"parent.timeSelect"}},[a("el-option",{attrs:{label:"最近",value:"1"}})],1),e._v(" "),a("el-input",{staticClass:"w-90",attrs:{placeholder:"请输入",disabled:1==t.timeChecked},on:{blur:function(a){return e.toEditDateInput(a,t.timeRadio,t)}},model:{value:t.timeInput,callback:function(a){e.$set(t,"timeInput",a)},expression:"parent.timeInput"}}),e._v(" "),1==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("天")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大365")])]:e._e(),e._v(" "),2==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("月")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大12")])]:e._e(),e._v(" "),3==t.timeRadio?[a("label",{staticClass:"inline-block middle label-unit m-l-8"},[e._v("年")]),e._v(" "),a("label",{staticClass:"inline-block middle label-tip"},[e._v("正整数,最大2")])]:e._e()],2)])]):e._e()],1)]:e._e()],2)})],2)]),e._v(" "),a("div",{staticClass:"myTagDetail-wrap__btn"},[e.tagFlag?a("el-button",{attrs:{type:"primary"},on:{click:e.addTemporary}},[e._v("\n "+e._s(e.addTempFlag?"更新标签选项":"添加到暂存架")+"\n ")]):e._e(),e._v(" "),e.tagFlag?e._e():a("el-button",{attrs:{type:"primary",disabled:!!e.addFlag},on:{click:e.addMytag}},[e._v("\n "+e._s(e.addFlag?"已添加至我的标签库":"添加至我的标签库")+"\n ")])],1)])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var R=a("VU/8")(D,x,!1,function(e){a("Zzzx")},"data-v-0950c55e",null);t.default=R.exports},Zzzx:function(e,t){},whi2:function(e,t){}});
\ No newline at end of file
webpackJsonp([26],{0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5reh":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o}),n.d(t,"d",function(){return r}),n.d(t,"c",function(){return i});var a="login",o="logout",r="title",i="show"},"5tgt":function(e,t,n){e.exports=function(e,t){return function(a){n("Vna/")("./"+e+"/"+t+".vue").then(function(e){a(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("//Fk"),o=n.n(a),r=n("hKoQ"),i=n.n(r),u={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var m,l=n("VU/8")({name:"App",data:function(){return{}}},u,!1,function(e){n("a/Gl")},null,null).exports,p=n("pRNm"),s=n.n(p),c=n("5tgt"),g=n.n(c),f=function(e){n.e(1).then(n.bind(null,"EE2z")).then(function(t){e(t)})},T=[{path:"/",name:"index",redirect:"platformTagLib",component:g()("index","index"),children:[{path:"/platformTagLib",name:"平台标签库",component:g()("platformTag","platformTagLib"),meta:{title:"会员标签-平台标签库"}},{path:"/platformTagList",component:g()("platformTag","platformTagList"),name:"平台标签列表",meta:{title:"会员标签-平台标签列表"}},{path:"/platformTagDetail",component:g()("platformTag","platformTagDetail"),name:"平台标签详情",meta:{title:"会员标签-平台标签详情"}},{path:"/manualTagLib",component:g()("manualTag","manualTagLib"),name:"手工标签库",meta:{title:"会员标签-手工标签库"}},{path:"/manualTagList",component:g()("manualTag","manualTagList"),name:"手工标签列表",meta:{title:"会员标签-手工标签列表"}},{path:"/manualTagEdit",component:g()("manualTag","manualTagEdit"),name:"编辑手工标签",meta:{title:"会员标签-编辑手工标签"}},{path:"/manualTagDetail",component:g()("manualTag","manualTagDetail"),name:"手工标签详情",meta:{title:"会员标签-手工标签详情"}},{path:"/myTagLib",component:g()("myTag","myTagLib"),name:"我的标签库",meta:{title:"会员标签-我的标签库"}},{path:"/myTagList",component:g()("myTag","myTagList"),name:"我的标签库列表",meta:{title:"会员标签-我的标签库列表"}},{path:"/myTagDetail",component:g()("myTag","myTagDetail"),name:"标签详情",meta:{title:"会员标签-标签详情"}}]},{path:"/memberGroupList",name:"memberGroupListIndex",redirect:"memberGroupList",component:g()("memberGroup","index"),children:[{path:"/memberGroupList",component:g()("memberGroup","memberGroupList"),name:"会员分组",meta:{title:"会员标签-会员分组"}},{path:"/memberGroupDetail",component:g()("memberGroup","memberGroupDetail"),name:"分组详情",meta:{title:"会员标签-分组详情"}},{path:"/memberGroupEdit",component:g()("memberGroup","memberGroupEdit"),name:"编辑分组",meta:{title:"会员标签-编辑分组"}}]},{path:"/403",name:"无权访问",component:f},{path:"/404",name:"error404",component:f},{path:"/500",name:"error500",component:f},{path:"*",redirect:"/404",hidden:!0}],d=new s.a({routes:T,scrollBehavior:function(){return{y:0}}}),b=n("zL8q"),h=n("Rf8U"),v=n.n(h),L=n("mtWM"),G=n.n(L),y=n("bOdI"),x=n.n(y),w=n("SJI6"),k=n.n(w),V=n("lRwf"),D=n.n(V),E=n("5reh");D.a.use(k.a);var P=new k.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(m={},x()(m,E.a,function(e,t){sessionStorage.token=t,e.token=t}),x()(m,E.b,function(e){sessionStorage.removeItem("token"),e.token=null}),x()(m,E.d,function(e,t){e.title=t}),x()(m,E.c,function(e,t){e.show=t}),m)}),R=(n("Xcu2"),n("4qCZ"),n("uKUT"),n("GqmT")),j=n.n(R);i.a.polyfill(),Vue.use(j.a),Vue.config.productionTip=!1,Vue.use(v.a,G.a),Vue.axios.defaults.withCredentials=!0,Vue.axios.interceptors.request.use(function(e){return e},function(e){return o.a.reject(e)}),Vue.axios.interceptors.response.use(function(e){return 200==e.status&&e.data.errorCode,e},function(e){if(e.response)switch(e.response.status){case 401:window.location.href=window.location.origin+"/gic-web/#/";case 500:b.Message.error("服务器500")}return o.a.reject(e.response.data)}),new Vue({el:"#app",router:d,store:P,components:{App:l},template:"<App/>"})},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,n){var a={"./errorPage/401.vue":["4KSJ",6],"./errorPage/403.vue":["aM+6",7],"./errorPage/404.vue":["PRsh",5],"./errorPage/500.vue":["/HCr",8],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",24],"./linktools/linktools.vue":["Lc2x",0,23],"./linktools/linktoolsold.vue":["/8lq",0,16],"./linktools/linktoolspage.vue":["HLON",0,22],"./login/login.vue":["6Qob",0,14],"./manualTag/manualTagDetail.vue":["Tl/4",0,12],"./manualTag/manualTagEdit.vue":["308P",0,2],"./manualTag/manualTagLib.vue":["q490",0,11],"./manualTag/manualTagList.vue":["f0o3",0,15],"./memberGroup/index.vue":["Gy5W",20],"./memberGroup/memberGroupDetail.vue":["+/ey",0,4],"./memberGroup/memberGroupEdit.vue":["q0vu",0,3],"./memberGroup/memberGroupList.vue":["oVck",0,21],"./myTag/myTagDetail.vue":["ijla",0,13],"./myTag/myTagLib.vue":["twLH",0,17],"./myTag/myTagList.vue":["NJTp",0,19],"./platformTag/platformTagDetail.vue":["KN59",0,9],"./platformTag/platformTagLib.vue":["puJc",0,18],"./platformTag/platformTagList.vue":["G/on",0,10]};function o(e){var t=a[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(a)},o.id="Vna/",e.exports=o},Xcu2:function(e,t){},"a/Gl":function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]); webpackJsonp([26],{0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5reh":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o}),n.d(t,"d",function(){return r}),n.d(t,"c",function(){return i});var a="login",o="logout",r="title",i="show"},"5tgt":function(e,t,n){e.exports=function(e,t){return function(a){n("Vna/")("./"+e+"/"+t+".vue").then(function(e){a(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("//Fk"),o=n.n(a),r=n("hKoQ"),i=n.n(r),u={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var m,l=n("VU/8")({name:"App",data:function(){return{}}},u,!1,function(e){n("a/Gl")},null,null).exports,p=n("pRNm"),s=n.n(p),c=n("5tgt"),g=n.n(c),f=function(e){n.e(1).then(n.bind(null,"EE2z")).then(function(t){e(t)})},T=[{path:"/",name:"index",redirect:"platformTagLib",component:g()("index","index"),children:[{path:"/platformTagLib",name:"平台标签库",component:g()("platformTag","platformTagLib"),meta:{title:"会员标签-平台标签库"}},{path:"/platformTagList",component:g()("platformTag","platformTagList"),name:"平台标签列表",meta:{title:"会员标签-平台标签列表"}},{path:"/platformTagDetail",component:g()("platformTag","platformTagDetail"),name:"平台标签详情",meta:{title:"会员标签-平台标签详情"}},{path:"/manualTagLib",component:g()("manualTag","manualTagLib"),name:"手工标签库",meta:{title:"会员标签-手工标签库"}},{path:"/manualTagList",component:g()("manualTag","manualTagList"),name:"手工标签列表",meta:{title:"会员标签-手工标签列表"}},{path:"/manualTagEdit",component:g()("manualTag","manualTagEdit"),name:"编辑手工标签",meta:{title:"会员标签-编辑手工标签"}},{path:"/manualTagDetail",component:g()("manualTag","manualTagDetail"),name:"手工标签详情",meta:{title:"会员标签-手工标签详情"}},{path:"/myTagLib",component:g()("myTag","myTagLib"),name:"我的标签库",meta:{title:"会员标签-我的标签库"}},{path:"/myTagList",component:g()("myTag","myTagList"),name:"我的标签库列表",meta:{title:"会员标签-我的标签库列表"}},{path:"/myTagDetail",component:g()("myTag","myTagDetail"),name:"标签详情",meta:{title:"会员标签-标签详情"}}]},{path:"/memberGroupList",name:"memberGroupListIndex",redirect:"memberGroupList",component:g()("memberGroup","index"),children:[{path:"/memberGroupList",component:g()("memberGroup","memberGroupList"),name:"会员分组",meta:{title:"会员标签-会员分组"}},{path:"/memberGroupDetail",component:g()("memberGroup","memberGroupDetail"),name:"分组详情",meta:{title:"会员标签-分组详情"}},{path:"/memberGroupEdit",component:g()("memberGroup","memberGroupEdit"),name:"编辑分组",meta:{title:"会员标签-编辑分组"}}]},{path:"/403",name:"无权访问",component:f},{path:"/404",name:"error404",component:f},{path:"/500",name:"error500",component:f},{path:"*",redirect:"/404",hidden:!0}],d=new s.a({routes:T,scrollBehavior:function(){return{y:0}}}),b=n("zL8q"),h=n("Rf8U"),v=n.n(h),L=n("mtWM"),G=n.n(L),y=n("bOdI"),x=n.n(y),w=n("SJI6"),k=n.n(w),V=n("lRwf"),D=n.n(V),E=n("5reh");D.a.use(k.a);var P=new k.a.Store({state:{user:{},token:null,title:"",show:!1},mutations:(m={},x()(m,E.a,function(e,t){sessionStorage.token=t,e.token=t}),x()(m,E.b,function(e){sessionStorage.removeItem("token"),e.token=null}),x()(m,E.d,function(e,t){e.title=t}),x()(m,E.c,function(e,t){e.show=t}),m)}),R=(n("Xcu2"),n("4qCZ"),n("uKUT"),n("GqmT")),j=n.n(R);i.a.polyfill(),Vue.use(j.a),Vue.config.productionTip=!1,Vue.use(v.a,G.a),Vue.axios.defaults.withCredentials=!0,Vue.axios.interceptors.request.use(function(e){return e},function(e){return o.a.reject(e)}),Vue.axios.interceptors.response.use(function(e){return 200==e.status&&e.data.errorCode,e},function(e){if(e.response)switch(e.response.status){case 401:window.location.href=window.location.origin+"/gic-web/#/";case 500:b.Message.error("服务器500")}return o.a.reject(e.response.data)}),new Vue({el:"#app",router:d,store:P,components:{App:l},template:"<App/>"})},SJI6:function(e,t){e.exports=Vuex},"Vna/":function(e,t,n){var a={"./errorPage/401.vue":["4KSJ",7],"./errorPage/403.vue":["aM+6",9],"./errorPage/404.vue":["PRsh",5],"./errorPage/500.vue":["/HCr",6],"./errorPage/index.vue":["EE2z",1],"./index/index.vue":["YPWR",24],"./linktools/linktools.vue":["Lc2x",0,22],"./linktools/linktoolsold.vue":["/8lq",0,16],"./linktools/linktoolspage.vue":["HLON",0,21],"./login/login.vue":["6Qob",0,11],"./manualTag/manualTagDetail.vue":["Tl/4",0,10],"./manualTag/manualTagEdit.vue":["308P",0,2],"./manualTag/manualTagLib.vue":["q490",0,14],"./manualTag/manualTagList.vue":["f0o3",0,18],"./memberGroup/index.vue":["Gy5W",20],"./memberGroup/memberGroupDetail.vue":["+/ey",0,4],"./memberGroup/memberGroupEdit.vue":["q0vu",0,3],"./memberGroup/memberGroupList.vue":["oVck",0,13],"./myTag/myTagDetail.vue":["ijla",0,17],"./myTag/myTagLib.vue":["twLH",0,19],"./myTag/myTagList.vue":["NJTp",0,15],"./platformTag/platformTagDetail.vue":["KN59",0,8],"./platformTag/platformTagLib.vue":["puJc",0,12],"./platformTag/platformTagList.vue":["G/on",0,23]};function o(e){var t=a[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(a)},o.id="Vna/",e.exports=o},Xcu2:function(e,t){},"a/Gl":function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},uKUT:function(e,t){}},[0]);
\ No newline at end of file \ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,f,o){for(var a,d,b,i=0,u=[];i<r.length;i++)d=r[i],c[d]&&u.push(c[d][0]),c[d]=0;for(a in f)Object.prototype.hasOwnProperty.call(f,a)&&(e[a]=f[a]);for(n&&n(r,f,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=t(t.s=o[i]);return b};var r={},c={28:0};function t(n){if(r[n])return r[n].exports;var c=r[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.e=function(e){var n=c[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,t){n=c[e]=[r,t]});n[2]=r;var f=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,t.nc&&o.setAttribute("nonce",t.nc),o.src=t.p+"static/js/"+e+"."+{0:"2079ebb66f7a18fc8c0d",1:"4d1769351fb692f87463",2:"8867a7ca8eb6944732f1",3:"250ed3c2fbdb1fc5104c",4:"dfedbf8f1b740975e1ea",5:"b812f52de9f1693f9773",6:"d14dea91af98a797799d",7:"e9544bd43653564e57bd",8:"74671853c8e27d137e88",9:"b49826b7e35791465bfb",10:"f3a0ae26983800971edf",11:"990092c74ba1d855b931",12:"d462b2dec832447d3012",13:"2f45a180bb94c7705050",14:"bc83f341acba631d7955",15:"f3480fbb2928f8feb3ae",16:"fec0731264e2f0dafda4",17:"922a31806f5c1b01ff49",18:"20dcbce3c0678c9a9ba7",19:"21d36294b8c2c2a9fb19",20:"1946712fb38c8c21216c",21:"e0dc2ef9bacf12967984",22:"63829b12fa6923ef6f66",23:"7f3c5515025c94363c58",24:"fded9a13ed71f9f15272",27:"05fc6ac37ece00041190"}[e]+".js";var a=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(a);var n=c[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return o.onerror=o.onload=d,f.appendChild(o),r},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(n,a,o){for(var d,f,i,u=0,b=[];u<n.length;u++)f=n[u],r[f]&&b.push(r[f][0]),r[f]=0;for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&(e[d]=a[d]);for(c&&c(n,a,o);b.length;)b.shift()();if(o)for(u=0;u<o.length;u++)i=t(t.s=o[u]);return i};var n={},r={28:0};function t(c){if(n[c])return n[c].exports;var r=n[c]={i:c,l:!1,exports:{}};return e[c].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.e=function(e){var c=r[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var n=new Promise(function(n,t){c=r[e]=[n,t]});c[2]=n;var a=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,t.nc&&o.setAttribute("nonce",t.nc),o.src=t.p+"static/js/"+e+"."+{0:"dfeb7e9a359c7e5dbfa4",1:"8e23c835820cc702881e",2:"273e4b632f35eff716a3",3:"0dc290d73f0d9934330e",4:"03fb8d5ad670d6585af4",5:"919954dc40d2a10d351f",6:"df40dd899cd737b6b6aa",7:"1559a18a5b4d5427c437",8:"229dce31ff2e6126a7ee",9:"f73e1ba7cd57f47e37b8",10:"d622c925407c3fd3c6e1",11:"b69f9d70eaf85be05283",12:"d3297c34de789d9b556b",13:"3977c99f046a0a83bc66",14:"5d0583cce164751ef21d",15:"e054914147987d5fdff4",16:"fec0731264e2f0dafda4",17:"7fd866c078469a0c4dd6",18:"3eb67a4633441e04fc8d",19:"54ac05445ba078945752",20:"1946712fb38c8c21216c",21:"cddba7dc7ab68dc8a3b0",22:"1dc079dea6c2a278c842",23:"b5f73790a9e56c25ae74",24:"fded9a13ed71f9f15272",27:"05fc6ac37ece00041190"}[e]+".js";var d=setTimeout(f,12e4);function f(){o.onerror=o.onload=null,clearTimeout(d);var c=r[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return o.onerror=o.onload=f,a.appendChild(o),n},t.m=e,t.c=n,t.d=function(e,c,n){t.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(c,"a",c),c},t.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
...@@ -4,16 +4,16 @@ ...@@ -4,16 +4,16 @@
<template> <template>
<div class="common-wrap__temp flex"> <div class="common-wrap__temp flex">
<div class="common-wrap__currentTag inline-block"> <div class="common-wrap__currentTag inline-block">
<a :href="'#/' + tagLibName + 'List?tagLevelGroupId=0'" class="common-wrap__currentTag__name">全部</a> <a @click="changeRoute('/' + tagLibName + 'List?tagLevelGroupId=0')" class="common-wrap__currentTag__name">全部</a>
<i class="el-icon-arrow-right m-l-8 m-r-8" v-if="!!currentTagDatas.length"></i> <i class="el-icon-arrow-right m-l-8 m-r-8" v-if="!!currentTagDatas.length"></i>
<template v-for="(item, index) in currentTagDatas"> <template v-for="(item, index) in currentTagDatas">
<a :href="'#/' + tagLibName + 'List?tagLevelGroupId=' + item.tagLevelGroupId" class="common-wrap__currentTag__name" :key="item.levelName + index">{{ item.levelName }}</a> <a @click="changeRoute('/' + tagLibName + 'List?tagLevelGroupId=' + item.tagLevelGroupId)" class="common-wrap__currentTag__name" :key="item.levelName + index">{{ item.levelName }}</a>
<i class="el-icon-arrow-right m-l-8 m-r-8" v-if="currentTagDatas.length - 1 != index" :key="item.levelName1 + index"></i> <i class="el-icon-arrow-right m-l-8 m-r-8" v-if="currentTagDatas.length - 1 != index" :key="item.levelName1 + index"></i>
</template> </template>
</div> </div>
<div class="common-wrap__childTag inline-block" v-if="!!childTagDatas.length"> <div class="common-wrap__childTag inline-block" v-if="!!childTagDatas.length">
<template v-for="(item, index) in childTagDatas"> <template v-for="(item, index) in childTagDatas">
<a :href="'#/' + tagLibName + 'List?tagLevelGroupId=' + item.tagLevelGroupId" class="common-wrap__childTag__name" :key="item.levelName + index">{{ item.levelName }} ({{ item.count }})</a> <a @click="changeRoute('/' + tagLibName + 'List?tagLevelGroupId=' + item.tagLevelGroupId)" class="common-wrap__childTag__name" :key="item.levelName + index">{{ item.levelName }} ({{ item.count }})</a>
</template> </template>
</div> </div>
<div class="common-wrap__moreTag p-l-20" v-if="childTagDatas.length > 6"> <div class="common-wrap__moreTag p-l-20" v-if="childTagDatas.length > 6">
...@@ -21,7 +21,9 @@ ...@@ -21,7 +21,9 @@
<!-- 更多列表 --> <!-- 更多列表 -->
<div class="common-wrap__moreTag__body"> <div class="common-wrap__moreTag__body">
<template v-for="(item, index) in childTagDatas"> <template v-for="(item, index) in childTagDatas">
<a :href="'#/' + tagLibName + 'List?tagLevelGroupId=' + item.tagLevelGroupId" class="common-wrap__childTag__name" :key="item.levelName + index">{{ item.levelName }}({{ item.count }})</a> <a @click="changeRoute('/' + tagLibName + 'List?tagLevelGroupId=' + item.tagLevelGroupId)" class="common-wrap__childTag__name" :key="item.levelName + index"
>{{ item.levelName }}({{ item.count }})</a
>
</template> </template>
</div> </div>
<i slot="reference" class="el-icon-more"></i> <i slot="reference" class="el-icon-more"></i>
...@@ -50,6 +52,12 @@ export default { ...@@ -50,6 +52,12 @@ export default {
}, },
methods: { methods: {
/** /**
* 路由跳转
*/
changeRoute(route) {
this.$router.push(route);
},
/**
* 获取当前分类数据 * 获取当前分类数据
*/ */
getCateData(url) { getCateData(url) {
...@@ -125,6 +133,9 @@ export default { ...@@ -125,6 +133,9 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
a {
cursor: pointer;
}
.common-wrap__temp { .common-wrap__temp {
padding-right: 82px; padding-right: 82px;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<template v-for="(item, pindex) in libDatas"> <template v-for="(item, pindex) in libDatas">
<div :class="['common-lib__cell', 'flex-1', item.id == libRadio ? 'border-primary-color' : '']" :key="pindex" @click.stop="selectTag(item.id)"> <div :class="['common-lib__cell', 'flex-1', item.id == libRadio ? 'border-primary-color' : '']" :key="pindex" @click.stop="selectTag(item.id)">
<div class="border-box common-lib__cell__head"> <div class="border-box common-lib__cell__head">
<a :href="'#/' + tagCategory + '?tagLevelGroupId=' + item.id" class="block" <a @click="changeRoute('/' + tagCategory + '?tagLevelGroupId=' + item.id)" class="block"
><i :class="['iconfont', 'common-lib__cell__icon', item.icon]"></i><span class="common-lib__cell__name">{{ item.name }}</span ><i :class="['iconfont', 'common-lib__cell__icon', item.icon]"></i><span class="common-lib__cell__name">{{ item.name }}</span
><span class="platformTagLib-wrap__cell__icon fr"><i class="el-icon-arrow-right"></i></span> ><span class="platformTagLib-wrap__cell__icon fr"><i class="el-icon-arrow-right"></i></span>
</a> </a>
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
<template v-for="(itemTwo, cindex) in item.children"> <template v-for="(itemTwo, cindex) in item.children">
<div class="border-box common-lib__cell__fieldRow" :key="cindex"> <div class="border-box common-lib__cell__fieldRow" :key="cindex">
<div class="inline-block common-lib__cell__fieldChild"> <div class="inline-block common-lib__cell__fieldChild">
<a :href="'#/' + tagCategory + '?tagLevelGroupId=' + itemTwo.id" class="inline-block common-lib__cell__name">{{ itemTwo.name }}</a <a @click="changeRoute('/' + tagCategory + '?tagLevelGroupId=' + itemTwo.id)" class="inline-block common-lib__cell__name">{{ itemTwo.name }}</a
><i class="el-icon-arrow-right"></i> ><i class="el-icon-arrow-right"></i>
</div> </div>
<div class="inline-block common-lib__cell__fieldLastChild"> <div class="inline-block common-lib__cell__fieldLastChild">
<template v-for="(itemThree, lindex) in itemTwo.children"> <template v-for="(itemThree, lindex) in itemTwo.children">
<a :href="'#/' + tagCategory + '?tagLevelGroupId=' + itemThree.id" :key="itemThree.id + lindex" class="inline-block common-lib__cell__fieldName">{{ itemThree.name }}</a> <a @click="changeRoute('/' + tagCategory + '?tagLevelGroupId=' + itemThree.id)" :key="itemThree.id + lindex" class="inline-block common-lib__cell__fieldName">{{ itemThree.name }}</a>
</template> </template>
</div> </div>
</div> </div>
......
...@@ -264,7 +264,7 @@ export default { ...@@ -264,7 +264,7 @@ export default {
const that = this; const that = this;
if (!!that.selectTag.length) { if (!!that.selectTag.length) {
sessionStorage.setItem('selectTempTag', JSON.stringify(that.selectTag)); sessionStorage.setItem('selectTempTag', JSON.stringify(that.selectTag));
window.open(`${window.origin}/member-tag/#/memberGroupEdit`); window.open(`${window.location.origin}/member-tag/#/memberGroupEdit`);
} else { } else {
that.$message.error({ that.$message.error({
duration: 1000, duration: 1000,
......
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
methods: { methods: {
back() { back() {
if (this.$route.query.noGoBack) { if (this.$route.query.noGoBack) {
this.$router.push({ path: '/companyGroup' }); this.$router.push({ path: '/myTagLib' });
} else { } else {
this.$router.go(-1); this.$router.go(-1);
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="bullshit"> <div class="bullshit">
<!-- <div class="bullshit__oops">403</div> --> <!-- <div class="bullshit__oops">403</div> -->
<div class="bullshit__headline">{{ message }}</div> <div class="bullshit__headline">{{ message }}</div>
<a href="#/companyGroup" class="bullshit__return-home">返回首页</a> <a @click="changeRoute('/myTagLib')" class="bullshit__return-home">返回首页</a>
</div> </div>
</div> </div>
</div> </div>
...@@ -23,6 +23,14 @@ export default { ...@@ -23,6 +23,14 @@ export default {
img_403 img_403
}; };
}, },
methods: {
/**
* 路由跳转
*/
changeRoute(route) {
this.$router.push(route);
}
},
computed: { computed: {
message() { message() {
return '抱歉,你无权访问该页面'; return '抱歉,你无权访问该页面';
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="bullshit"> <div class="bullshit">
<!-- <div class="bullshit__oops">404</div> --> <!-- <div class="bullshit__oops">404</div> -->
<div class="bullshit__headline">{{ message }}</div> <div class="bullshit__headline">{{ message }}</div>
<a href="#/companyGroup" class="bullshit__return-home">返回首页</a> <a @click="changeRoute('/myTagLib')" class="bullshit__return-home">返回首页</a>
</div> </div>
</div> </div>
</div> </div>
...@@ -23,6 +23,14 @@ export default { ...@@ -23,6 +23,14 @@ export default {
img_404 img_404
}; };
}, },
methods: {
/**
* 路由跳转
*/
changeRoute(route) {
this.$router.push(route);
}
},
computed: { computed: {
message() { message() {
return '抱歉,你访问的页面不存在'; return '抱歉,你访问的页面不存在';
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="bullshit"> <div class="bullshit">
<!-- <div class="bullshit__oops">500</div> --> <!-- <div class="bullshit__oops">500</div> -->
<div class="bullshit__headline">{{ message }}</div> <div class="bullshit__headline">{{ message }}</div>
<a href="#/companyGroup" class="bullshit__return-home">返回首页</a> <a @click="changeRoute('/myTagLib')" class="bullshit__return-home">返回首页</a>
</div> </div>
</div> </div>
</div> </div>
...@@ -23,6 +23,14 @@ export default { ...@@ -23,6 +23,14 @@ export default {
img_500 img_500
}; };
}, },
methods: {
/**
* 路由跳转
*/
changeRoute(route) {
this.$router.push(route);
}
},
computed: { computed: {
message() { message() {
return '抱歉,服务器出错了'; return '抱歉,服务器出错了';
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="bullshit"> <div class="bullshit">
<!-- <div class="bullshit__oops">404</div> --> <!-- <div class="bullshit__oops">404</div> -->
<div class="bullshit__headline">{{ message }}</div> <div class="bullshit__headline">{{ message }}</div>
<a href="#/myTagLib" class="bullshit__return-home">返回首页</a> <a @click="changeRoute('/myTagLib')" class="bullshit__return-home">返回首页</a>
</div> </div>
</div> </div>
</div> </div>
...@@ -36,6 +36,14 @@ export default { ...@@ -36,6 +36,14 @@ export default {
} }
}; };
}, },
methods: {
/**
* 路由跳转
*/
changeRoute(route) {
this.$router.push(route);
}
},
mounted() { mounted() {
var that = this; var that = this;
var path = that.$route.path.split('/')[1]; var path = that.$route.path.split('/')[1];
......
...@@ -868,7 +868,7 @@ export default { ...@@ -868,7 +868,7 @@ export default {
return [ return [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -282,7 +282,7 @@ export default { ...@@ -282,7 +282,7 @@ export default {
return [ return [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -26,7 +26,7 @@ export default { ...@@ -26,7 +26,7 @@ export default {
navpath: [ navpath: [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
navpath: [ navpath: [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -235,13 +235,21 @@ ...@@ -235,13 +235,21 @@
<el-table-column label="操作"> <el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<a <a
rel="nofollow noopener noreferrer"
target="_blank" target="_blank"
v-if="scope.row.isWeixinMember" v-if="scope.row.isWeixinMember"
:href="'/member/#/wechatmemberDetail?memberId=' + scope.row.memberId + '&channel=wxMember&fromPage=memberGroup'" :href="'/member/#/wechatmemberDetail?memberId=' + scope.row.memberId + '&channel=wxMember&fromPage=memberGroup'"
class="el-button el-button--text" class="el-button el-button--text"
>查看</a >查看</a
> >
<a target="_blank" v-else :href="'/member/#/posmemberDetail?memberId=' + scope.row.memberId + '&channel=posMember&fromPage=memberGroup'" class="el-button el-button--text">查看</a> <a
rel="nofollow noopener noreferrer"
target="_blank"
v-else
:href="'/member/#/posmemberDetail?memberId=' + scope.row.memberId + '&channel=posMember&fromPage=memberGroup'"
class="el-button el-button--text"
>查看</a
>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -328,11 +336,11 @@ export default { ...@@ -328,11 +336,11 @@ export default {
computed: { computed: {
// 面包屑参数 // 面包屑参数
navpath() { navpath() {
console.log(window.origin, 'origin'); console.log(window.location.origin, 'origin');
return [ return [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -197,7 +197,7 @@ export default { ...@@ -197,7 +197,7 @@ export default {
return [ return [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<p>名称:{{ scope.row.groupName }}</p> <p>名称:{{ scope.row.groupName }}</p>
<p>描述:{{ scope.row.describle }}</p> <p>描述:{{ scope.row.describle }}</p>
</div> </div>
<a slot="reference" class="pointer a-href" :href="'#/memberGroupDetail?memberTagGroupId=' + scope.row.memberTagGroupId">{{ scope.row.groupName }}</a> <a slot="reference" @click="changeRoute('/memberGroupDetail?memberTagGroupId=' + scope.row.memberTagGroupId)" class="pointer a-href">{{ scope.row.groupName }}</a>
</el-popover> </el-popover>
</template> </template>
</el-table-column> </el-table-column>
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
navpath: [ navpath: [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -801,7 +801,7 @@ export default { ...@@ -801,7 +801,7 @@ export default {
return [ return [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -26,7 +26,7 @@ export default { ...@@ -26,7 +26,7 @@ export default {
navpath: [ navpath: [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
navpath: [ navpath: [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -871,7 +871,7 @@ export default { ...@@ -871,7 +871,7 @@ export default {
return [ return [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -26,7 +26,7 @@ export default { ...@@ -26,7 +26,7 @@ export default {
navpath: [ navpath: [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
navpath: [ navpath: [
{ {
name: '首页', name: '首页',
path: `${window.origin}/report/#/memberSummary`, path: `${window.location.origin}/report/#/memberSummary`,
relocation: true relocation: true
}, },
{ {
......
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