Commit 735945ad by 无尘

fix: 修改接口

parent 103735bc
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.d2ca2c489636bfa7abe67acdb45cc0f9.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.0415be34d4543bb7cb0c.js></script><script type=text/javascript src=./static/js/vendor.ec5b5af1da21f97836b5.js></script><script type=text/javascript src=./static/js/app.281bc4d8665bbb08cfc4.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.4f6c08f9d247d8b410a6bb944f7cb165.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.5c10defc56df3060fcb5.js></script><script type=text/javascript src=./static/js/vendor.ec5b5af1da21f97836b5.js></script><script type=text/javascript src=./static/js/app.447dca6ddfba04052604.js></script></body></html>
\ No newline at end of file
webpackJsonp([23],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},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("Kp/m")},"data-v-0df4090e",null);s.default=c.exports},"Kp/m":function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}});
\ No newline at end of file
webpackJsonp([22],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},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("Kp/m")},"data-v-0df4090e",null);s.default=c.exports},"Kp/m":function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}});
\ No newline at end of file
webpackJsonp([24],{"4lo3":function(t,a){},AG22:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("2eFk"),i=e("Ch4/"),r=e("P9l9"),c={name:"common-app-top",props:{appName:{type:String,default:function(){return""}},appIcon:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeBrand:"",brandListData:[]}},methods:{returnBack:function(){this.$router.push("appcenter")},changeSelect:function(t){var a="";this.brandListData.forEach(function(e){e.brandId==t&&(a=e.groupId)}),this.$emit("selectBrandId",t,a)},getBrandData:function(){var t=this;Object(r.d)("/haoban-manage-web/application-brand-list",{}).then(function(a){var e=a.data;if(1!=e.errorCode)i.a.errorMsg(e);else if(e.result&&e.result.length){if(t.brandListData=e.result,t.$route.query.brandId)return t.activeBrand=t.$route.query.brandId,t.$emit("selectBrandId",t.$route.query.brandId),!1;t.activeBrand=t.brandListData[0].brandId,t.$emit("selectBrandId",t.brandListData[0].brandId,t.brandListData[0].groupId)}}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})}},watch:{brandId:function(t,a){this.getBrandData()}},mounted:function(){this.getBrandData()}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-top-wrap app-detail-wrap"},[e("div",{staticClass:"my-customer-top"},[e("div",{staticClass:"my-customer-name"},[e("span",{staticClass:"app-icon "},[e("img",{attrs:{src:t.appIcon}})]),e("span",{staticClass:"p-l-8"},[t._v(t._s(t.appName))])]),t._v(" "),e("el-button",{staticClass:"border-radius-18 my-customer-return",on:{click:t.returnBack}},[t._v("返回")]),t._v(" "),"/workSet"!=t.$route.path&&"/workGroupSet"!=t.$route.path&&"/dayStatistics"!=t.$route.path&&"/workGroupSet"!=t.$route.path&&"/dayStatistics"!=t.$route.path&&"/workTimeManage"!=t.$route.path?e("div",{staticClass:"my-customer-brand"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"不同品牌的工作台可分别进行管理。点击后切换,可以管理不同品牌下的应用",placement:"top-start"}},[e("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer"}},[t._v("品牌名称"),e("span",{staticClass:"el-icon-info font-12 color-909399 p-l-6"})])]),t._v(" "),e("el-select",{staticClass:"p-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.activeBrand,callback:function(a){t.activeBrand=a},expression:"activeBrand"}},t._l(t.brandListData,function(t){return e("el-option",{key:t.brandId,attrs:{label:t.name,value:t.brandId}})}))],1):t._e()],1)])},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("4lo3")},"data-v-687bd17e",null).exports,d=e("Qie6"),u={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"不良评价",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"不良评价回访记录",icon:"icon-badreviewstatistics",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("badEvaluateRecord");break;case"2":this.changeRoute("badEvaluateSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:s,commonDetailLeft:d.a}},l={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("div",{staticClass:"right-content"},[e("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content flex",style:{height:t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var p=e("VU/8")(u,l,!1,function(t){e("yDY9")},"data-v-08eaaa7b",null);a.default=p.exports},yDY9:function(t,a){}});
\ No newline at end of file
webpackJsonp([23],{"4lo3":function(t,a){},AG22:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("2eFk"),i=e("Ch4/"),r=e("P9l9"),c={name:"common-app-top",props:{appName:{type:String,default:function(){return""}},appIcon:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeBrand:"",brandListData:[]}},methods:{returnBack:function(){this.$router.push("appcenter")},changeSelect:function(t){var a="";this.brandListData.forEach(function(e){e.brandId==t&&(a=e.groupId)}),this.$emit("selectBrandId",t,a)},getBrandData:function(){var t=this;Object(r.d)("/haoban-manage-web/application-brand-list",{}).then(function(a){var e=a.data;if(1!=e.errorCode)i.a.errorMsg(e);else if(e.result&&e.result.length){if(t.brandListData=e.result,t.$route.query.brandId)return t.activeBrand=t.$route.query.brandId,t.$emit("selectBrandId",t.$route.query.brandId),!1;t.activeBrand=t.brandListData[0].brandId,t.$emit("selectBrandId",t.brandListData[0].brandId,t.brandListData[0].groupId)}}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})}},watch:{brandId:function(t,a){this.getBrandData()}},mounted:function(){this.getBrandData()}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-top-wrap app-detail-wrap"},[e("div",{staticClass:"my-customer-top"},[e("div",{staticClass:"my-customer-name"},[e("span",{staticClass:"app-icon "},[e("img",{attrs:{src:t.appIcon}})]),e("span",{staticClass:"p-l-8"},[t._v(t._s(t.appName))])]),t._v(" "),e("el-button",{staticClass:"border-radius-18 my-customer-return",on:{click:t.returnBack}},[t._v("返回")]),t._v(" "),"/workSet"!=t.$route.path&&"/workGroupSet"!=t.$route.path&&"/dayStatistics"!=t.$route.path&&"/workGroupSet"!=t.$route.path&&"/dayStatistics"!=t.$route.path&&"/workTimeManage"!=t.$route.path?e("div",{staticClass:"my-customer-brand"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"不同品牌的工作台可分别进行管理。点击后切换,可以管理不同品牌下的应用",placement:"top-start"}},[e("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer"}},[t._v("品牌名称"),e("span",{staticClass:"el-icon-info font-12 color-909399 p-l-6"})])]),t._v(" "),e("el-select",{staticClass:"p-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.activeBrand,callback:function(a){t.activeBrand=a},expression:"activeBrand"}},t._l(t.brandListData,function(t){return e("el-option",{key:t.brandId,attrs:{label:t.name,value:t.brandId}})}))],1):t._e()],1)])},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("4lo3")},"data-v-687bd17e",null).exports,d=e("Qie6"),u={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"不良评价",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"不良评价回访记录",icon:"icon-badreviewstatistics",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("badEvaluateRecord");break;case"2":this.changeRoute("badEvaluateSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:s,commonDetailLeft:d.a}},l={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("div",{staticClass:"right-content"},[e("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content flex",style:{height:t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var p=e("VU/8")(u,l,!1,function(t){e("yDY9")},"data-v-08eaaa7b",null);a.default=p.exports},yDY9:function(t,a){}});
\ No newline at end of file
webpackJsonp([25],{"00op":function(t,e){},mxaB:function(t,e){},"q+Sm":function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o("mvHQ"),a=o.n(r),n=o("fZjL"),i=o.n(n),s=o("l46T"),c=o("PI0u"),l=o("P9l9"),u=o("3E4D"),p=o("Ch4/"),d={props:{editRow:{type:Object,default:function(){return{}}},categoryParentId:{type:Object,default:function(){return""}}},components:{limitInput:s.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{categoryId:"",categoryName:"",categoryParentId:this.categoryParentId},rules:{categoryName:[{required:!0,message:"请输入模块名称",trigger:"blur"}]}}},methods:{toCancel:function(){this.$emit("closeGroup"),this.$refs.ruleForm.resetFields()},handleClose:function(t){this.$emit("closeGroup"),this.$refs.ruleForm.resetFields()},submitForm:Object(c.a)(function(t){var e=this;e.$refs[t].validate(function(t){t&&e.postSave()})},300),postSave:function(){var t=this,e={categoryParentId:t.ruleForm.categoryParentId||"0",categoryId:t.ruleForm.categoryId,categoryName:t.ruleForm.categoryName};Object(l.d)(t.ruleForm.categoryId?"/haoban-manage3-web/category-edit":"/haoban-manage3-web/mateial-add-category",e).then(function(e){var o=e.data;1==o.errorCode?(u.a.showmsg("操作成功","success"),t.$refs.ruleForm.resetFields(),t.$emit("submitGroup")):p.a.errorMsg(o)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{editRow:function(t){i()(t).length&&(this.ruleForm=JSON.parse(a()(t)))}},mounted:function(){i()(this.editRow).length&&(this.ruleForm=JSON.parse(a()(this.editRow)))}},g={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-dialog",{attrs:{title:t.editRow.categoryId?"编辑分组":"新增分组",visible:t.dialogVisible,width:"485px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[o("div",{},[o("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px"}},[o("el-form-item",{attrs:{label:"分组名称",prop:"categoryName"}},[o("limitInput",{attrs:{inputWidth:300,inputValue:t.ruleForm.categoryName,holder:"请输入分组名称",getByType:"word",maxLength:8},on:{"update:inputValue":function(e){t.$set(t.ruleForm,"categoryName",e)}}})],1)],1)],1),t._v(" "),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:t.toCancel}},[t._v("取消")]),t._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("确定")])],1)])},staticRenderFns:[]};var f=o("VU/8")(d,g,!1,function(t){o("00op")},"data-v-a4db2e12",null).exports,h={props:{},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",currentCategoryId:"-1",groupData:[],categoryParentId:"",addShow:!1,editGroupRow:{},expandArr:[],tableData:[]}},methods:{selectGroup:function(t){t.expand=!t.expand,this.currentCategoryId=t.categoryId,t.expand?this.expandArr.push(t.categoryId):this.expandArr.splice(this.expandArr.indexOf(t.categoryId),1),this.$forceUpdate()},selectNoGroup:function(){this.currentCategoryId="-1"},toInput:Object(c.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearSearch:function(){this.currentPage=1,this.getTableList()},addGroup:function(){this.addShow=!0,this.categoryParentId="",this.editGroupRow={}},closeGroup:function(){this.addShow=!1,this.editGroupRow={}},submitGroup:function(){this.addShow=!1,this.editGroupRow={},this.getGroupData()},addChildGroup:function(t){this.editGroupRow={},this.categoryParentId=t.categoryId,this.addShow=!0},editGroup:function(t){this.addShow=!0,this.categoryParentId="",this.editGroupRow=t},delGroup:function(t){var e=this;e.$confirm("是否删除当前选中的分组?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postDelData(t)}).catch(function(){})},postDelData:function(t){var e=this,o={categoryId:t.categoryId};Object(l.a)("/haoban-manage3-web/category-del",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void e.getGroupData();p.a.errorMsg(o)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},treeData:function(t){var e=t.filter(function(e){var o=t.filter(function(t){return e.categoryId==t.categoryParentId});return o.length>0?e.children=o:e.children=[],0==e.categoryParentId});return console.log("tree:",e),e},getGroupData:function(t){var e=this,o={wxEnterpriseId:e.wxEnterpriseId};Object(l.a)("/haoban-manage3-web/category-list",o).then(function(t){var o=t.data;1!=o.errorCode?p.a.errorMsg(o):o.result&&o.result.length&&(o.result.forEach(function(t){t.expand=!!e.expandArr.includes(t.categoryId)}),e.groupData=e.treeData(o.result)||[])}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab",3),document.documentElement.style.backgroundColor="#f0f2f5",this.getGroupData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{groupDialog:f}},m={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"daily-set-wrap "},[o("div",{staticClass:"daily-set-content border-box"},[o("div",{staticClass:"material-top border-box"},[o("el-input",{staticStyle:{width:"394px"},attrs:{placeholder:"请输入素材名称",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return o=e,t.toInput(o,t.searchInput);var o}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[o("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),t._v(" "),o("div",{staticClass:"material-body flex m-t-20"},[o("div",{staticClass:"material-left"},[o("div",{staticClass:"material-left-add m-t-10 text-center"},[o("div",{staticClass:"add-group font-14 color-909399 cursor-pointer line-h-32",on:{click:t.addGroup}},[o("span",{staticClass:"el-icon-plus"}),o("span",{staticClass:"p-l-5"},[t._v("新建分组")])])]),t._v(" "),o("div",{staticClass:"group-body"},[o("div",{class:["no-group m-t-10 line-h-32 font-14 color-606266","-1"==t.currentCategoryId?"current-group":""],on:{click:t.selectNoGroup}},[t._v("未分组")]),t._v(" "),o("ul",{staticClass:"group-ul padding-lr-12"},[t._l(t.groupData,function(e,r){return[o("li",{key:r+"group",staticClass:"group-cell"},[o("div",{staticClass:"cursor-pointer",on:{click:function(o){o.stopPropagation(),t.selectGroup(e)}}},[e.children.length?o("span",{class:["color-c0c4cc font-12 cursor-pointer",e.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}):t._e(),o("span",{class:["group-name font-14 color-606266 p-l-10",t.currentCategoryId==e.categoryId?"current-group":""]},[t._v(t._s(e.categoryName))]),o("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[o("ul",[o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.addChildGroup(e)}}},[t._v("新增子分组")]),t._v(" "),o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.editGroup(e)}}},[t._v("编辑")]),t._v(" "),e.children.length?t._e():o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.delGroup(e)}}},[t._v("删除")])]),t._v(" "),o("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1),t._v(" "),e.expand?o("ul",{staticClass:"p-l-10"},[t._l(e.children,function(e,r){return[o("li",{key:r+"group",staticClass:"group-cell"},[o("div",{staticClass:"cursor-pointer",on:{click:function(o){o.stopPropagation(),t.selectGroup(e)}}},[e.children.length?o("span",{class:["color-c0c4cc font-12 cursor-pointer",e.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}):t._e(),o("span",{class:["group-name font-14 color-606266 p-l-10",t.currentCategoryId==e.categoryId?"current-group":""]},[t._v(t._s(e.categoryName))]),o("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[o("ul",[o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.addChildGroup(e)}}},[t._v("新增子分组")]),t._v(" "),o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.editGroup(e)}}},[t._v("编辑")]),t._v(" "),e.children.length?t._e():o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.delGroup(e)}}},[t._v("删除")])]),t._v(" "),o("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1),t._v(" "),e.expand?o("ul",{staticClass:"p-l-10"},[t._l(e.children,function(e,r){return[o("li",{key:r+"group",staticClass:"group-cell"},[o("div",{staticClass:"cursor-pointer",on:{click:function(o){o.stopPropagation(),t.selectGroup(e)}}},[o("span",{class:["group-name font-14 color-606266 p-l-10",t.currentCategoryId==e.categoryId?"current-group":""]},[t._v(t._s(e.categoryName))]),o("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[o("ul",[o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.editGroup(e)}}},[t._v("编辑")]),t._v(" "),o("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(o){o.stopPropagation(),t.delGroup(e)}}},[t._v("删除")])]),t._v(" "),o("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1)])]})],2):t._e()])]})],2):t._e()])]})],2)])]),t._v(" "),o("div",{staticClass:"material-right"})])]),t._v(" "),t.addShow?o("group-dialog",{attrs:{categoryParentId:t.categoryParentId,editRow:t.editGroupRow},on:{closeGroup:t.closeGroup,submitGroup:t.submitGroup}}):t._e()],1)},staticRenderFns:[]};var v=o("VU/8")(h,m,!1,function(t){o("mxaB")},"data-v-00e1408a",null);e.default=v.exports}});
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,d,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],b[t]&&u.push(b[t][0]),b[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(a&&a(c,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var c={},b={76:0};function f(a){if(c[a])return c[a].exports;var b=c[a]={i:a,l:!1,exports:{}};return e[a].call(b.exports,b,b.exports,f),b.l=!0,b.exports}f.e=function(e){var a=b[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,f){a=b[e]=[c,f]});a[2]=c;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+e+"."+{0:"b34ffb148c94a0864421",1:"06c4e42e62c1f75191f0",2:"95860c596ce8eeb79301",3:"2a63ebede4a53ae4d5be",4:"19d2794f24d3e9833c75",5:"bf21cfa1832c94ed8d4c",6:"bf0bd72259e971cb5c5d",7:"6d129ebb69dd65574768",8:"5cbeb9fde8d49bf97a09",9:"f7c875c7689ffc18fc21",10:"f64bf1b4c969dc8e4324",11:"234de60fe9d347a9b246",12:"39d6a9f43160a9b4f5bd",13:"06a77c08775fb582d98b",14:"0225e369d82f24077aba",15:"592a2e6008db77975bcc",16:"bc276325eab50b4b86c0",17:"edf42ec3b001b6cfe65e",18:"cbc6bb3f3d733ad7c94e",19:"63ca1f785b71646ef739",20:"96ae1c7fff93072fa000",21:"b9552ac568217b38c707",22:"a3681c6a337ad49aeb4b",23:"e507c496e766217ec178",24:"a89c78a7ed5ce6306ba7",25:"d9ee9041561602fa561c",26:"0e68f81c2d32fec5abdb",27:"01b66b3d0ab23d2341c2",28:"8606cc4adb654d067bac",29:"485d7c81ce188c3fa687",30:"6e3dad3ed142df770d0e",31:"963d650c22609bb350cc",32:"648e00249c751be0ef72",33:"3b19f619921aacfda1e4",34:"b57b41292517a536addb",35:"8a132ad30fce01f4deb7",36:"ae95aada03220eb5550d",37:"5dc35c4db0da65b72ba3",38:"67c2ba02c8cb8e2aeae7",39:"cffc9df02e23624f15f7",40:"f72c24c69c3d22cb365f",41:"3e80f7c7164f36ab833d",42:"9cfba776561a2683e1ce",43:"491cbc97f03e6a9416fd",44:"9a001dcb0b20412481a9",45:"7d07ad63ee1aebc77c05",46:"64a15dd24ae8e3144031",47:"e158722e9154c479fd48",48:"bf0f43e67bca163a8825",49:"db237966421b9efea688",50:"f22cbf7598ba1005cbcc",51:"6a01d92850fef1ae9c8d",52:"daeb4b3000f4e6f0622b",53:"ed4f0a40a8c2ab4ef1b5",54:"a63f3b2b05b73e8a3ed6",55:"e08c75127132ad856135",56:"958b7f1db9c52bb2abaf",57:"b059e07220a79fb60d95",58:"38bdda7d88dd6886fbed",59:"ed1cfc8b4f8a46cebdfb",60:"93a2ee002c3cd92e8e0e",61:"c72abb8753a2004d6800",62:"66e0ac1b58f6da721da0",63:"8e1a0364cf1388ecfd3d",64:"2e546d02be42fac0c64d",65:"11f52cad03275c8aba4f",66:"9fa3ca5124aa2b5a85ec",67:"fe28b5cd6347bad40117",68:"7c8716b3ed26ffda11fb",69:"18f0e63b47a729fc63d0",70:"b999d4bf8b805f03bd2b",71:"d19b0a20ea22d410b91d",72:"ae171a4233296a9ac4b4",73:"0c069b06ad167faadfc6"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=b[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),c},f.m=e,f.c=c,f.d=function(e,a,c){f.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},f.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(a,"a",a),a},f.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,f,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],b[t]&&u.push(b[t][0]),b[t]=0;for(r in f)Object.prototype.hasOwnProperty.call(f,r)&&(e[r]=f[r]);for(c&&c(a,f,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},b={76:0};function d(c){if(a[c])return a[c].exports;var b=a[c]={i:c,l:!1,exports:{}};return e[c].call(b.exports,b,b.exports,d),b.l=!0,b.exports}d.e=function(e){var c=b[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=b[e]=[a,d]});c[2]=a;var f=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"b34ffb148c94a0864421",1:"06c4e42e62c1f75191f0",2:"95860c596ce8eeb79301",3:"2a63ebede4a53ae4d5be",4:"19d2794f24d3e9833c75",5:"bf21cfa1832c94ed8d4c",6:"bf0bd72259e971cb5c5d",7:"6d129ebb69dd65574768",8:"5cbeb9fde8d49bf97a09",9:"f7c875c7689ffc18fc21",10:"f64bf1b4c969dc8e4324",11:"234de60fe9d347a9b246",12:"39d6a9f43160a9b4f5bd",13:"06a77c08775fb582d98b",14:"0225e369d82f24077aba",15:"592a2e6008db77975bcc",16:"bc276325eab50b4b86c0",17:"edf42ec3b001b6cfe65e",18:"4b0922e27b6b34b18611",19:"30252583b235f2c70040",20:"ba2e2bd0823422a4de6c",21:"9e35f4bb567c79f900c4",22:"4657c811baa7a2a81fa8",23:"b696c3789461b84413c4",24:"4ad7713214fd3234337d",25:"9c97d4ebf59b20c6088d",26:"0e68f81c2d32fec5abdb",27:"01b66b3d0ab23d2341c2",28:"8606cc4adb654d067bac",29:"485d7c81ce188c3fa687",30:"6e3dad3ed142df770d0e",31:"963d650c22609bb350cc",32:"648e00249c751be0ef72",33:"3b19f619921aacfda1e4",34:"b57b41292517a536addb",35:"8a132ad30fce01f4deb7",36:"ae95aada03220eb5550d",37:"5dc35c4db0da65b72ba3",38:"67c2ba02c8cb8e2aeae7",39:"cffc9df02e23624f15f7",40:"f72c24c69c3d22cb365f",41:"3e80f7c7164f36ab833d",42:"9cfba776561a2683e1ce",43:"491cbc97f03e6a9416fd",44:"9a001dcb0b20412481a9",45:"7d07ad63ee1aebc77c05",46:"64a15dd24ae8e3144031",47:"e158722e9154c479fd48",48:"bf0f43e67bca163a8825",49:"db237966421b9efea688",50:"f22cbf7598ba1005cbcc",51:"6a01d92850fef1ae9c8d",52:"daeb4b3000f4e6f0622b",53:"ed4f0a40a8c2ab4ef1b5",54:"a63f3b2b05b73e8a3ed6",55:"e08c75127132ad856135",56:"958b7f1db9c52bb2abaf",57:"b059e07220a79fb60d95",58:"38bdda7d88dd6886fbed",59:"ed1cfc8b4f8a46cebdfb",60:"93a2ee002c3cd92e8e0e",61:"c72abb8753a2004d6800",62:"66e0ac1b58f6da721da0",63:"8e1a0364cf1388ecfd3d",64:"2e546d02be42fac0c64d",65:"11f52cad03275c8aba4f",66:"9fa3ca5124aa2b5a85ec",67:"fe28b5cd6347bad40117",68:"7c8716b3ed26ffda11fb",69:"18f0e63b47a729fc63d0",70:"b999d4bf8b805f03bd2b",71:"d19b0a20ea22d410b91d",72:"ae171a4233296a9ac4b4",73:"0c069b06ad167faadfc6"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=b[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return n.onerror=n.onload=t,f.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-03-16 09:59:39
* @LastEditors: 无尘
* @LastEditTime: 2020-05-12 14:34:29
* @LastEditTime: 2020-05-12 14:46:34
-->
<template>
<div class="daily-set-wrap ">
......@@ -51,7 +51,7 @@
<template v-for="(itemThree, i) in itemTwo.children">
<li class="group-cell" :key="i + 'group'">
<div class="cursor-pointer" @click.stop="selectGroup(itemThree)">
<span v-if="itemThree.children.length" :class="['color-c0c4cc font-12 cursor-pointer', itemThree.expand ? 'el-icon-caret-bottom' : 'el-icon-caret-right']"></span><span :class="['group-name font-14 color-606266 p-l-10', currentCategoryId == itemThree.categoryId ? 'current-group' : '']">{{ itemThree.categoryName }}</span
<span :class="['group-name font-14 color-606266 p-l-10', currentCategoryId == itemThree.categoryId ? 'current-group' : '']">{{ itemThree.categoryName }}</span
><el-popover placement="bottom" width="75" trigger="hover" popper-class="group-popover">
<ul>
<!-- <li class="line-h-32 font-14 color-606266" @click.stop="addChildGroup(itemThree)">新增子分组</li> -->
......
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