| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[95],{551:function(t,e,n){},692:function(t,e,n){"use strict";n(551)},815:function(t,e,n){"use strict";n.r(e);n(18);var r=n(6),o=(n(30),{data:function(){return{props:{multiple:!0},id:"",detailData:"",radio:"3",reason:"",company_verify_status:"未认证",show:!0,showEditStatus:!1,form:{},formLabelWidth:"120px",industries:[],tech_types:[],bindCatForm:{},bindTagForm:{},bindCatDialog:!1,bindTagDialog:!1,choiceDialog:!1,bindCatData:[],bindTagData:[],catData:[],class_map:[],serviceTypeData:[],tag_map:{},is_choice:!1,choice:!1,statusData:[{id:"0",name:"草稿"},{id:"1",name:"审核"},{id:"2",name:"通过"},{id:"3",name:"拒绝"},{id:"4",name:"下架"}],dimensionData:[{id:"1",name:"产品"},{id:"2",name:"集合"}],tempTitle:"",tempDescription:"",tempStatus:"",tempDimension:""}},mounted:function(){this.id=this.$route.query.id,this.getDetail(),this.getOptions()},computed:{verifying_status:function(){if(this.detailData.verifying.status_name)switch(this.detailData.verifying.status_name){case"审核通过":return"success";case"审核拒绝":return"danger";default:return"info"}},checked_status:function(t){if(t)switch(t){case"审核通过":return"success";case"审核拒绝":return"danger";default:return"info"}}},methods:{showEdit:function(){event.stopPropagation(),this.showEditStatus=!0},updateSolution:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.form.industry){e.next=3;break}return t.$message.error("请选择行业"),e.abrupt("return");case 3:return t.form.tech_type||t.$message.error("请选择技术类型"),e.next=6,t.$post("/api/admin/kaifawu/changeTag",{id:t.id,industry:t.form.industry,tech_type:t.form.tech_type});case 6:1===e.sent.status&&(t.showEditStatus=!1,t.$message.success("修改成功"),t.getDetail());case 8:case"end":return e.stop()}}),e)})))()},getOptions:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$post("/api/admin/kaifawu/getOptions");case 2:n=e.sent,t.industries=n.data.industries,t.tech_types=n.data.tech_types;case 5:case"end":return e.stop()}}),e)})))()},getDetail:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,data,r,o,c,l,i,d,m,v,f,_,h,y,w;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.id,1,data={id:n,page:1},e.next=5,t.$post("/api/admin/kaifawu/getDetail",data);case 5:if(!(r=e.sent)||1!==r.status){e.next=25;break}r.data.verifying=r.data.verifying||{},1==r.data.verifying.is_choice?(t.is_choice=!0,t.choice=!0):(t.is_choice=!1,t.choice=!1),t.detailData=r.data,t.tempTitle=t.detailData.verifying.title,t.tempDescription=t.detailData.verifying.description,t.tempStatus=t.detailData.verifying.status,t.tempDimension=t.detailData.verifying.dimension,e.t0=t.detailData.companyInfo.applyInfo.status,e.next="0"===e.t0?17:"1"===e.t0?19:"2"===e.t0?21:"3"===e.t0?23:25;break;case 17:return t.company_verify_status="未申请",e.abrupt("break",25);case 19:return t.company_verify_status="申请中",e.abrupt("break",25);case 21:return t.company_verify_status="通过",e.abrupt("break",25);case 23:return t.company_verify_status="拒绝",e.abrupt("break",25);case 25:return e.next=27,t.$post("/api/admin/kaifain/getClasses",data);case 27:return(o=e.sent)&&1===o.status&&(t.bindCatForm.classes=o.data.classes,t.bindCatForm.serviceTypes=o.data.serviceTypes),e.next=31,t.$post("/api/admin/kaifain/getSpCat",data);case 31:for((c=e.sent)&&1===c.status&&(t.bindCatData=c.data.list),l=t.bindCatForm.classes,i=0;i<l.length;i++)for(d=l[i].children,m=0;m<d.length;m++)t.class_map[d[m].value]=l[i].value;return e.next=37,t.$post("/api/admin/kaifain/getSpTag",data);case 37:if((v=e.sent)&&1===v.status)for(t.bindTagData=v.data.list,t.bindTagForm.bindTags=[],f=0;f<t.bindTagData.length;f++)t.bindTagForm.bindTags.push(t.bindTagData[f].tag_id);return e.next=41,t.$post("/api/admin/CpsManage/listTags",{});case 41:if(1==(_=e.sent).status){for(t.bindTagForm.tagDatas=_.data,h={},y=_.data,w=0;w<y.length;w++)h[y[w].id]=y[w].name;t.tag_map=h}case 43:case"end":return e.stop()}}),e)})))()},userinfo:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:window.location.href,window.open(e.$store.state.domainConfig.siteUrl+"/rooter/user/".concat(t));case 2:case"end":return n.stop()}}),n)})))()},woinfo:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:window.location.href,window.open(e.$store.state.domainConfig.siteUrl+"/wo/".concat(t));case 2:case"end":return n.stop()}}),n)})))()},returnPage:function(){return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:window.location.href,window.open("/main/solution/","_self");case 2:case"end":return t.stop()}}),t)})))()},companyVerifyStatus:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:window.location.href,window.open(e.$store.state.domainConfig.siteUrl+"/rooter/companyVerifyAuditItem?uid=".concat(t));case 2:case"end":return n.stop()}}),n)})))()},updateStatus:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,data,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return 3,r="您的解决方案"+t.title+"审核被拒绝!",data={id:t.id,result:3,auditData:r},n.next=5,e.$post("/api/admin/kaifawu/auditProvider",data);case 5:(o=n.sent)&&1===o.status&&(e.$message({message:"修改成功!",type:"success"}),e.getDetail());case 7:case"end":return n.stop()}}),n)})))()},sendEmail:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,o,data,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=e.radio,o="",o=e.reason,!e.show||0!=e.reason.length){n.next=6;break}return e.$message({message:"请输入拒绝原因!",type:"warning"}),n.abrupt("return",!1);case 6:return data={id:t.id,result:r,auditData:o},n.next=9,e.$post("/api/admin/kaifawu/auditProvider",data);case 9:(c=n.sent)&&1===c.status&&(e.$message({message:"修改成功!",type:"success"}),e.getDetail());case 11:case"end":return n.stop()}}),n)})))()},refuse:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.show=!0;case 1:case"end":return e.stop()}}),e)})))()},pass:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.show=!1;case 1:case"end":return e.stop()}}),e)})))()},jumpToDetail:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.id,n=t.hash_id,window.location.href,window.open("https://kaifain.proginn.com"+"/s/".concat(n),"_black");case 3:case"end":return e.stop()}}),e)})))()},jumpToCheck:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.id,window.open("/main/solution_detail?id=".concat(n),"_self");case 2:case"end":return e.stop()}}),e)})))()},bindCat:function(){event.stopPropagation(),this.catData=[],this.serviceTypeData=[];for(var t=this.bindCatData,i=0;i<t.length;i++){var e=t[i].cat_id;if(void 0!==this.class_map[e]){var n=this.class_map[t[i].cat_id];this.catData.push([n,e])}else this.serviceTypeData.push(e)}this.bindCatForm.cats=this.catData,this.bindCatForm.serviceType=this.serviceTypeData,this.bindCatForm.title="关联领域",this.bindCatDialog=!0},catSub:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,i,data,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.bindCatForm.cats&&!(t.bindCatForm.cats.length<1)){e.next=3;break}return t.$message({type:"error",message:"分类不能为空"}),e.abrupt("return",!1);case 3:if(t.bindCatForm.serviceType&&!(t.bindCatForm.serviceType.length<1)){e.next=6;break}return t.$message({type:"error",message:"服务方式不能为空"}),e.abrupt("return",!1);case 6:for(n=t.bindCatForm.cats,r=t.bindCatForm.serviceType,o=new Array,i=0;i<n.length;i++)o.push(n[i][1]);return data={id:t.id,cats:JSON.stringify(o),serviceType:JSON.stringify(r)},e.next=13,t.$post("/api/admin/kaifain/bindCat",data);case 13:(c=e.sent)&&1===c.status&&(t.$message({type:"success",message:"新增成功!"}),t.resetCat(),t.bindCatDialog=!1);case 15:case"end":return e.stop()}}),e)})))()},resetCat:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,data,r,o,i,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.id,1,data={id:n,page:1},e.next=5,t.$post("/api/admin/kaifain/getSpCat",data);case 5:for((r=e.sent)&&1===r.status&&(t.bindCatData=r.data.list),o=t.bindCatForm.classes,i=0;i<o.length;i++)for(c=o[i].children,l=0;l<c.length;l++)t.class_map[c[l].value]=o[i].value;case 9:case"end":return e.stop()}}),e)})))()},addTag:function(){event.stopPropagation(),this.bindTagForm.title="标签管理",this.bindTagDialog=!0},tagSub:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,i,data,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.bindTagForm.bindTags,r=[],n&&n.length>0)for(i=0;i<n.length;i++)r.push({tag_id:n[i],name:t.tag_map[n[i]]});return data={id:t.id,tags:JSON.stringify(r)},e.next=6,t.$post("/api/admin/kaifain/bindTag",data);case 6:(o=e.sent)&&1===o.status&&(t.$message({type:"success",message:"更新成功!"}),t.resetTag(),t.bindTagDialog=!1);case 8:case"end":return e.stop()}}),e)})))()},resetTag:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,data,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.id,1,data={id:n,page:1},e.next=5,t.$post("/api/admin/kaifain/getSpTag",data);case 5:if((r=e.sent)&&1===r.status)for(t.bindTagData=r.data.list,t.bindTagForm.bindTags=[],o=0;o<t.bindTagData.length;o++)t.bindTagForm.bindTags.push(t.bindTagData[o].tag_id);case 7:case"end":return e.stop()}}),e)})))()},editSolutionInfo:function(){this.choice?this.is_choice=!0:this.is_choice=!1,this.choiceDialog=!0},choiceSub:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var data,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.tempTitle){e.next=3;break}return t.$message({type:"error",message:"标题不能为空"}),e.abrupt("return",!1);case 3:if(t.tempDescription){e.next=6;break}return t.$message({type:"error",message:"标题不能为空"}),e.abrupt("return",!1);case 6:if(t.tempStatus){e.next=9;break}return t.$message({type:"error",message:"标题不能为空"}),e.abrupt("return",!1);case 9:if(t.tempDimension){e.next=12;break}return t.$message({type:"error",message:"标题不能为空"}),e.abrupt("return",!1);case 12:return data={id:t.id,is_choice:t.is_choice?1:0,title:t.tempTitle,description:t.tempDescription,status:t.tempStatus,dimension:t.tempDimension},e.next=15,t.$post("/api/admin/kaifain/editInfo",data);case 15:if(!(n=e.sent)||1!==n.status){e.next=37;break}t.$message({type:"success",message:"编辑成功!"}),e.t0=t.tempStatus,e.next="0"===e.t0?21:"1"===e.t0?23:"2"===e.t0?25:"3"===e.t0?27:29;break;case 21:return t.detailData.verifying.status_name="草稿",e.abrupt("break",31);case 23:return t.detailData.verifying.status_name="待审核",e.abrupt("break",31);case 25:return t.detailData.verifying.status_name="审核通过",e.abrupt("break",31);case 27:return t.detailData.verifying.status_name="审核拒绝",e.abrupt("break",31);case 29:return t.detailData.verifying.status_name="已下架",e.abrupt("break",31);case 31:t.detailData.verifying.title=t.tempTitle,t.detailData.verifying.description=t.tempDescription,t.detailData.verifying.status=t.tempStatus,t.detailData.verifying.dimension=t.tempDimension,t.choice=!!t.is_choice,t.choiceDialog=!1;case 37:case"end":return e.stop()}}),e)})))()},selectChange:function(){this.$forceUpdate()}}}),c=(n(692),n(4)),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;return t.detailData?e("div",[e("el-row",[e("el-col",{attrs:{span:24}},[t._v("企业认证审核")])],1),t._v(" "),e("el-row",[e("el-col",{attrs:{span:16}},[e("el-image",{staticStyle:{width:"50px",height:"50px"},attrs:{src:t.detailData.verifying&&t.detailData.verifying.icon_url}})],1),t._v(" "),e("el-col",{attrs:{span:8}},[e("el-button",{attrs:{size:"mini",type:"info"},on:{click:function(e){return t.userinfo(t.detailData.verifying.uid)}}},[t._v("用户信息")]),t._v(" "),e("el-button",{attrs:{size:"mini",type:"info"},on:{click:function(e){return t.woinfo(t.detailData.verifying.uid)}}},[t._v("主页")]),t._v(" "),e("el-button",{attrs:{size:"mini",type:"info"},on:{click:function(e){return t.returnPage()}}},[t._v("返回")])],1)],1),t._v(" "),e("div",{staticStyle:{height:"8px",background:"#F7F7F7"}}),t._v(" "),e("el-row",{staticStyle:{padding:"14px"}},[e("el-col",{attrs:{span:18}},[e("span",{staticClass:"h2-title"},[t._v("企业认证")])]),t._v(" "),e("el-col",{attrs:{span:5}},[e("el-button",{attrs:{size:"mini"}},[t._v(t._s(this.company_verify_status))]),t._v(" "),e("el-link",{attrs:{type:"primary"},on:{click:function(e){return t.companyVerifyStatus(t.detailData.verifying.uid)}}},[t._v("查看详情")])],1)],1),t._v(" "),e("div",{staticStyle:{height:"8px",background:"#F7F7F7"}}),t._v(" "),t.detailData.companyInfo.base?e("div",[e("el-row",{staticStyle:{padding:"14px"}},[e("el-col",{attrs:{span:19}},[e("span",{staticClass:"h2-title"},[t._v("基本信息")])])],1),t._v(" "),e("div",{staticStyle:{height:"2px",background:"#F7F7F7","margin-bottom":"20px"}}),t._v(" "),e("el-row",{staticStyle:{"margin-left":"14px"}},[e("el-col",{attrs:{span:2}},[e("el-image",{staticStyle:{width:"50px",height:"50px"},attrs:{src:t.detailData.companyInfo.base.logo}})],1),t._v(" "),e("el-col",{attrs:{span:22}},[t._v("\n "+t._s(t.detailData.companyInfo.applyInfo.name)+"\n ")])],1),t._v(" "),e("br"),t._v(" "),e("el-row",{staticStyle:{"margin-left":"14px"}},[e("el-col",{attrs:{span:4}},[e("span",{staticClass:"title-text"},[t._v("企业联系人")]),e("span",{staticClass:"content-text"},[t._v(t._s(t.detailData.companyInfo.applyInfo.name))])]),t._v(" "),e("el-col",{attrs:{span:4}},[e("span",{staticClass:"title-text"},[t._v("联系方式")]),e("span",{staticClass:"content-text"},[t._v(t._s(t.detailData.companyInfo.applyInfo.phone))])])],1),t._v(" "),e("br"),t._v(" "),e("el-row",{staticStyle:{"margin-left":"14px"}},[e("el-col",{attrs:{span:20}},[e("span",{staticClass:"title-text"},[t._v("企业介绍")]),t._v(" "),e("span",{staticClass:"content-text"},[t._v("\n "+t._s(t.detailData.companyInfo.base.description)+"\n ")])])],1)],1):t._e(),t._v(" "),e("div",{staticStyle:{height:"8px",background:"#F7F7F7","margin-top":"10px","margin-bottom":"10px"}}),t._v(" "),e("el-row",[e("el-row",{staticStyle:{padding:"14px 20px","font-size":"16px","font-weight":"500",color:"rgba(29,42,58,1)","line-height":"22px"}},[t._v("\n 已认证解决方案\n ")]),t._v(" "),t.detailData.verifyList?e("div",{staticStyle:{"padding-left":"20px"}},t._l(t.detailData.verifyList,(function(n){return e("el-row",{key:n.id,staticStyle:{"margin-bottom":"18px",padding:"10px",cursor:"pointer"},nativeOn:{click:function(e){return t.jumpToDetail(n)}}},[e("el-col",{attrs:{span:3}},[e("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:n.images}})],1),t._v(" "),e("el-col",{attrs:{span:15}},[e("h3",[t._v(t._s(n.title))]),t._v(" "),e("br"),t._v(" "),e("p",[t._v("方案简介:"+t._s(n.description))]),t._v(" "),e("p",[t._v("成功案例:"+t._s(n.successCase||"暂未添加"))]),t._v(" "),e("p",[e("el-tag",{attrs:{type:"primary"}},[t._v(" "+t._s(n.tech_type_name))])],1)]),t._v(" "),e("el-col",{attrs:{span:6}},[e("p",[t._v("当前状态\n "),e("el-tag",{attrs:{type:"success"}},[t._v(t._s(n.status_name))])],1),t._v(" "),e("br"),t._v(" "),e("p",[e("el-button",{attrs:{size:"mini",type:"info"},on:{click:function(e){return e.stopPropagation(),t.jumpToCheck(n)}}},[t._v("重新审核")])],1)])],1)})),1):t._e()],1),t._v(" "),e("div",{staticStyle:{height:"8px",background:"#F7F7F7","margin-top":"10px","margin-bottom":"10px"}}),t._v(" "),e("div",{staticStyle:{"padding-left":"20px"}},[e("el-row",[e("el-row",{staticStyle:{padding:"5px","margin-bottom":"10px"}},[e("span",{staticClass:"h2-title"},[t._v("当前申请")])]),t._v(" "),e("el-row",{staticStyle:{padding:"10px","box-shadow":"0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04)"}},[e("el-col",{attrs:{span:3}},[e("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:t.detailData.verifying.images}})],1),t._v(" "),e("el-col",{attrs:{span:15}},[e("h3",{on:{click:function(e){return t.jumpToDetail(t.detailData.verifying)}}},[t._v(t._s(t.detailData.verifying.title))]),t._v(" "),e("br"),t._v(" "),e("p",[t._v("方案简介:"+t._s(t.detailData.verifying.description))]),t._v(" "),e("p",[t._v("成功案例:"+t._s(t.detailData.verifying.successCase||"暂未添加"))]),t._v(" "),e("p",{staticStyle:{margin:"3px"}},[t._v("\n 领域:\n "),t._l(t.bindCatData,(function(n,r){return e("el-tag",{staticStyle:{margin:"0 3px"},attrs:{type:"primary"}},[t._v(t._s(n.name))])})),t._v(" "),e("el-button",{attrs:{type:"text"},on:{click:t.bindCat}},[e("i",{staticClass:"el-icon-edit"})])],2),t._v(" "),e("p",{staticStyle:{margin:"3px"}},[t._v("\n 标签:\n "),t._l(t.bindTagData,(function(n,r){return e("el-tag",{staticStyle:{margin:"0 3px"},attrs:{type:"success"}},[t._v(t._s(n.name))])})),t._v(" "),e("el-button",{attrs:{type:"text"},on:{click:t.addTag}},[e("i",{staticClass:"el-icon-edit"})])],2),t._v(" "),null!=t.detailData.verifying.industry_name&&null!=t.detailData.verifying.tech_type_name?e("p",{staticStyle:{margin:"3px"}},[t._v("\n 旧领域:\n "),e("el-tag",{attrs:{type:"success"}},[t._v(" "+t._s(t.detailData.verifying.industry_name))]),t._v(" "),e("el-tag",{attrs:{type:"primary"}},[t._v(" "+t._s(t.detailData.verifying.tech_type_name))]),t._v(" "),e("el-button",{attrs:{type:"text"},on:{click:t.showEdit}},[e("i",{staticClass:"el-icon-edit"})])],1):t._e()]),t._v(" "),e("el-col",{attrs:{span:6}},[e("p",[t._v("当前状态:\n "),e("el-tag",{attrs:{type:t.verifying_status}},[t._v(" "+t._s(t.detailData.verifying.status_name))])],1),t._v(" "),e("br"),t._v(" "),e("p",[t._v("颗粒度:\n "),1==t.detailData.verifying.dimension?e("el-tag",{attrs:{type:"primary"}},[t._v("产品")]):e("el-tag",{attrs:{type:"warning"}},[t._v("集合")])],1),t._v(" "),e("br"),t._v(" "),e("p",[t._v("是否优选:\n "),t.choice?e("el-tag",{attrs:{type:"success"}},[t._v("是")]):e("el-tag",{attrs:{type:"warning"}},[t._v("否")])],1),t._v(" "),e("br"),t._v(" "),1==t.detailData.verifying.source?e("div",[e("p",[t._v("来源:\n "),e("el-tag",{attrs:{type:"success"}},[t._v("用户")])],1),t._v(" "),e("br"),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.editSolutionInfo.apply(null,arguments)}}},[t._v("修改信息")])],1):e("div",[e("p",[t._v("来源:\n "),e("el-tag",{attrs:{type:"warning"}},[t._v("爬虫")])],1),t._v(" "),e("br"),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.editSolutionInfo.apply(null,arguments)}}},[t._v("修改信息")])],1)])],1)],1),t._v(" "),e("br"),t._v(" "),e("el-row",[e("el-radio",{attrs:{label:"3"},on:{change:function(e){return t.refuse()}},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("拒绝")]),t._v(" "),e("el-radio",{attrs:{label:"2"},on:{change:function(e){return t.pass()}},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("通过")])],1),t._v(" "),e("br"),t._v(" "),e("el-row",[e("h4",{staticStyle:{"border-bottom":"solid 1px brown"}},[t._v("邮件内容")]),t._v(" "),t.show?e("el-row",{attrs:{id:"emailRefuseInfo"}},[e("p",[t._v("Hi,"+t._s(t.detailData.verifying.nickname)+",您好!")]),t._v(" "),e("p",[t._v("谢谢您的申请")]),t._v(" "),e("p",[t._v("您的解决方案 "+t._s(t.detailData.verifying.title)+" 暂时不符合我们的认证标准,主要原因是:")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入内容"},model:{value:t.reason,callback:function(e){t.reason=e},expression:"reason"}}),t._v(" "),e("p",[t._v("您可以满足以上要求后,继续申请认证.")]),t._v(" "),e("p",[t._v("谢谢您的支持!")]),t._v(" "),e("p",[t._v("程序员客栈敬上:)")])],1):e("el-row",{attrs:{id:"emailPassInfo"}},[e("p",[t._v("Hi,"+t._s(t.detailData.verifying.nickname)+",您好!")]),t._v(" "),e("p",[t._v("恭喜您的解决方案 "+t._s(t.detailData.verifying.title)+" 通过审核!")]),t._v(" "),e("p",[t._v("谢谢您的支持!")]),t._v(" "),e("p",[t._v("程序员客栈敬上:)")])]),t._v(" "),e("br"),t._v(" "),e("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(e){return t.sendEmail(t.detailData.verifying)}}},[t._v("确定并发送邮件")])],1)],1),t._v(" "),e("br"),t._v(" "),e("el-dialog",{attrs:{title:"更新解决方案",visible:t.showEditStatus},on:{"update:visible":function(e){t.showEditStatus=e}}},[e("el-form",{attrs:{model:t.form}},[e("el-form-item",{attrs:{label:"行业领域","label-width":t.formLabelWidth}},[e("el-select",{attrs:{placeholder:"请选择行业领域"},model:{value:t.form.industry,callback:function(e){t.$set(t.form,"industry",e)},expression:"form.industry"}},[t._l(t.industries,(function(t){return[e("el-option",{attrs:{label:t.name,value:t.id}})]}))],2)],1),t._v(" "),e("el-form-item",{attrs:{label:"技术分类","label-width":t.formLabelWidth}},[e("el-select",{attrs:{placeholder:"请选择技术分类"},model:{value:t.form.tech_type,callback:function(e){t.$set(t.form,"tech_type",e)},expression:"form.tech_type"}},[t._l(t.tech_types,(function(t){return[e("el-option",{attrs:{label:t.name,value:t.id}})]}))],2)],1)],1),t._v(" "),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.showEditStatus=!1}}},[t._v("取 消")]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:t.updateSolution}},[t._v("确 定")])],1)],1),t._v(" "),e("el-dialog",{attrs:{title:t.bindCatForm.title,visible:t.bindCatDialog,width:"40%"},on:{"update:visible":function(e){t.bindCatDialog=e}}},[e("el-form",{ref:"form",attrs:{model:t.bindCatForm,"label-width":"100px"}},[e("el-form-item",[e("p",{attrs:{slot:"label"},slot:"label"},[t._v("选择分类"),e("span",{staticStyle:{color:"red"}},[t._v("*")])]),t._v(" "),e("el-cascader",{attrs:{options:t.bindCatForm.classes,props:t.props,clearable:""},model:{value:t.bindCatForm.cats,callback:function(e){t.$set(t.bindCatForm,"cats",e)},expression:"bindCatForm.cats"}})],1),t._v(" "),e("el-form-item",[e("p",{attrs:{slot:"label"},slot:"label"},[t._v("服务方式"),e("span",{staticStyle:{color:"red"}},[t._v("*")])]),t._v(" "),e("el-select",{attrs:{multiple:"",filterable:"",placeholder:"请选择"},on:{change:t.selectChange},model:{value:t.bindCatForm.serviceType,callback:function(e){t.$set(t.bindCatForm,"serviceType",e)},expression:"bindCatForm.serviceType"}},t._l(t.bindCatForm.serviceTypes,(function(t){return e("el-option",{key:t.hash_id,attrs:{label:t.name,value:t.hash_id}})})),1)],1),t._v(" "),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:t.catSub}},[t._v("提交")])],1)],1)],1),t._v(" "),e("el-dialog",{attrs:{title:t.bindTagForm.title,visible:t.bindTagDialog,width:"40%"},on:{"update:visible":function(e){t.bindTagDialog=e}}},[e("el-form",{ref:"form",attrs:{model:t.bindTagForm,"label-width":"100px"}},[e("el-form-item",[e("p",{attrs:{slot:"label"},slot:"label"},[t._v("标签"),e("span",{staticStyle:{color:"red"}},[t._v("*")])]),t._v(" "),e("el-select",{attrs:{multiple:"",filterable:"",placeholder:"请选择标签"},on:{change:t.selectChange},model:{value:t.bindTagForm.bindTags,callback:function(e){t.$set(t.bindTagForm,"bindTags",e)},expression:"bindTagForm.bindTags"}},t._l(t.bindTagForm.tagDatas,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:t.tagSub}},[t._v("提交")])],1)],1)],1),t._v(" "),e("el-dialog",{attrs:{title:"设置优选服务",visible:t.choiceDialog,width:"40%"},on:{"update:visible":function(e){t.choiceDialog=e}}},[e("el-form",{ref:"form",attrs:{"label-width":"100px"}},[e("el-form-item",[e("p",{attrs:{slot:"label"},slot:"label"},[t._v("标题")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入标题"},model:{value:t.tempTitle,callback:function(e){t.tempTitle=e},expression:"tempTitle"}})],1),t._v(" "),e("el-form-item",[e("p",{attrs:{slot:"label"},slot:"label"},[t._v("简介")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入简介"},model:{value:t.tempDescription,callback:function(e){t.tempDescription=e},expression:"tempDescription"}})],1),t._v(" "),e("el-form-item",[e("p",{attrs:{slot:"label"},slot:"label"},[t._v("状态")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择状态"},model:{value:t.tempStatus,callback:function(e){t.tempStatus=e},expression:"tempStatus"}},t._l(t.statusData,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),e("el-form-item",[e("p",{attrs:{slot:"label"},slot:"label"},[t._v("颗粒度")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择颗粒度"},model:{value:t.tempDimension,callback:function(e){t.tempDimension=e},expression:"tempDimension"}},t._l(t.dimensionData,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),e("el-form-item",[e("p",{attrs:{slot:"label"},slot:"label"},[t._v("优选服务")]),t._v(" "),e("el-switch",{model:{value:t.is_choice,callback:function(e){t.is_choice=e},expression:"is_choice"}})],1),t._v(" "),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:t.choiceSub}},[t._v("提交")])],1)],1)],1),t._v(" "),e("el-row",{staticStyle:{"border-bottom":"solid 3px green"}},[t._v("\n 审核记录\n ")]),t._v(" "),e("br"),t._v(" "),t._l(t.detailData.audit_record,(function(n){return e("el-row",{key:n.id,staticStyle:{"box-shadow":"0 2px 4px #ccc, 0 0 6px #ccc"}},[e("el-col",{attrs:{span:18}},[e("h4",{staticStyle:{"border-bottom":"solid 1px brown",padding:"10px"}},[t._v(t._s(n.status_name))])]),t._v(" "),e("el-col",{attrs:{span:6}},[e("p",{staticStyle:{"border-bottom":"solid 1px brown",padding:"10px"}},[t._v(t._s(n.nickname)+" "+t._s(n.audit_time))])]),t._v(" "),e("p",{staticStyle:{padding:"10px"}},[t._v("邮件内容")]),t._v(" "),e("div",{staticStyle:{"background-color":"#ccc",padding:"10px"},domProps:{innerHTML:t._s(n.audit_data)}},[t._v("\n "+t._s(n.audit_data)+"\n ")])],1)}))],2):t._e()}),[],!1,null,"51ba8ef6",null);e.default=component.exports}}]);
|