1 |
- webpackJsonp([52],{"0l2P":function(e,t){},"0xlI":function(e,t){},"1mq1":function(e,t){},"1vUh":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAMnUlEQVRYR51YbbBd5VV+1nrfvffZ5+Pem9zc3NwQQvgQQhIlaeIETFtSbUstyIAYGAsiQhWHXx21dUYsCWCrU7SgP5iq04K0MNPGjh/TOlQZvWWoEE0kHUkIofkAbnJvcr/P997v+67l7EMIXA1JcP88Z599nv28az3reRbhfC5V2vCjt0aMNR8Fm+tVZRURL4fqEIgmVeU4ER+FhO8HH55/ecuF4yDS83n0+91D5/rxVbvGLo9gvgTgBhBKp+7PATRVqUOkKYAqgLj3naIL4HsO4f4fb15x8FzP/8DANu7eHUEu+EMofocIVYXOsdC/IgvfTrp8iBuhnk6Xmp3BblVqpi8ryaVIzG3C+vMEGlBFE4Svgo/90Z5Nm9wHBXhGxq7597cWO2O/CcKniz8wAU9Gx/OvDR6iWbLGmITYdXJGqQR0u4jSWEKmoj6E6Ut1kVse/3YwuKt4ISj+KQr+1178uQtnPgi4hcBUafOumVrg/DkAPwvgcHlSf6PvdT3KInGgEMGzMRGxYSINjshEGkQ1OBVYCUaNE+a8/lO0qj1ETwC4BIr/NBp/fNfmxY3zrb13ganS2gf3R+mnFj0DpltIsKf2Ju4rvRXmrGgJRmNVtgxiNmCRQIAF4MFsVAJEoEIkHoFyz9TtXmgGGivxuDI2QvS7nWdnP7Nv+xp3PuDeBqZKWx8cNa1PrX5AGV+E4NVFR/TO8njIhG1JfZ4Qx4Y08DvHwaKnu06YTr+gkhGVPJCNMxbfbY+YZPZiegqMK0nwcOXZAw+Nbt8azgWO3gHVuPaKy6hML4MQKmNyc/8RTBGQEkscQEwCheEA1aCiQUmFRNXEEQUXmJgMiAyCGGWQgYoK5wp05i/GktYK/rviCdrWDbUfvvaTc4Ej7FDeOLKnROtXPA3Sm0wH3xjZq497pylHGqmAiuMRx04p5EbZORIf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cVozyErTzWN2ZWJImZbTRMopbLCZPvEtmSajsTzcjLolotjGVZWFFfESYxKqPYKh+EpYVdeT7Z7BTIbft20uTabdQYAXXH99MarMF+7EdpZI3WxqFD+3bqzrXb9P8L5r1Q/gdan7eQfPilKAAAAABJRU5ErkJggg=="},"2uFj":function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"d",function(){return a}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return s});var i={},a=function(e){i=e},o="#/login",s=""},"3Kss":function(e,t,n){"use strict";var i={0:"IOS",1:"ANDROID",2:"WEB"},a={name:"Project-Item",props:{projectItem:{}},data:function(){return{project:this.projectItem,platformType:i}},mounted:function(){},methods:{goToProjectDetail:function(e){this.$router.push({name:"Project",params:{projectId:e}})}}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"project-item-container"},[n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[e._v(e._s(e.project.name))]),e._v(" "),n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[n("el-badge",{staticClass:"item",attrs:{value:e.project.statusVO.text,type:e.project.statusVO.style}})],1),e._v(" "),n("el-col",{attrs:{span:3,type:"flex",align:"middle",justify:"center"}},[n("span",{class:["badge"],staticStyle:{"font-size":"10px"}},[e._v(e._s(e.project.platform))])]),e._v(" "),n("el-col",{attrs:{span:3,type:"flex",align:"middle",justify:"center"}},[n("div",{staticClass:"badge"},[e._v("¥"+e._s(e.project.budget))])]),e._v(" "),n("el-col",{attrs:{span:3,type:"flex",align:"middle",justify:"center"}},[n("div",[e._v(e._s(e.project.joinCount))])]),e._v(" "),n("el-col",{attrs:{span:4,type:"flex",align:"middle",justify:"center"}},[e.project.needHandle?n("el-badge",{staticClass:"item",attrs:{"is-dot":""}},[n("span",{staticClass:"btn btn-small btn-info",on:{click:function(t){return e.goToProjectDetail(e.project.id)}}},[e._v("查看详情")])]):e._e(),e._v(" "),e.project.needHandle?e._e():n("span",{staticClass:"btn btn-small btn-info",on:{click:function(t){return e.goToProjectDetail(e.project.id)}}},[e._v("查看详情")])],1)],1)],1)},staticRenderFns:[]};var s=n("VU/8")(a,o,!1,function(e){n("wj71")},"data-v-5daf0349",null);t.a=s.exports},"4YzN":function(e,t){},"5W1q":function(e,t){},"7BN6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("SQ4B"),a=n("b9vf"),o=n("qI5z"),s=n("vGYV"),r={name:"ProjectAdd",data:function(){return{userId:0,user:{},loading:!1,dialogVisible:!1,isModifyMode:!0,serviceType:[],platforms:[],isFormSubmit:!0,downloadFile:"",project:{name:"",description:"",contactName:"",contactPhone:"",platform:[],type:[],requireDoc:[],requireDocUrl:"",file:[],fileUrl:"",excelFile:[],excelFileUrl:"",price:"",datetime:""},projectList:[{id:null,name:"广东省农产品商贸交易服务平台",code:"PROJ-2020070820055",userId:20473,regionalManagerId:99222,projectDistributionTypeId:1,fieldType:"KJFW",applicationType:"WEB",type:"GNCS",linkMan:"张三",linkManMobile:"13512345678",description:"本平台提供农产品网上供求信息的发布、在线交易服务等功能,帮助用户快速捕获商机,具备开设网上交易会和网上农博会,为用户提供更广阔的宣传平台。",projectFile:"",requirementFile:"",distributionProvince:"江苏",distributionCity:"南京",valuationStandard:"1200元/(人天)",quotedPrice:3e4,fixedPrice:3e4,restPrice:null,entrustUnit:"广东省农村信息中心",status:4,deadTime:"2020-07-08T12:16:34.695+0000",endTime:"2020-07-08T12:16:34.695+0000",isDeleted:0,joinCount:1,createTime:null,crowdTestTaskList:[{id:null,name:"广东省农产品商贸交易服务平台-GNCS",code:"TASK-GNCS-2020070820008",crowdTestProjectCode:"PROJ-2020070820055",evaluationAgencyId:1,type:"GNCS",description:"本平台提供农产品网上供求信息的发布、在线交易服务等功能,帮助用户快速捕获商机,具备开设网上交易会和网上农博会,为用户提供更广阔的宣传平台。",requirementFile:"",distributionType:0,distributionProvince:null,distributionCity:null,quotedPrice:3e4,fixedPrice:3e4,status:4,fullStatus:0,deadTime:"2020-07-08T12:16:34.695+0000",endTime:"2020-07-08T12:16:34.695+0000",isDeleted:0,createTime:null,participantCount:1,acceptedCount:1,participantHasCommittedCount:1,acceptedUserList:[{id:null,taskCode:"TASK-GNCS-2020070820008",userId:20473,quotedPrice:0,hasReport:1,distributionType:1,isAccepted:1,acceptTime:null,isCommitted:1,user:null,commitTaskTime:"2020-07-08T12:16:34.695+0000",commitReportTime:"2020-07-08T12:16:34.695+0000",crowdTestReportList:[{id:null,name:"广东省农产品商贸交易服务平台-GNCS测试报告",code:"REPORT-2020070820089",userId:20473,dependencyCode:"TASK-GNCS-2020070820008",type:"测试报告",scope:1,testObject:null,description:null,content:"对平台的供求信息发布、在线交易、网上上交易会等模块进行了功能性测试,所有测试项均符合项目需求规格说明书的要求",file:null,conclusion:"通过",isDeleted:0,createTime:null}]}]}],crowdTestReportForProject:{id:null,name:"广东省农产品商贸交易服务平台测试报告",code:"REPORT-2020070820090",userId:null,dependencyCode:"PROJ-2020070820055",type:"GNCS",scope:0,testObject:"广东省农产品商贸交易服务平台",description:"本平台提供农产品网上供求信息的发布、在线交易服务等功能,帮助用户快速捕获商机,具备开设网上交易会和网上农博会,为用户提供更广阔的宣传平台。",content:"对平台的供求信息发布、在线交易、网上上交易会等模块进行了功能性测试,所有测试项均符合项目需求规格说明书的要求",file:null,conclusion:"通过",isDeleted:0,createTime:null}}],excelFile:{},rules:{},pickerOptions:{shortcuts:[{text:"今天",onClick:function(e){e.$emit("pick",new Date)}},{text:"昨天",onClick:function(e){var t=new Date;t.setTime(t.getTime()-864e5),e.$emit("pick",t)}},{text:"一周前",onClick:function(e){var t=new Date;t.setTime(t.getTime()-6048e5),e.$emit("pick",t)}}]},tableData:[{date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1517 弄"},{date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1519 弄"},{date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1516 弄"}]}},mounted:function(){var e=this;this.$nextTick(function(){e.init()})},methods:{init:function(){this.setServiceType(),this.setPlatformType(),this.setUserInfo(),this.setTemplateExcel()},loadData:function(){},modifyInfo:function(){this.isModifyMode=!0},submitInfo:function(){var e=this;this.showLoading();var t={userId:this.user.userVO.id,name:this.project.name,description:this.project.description,contactName:this.project.contactName,contactPhone:this.project.contactPhone,platform:this.project.platform,type:this.project.type,doc:this.project.requireDocUrl,file:this.project.fileUrl,price:this.project.price,datetime:this.project.datetime};i.a.post(a.a.PROJECT.ADD_PROJECT,t).then(function(t){e.hideLoading(),e.createProjectByFormSuccessConfirm(),console.log(t)}).catch(function(t){e.hideLoading(),Object(o.a)("error",t.data)})},handleRemove:function(e,t){console.log(e,t)},handleExceed:function(e,t){this.$message.warning("当前限制选择 1 个文件,本次选择了 "+e.length+" 个文件,共选择了 "+(e.length+t.length)+" 个文件")},beforeRemove:function(e,t){},beforeFileUpload:function(){},uploadProjectCreateExcelFile:function(e){var t=this;if(null!=Object(s.K)("user")){this.showLoading();var n=new FormData;n.append("file",e.file),i.a.upload(a.a.PROJECT.ADD_PROJECT_BY_EXCEL_PRE.replace("{userId}",this.user.userVO.id),n,{headers:{"Content-Type":"multipart/form-data"}}).then(function(e){console.log(e),t.projectList=e.data,t.hideLoading(),t.showDialog()}).catch(function(e){console.log("打印错误信息!!!"),console.log(e.response.data),Object(o.a)("error",e.response.data),t.hideLoading()})}else Object(o.a)("warning","请登录")},uploadRequireDoc:function(e){var t=this,n=new FormData;n.append("file",e.file),i.a.upload(a.a.FILE.REQUIREMENT_FILE.replace("{userId}",this.user.userVO.id),n,{headers:{"Content-Type":"multipart/form-data"}}).then(function(e){console.log("上传成功"),t.project.requireDocUrl=e.data,console.log(e.data),Object(o.a)("success","上传成功")}).catch(function(e){Object(o.a)("error",e.data)})},uploadApkFile:function(e){var t=this,n=new FormData;n.append("file",e.file),i.a.upload(a.a.FILE.APK.replace("{userId}",this.user.userVO.id),n,{headers:{"Content-Type":"multipart/form-data"}}).then(function(e){console.log("上传成功"),t.project.fileUrl=e.data,console.log(e),Object(o.a)("success","上传成功")}).catch(function(e){Object(o.a)("error",e.data)})},handleDialogClose:function(e){this.hideDialog(),this.project.excelFile=[]},hindDialog:function(){this.hideDialog()},ensureSubmitExcel:function(){var e=this;null!=Object(s.K)("user")?(this.hideDialog(),this.showLoading(),this.project.excelFile=[],i.a.post(a.a.PROJECT.ADD_PROJECT_BY_EXCEL,this.projectList).then(function(t){Object(o.a)("success","添加成功"),e.hideLoading()}).catch(function(t){Object(o.a)("error",t.data),e.hideLoading()})):Object(o.a)("warning","请登录")},showDialog:function(){this.dialogVisible=!0},hideDialog:function(){this.dialogVisible=!1},setServiceType:function(){var e=this;Object(s.r)().then(function(t){e.serviceType=t})},setPlatformType:function(){var e=this;Object(s.l)().then(function(t){e.platforms=t})},createProjectByFormSuccessConfirm:function(){var e=this;this.$confirm("项目创建成功,是否跳转至主页?","提示",{confirmButtonText:"跳转至主页",cancelButtonText:"继续创建项目",type:"success"}).then(function(){e.$router.push({name:"Home"})}).catch(function(){e.resetForm()})},resetForm:function(){this.project={name:"",description:"",contactName:"",contactPhone:"",platform:[],type:[],requireDoc:[],requireDocUrl:"",file:[],fileUrl:"",excelFile:[],excelFileUrl:"",price:"",datetime:""}},setUserInfo:function(){this.user=Object(s.K)("user")},setTemplateExcel:function(){this.showLoading(),Object(s.x)(this.setTemplateExcelSuccess,this.setTemplateExcelFail)},setTemplateExcelSuccess:function(e){this.hideLoading(),this.downloadFile=e.fileUrl},setTemplateExcelFail:function(e){this.hideLoading(),Object(o.a)("error","加载模板文件失败:"+e.data)},showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1}},watch:{serviceType:function(e){this.serviceType=e}},created:function(){}},c={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"create-container"},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"create-body"},[n("div",{staticClass:"title"},[e._v("创建项目")]),e._v(" "),n("el-tabs",{attrs:{tabPosition:"top",type:"card"}},[n("el-tab-pane",{attrs:{label:"批量创建项目"}},[n("el-form",{ref:"project",staticClass:"demo-report",attrs:{model:e.project,rules:e.rules,"label-width":"12%"}},[n("el-form-item",{attrs:{prop:"file",label:"Excel模板文件"}},[n("a",{attrs:{href:e.downloadFile}},[n("el-link",{attrs:{underline:!1,type:"primary"}},[n("i",{staticClass:"el-icon-document"}),e._v("下载文档\n ")])],1)]),e._v(" "),n("el-form-item",{attrs:{type:"file",prop:"file",label:"Excel文件"}},[e.isModifyMode?n("el-upload",{staticClass:"upload-demo",staticStyle:{width:"400px"},attrs:{drag:"",action:"","on-remove":e.handleRemove,"before-remove":e.beforeRemove,limit:1,"on-exceed":e.handleExceed,"before-upload":e.beforeFileUpload,"http-request":e.uploadProjectCreateExcelFile,"file-list":e.project.excelFile}},[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v("\n 将文件拖到此处,或\n "),n("em",[e._v("点击上传")])])]):e._e()],1),e._v(" "),e.isModifyMode?n("el-form-item",[n("div",{staticClass:"btn btn-primary btn-info",on:{click:function(t){return e.ensureSubmitExcel()}}},[e._v("确认提交")])]):e._e()],1),e._v(" "),n("el-dialog",{attrs:{title:"您添加的项目",visible:e.dialogVisible,width:"80%","before-close":e.handleDialogClose,center:""},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("span",[n("el-table",{staticStyle:{width:"auto"},attrs:{data:e.projectList}},[n("el-table-column",{attrs:{prop:"name",label:"项目名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"platform",label:"领域类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.fieldType))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"name",label:"应用类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.applicationType))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"platform",label:"测试类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.type))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"platform",label:"委托单位"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.entrustUnit))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"linkMan",label:"项目联系人"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.linkMan))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"linkManMobile",label:"联系方式"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.linkManMobile))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"description",label:"项目需求描述"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.description))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"description",label:"计价标准"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.valuationStandard))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"description",label:"测试报告内容"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.crowdTestReportForProject.content))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"description",label:"测试报告结论"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.crowdTestReportForProject.conclusion))])]}}])})],1)],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:e.handleDialogClose}},[e._v("取消")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.hindDialog}},[e._v("确认")])],1)])],1)],1)],1)])},staticRenderFns:[]};var l=n("VU/8")(r,c,!1,function(e){n("OUyB")},"data-v-751170dc",null);t.default=l.exports},"9NgT":function(e,t){},"9od8":function(e,t,n){"use strict";var i={0:"已结束",1:"进行中"},a={name:"Task-Item",props:{task:{}},data:function(){return{taskTable:this.task,taskStatus:i}},mounted:function(){},methods:{goToTaskDetail:function(e,t){this.$router.push({name:"Task",params:{projectId:e,taskId:t}})}},watch:{task:function(){this.taskTable=this.task}}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"task-item-container"},[n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{attrs:{span:4,type:"flex",align:"middle",justify:"center"}},[e._v(e._s(e.taskTable.title))]),e._v(" "),n("el-col",{attrs:{span:5,type:"flex",align:"middle",justify:"center"}},[n("el-badge",{staticClass:"item",attrs:{value:e.taskTable.statusVO.text,type:e.taskTable.statusVO.style}})],1),e._v(" "),n("el-col",{attrs:{span:4,type:"flex",align:"middle",justify:"center"}},[n("div",{staticClass:"badge",attrs:{type:"flex",align:"middle",justify:"center"}},[e._v("\n "+e._s(e.taskTable.serviceType)+"\n ")])]),e._v(" "),n("el-col",{attrs:{span:4,type:"flex",align:"middle",justify:"center"}},[e._v("¥"+e._s(null==e.taskTable.quotePrice?0:e.taskTable.quotePrice))]),e._v(" "),n("el-col",{attrs:{span:4,type:"flex",align:"middle",justify:"center"}},[e._v("\n "+e._s(e.taskTable.acceptedCount)+" / "+e._s(e.taskTable.participantCount)+"\n ")]),e._v(" "),n("el-col",{attrs:{span:3,type:"flex",align:"middle",justify:"center"}},[n("span",{staticClass:"btn btn-medium btn-info",on:{click:function(t){return e.goToTaskDetail(e.taskTable.projectId,e.taskTable.id)}}},[e._v("查看详情")])])],1)],1)},staticRenderFns:[]};var s=n("VU/8")(a,o,!1,function(e){n("NtRU")},"data-v-bafcc8e2",null);t.a=s.exports},AHgd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("BO1k"),a=n.n(i),o=n("SQ4B"),s=n("b9vf"),r=n("dlH2"),c=n("atWu"),l=n.n(c),u=n("siQe"),d=n("qI5z"),p=n("vGYV"),h={name:"ProjectCreate",components:{provincecity:r.a},data:function(){var e=this;return{dialogVisible:!1,user:{},loading:!1,tabPosition:"top",institutionArray:[],value:"",fields:[{code:"",name:""}],platforms:[{code:"",name:""}],serviceType:[{code:"",name:""}],resourceType:u.a,project:{userId:0,name:"",contactName:"",contactPhone:"",type:[],platform:"",valuationStandard:"",field:"",desc:"",doc:[],file:[],requireDocUrl:"",fileUrl:"",resource:"0",location:{provinceCode:"3200",cityCode:""},institution:{},datetime:"",price:"",usage:"",budget:""},pickerOptions:{disabledDate:function(e){return e.getTime()<=Date.now()},shortcuts:[{text:"今天",onClick:function(e){e.$emit("pick",new Date)}},{text:"明天",onClick:function(e){var t=new Date;t.setTime(t.getTime()+864e5),e.$emit("pick",t)}},{text:"一周后",onClick:function(e){var t=new Date;t.setTime(t.getTime()+6048e5),e.$emit("pick",t)}}]},rules:{name:[{required:!0,message:"请输入项目名称",trigger:"blur"},{min:5,max:50,message:"项目名称长度在 5 到 50 个字符",trigger:"blur"}],contactName:[{required:!0,message:"请输入联系人姓名",trigger:"blur"}],contactPhone:[{required:!0,message:"请输入手机号",trigger:"blur"},{min:11,max:11,message:"请输入正确的手机号",trigger:"blur"},{validator:function(t,n,i){e.checkPhoneNumber(n)?i():i(new Error("手机号输入有误"))},trigger:"blur"}],type:[{required:!0,message:"请至少选择一种测试类型",trigger:"change"}],platform:[{required:!0,message:"请至少选择一个应用类型",trigger:"change"}],field:[{required:!0,message:"请至少选择一个领域类型",trigger:"change"}],desc:[{required:!1,message:"请填写描述",trigger:"blur"}],budget:[{required:!0,message:"预算不可为空",trigger:"blur"},{validator:function(e,t,n){parseInt(t)<0?n(new Error("请输入不小于0的数")):n()},trigger:"blur"}],resource:[{required:!0},{validator:function(t,n,i){0==n&&null==e.project.institution.id?i(new Error("定向发布至少要选择一个区域管理员")):i()},trigger:"change"}],datetime:[{required:!0,message:"截止时间不可为空",trigger:"blur"}]}}},mounted:function(){var e=this;this.$nextTick(function(){e.init()})},watch:{serviceType:function(e){this.serviceType=e},institutionArray:function(e){this.institutionArray=e},deep:!0},methods:{updateLocation:function(e){var t="",n="",i=!0,o=!1,s=void 0;try{for(var r,c=a()(l.a.provinces);!(i=(r=c.next()).done);i=!0){var u=r.value;if(u.code===e.provinceCode){t=u.name;var d=!0,p=!1,h=void 0;try{for(var m,f=a()(u.cities);!(d=(m=f.next()).done);d=!0){var v=m.value;if(v.code===e.cityCode){n=v.name;break}}}catch(e){p=!0,h=e}finally{try{!d&&f.return&&f.return()}finally{if(p)throw h}}}}}catch(e){o=!0,s=e}finally{try{!i&&c.return&&c.return()}finally{if(o)throw s}}return t+" / "+n},getValue:function(e){this.value=e[0],this.project.institution.id=e[1],this.project.institution.name=e[0]},locationChange:function(e,t){(e||t)&&(this.project.location={provinceCode:e,cityCode:t})},init:function(){this.setServiceType(),this.setFields(),this.setPlatforms(),this.setInstitution(),this.setUserInfo()},submitForm:function(){var e=this;this.$refs.project.validate(function(t){if(!t)return console.log(t),e.hideLoading(),Object(d.a)("error","表单填写错误!"),!1;e.showLoading();var n=Object(p.A)(e.project.location.provinceCode,e.project.location.cityCode),i={userId:e.user.userVO.id,name:e.project.name,type:e.project.type,platform:e.project.platform,field:e.project.field,desc:e.project.desc,valuationStandard:e.project.valuationStandard,resource:e.project.resource,location:n,institution:e.project.institution.id,contactName:e.project.contactName,contactPhone:e.project.contactPhone,doc:e.project.requireDocUrl,file:e.project.fileUrl,budget:e.project.budget,datetime:e.project.datetime,usage:e.project.usage,price:e.project.price};console.log(i),o.a.post(s.a.PROJECT.CREATE_PROJECT,i).then(function(t){e.hideLoading(),e.createProjectSuccess(t.projectDetails.id)}).catch(function(t){e.hideLoading(),Object(d.a)("error",t.data)})})},resetForm:function(e){this.$refs[e].resetFields(),this.project.name="",this.project.type=[],this.project.platform="",this.project.field="",this.project.desc="",this.project.valuationStandard="",this.project.file="",this.project.doc="",this.project.contactName="",this.project.contactPhone="",this.project.resource="非定向",this.project.institution="",this.project.datetime="",this.project.price="",this.project.usage="",this.project.budget=""},beforeApkUpload:function(e){return!0},beforeApkUploadError:function(){this.$message.error("上传文件只能是exe,dmg,apk格式!")},beforeFileUpload:function(e){return!0},beforeFileUploadError:function(){this.$message.error("上传文件只能是 PDF 、 DOC 、DOCX 、XLS、TXT、XLSX 格式!")},loadData:function(){var e=this;o.a.get(s.a.PAGE.PROJECT_DETAIL_PAGE).then(function(t){e.project=t.project})},handleRemove:function(e,t){},handleExceed:function(e,t){this.$message.warning("当前限制选择 1 个文件,本次选择了 "+e.length+" 个文件,共选择了 "+(e.length+t.length)+" 个文件")},beforeRemove:function(e,t){},uploadRequireDoc:function(e){var t=this;this.showLoading();var n=new FormData;n.append("file",e.file),o.a.upload(s.a.FILE.REQUIREMENT_FILE.replace("{userId}",this.user.userVO.id),n,{headers:{"Content-Type":"multipart/form-data"}}).then(function(e){t.hideLoading(),Object(d.a)("success","需求文档上传成功"),t.project.requireDocUrl=e.data}).catch(function(e){t.hideLoading(),t.project.doc=[],Object(d.a)("error","需求文档上传失败:"+e.data)})},uploadApkFile:function(e){var t=this;this.showLoading();var n=new FormData;n.append("file",e.file),o.a.upload(s.a.FILE.APK.replace("{userId}",this.user.userVO.id),n,{headers:{"Content-Type":"multipart/form-data"}}).then(function(e){t.hideLoading(),Object(d.a)("success","文件上传成功"),t.project.fileUrl=e.data,console.log(e)}).catch(function(e){t.hideLoading(),t.project.file=[],Object(d.a)("error","文件上传失败:"+e.data)})},setServiceType:function(){var e=this;Object(p.r)().then(function(t){e.serviceType=t})},setFields:function(){var e=this;Object(p.m)().then(function(t){e.fields=t})},setPlatforms:function(){var e=this;Object(p.l)().then(function(t){e.platforms=t})},setInstitution:function(){var e=this;Object(p.p)().then(function(t){e.institutionArray=t})},setUserInfo:function(){this.user=Object(p.K)("user")},createProjectSuccess:function(e){var t=this;this.$alert("项目创建成功","创建成功",{confirmButtonText:"确定",callback:function(n){t.$router.push({name:"Project",params:{projectId:e}})}})},checkPhoneNumber:function(e){return/^1[3456789]\d{9}$/.test(e)},showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1}}},m={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"create-container"},[n("div",{staticClass:"title h1"},[e._v("创建项目")]),e._v(" "),n("div",{staticClass:"create-body"},[n("el-form",{ref:"project",staticClass:"demo-project",attrs:{model:e.project,rules:e.rules,"label-width":"12%"}},[n("el-form-item",{attrs:{label:"项目名称",prop:"name"}},[n("el-input",{attrs:{size:"small",placeholder:"请输入项目名称"},model:{value:e.project.name,callback:function(t){e.$set(e.project,"name",t)},expression:"project.name"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"联系人",prop:"contactName"}},[n("el-input",{attrs:{size:"small",placeholder:"请输入联系人姓名"},model:{value:e.project.contactName,callback:function(t){e.$set(e.project,"contactName",t)},expression:"project.contactName"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"手机号",prop:"contactPhone"}},[n("el-input",{attrs:{size:"small",placeholder:"请输入联系人电话"},model:{value:e.project.contactPhone,callback:function(t){e.$set(e.project,"contactPhone",t)},expression:"project.contactPhone"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"预算",prop:"budget"}},[n("el-input",{attrs:{size:"small",type:"number",placeholder:"请输入项目预算"},model:{value:e.project.budget,callback:function(t){e.$set(e.project,"budget",t)},expression:"project.budget"}},[n("template",{slot:"append"},[e._v("¥")])],2)],1),e._v(" "),n("el-form-item",{attrs:{label:"计价标准",prop:"valuationStandard"}},[n("el-input",{staticStyle:{width:"400px"},attrs:{type:"textarea",placeholder:"请输入项目的计价标准(eg:1200/人天)"},model:{value:e.project.valuationStandard,callback:function(t){e.$set(e.project,"valuationStandard",t)},expression:"project.valuationStandard"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"需求描述",prop:"desc"}},[n("el-input",{staticStyle:{width:"400px"},attrs:{type:"textarea",placeholder:"请输入对项目的描述"},model:{value:e.project.desc,callback:function(t){e.$set(e.project,"desc",t)},expression:"project.desc"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"领域类型",prop:"field"}},[n("el-radio-group",{model:{value:e.project.field,callback:function(t){e.$set(e.project,"field",t)},expression:"project.field"}},e._l(e.fields,function(t,i){return n("span",{key:i},[n("el-radio",{attrs:{label:t.code}},[e._v(e._s(t.name)+" ")])],1)}),0)],1),e._v(" "),n("el-form-item",{attrs:{label:"应用类型",prop:"platform"}},[n("el-radio-group",{model:{value:e.project.platform,callback:function(t){e.$set(e.project,"platform",t)},expression:"project.platform"}},e._l(e.platforms,function(t,i){return n("span",{key:i},[n("el-radio",{attrs:{label:t.code}},[e._v(e._s(t.name)+" ")])],1)}),0)],1),e._v(" "),n("el-form-item",{attrs:{label:"测试类型",prop:"type"}},[n("el-checkbox-group",{model:{value:e.project.type,callback:function(t){e.$set(e.project,"type",t)},expression:"project.type"}},e._l(e.serviceType,function(t,i){return n("span",{key:i},[n("el-checkbox",{attrs:{label:t.code,name:"type"}},[e._v(e._s(t.name)+" ")])],1)}),0)],1),e._v(" "),n("el-form-item",{attrs:{label:"项目可见性",prop:"resource"}},[n("el-tabs",{staticStyle:{"max-height":"200px"},attrs:{"tab-position":e.tabPosition},model:{value:e.project.resource,callback:function(t){e.$set(e.project,"resource",t)},expression:"project.resource"}},[n("el-tab-pane",{attrs:{label:e.resourceType[0],name:"0"}},[n("el-select",{attrs:{filterable:"",placeholder:"请选择"},on:{change:e.getValue},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.institutionArray,function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:[e.name,e.id]}})}),1)],1),e._v(" "),n("el-tab-pane",{attrs:{label:e.resourceType[1],name:"1"}},[n("provincecity",{ref:"addFormProvince",attrs:{provinceCode:e.project.location.provinceCode,cityCode:e.project.location.cityCode},on:{selectChange:e.locationChange}})],1),e._v(" "),n("el-tab-pane",{attrs:{label:e.resourceType[2],name:"2"}})],1)],1),e._v(" "),n("el-form-item",{attrs:{label:"需求文档",prop:"doc"}},[n("el-upload",{staticClass:"upload-demo",staticStyle:{width:"400px"},attrs:{drag:"",action:"","on-remove":e.handleRemove,"before-remove":e.beforeRemove,limit:1,"on-exceed":e.handleExceed,"before-upload":e.beforeFileUpload,"http-request":e.uploadRequireDoc,"file-list":e.project.doc}},[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v("\n 将文件拖到此处,或\n "),n("em",[e._v("点击上传")])])])],1),e._v(" "),n("el-form-item",{attrs:{label:"安装包",prop:"file"}},[n("el-upload",{staticClass:"upload-demo",staticStyle:{width:"400px"},attrs:{drag:"",action:"","on-remove":e.handleRemove,limit:1,"on-exceed":e.handleExceed,"before-upload":e.beforeApkUpload,"http-request":e.uploadApkFile,"file-list":e.project.file}},[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v("\n 将文件拖到此处,或\n "),n("em",[e._v("点击上传")])])])],1),e._v(" "),n("el-form-item",{attrs:{label:"项目截止时间",prop:"datetime"}},[n("div",{staticClass:"block"},[n("el-date-picker",{attrs:{size:"small",type:"datetime",placeholder:"选择截止时间",align:"right","picker-options":e.pickerOptions},model:{value:e.project.datetime,callback:function(t){e.$set(e.project,"datetime",t)},expression:"project.datetime"}})],1)]),e._v(" "),n("el-form-item",[n("div",{staticClass:"btn btn-medium btn-info",on:{click:function(t){return e.submitForm("project")}}},[e._v("立即申请")])])],1)],1)])},staticRenderFns:[]};var f=n("VU/8")(h,m,!1,function(e){n("9NgT")},"data-v-533c457b",null);t.default=f.exports},DY0p:function(e,t){},GYip:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("pFYg"),a=n.n(i),o=n("SlAU"),s=n("SQ4B"),r=n("b9vf"),c=n("siQe"),l=n("dlH2"),u=n("qI5z"),d=n("XLwt"),p=n.n(d),h=n("vGYV"),m={name:"Project",components:{provincecity:l.a,ReportList:o.a},data:function(){var e=this;return{showTaskList:!0,acceptedUserList:[],projectId:0,user:{},loading:!1,tabPosition:"top",institutionArray:[],isModifyMode:!1,platforms:[],fields:[],resourceType:c.a,serviceType:[],projectOperationControl:{confirmFinish:!1,createTask:!1,finish:!1,receive:!1,reject:!1,update:!1,uploadReport:!1},project:{userId:0,name:"",type:[],platform:"",valuationStandard:"",entrustUnit:"",field:"",desc:"",resource:"",location:"",institution:{},contactName:"",contactPhone:"",doc:[],requireDocUrl:"",file:[],fileUrl:"",budget:"",price:"",datetime:"",usage:"",status:""},task:[],progress:[],reportList:[],pickerOptions:{disabledDate:function(e){return e.getTime()<=Date.now()},shortcuts:[{text:"今天",onClick:function(e){e.$emit("pick",new Date)}},{text:"明天",onClick:function(e){var t=new Date;t.setTime(t.getTime()+864e5),e.$emit("pick",t)}},{text:"一周后",onClick:function(e){var t=new Date;t.setTime(t.getTime()+6048e5),e.$emit("pick",t)}}]},rules:{name:[{required:!0,message:"请输入项目名称",trigger:"blur"},{min:5,max:50,message:"项目名称长度在 5 到 50 个字符",trigger:"blur"}],contactName:[{required:!0,message:"请输入联系人姓名",trigger:"blur"}],contactPhone:[{required:!0,message:"请输入手机号",trigger:"blur"},{min:11,max:11,message:"请输入正确的手机号",trigger:"blur"},{validator:function(t,n,i){e.checkPhoneNumber(n)?i():i(new Error("手机号输入有误"))},trigger:"blur"}],type:[{type:"array",required:!0,message:"请至少选择一种测试类型",trigger:"change"}],platform:[{required:!0,message:"请选择一个应用类型",trigger:"change"}],field:[{required:!0,message:"请选择一个领域类型",trigger:"change"}],desc:[{required:!1,message:"请填写描述",trigger:"blur"}],budget:[{required:!0,message:"预算不可为空",trigger:"blur"},{validator:function(e,t,n){t<0?n(new Error("请输入不小于0的数")):n()},trigger:"blur"}],resource:[{required:!0},{validator:function(t,n,i){0==n&&null==e.project.institution?i(new Error("定向发布至少要选择一个区域管理员")):i()},trigger:"change"}],datetime:[{required:!0,message:"截止时间不可为空",trigger:"blur"}]}}},mounted:function(){var e=this;this.$nextTick(function(){e.init()})},watch:{serviceType:function(e){this.serviceType=e},institutionArray:function(e){this.institutionArray=e},deep:!0},methods:{updateLocation:function(e){var t=Object(h.A)(e.provinceCode,e.cityCode);return t.provinceCode+" / "+t.cityCode},init:function(){this.projectId=this.$route.params.projectId,this.setServiceType(),this.setFields(),this.setPlatformType(),this.setInstitutions(),this.setUserInfo(),this.loadData()},setEcharts:function(){var e=p.a.init(document.getElementById("pieImage")),t={tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {c} ({d}%)"},legend:{orient:"vertical",x:"left",data:["已完成","进行中"]},series:[{name:"任务状态",type:"pie",radius:["50%","70%"],avoidLabelOverlap:!1,label:{normal:{show:!1,position:"center"},emphasis:{show:!0,textStyle:{fontSize:"30",fontWeight:"bold"}}},labelLine:{normal:{show:!1}},data:this.progress,color:["#909399","#409EFF"]}]};e.setOption(t)},submitForm:function(e){var t=this;this.$refs.project.validate(function(e){if(!e)return Object(u.a)("error","表单填写错误!"),!1;t.showLoading();var n={userId:t.user.userVO.id,name:t.project.name,type:t.project.type,platform:t.project.platform,valuationStandard:t.project.valuationStandard,entrustUnit:t.project.entrustUnit,field:t.project.field,desc:t.project.desc,resource:t.project.resource,location:Object(h.A)(t.project.location.provinceCode,t.project.location.cityCode),institution:null==t.project.institution?null:t.project.institution.id,contactName:t.project.contactName,contactPhone:t.project.contactPhone,doc:t.project.requireDocUrl,file:t.project.fileUrl,budget:t.project.budget,price:t.project.price,datetime:t.project.datetime,usage:t.project.usage};console.log(n),s.a.put(r.a.PROJECT.UPDATE_PROJECT.replace("{projectId}",t.projectId),n).then(function(e){console.log(e),t.projectId=e.projectDetails.id,t.project.name=e.projectDetails.name,t.project.contactName=e.projectDetails.contactName,t.project.contactPhone=e.projectDetails.contactPhone,t.project.type=e.projectDetails.type,t.project.platform=e.projectDetails.platform,t.project.valuationStandard=e.projectDetails.valuationStandard,t.project.entrustUnit=e.projectDetails.entrustUnit,t.project.field=e.projectDetails.field,t.project.desc=e.projectDetails.desc,t.project.doc=[],t.project.file=[],t.project.resource=e.projectDetails.resource,t.project.location=Object(h.z)(e.projectDetails.location.provinceCode,e.projectDetails.location.cityCode),t.project.institution=e.projectDetails.institution,t.project.datetime=new Date(e.projectDetails.datetime),t.project.price=e.projectDetails.price,t.project.budget=e.projectDetails.budget,t.project.usage=e.projectDetails.usage,t.project.fileUrl=e.projectDetails.file,t.project.requireDocUrl=e.projectDetails.doc,t.task=e.taskList,t.reportList=e.reportList,t.isModifyMode=!1,t.hideLoading(),Object(u.a)("success","项目修改成功")}).catch(function(e){t.hideLoading(),Object(u.a)("error",e.data),console.log(e)})})},resetForm:function(e){this.$refs[e].resetFields(),this.project.name="",this.project.type=[],this.project.platform="",this.project.valuationStandard="",this.project.entrustUnit="",this.project.field="",this.project.desc="",this.project.doc="",this.project.file="",this.project.contactName="",this.project.contactPhone="",this.project.resource="2",this.project.institution="",this.project.datetime="",this.project.price="",this.project.usage="",this.project.budget=""},modifyForm:function(){this.isModifyMode=!0},receiveProject:function(){var e=this;this.$confirm("确认接收项目?","提示",{confirmButtonText:"确认接收",cancelButtonText:"取消",type:"success"}).then(function(){e.showLoading(),console.log("接收项目"),Object(h.G)(e.projectId,e.user.userVO.id,e.receiveProjectSuccess,e.receiveProjectFail)}).catch(function(){})},receiveProjectSuccess:function(e){this.hideLoading(),Object(u.a)("success","项目接收成功!"),this.projectOperationControl=e.projectOperationControl,this.project.status=e.projectDetails.status,this.project.institution=e.projectDetails.institution},receiveProjectFail:function(e){this.hideLoading(),Object(u.a)("error","接收项目失败:"+e.data)},rejectProject:function(){var e=this;this.$confirm("确认拒绝项目?","提示",{confirmButtonText:"确认拒绝",cancelButtonText:"取消",type:"success"}).then(function(){e.showLoading(),Object(h.I)(e.projectId,e.rejectProjectSuccess,e.rejectProjectFail)}).catch(function(){})},rejectProjectSuccess:function(e){this.hideLoading(),Object(u.a)("success","拒绝项目成功")},rejectProjectFail:function(e){this.hideLoading(),Object(u.a)("error","拒绝项目失败:"+e.data)},submitProjectRequest:function(){var e=this;this.$confirm("确认提交项目?","提示",{confirmButtonText:"确认提交",cancelButtonText:"取消",type:"success"}).then(function(){e.showLoading(),Object(h.N)(e.projectId,e.submitProjectRequestSuccess,e.submitProjectRequestFail)}).catch(function(){})},submitProjectRequestSuccess:function(e){this.hideLoading(),Object(u.a)("success","项目提交成功!"),this.loadData(),this.projectOperationControl=e.projectOperationControl,this.project.status=e.projectDetails.status,this.project.institution=e.projectDetails.institution},submitProjectRequestFail:function(e){this.hideLoading(),Object(u.a)("error","提交项目失败:"+e.data)},endProject:function(){var e=this;this.$confirm("确认结束项目?","提示",{confirmButtonText:"确认结束",cancelButtonText:"取消",type:"success"}).then(function(){e.showLoading(),Object(h.f)(e.projectId,e.endProjectSuccess,e.endProjectFail)}).catch(function(){})},endProjectSuccess:function(e){this.hideLoading(),Object(u.a)("success","项目提交成功!"),this.loadData(),this.projectOperationControl=e.projectOperationControl,this.project.status=e.projectDetails.status,this.project.institution=e.projectDetails.institution},endProjectFail:function(e){this.hideLoading(),Object(u.a)("error","结束项目失败:"+e.data)},cancelMode:function(e){this.isModifyMode=!1,this.loadData()},goToTaskDetail:function(e,t){this.$router.push({name:"Task",params:{projectId:e,taskId:t}})},createNewTask:function(){this.$router.push({name:"TaskCreate",params:{projectId:this.projectId}})},createReport:function(){this.$router.push({name:"ProjectReportCreate",params:{scope:0,dependencyCode:this.projectId,projectId:this.projectId}})},qualityEvaluate:function(){var e="http://8.134.39.104:8080/nfsplatform/twpevaluate/skipAssess?project_code="+this.projectId;window.open(e,"_blank")},memberEvaluate:function(){var e="http://8.134.39.104:7477/index.html#/index/evaluatetester/testeroftask/"+this.projectId;window.open(e,"_blank")},serviceEvaluate:function(){var e="http://8.134.39.104:7492/"+this.projectId;window.open(e,"_blank")},handleDelete:function(e,t){var n=this;this.$confirm("确认删除该任务?").then(function(e){console.log(t),console.log(n.projectId),Object(h.e)(n.projectId,t,n.deleteTaskSuccess,n.deleteTaskFail)}).catch(function(e){Object(u.a)("error","删除失败")})},deleteTaskSuccess:function(e){Object(u.a)("success","删除成功")},deleteTaskFail:function(e){console.log(e),Object(u.a)("error","删除失败:"+e)},beforeApkUpload:function(e){return!0},beforeFileUpload:function(e){return!0},beforeFileUploadError:function(){this.$message.error("上传文件只能是 PDF 、 DOC 、DOCX 、XLS、TXT、XLSX 格式!")},analyseDemand:function(){this.$router.push({name:"AnalyseDemand"})},handleAccept:function(e,t){console.log("接收")},handleReject:function(e,t){console.log("拒绝")},loadData:function(){var e=this;this.showLoading(),s.a.get(r.a.PROJECT.GET_PROJECT.replace("{projectId}",this.projectId)).then(function(t){console.log(t),console.log(a()(t.projectDetails.field)),e.projectId=t.projectDetails.id,e.project.name=t.projectDetails.name,e.project.contactName=t.projectDetails.contactName,e.project.contactPhone=t.projectDetails.contactPhone,e.project.type=t.projectDetails.type,e.project.platform=t.projectDetails.platform,e.project.valuationStandard=t.projectDetails.valuationStandard,e.project.entrustUnit=t.projectDetails.entrustUnit,e.project.field=t.projectDetails.field,console.log(t.projectDetails.field),console.log(e.project.field),e.project.desc=t.projectDetails.desc,e.project.doc=[],e.project.file=[],e.project.resource=t.projectDetails.resource,e.project.location=Object(h.z)(t.projectDetails.location.provinceCode,t.projectDetails.location.cityCode),e.project.institution=t.projectDetails.institution,e.project.datetime=new Date(t.projectDetails.datetime),e.project.price=t.projectDetails.price,e.project.budget=t.projectDetails.budget,e.project.usage=t.projectDetails.usage,e.project.fileUrl=t.projectDetails.file,e.project.requireDocUrl=t.projectDetails.doc,e.project.userId=t.projectDetails.userId,e.project.status=t.projectDetails.status,e.project.statusVO=t.projectDetails.statusVO,e.task=t.taskList,e.reportList=t.reportList,e.projectOperationControl=t.projectOperationControl,e.progress=t.progress,console.log(e.project),e.hideLoading(),e.handleShowTaskListOrNot();for(var n=0;n<e.progress.length;n++)if(0!=e.progress[n].value){e.setEcharts();break}}).catch(function(t){e.hideLoading()})},handleShowTaskListOrNot:function(){},locationChange:function(e,t){(e||t)&&(this.project.location={provinceCode:e,cityCode:t})},handleRemove:function(e,t){console.log(e,t)},handleExceed:function(e,t){this.$message.warning("当前限制选择 1 个文件,本次选择了 "+e.length+" 个文件,共选择了 "+(e.length+t.length)+" 个文件")},beforeRemove:function(e,t){},beforeUploadRequireDoc:function(){},beforeUploadApkFile:function(){},uploadRequireDoc:function(e){var t=this;this.showLoading();var n=new FormData;n.append("file",e.file),s.a.upload(r.a.FILE.REQUIREMENT_FILE.replace("{userId}",this.user.userVO.id),n,{headers:{"Content-Type":"multipart/form-data"}}).then(function(e){t.project.requireDocUrl=e.data,t.hideLoading(),Object(u.a)("success","需求文档上传成功")}).catch(function(e){t.hideLoading(),Object(u.a)("error","需求文档上传失败:"+e.data)})},uploadApkFile:function(e){var t=this;this.showLoading();var n=new FormData;n.append("file",e.file),s.a.upload(r.a.FILE.APK.replace("{userId}",this.user.userVO.id),n,{headers:{"Content-Type":"multipart/form-data"}}).then(function(e){t.project.fileUrl=e.data,t.hideLoading(),Object(u.a)("success","文件上传成功")}).catch(function(e){t.hideLoading(),t.project.file=[],Object(u.a)("error","文件上传失败")})},setServiceType:function(){var e=this;Object(h.r)().then(function(t){e.serviceType=t})},setPlatformType:function(){var e=this;Object(h.l)().then(function(t){console.log(t),e.platforms=t})},setFields:function(){var e=this;Object(h.m)().then(function(t){e.fields=t})},setInstitutions:function(){var e=this;Object(h.p)().then(function(t){e.institutionArray=t}).catch(function(e){Object(u.a)("error","获取institution失败"+e.data)})},setUserInfo:function(){this.user=Object(h.K)("user")},checkPhoneNumber:function(e){return/^1[3456789]\d{9}$/.test(e)},showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1},reformDate:function(e){return Object(h.w)(e)},dateFormat:function(e,t){var n={"M+":(e=new Date(e)).getMonth()+1,"d+":e.getDate(),"H+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var i in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+i+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n[i]:("00"+n[i]).substr((""+n[i]).length)));return t}}},f={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"create-container"},[e.isModifyMode?e._e():n("div",{staticClass:"title h1"},[e._v("项目")]),e._v(" "),n("div",{staticClass:"create-body"},[n("el-row",{attrs:{type:"flex",align:"middle",justify:"start"}},[n("el-col",{attrs:{span:15}},[e.isModifyMode?e._e():n("div",{staticClass:"title h2"},[e._v("基本信息")]),e._v(" "),e.isModifyMode?e._e():n("div",{staticClass:"el-form-item"},[n("label",{staticClass:"el-form-item__label",staticStyle:{width:"30%"}},[e._v("编号")]),e._v(" "),n("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"30%"}},[n("div",[e._v(e._s(e.projectId))])])]),e._v(" "),n("el-form",{ref:"project",staticClass:"demo-project",attrs:{model:e.project,rules:e.rules,"label-width":"30%"}},[n("el-form-item",{attrs:{label:"项目名称",prop:"name"}},[e.isModifyMode?n("el-input",{attrs:{size:"small"},model:{value:e.project.name,callback:function(t){e.$set(e.project,"name",t)},expression:"project.name"}}):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",{staticStyle:{"margin-right":"5px"}},[e._v(e._s(e.project.name))]),e._v(" "),e.isModifyMode?e._e():n("el-tag",{attrs:{type:e.project.statusVO&&e.project.statusVO.style}},[e._v("\n "+e._s(e.project.statusVO?e.project.statusVO.text:"")+"\n ")])],1),e._v(" "),n("el-form-item",{attrs:{size:"small",label:"联系人",prop:"contactName"}},[e.isModifyMode?n("el-input",{attrs:{placeholder:"请输入联系人姓名"},model:{value:e.project.contactName,callback:function(t){e.$set(e.project,"contactName",t)},expression:"project.contactName"}}):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[e._v(e._s(e.project.contactName))])],1),e._v(" "),n("el-form-item",{attrs:{size:"small",label:"联系人电话",prop:"contactPhone"}},[e.isModifyMode?n("el-input",{attrs:{placeholder:"请输入联系人电话"},model:{value:e.project.contactPhone,callback:function(t){e.$set(e.project,"contactPhone",t)},expression:"project.contactPhone"}}):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[e._v(e._s(e.project.contactPhone))])],1),e._v(" "),n("el-form-item",{attrs:{size:"small",label:"预算",prop:"budget"}},[e.isModifyMode?n("el-input",{attrs:{type:"number"},model:{value:e.project.budget,callback:function(t){e.$set(e.project,"budget",t)},expression:"project.budget"}},[e._v("\n ¥\n "),n("template",{slot:"append"})],2):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[e._v("¥"+e._s(e.project.budget))])],1),e._v(" "),n("el-form-item",{attrs:{label:"计价标准",prop:"valuationStandard"}},[e.isModifyMode?n("el-input",{staticStyle:{width:"400px"},attrs:{autosize:"",type:"textarea"},model:{value:e.project.valuationStandard,callback:function(t){e.$set(e.project,"valuationStandard",t)},expression:"project.valuationStandard"}}):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[e._v(e._s(e.project.valuationStandard?e.project.valuationStandard:"暂无"))])],1),e._v(" "),e.project.institution?n("el-form-item",{attrs:{size:"small",label:"区域管理员",prop:"institution"}},[e.isModifyMode?e._e():n("span",[e._v(e._s(e.project.institution))])]):e._e(),e._v(" "),n("el-form-item",{attrs:{label:"需求描述"}},[e.isModifyMode?n("el-input",{staticStyle:{width:"400px"},attrs:{autosize:"",type:"textarea"},model:{value:e.project.desc,callback:function(t){e.$set(e.project,"desc",t)},expression:"project.desc"}}):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[e._v(e._s(e.project.desc?e.project.desc:"暂无"))])],1),e._v(" "),n("el-form-item",{attrs:{label:"领域类型",prop:"field"}},[e.isModifyMode?n("el-radio-group",{model:{value:e.project.field,callback:function(t){e.$set(e.project,"field",t)},expression:"project.field"}},e._l(e.fields,function(t,i){return n("span",{key:i},[n("el-radio",{staticStyle:{margin:"3px"},attrs:{label:t.name}},[e._v(e._s(t.name)+" ")])],1)}),0):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",{staticClass:"badge"},[e._v("\n "+e._s(e.project.field))])],1),e._v(" "),n("el-form-item",{attrs:{label:"应用类型",prop:"platform"}},[e.isModifyMode?n("el-radio-group",{model:{value:e.project.platform,callback:function(t){e.$set(e.project,"platform",t)},expression:"project.platform"}},e._l(e.platforms,function(t,i){return n("span",{key:i},[n("el-radio",{staticStyle:{margin:"3px"},attrs:{label:t.name}},[e._v(e._s(t.name)+" ")])],1)}),0):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",{staticClass:"badge"},[e._v("\n "+e._s(e.project.platform))])],1),e._v(" "),n("el-form-item",{attrs:{label:"测试类型",prop:"type"}},[e.isModifyMode?n("el-checkbox-group",{model:{value:e.project.type,callback:function(t){e.$set(e.project,"type",t)},expression:"project.type"}},e._l(e.serviceType,function(t,i){return n("span",{key:i},[n("el-checkbox",{attrs:{label:t.name,name:"type"}},[e._v(e._s(t.name)+" ")])],1)}),0):e._e(),e._v(" "),e._l(e.project.type,function(t){return e.isModifyMode?e._e():n("span",{staticClass:"badge"},[e._v(e._s(t))])})],2),e._v(" "),n("el-form-item",{attrs:{label:"项目可见性",prop:"resource"}},[e.isModifyMode?e._e():n("div",["1"==e.project.resource?n("div",[e._v(e._s(e.updateLocation(e.project.location)))]):e._e(),e._v(" "),"0"==e.project.resource?n("div",[e._v("定向")]):e._e(),e._v(" "),"2"==e.project.resource?n("div",[e._v(e._s(e.resourceType[e.project.resource]))]):e._e()]),e._v(" "),e.isModifyMode?n("el-tabs",{staticStyle:{"max-height":"200px"},attrs:{"tab-position":e.tabPosition},model:{value:e.project.resource,callback:function(t){e.$set(e.project,"resource",t)},expression:"project.resource"}},[n("el-tab-pane",{attrs:{label:e.resourceType[0],name:0}},[n("el-radio-group",{model:{value:e.project.institution,callback:function(t){e.$set(e.project,"institution",t)},expression:"project.institution"}},e._l(e.institutionArray,function(t,i){return n("el-radio",{key:i,attrs:{label:t,name:"type"}},[e._v("\n "+e._s(t.name)+"\n ")])}),1)],1),e._v(" "),n("el-tab-pane",{attrs:{label:e.resourceType[1],name:1}},[n("provincecity",{ref:"addFormProvince",attrs:{provinceCode:null==e.project.location?"3200":e.project.location.provinceCode,cityCode:null==e.project.location?"3201":e.project.location.cityCode},on:{selectChange:e.locationChange}})],1),e._v(" "),n("el-tab-pane",{attrs:{label:e.resourceType[2],name:2}})],1):e._e()],1),e._v(" "),n("el-form-item",{attrs:{label:"需求文档",prop:"doc"}},[e.isModifyMode?n("el-upload",{staticClass:"upload-demo",staticStyle:{width:"400px"},attrs:{drag:"",action:"","on-remove":e.handleRemove,"before-remove":e.beforeRemove,limit:1,"on-exceed":e.handleExceed,"before-upload":e.beforeFileUpload,"http-request":e.uploadRequireDoc,"file-list":e.project.doc}},[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v("\n 将文件拖到此处,或\n "),n("em",[e._v("点击上传")])])]):e._e(),e._v(" "),n("span",[null!=e.project.requireDocUrl&&""!=e.project.requireDocUrl?n("a",{attrs:{href:e.project.requireDocUrl}},[n("el-link",{attrs:{underline:!1,type:"primary"}},[n("i",{staticClass:"el-icon-document"}),e._v("下载文档")])],1):e._e(),e._v(" "),null==e.project.requireDocUrl||""==e.project.requireDocUrl?n("i",{staticClass:"el-icon-document"},[e._v("暂无文档")]):e._e()])],1),e._v(" "),n("el-form-item",{attrs:{label:"安装包",prop:"file"}},[e.isModifyMode?n("el-upload",{staticClass:"upload-demo",staticStyle:{width:"400px"},attrs:{drag:"",action:"","on-remove":e.handleRemove,"before-remove":e.beforeRemove,limit:1,"on-exceed":e.handleExceed,"before-upload":e.beforeApkUpload,"http-request":e.uploadApkFile,"file-list":e.project.file}},[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v("\n 将文件拖到此处,或\n "),n("em",[e._v("点击上传")])])]):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[null!=e.project.fileUrl&&""!=e.project.fileUrl?n("a",{attrs:{href:e.project.fileUrl}},[n("el-link",{attrs:{underline:!1,type:"primary"}},[n("i",{staticClass:"el-icon-document"}),e._v("下载文件")])],1):e._e(),e._v(" "),null==e.project.fileUrl||""==e.project.fileUrl?n("i",{staticClass:"el-icon-document"},[e._v("暂无文件")]):e._e()])],1),e._v(" "),e.project.entrustUnit?n("el-form-item",{attrs:{label:"委托单位",prop:"entrustUnit"}},[e.isModifyMode?n("el-input",{staticStyle:{width:"400px"},attrs:{autosize:"",type:"textarea"},model:{value:e.project.entrustUnit,callback:function(t){e.$set(e.project,"entrustUnit",t)},expression:"project.entrustUnit"}}):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[e._v(e._s(e.project.entrustUnit))])],1):e._e(),e._v(" "),n("el-form-item",{attrs:{label:"项目截止时间",prop:"datetime"}},[e.isModifyMode?n("div",{staticClass:"block"},[n("el-date-picker",{attrs:{size:"small",type:"datetime",placeholder:"选择截止时间",align:"right","picker-options":e.pickerOptions},model:{value:e.project.datetime,callback:function(t){e.$set(e.project,"datetime",t)},expression:"project.datetime"}})],1):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[e._v(e._s(e.dateFormat(new Date(e.project.datetime),"yyyy-MM-dd HH:mm:ss")))])]),e._v(" "),e.isModifyMode?n("el-form-item",[n("div",{staticClass:"btn btn-small btn-info",on:{click:function(t){return e.submitForm("project")}}},[e._v("确认修改")]),e._v(" "),n("div",{staticClass:"btn btn-small",on:{click:function(t){return e.cancelMode("project")}}},[e._v("取消")])]):e._e(),e._v(" "),e.isModifyMode?e._e():n("el-form-item",[e.projectOperationControl.confirmFinish?n("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(t){return e.endProject()}}},[e._v("\n 结束项目\n ")]):e._e(),e._v(" "),e.projectOperationControl.finish?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.submitProjectRequest()}}},[e._v("\n 提交项目\n ")]):e._e(),e._v(" "),e.projectOperationControl.receive?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.receiveProject()}}},[e._v("\n 接收项目\n ")]):e._e(),e._v(" "),e.projectOperationControl.reject?n("el-button",{attrs:{type:"danger",size:"mini"},on:{click:function(t){return e.rejectProject()}}},[e._v("\n 拒绝项目\n ")]):e._e(),e._v(" "),e.projectOperationControl.update?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.modifyForm()}}},[e._v("\n 修改项目\n ")]):e._e(),e._v(" "),e.projectOperationControl.createTask?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.createNewTask()}}},[e._v("\n 新建任务\n ")]):e._e(),e._v(" "),e.projectOperationControl.uploadReport?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.createReport()}}},[e._v("\n 上传报告\n ")]):e._e(),e._v(" "),4==this.project.status?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.qualityEvaluate()}}},[e._v("\n 产品质量评估\n ")]):e._e(),e._v(" "),4==this.project.status?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.memberEvaluate()}}},[e._v("\n 人员评估\n ")]):e._e(),e._v(" "),4==this.project.status?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.serviceEvaluate()}}},[e._v("\n 服务质量评估\n ")]):e._e()],1)],1)],1),e._v(" "),n("el-col",{staticStyle:{height:"500px","min-width":"500px"},attrs:{span:5,id:"pieImage"}})],1)],1),e._v(" "),!e.isModifyMode&&e.showTaskList?n("div",{staticClass:"create-body"},[n("div",{staticClass:"title h2"},[e._v("任务列表")]),e._v(" "),n("div",{staticClass:"task-list"},[n("el-table",{staticStyle:{width:"100%"},attrs:{showHeader:!0,stripe:!0,data:e.task}},[n("el-table-column",{attrs:{prop:"title",label:"任务名称",title:"任务名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(t.row.title))])]}}],null,!1,1808518502)}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"datetime",sortable:"",label:"任务截止时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(e.reformDate(new Date(t.row.datetime))))])]}}],null,!1,1218876058)}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"resource",label:"任务可见性"},scopedSlots:e._u([{key:"default",fn:function(t){return["1"==t.row.resource?n("div",[e._v(e._s(t.row.location.provinceCode)+"/"+e._s(t.row.location.cityCode)+"\n ")]):e._e(),e._v(" "),"0"==t.row.resource?n("div",[e._v(e._s(t.row.institution))]):e._e(),e._v(" "),"2"==t.row.resource?n("div",[e._v(e._s(e.resourceType[t.row.resource]))]):e._e()]}}],null,!1,272867355)}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"type",label:"测试类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"badge"},[e._v(e._s(t.row.serviceType))])]}}],null,!1,1308410647)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-tag",{attrs:{type:t.row.statusVO.style}},[e._v(e._s(t.row.statusVO.text))])]}}],null,!1,3362157250)}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"btn btn-small btn-info",on:{click:function(n){return e.goToTaskDetail(e.projectId,t.row.id)}}},[e._v("查看详情\n ")])]}}],null,!1,3792660473)})],1)],1)]):e._e(),e._v(" "),e.isModifyMode?e._e():n("div",{staticClass:"create-body"},[n("div",{staticClass:"title h2"},[e._v("项目报告")]),e._v(" "),n("report-list",{attrs:{reports:e.reportList,taskId:null,projectId:e.projectId}})],1)])},staticRenderFns:[]};var v=n("VU/8")(m,f,!1,function(e){n("DY0p")},"data-v-557c6cce",null);t.default=v.exports},HpRs:function(e,t){},IYzk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("siQe"),a=n("dlH2"),o=n("SlAU"),s=n("XLwt"),r=n.n(s),c=(n("4f4F"),n("LK9V"),{name:"TaskCloud",props:["info"],data:function(){return{chart:null,words:this.info}},watch:{info:function(e){this.words=e,this.initChart()}},mounted:function(){this.initChart()},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=r.a.init(document.getElementById("taskWordCloud"),{width:"auto",height:"500px"});var e={backgroundColor:"#fff",series:[{type:"wordCloud",gridSize:10,sizeRange:[14,60],rotationRange:[0,0],textStyle:{normal:{color:function(){return"rgb("+Math.round(255*Math.random())+", "+Math.round(255*Math.random())+", "+Math.round(255*Math.random())+")"}}},grid:{x:10,y:10,x2:10,y2:10,height:"500px",width:"100%"},left:0,top:0,right:0,bottom:0,width:"100%",height:"100%",data:this.words}]};this.chart.setOption(e)}}}),l={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticStyle:{height:"457px",width:"100%"},attrs:{id:"taskWordCloud"}})},staticRenderFns:[]};var u=n("VU/8")(c,l,!1,function(e){n("Xbtq")},"data-v-6b35880c",null).exports,d=n("SQ4B"),p=n("b9vf"),h=n("qI5z"),m=n("vGYV"),f={name:"Task",components:{provincecity:a.a,ReportList:o.a,TaskCloud:u},data:function(){var e=this;return{currType:{},user:{},serviceName:"",showBD:!0,rolesPermissions:{},loading:!1,isModifyMode:!1,institutionArray:[],tabPosition:"top",resourceType:i.a,serviceType:[],taskId:"",projectId:"",taskOperationControl:{confirmFinish:!1,finish:!1,receive:!1,update:!1,uploadReport:!1,writeReport:!1,taskDemonstrate:!1,taskRecommend:!1,testCaseExam:!1,testCaseManage:!1},crowdReportUrl:"",wordCloud:[],task:{agencyId:"",status:"",name:"",desc:"",serviceType:"",resource:"",location:{},institution:{},datetime:"",quotePrice:"",fixedPrice:"",doc:[],requireDocUrl:"",participantCount:1,title:"",description:"",endPoint:{serverCode:"",token:""}},reportList:[],pickerOptions:{shortcuts:[{text:"今天",onClick:function(e){e.$emit("pick",new Date)}},{text:"昨天",onClick:function(e){var t=new Date;t.setTime(t.getTime()-864e5),e.$emit("pick",t)}},{text:"一周前",onClick:function(e){var t=new Date;t.setTime(t.getTime()-6048e5),e.$emit("pick",t)}}]},rules:{title:[{required:!0,message:"请输入任务名称",trigger:"blur"},{min:5,max:50,message:"任务名称长度在 5 到 50 个字符",trigger:"blur"}],serviceType:[{required:!0,message:"测试类型不可为空",trigger:"change"}],description:[{required:!0,message:"请填写描述",trigger:"blur"}],quotePrice:[{required:!0,message:"预算不可为空",trigger:"blur"},{validator:function(e,t,n){t<0?n(new Error("请输入不小于0的数")):n()},trigger:"blur"}],resource:[{required:!0},{validator:function(t,n,i){0==n&&null==e.task.institution.id?i(new Error("定向发布至少要选择一个测评机构")):i()},trigger:"change"}],endPoint:[{validator:function(t,n,i){1===e.currType.type&&""===e.task.endPoint.serverCode?i(new Error("请填写对应得服务序列号")):i()},trigger:["change","blur"]}],datetime:[{required:!0,message:"截止时间不可为空",trigger:"blur"}]},acceptedUserList:[],shortLink:"",editShortLink:!1,creatorId:"",receiverId:""}},watch:{institutionArray:function(e){this.institutionArray=e},serviceType:function(e){this.serviceType=e},deep:!0},mounted:function(){var e=this;this.$nextTick(function(){e.init()})},methods:{gotoDataboard:function(){window.open(this.task.endPoint.token)},getTaskDataBoard:function(){var e=this;this.showLoading(),d.a.put("/api/project/"+this.projectId+"/task/"+this.taskId+"/addToken",{token:this.shortLink}).then(function(t){e.taskOperationControl=t.taskOperationControl,e.task.endPoint=t.crowdTaskVO.endPointVO,e.shortLink=t.crowdTaskVO.endPointVO.token,""!=e.shortLink&&(e.editShortLink=!1),e.hideLoading()})},getServiceByCode:function(e){var t=this.serviceType.filter(function(t){return t.code===e});return t&&t[0]&&t[0].name},handleTestTypeChange:function(e){var t=this.serviceType.filter(function(t){return t.code===e});this.currType=t[0]?t[0]:{},0===this.currType.type&&this.$refs.task.clearValidate("endPoint")},init:function(){this.taskId=this.$route.params.taskId,this.projectId=this.$route.params.projectId,this.setUserInfo(),this.setServiceType(),this.getTaskDetail(),this.getWordCloud(),this.setInstitutions(),this.getProjectInfo()},gotoWriteReport:function(){window.open(this.crowdReportUrl,"_blank")},toProject:function(){this.$router.push({name:"Project",params:{projectId:this.projectId}})},toGo:function(){var e=1;1==this.user.roleList.length&&this.user.roleList.includes("generalUser")&&(e=1),this.creatorId==this.user.userVO.id&&(e=3),this.taskOperationControl.uploadReport&&(e=4),this.receiverId==this.user.userVO.id&&(e=2);var t="http://101.132.74.9:1106/hjc2?project_code="+this.projectId+"&user_id"+this.user.userVO.id+"&role_id="+e;window.open(t,"_blank")},modifyForm:function(){this.isModifyMode=!0},cancelMode:function(){this.isModifyMode=!1},resetForm:function(){this.task.name="",this.task.desc="",this.task.quotePrice="",this.task.fixedPrice="",this.task.type="",this.task.resource="2",this.task.location={provinceCode:"",cityCode:""},this.task.institution="",this.task.datetime="",this.task.participantCount=1},showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1},setUserInfo:function(){this.user=Object(m.K)("user"),console.log(this.user,"this.user"),this.rolesPermissions=Object(m.K)("rolesPermissions"),console.log(this.rolesPermissions,"this.rolesPermissions"),Object(m.K)("rolesPermissions").isRegionManager||Object(m.K)("rolesPermissions").isSystemAdministrator?this.showBD=!0:this.showBD=!1},getProjectInfo:function(){var e=this;d.a.get(p.a.PROJECT.GET_PROJECT.replace("{projectId}",this.projectId)).then(function(t){e.creatorId=t.projectDetails.userId,e.receiverId=t.projectDetails.regionManagerId}).catch(function(e){})},setServiceType:function(){var e=this;Object(m.r)().then(function(t){e.serviceType=t}).catch(function(e){Object(h.a)("error","加载测试类型失败")})},setInstitutions:function(){var e=this;Object(m.j)().then(function(t){e.institutionArray=t}).catch(function(e){Object(h.a)("error","获取机构列表失败")})},getTaskDetail:function(){this.showLoading(),Object(m.C)(this.projectId,this.taskId,this.getTaskDetailSuccess,this.getTaskDetailFail)},manageVirtualMachine:function(){var e=this;Object(m.E)(this.projectId,this.taskId).then(function(t){var n="http://docker.chuangchaokeji.cn:38080/cloudtest/api/oauth/gateway?website=cofortest&token="+t.data+"&userId="+e.user.userVO.id+"&screen=PROJECT&projectId="+e.projectId+"&taskId="+e.taskId;window.open(n)})},connectVirtualMachine:function(){var e=this;Object(m.E)(this.projectId,this.taskId).then(function(t){var n=t.data,i="http://docker.chuangchaokeji.cn:38080/cloudtest/api/oauth/connect?userId="+e.user.userVO.id+"&projectId="+e.projectId+"&taskId="+e.taskId+"&token="+n;window.open(i)})},getWordCloud:function(){Object(m.D)(this.projectId,this.taskId,this.getTaskCloudSuccess,this.getTaskCloudFail)},getTaskCloudSuccess:function(e){this.wordCloud=e.data},getTaskCloudFail:function(e){Object(h.a)("error",e)},getTaskDetailSuccess:function(e){this.hideLoading(),this.taskId=e.crowdTaskVO.id,this.projectId=e.crowdTaskVO.projectId,this.task.title=e.crowdTaskVO.title,this.task.description=e.crowdTaskVO.description,this.task.serviceType=e.crowdTaskVO.serviceType,this.task.resource=e.crowdTaskVO.resource.toString(),this.task.location=Object(m.z)(e.crowdTaskVO.location.provinceCode,e.crowdTaskVO.location.cityCode),this.task.institution=e.crowdTaskVO.institution,this.task.datetime=new Date(e.crowdTaskVO.datetime),this.task.quotePrice=e.crowdTaskVO.quotePrice,this.task.acceptedCount=e.crowdTaskVO.acceptedCount,this.task.participantCount=e.crowdTaskVO.participantCount,this.task.fixedPrice=e.crowdTaskVO.fixedPrice,this.task.doc=[],this.task.requireDocUrl=e.crowdTaskVO.requirementFile,this.task.agencyId=e.crowdTaskVO.agencyId,this.task.status=e.crowdTaskVO.status,this.task.statusVO=e.crowdTaskVO.statusVO,this.task.endPoint=e.crowdTaskVO.endPointVO?e.crowdTaskVO.endPointVO:{serverCode:""},this.taskOperationControl=e.taskOperationControl,console.log(this.taskOperationControl),this.acceptedUserList=e.acceptedUserList,this.crowdReportUrl=e.crowdTaskVO.writeReportUrl,this.handleFormatReport(this.acceptedUserList),this.handleTestTypeChange(e.crowdTaskVO.serviceType),this.serviceName=this.getServiceByCode(e.crowdTaskVO.serviceType),e.crowdTaskVO.endPointVO&&(e.crowdTaskVO.endPointVO.token?(this.shortLink=e.crowdTaskVO.endPointVO.token,this.editShortLink=!1):this.editShortLink=!0)},getTaskDetailFail:function(e){this.hideLoading()},handleFormatReport:function(e){var t=this;console.log(e,"this.acceptedUserList"),e.map(function(e){e.crowdReportVOS&&e.crowdReportVOS.map(function(n){n.userName=e.userVO.userName,t.reportList.push(n)})})},dateFormat:function(e,t){var n={"M+":(e=new Date(e)).getMonth()+1,"d+":e.getDate(),"H+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var i in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+i+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n[i]:("00"+n[i]).substr((""+n[i]).length)));return t},updateTask:function(){var e=this;this.$refs.task.validate(function(t){if(!t)return Object(h.a)("error","表单填写有误!"),!1;e.showLoading();var n={name:e.task.title,desc:e.task.description,type:e.task.serviceType,resource:e.task.resource,location:null==e.task.location?{}:Object(m.A)(e.task.location.provinceCode,e.task.location.cityCode),institution:e.task.institution?e.task.institution.id:null,datetime:e.task.datetime,quotePrice:e.task.quotePrice,fixedPrice:e.task.fixedPrice,requirementFile:e.task.requireDocUrl,participantCount:e.task.participantCount,endPoint:e.task.endPoint};Object(m.S)(e.projectId,e.taskId,n,e.updateTaskSuccess,e.updateTaskFail)})},updateTaskSuccess:function(e){this.cancelMode(),this.taskId=e.crowdTaskVO.id,this.projectId=e.crowdTaskVO.projectId,this.task.title=e.crowdTaskVO.title,this.task.description=e.crowdTaskVO.description,this.task.serviceType=e.crowdTaskVO.serviceType,this.task.resource=e.crowdTaskVO.resource.toString(),this.task.location=null==e.crowdTaskVO.location?{provinceCode:3200,cityCode:3201}:Object(m.z)(e.crowdTaskVO.location.provinceCode,e.crowdTaskVO.location.cityCode),this.task.institution=e.crowdTaskVO.institution,this.task.datetime=new Date(e.crowdTaskVO.datetime),this.task.quotePrice=e.crowdTaskVO.quotePrice,this.task.fixedPrice=e.crowdTaskVO.fixedPrice,this.task.doc=[],this.task.requireDocUrl=e.crowdTaskVO.requirementFile,this.task.participantCount=e.crowdTaskVO.participantCount,this.task.endPoint=e.crowdTaskVO.endPointVO?e.crowdTaskVO.endPointVO:{serverCode:""},this.task.createTime=e.crowdTaskVO.createTime,this.reportList=e.crowdReportVOList,this.crowdReportUrl=e.crowdTaskVO.writeReportUrl,this.acceptedUserList=e.acceptedUserList,this.handleTestTypeChange(e.crowdTaskVO.serviceType),this.serviceName=this.getServiceByCode(e.crowdTaskVO.serviceType),this.getWordCloud(),this.hideLoading(),Object(h.a)("success","修改成功")},updateTaskFail:function(e){Object(h.a)("error","修改失败:"+e.data),this.hideLoading()},uploadRequireDoc:function(e){var t=this,n=new FormData;n.append("file",e.file),d.a.upload(p.a.FILE.REQUIREMENT_FILE.replace("{userId}",this.user.userVO.id),n,{headers:{"Content-Type":"multipart/form-data"}}).then(function(e){Object(h.a)("success","上传成功"),t.uploadRequireDocSuccess(e)}).catch(function(e){Object(h.a)("error","上传失败:"+e.data),t.uploadRequireDocFail(e)})},uploadRequireDocSuccess:function(e){this.hideLoading(),console.log("上传成功"),this.task.requireDocUrl=e.data,console.log(e.data)},uploadRequireDocFail:function(e){this.hideLoading(),Object(h.a)("error","任务需求文档上传失败:"+e.data)},beforeRemove:function(e,t){},handleRemove:function(e,t){console.log(e,t)},handleExceed:function(e,t){this.$message.warning("当前限制选择 1 个文件,本次选择了 "+e.length+" 个文件,共选择了 "+(e.length+t.length)+" 个文件")},receiveTask:function(){var e=this;this.$confirm("确认接收任务?","提示",{confirmButtonText:"确认接收",cancelButtonText:"取消",type:"success"}).then(function(){e.showLoading(),Object(m.H)(e.projectId,e.taskId,e.user.userVO.id,e.receiveTaskSuccess,e.receiveTaskFail)}).catch(function(){})},receiveTaskSuccess:function(e){this.hideLoading(),this.getTaskDetail(),Object(h.a)("success","接收任务成功"),this.taskOperationControl=e.taskOperationControl,this.task.status=e.crowdTaskVO.status,this.task.institution=e.crowdTaskVO.institution},receiveTaskFail:function(e){this.hideLoading(),Object(h.a)("error","接收任务失败:"+e.data)},recommendTask:function(){var e={title:this.task.title,description:this.task.description,participantCount:this.task.participantCount,quotePrice:this.task.quotePrice,requirementFile:this.task.requireDocUrl,serviceType:this.task.serviceType,createTime:this.task.createTime,datetime:this.task.datetime};d.a.post("/recommendationtest/query",e).then(function(e){console.log("recommend"),window.open("http://8.134.39.104:7477/userinformation.html")})},rejectTask:function(){var e=this;this.$confirm("确认拒绝任务?拒绝后将不能再接收该任务","提示",{confirmButtonText:"确认拒绝",cancelButtonText:"取消",type:"success"}).then(function(){e.showLoading(),Object(m.J)(e.projectId,e.taskId,e.rejectTaskSuccess,e.rejectTaskFail)}).catch(function(){})},rejectTaskSuccess:function(e){this.hideLoading(),this.$router.push({name:"Mine"}),Object(h.a)("success","拒绝任务成功,已为您自动跳转到个人中心")},rejectTaskFail:function(e){this.hideLoading(),Object(h.a)("error","拒绝任务失败:"+e.data)},submitTaskRequest:function(){var e=this;this.$confirm("确认提交任务?提交后将不能再修改","提示",{confirmButtonText:"确认提交",cancelButtonText:"取消",type:"success"}).then(function(){e.showLoading(),Object(m.O)(e.projectId,e.taskId,e.submitTaskRequestSuccess,e.submitTaskRequestFail)}).catch(function(){})},submitTaskRequestSuccess:function(e){this.hideLoading(),console.log(e),this.taskOperationControl=e.taskOperationControl,this.task.status=e.crowdTaskVO.status,this.task.institution=e.crowdTaskVO.institution,Object(h.a)("success","提交任务成功,等待区域管理员审核"),this.getTaskDetail()},submitTaskRequestFail:function(e){this.hideLoading(),Object(h.a)("error","提交任务失败:"+e.data)},endTask:function(){var e=this;this.$confirm("确认结束任务?","提示",{confirmButtonText:"确认结束",cancelButtonText:"取消",type:"success"}).then(function(){e.getTaskDetail(),e.showLoading(),Object(m.g)(e.projectId,e.taskId,e.endTaskSuccess,e.endTaskFail)}).catch(function(){})},endTaskSuccess:function(e){this.hideLoading(),this.taskOperationControl=e.taskOperationControl,this.task.status=e.crowdTaskVO.status,this.task.institution=e.crowdTaskVO.institution,Object(h.a)("success","结束任务成功!"),this.getTaskDetail()},endTaskFail:function(e){this.hideLoading(),Object(h.a)("error","结束任务失败:"+e.data)},toCreateReport:function(){this.$router.push({name:"TaskReportCreate",params:{scope:1,dependencyCode:this.taskId,projectId:this.projectId,taskId:this.taskId}})},reformDate:function(e){return Object(m.w)(e)},toTestCases:function(){this.$router.push({name:"TestCases",params:{taskCode:this.taskId}})},toTestCasesExam:function(){console.log(this.user.userVO.id),console.log(this.projectId),this.$router.push({name:"ExamTestCases",params:{projectCode:this.projectId,taskCode:this.taskId,userId:0}})}}},v={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"create-container"},[e.isModifyMode?e._e():n("div",{staticClass:"title h1"},[e._v("任务")]),e._v(" "),n("div",{staticClass:"create-body"},[e.isModifyMode?e._e():n("div",{staticClass:"title h2"},[e._v("基本信息")]),e._v(" "),n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:15}},[n("el-form",{ref:"task",staticClass:"demo-task",staticStyle:{margin:"0 0 0 80px"},attrs:{model:e.task,rules:e.rules,"label-width":"120px"}},[n("el-form-item",{staticStyle:{width:"700px"},attrs:{label:"任务名称",prop:"title"}},[e.isModifyMode?n("el-input",{attrs:{size:"small"},model:{value:e.task.title,callback:function(t){e.$set(e.task,"title",t)},expression:"task.title"}}):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[e._v(e._s(e.task.title))]),e._v(" "),e.isModifyMode?e._e():n("el-tag",{attrs:{type:e.task.statusVO&&e.task.statusVO.style}},[e._v(e._s(e.task.statusVO?e.task.statusVO.text:"")+"\n ")])],1),e._v(" "),n("el-form-item",{staticStyle:{width:"700px"},attrs:{label:"任务描述",prop:"description"}},[e.isModifyMode?n("el-input",{attrs:{autosize:"",type:"textarea"},model:{value:e.task.description,callback:function(t){e.$set(e.task,"description",t)},expression:"task.description"}}):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[e._v(e._s(e.task.description?e.task.description:"暂无"))])],1),e._v(" "),n("el-form-item",{staticStyle:{width:"700px"},attrs:{label:"任务报价",prop:"quotePrice"}},[e.isModifyMode?n("el-input",{attrs:{size:"small",type:"number"},model:{value:e.task.quotePrice,callback:function(t){e.$set(e.task,"quotePrice",t)},expression:"task.quotePrice"}},[n("template",{slot:"append"},[e._v("¥")])],2):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[e._v("¥"+e._s(e.task.quotePrice))])],1),e._v(" "),n("el-form-item",{attrs:{label:"测试类型",prop:"serviceType"}},[e.isModifyMode?n("el-radio-group",{on:{change:e.handleTestTypeChange},model:{value:e.task.serviceType,callback:function(t){e.$set(e.task,"serviceType",t)},expression:"task.serviceType"}},e._l(e.serviceType,function(t,i){return n("span",{key:i},[n("el-radio",{attrs:{label:t.code,name:"serviceType"}},[e._v(e._s(t.name))])],1)}),0):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",{staticClass:"badge"},[e._v(e._s(e.serviceName))])],1),e._v(" "),e.showBD&&e.task.endPoint&&1===e.currType.type?n("el-form-item",{staticStyle:{width:"700px"},attrs:{label:"服务序列号",prop:"endPoint"}},[e.isModifyMode?n("el-input",{attrs:{label:"examId"},model:{value:e.task.endPoint.serverCode,callback:function(t){e.$set(e.task.endPoint,"serverCode",t)},expression:"task.endPoint.serverCode"}}):e._e(),e._v(" "),!e.isModifyMode&&e.showBD?n("span",[e._v(e._s(e.task.endPoint.serverCode))]):e._e()],1):e._e(),e._v(" "),n("el-form-item",{staticStyle:{width:"700px"},attrs:{label:"任务可见性",prop:"resource"}},[e.isModifyMode?e._e():n("div",[0==e.task.resource?n("div",[e._v("定向")]):e._e(),e._v(" "),2==e.task.resource?n("div",[e._v(e._s(e.resourceType[e.task.resource]))]):e._e()]),e._v(" "),e.isModifyMode?n("el-tabs",{staticStyle:{"max-height":"200px"},attrs:{"tab-position":e.tabPosition},model:{value:e.task.resource,callback:function(t){e.$set(e.task,"resource",t)},expression:"task.resource"}},[n("el-tab-pane",{attrs:{label:e.resourceType[0],name:"0"}},[n("el-radio-group",{on:{change:e.handleTestTypeChange},model:{value:e.task.institution,callback:function(t){e.$set(e.task,"institution",t)},expression:"task.institution"}},e._l(e.institutionArray,function(t,i){return n("el-radio",{key:i,attrs:{label:t,name:"type"}},[e._v(e._s(t.evaluationAgencyName)+"\n ")])}),1)],1),e._v(" "),n("el-tab-pane",{attrs:{label:e.resourceType[2],name:"2"}})],1):e._e()],1),e._v(" "),e.isModifyMode&&"0"!==e.task.resource&&0===e.currType.type?n("el-form-item",{attrs:{label:"领取人数",prop:"contactPhone"}},[n("el-input-number",{attrs:{min:1,max:1e3,label:"领取人数"},model:{value:e.task.participantCount,callback:function(t){e.$set(e.task,"participantCount",t)},expression:"task.participantCount"}})],1):e._e(),e._v(" "),e.isModifyMode&&"0"!==e.task.resource&&1===e.currType.type?n("el-form-item",{attrs:{label:"领取人数",prop:"contactPhone"}},[n("el-input-number",{attrs:{min:2,max:1e3,label:"领取人数"},model:{value:e.task.participantCount,callback:function(t){e.$set(e.task,"participantCount",t)},expression:"task.participantCount"}})],1):e._e(),e._v(" "),e.isModifyMode?e._e():n("el-form-item",{attrs:{label:"领取人数",prop:"quotePrice"}},[e._v("\n "+e._s(e.task.acceptedCount)+"/"+e._s(e.task.participantCount)+"\n ")]),e._v(" "),n("el-form-item",{attrs:{label:"需求文档",prop:"doc"}},[e.isModifyMode?n("el-upload",{staticClass:"upload-demo",staticStyle:{width:"400px"},attrs:{drag:"",action:"","on-remove":e.handleRemove,"before-remove":e.beforeRemove,limit:1,"on-exceed":e.handleExceed,"http-request":e.uploadRequireDoc,"file-list":e.task.doc}},[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v("\n 将文件拖到此处,或\n "),n("em",[e._v("点击上传")])])]):e._e(),e._v(" "),n("span",[null==e.task.requireDocUrl||""==e.task.requireDocUrl?n("span",[n("i",{staticClass:"el-icon-document"}),e._v("暂无文件\n ")]):e._e(),e._v(" "),null!=e.task.requireDocUrl&&""!=e.task.requireDocUrl?n("span",[n("a",{attrs:{href:e.task.requireDocUrl}},[n("el-link",{attrs:{underline:!1,type:"primary"}},[n("i",{staticClass:"el-icon-document"}),e._v("下载文档")])],1)]):e._e()])],1),e._v(" "),n("el-form-item",{attrs:{label:"任务截止时间",prop:"datetime"}},[e.isModifyMode?n("div",{staticClass:"block"},[n("el-date-picker",{attrs:{size:"small",type:"datetime",placeholder:"选择截止时间",align:"right","picker-options":e.pickerOptions},model:{value:e.task.datetime,callback:function(t){e.$set(e.task,"datetime",t)},expression:"task.datetime"}})],1):e._e(),e._v(" "),e.isModifyMode?e._e():n("span",[e._v(e._s(e.dateFormat(new Date(e.task.datetime),"yyyy-MM-dd HH:mm:ss")))])]),e._v(" "),e.isModifyMode?n("el-form-item",[n("div",{staticClass:"btn btn-small btn-info",on:{click:function(t){return e.updateTask()}}},[e._v("确认修改")]),e._v(" "),n("div",{staticClass:"btn btn-small",on:{click:function(t){return e.cancelMode()}}},[e._v("取消")])]):e._e(),e._v(" "),e.editShortLink&&e.task.endPoint.serverCode&&e.taskOperationControl.confirmFinish?n("el-form-item",{attrs:{label:"任务面板链接",props:"shortLink"}},[n("el-input",{staticStyle:{width:"800px"},attrs:{placeholder:"请输入短链接生成任务报告"},model:{value:e.shortLink,callback:function(t){e.shortLink=t},expression:"shortLink"}},[n("template",{slot:"append"},[n("el-button",{on:{click:function(t){return e.getTaskDataBoard()}}},[e._v("确定")])],1)],2)],1):e._e(),e._v(" "),e.shortLink&&!e.editShortLink?n("el-form-item",{attrs:{label:"任务面板链接",props:"shortLink"}},[e._v("\n "+e._s(e.shortLink)+"\n "),e.taskOperationControl.confirmFinish?n("i",{staticClass:"el-icon-edit",on:{click:function(t){e.editShortLink=!0}}}):e._e()]):e._e(),e._v(" "),e.isModifyMode?e._e():n("el-form-item",[e.taskOperationControl.update||e.taskOperationControl.taskRecommend?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.manageVirtualMachine()}}},[e._v("管理虚拟机")]):e._e(),e._v(" "),e.taskOperationControl.writeReport||e.taskOperationControl.uploadReport?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.connectVirtualMachine()}}},[e._v("连接虚拟机")]):e._e(),e._v(" "),n("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.toProject()}}},[e._v("项目详情")]),e._v(" "),n("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.toGo()}}},[e._v("go语言测试在线测试平台")]),e._v(" "),n("el-popover",{attrs:{placement:"top-start",title:"确认结束?",width:"200",trigger:"hover",content:"测评机构已提交结束申请,请确认是否结束该任务"}},[e.taskOperationControl.confirmFinish?n("el-button",{attrs:{slot:"reference",type:"success",size:"mini"},on:{click:function(t){return e.endTask()}},slot:"reference"},[e._v("确认结束\n ")]):e._e()],1),e._v(" "),n("el-popover",{attrs:{placement:"top-start",title:"确认提交?",width:"200",trigger:"hover",content:"提交任务后不可更改,等待区域管理员验收"}},[e.taskOperationControl.finish?n("el-button",{attrs:{slot:"reference",type:"primary",size:"mini"},on:{click:function(t){return e.submitTaskRequest()}},slot:"reference"},[e._v("提交任务\n ")]):e._e()],1),e._v(" "),n("el-popover",{attrs:{placement:"top-start",title:"确认拒绝?",width:"200",trigger:"hover",content:"拒绝后不可再接收此任务,且该任务对您不可见"}},[e.taskOperationControl.reject?n("el-button",{attrs:{slot:"reference",type:"danger",size:"mini"},on:{click:function(t){return e.rejectTask()}},slot:"reference"},[e._v("拒绝任务\n ")]):e._e()],1),e._v(" "),n("el-popover",{attrs:{placement:"top-start",title:"确认接收?",width:"200",trigger:"hover",content:"接收任务后请认真完成!"}},[e.taskOperationControl.receive?n("el-button",{attrs:{slot:"reference",type:"primary",size:"mini"},on:{click:function(t){return e.receiveTask()}},slot:"reference"},[e._v("接收任务\n ")]):e._e()],1),e._v(" "),e.taskOperationControl.writeReport?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.gotoWriteReport()}}},[e._v("填写报告\n ")]):e._e(),e._v(" "),e.taskOperationControl.update?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.modifyForm()}}},[e._v("修改任务\n ")]):e._e(),e._v(" "),e.taskOperationControl.taskRecommend?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.recommendTask()}}},[e._v("任务推荐\n ")]):e._e(),e._v(" "),e.taskOperationControl.testCaseManage?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.toTestCases()}}},[e._v("\n 众测执行\n ")]):e._e(),e._v(" "),e.taskOperationControl.testCaseExam?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.toTestCasesExam()}}},[e._v("\n 众测审核\n ")]):e._e(),e._v(" "),e.taskOperationControl.taskDemonstrate?n("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(t){return e.gotoDataboard()}}},[e._v("\n 任务面板\n ")]):e._e()],1)],1)],1),e._v(" "),n("el-col",{attrs:{span:9}},[e.wordCloud.length?n("TaskCloud",{attrs:{info:e.wordCloud}}):e._e()],1)],1)],1),e._v(" "),e.isModifyMode?e._e():n("div",{staticClass:"create-body"},[n("div",{staticClass:"title h2"},[e._v("用户报告列表")]),e._v(" "),n("el-collapse",{staticStyle:{margin:"0 30px"},attrs:{accordion:""}},e._l(e.acceptedUserList,function(t,i){return n("el-collapse-item",{key:t.id},[n("template",{slot:"title"},[n("el-row",{staticStyle:{width:"100%","font-size":"16px"}},[n("el-col",{attrs:{span:6}},[e._v(e._s(t.userVO.userName))]),e._v(" "),n("el-col",{attrs:{span:6}},[e._v(e._s(t.userVO.email))]),e._v(" "),n("el-col",{attrs:{span:6}},[t.crowdReportVOS?n("el-tag",{attrs:{type:"success"}},[e._v("已提交报告")]):e._e(),e._v(" "),t.crowdReportVOS?e._e():n("el-tag",{attrs:{type:"info"}},[e._v("未提交报告")])],1),e._v(" "),n("el-col",{attrs:{span:6}},[t.isCommitted?n("el-tag",{attrs:{type:"success"}},[e._v("已提交任务")]):e._e(),e._v(" "),t.isCommitted?e._e():n("el-tag",{attrs:{type:"info"}},[e._v("未提交任务")])],1)],1)],1),e._v(" "),n("report-list",{attrs:{reports:t.crowdReportVOS,taskId:e.taskId,projectId:e.projectId}})],2)}),1)],1)])},staticRenderFns:[]};var g=n("VU/8")(f,v,!1,function(e){n("HpRs")},"data-v-68aed3f4",null);t.default=g.exports},Juxj:function(e,t){},LqGs:function(e,t){},NALm:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("7+uW"),a=n("Dd8w"),o=n.n(a),s=n("vGYV"),r=n("SQ4B"),c=n("b9vf"),l=n("NYxO"),u=n("2uFj"),d={name:"Header2.0",data:function(){return{user:{},loading:!1,fullScreenLoading:!0,loginUrl:u.b,registerUrl:u.c,manage_url:u.a.manage_url,authInfo:{},isShowAuthCheckingDialog:!1,isShowAuthRejectDialog:!1,isShowAuthPassDialog:!1,openNavBar:!1,defaultValue:s.c,userIdentity:"",isLogin:!1,rolesPermissions:{},city:""}},watch:{"user.authStatus":function(e){this.user.authStatus=e},deep:!0},methods:o()({},Object(l.b)(["setUser"]),{gotoHome:function(){this.$router.push("/home")},openNavBarFunc:function(){this.openNavBar=!this.openNavBar},getAddress:function(){var e=this;r.a.get(c.a.USER.GET_ADDRESS).then(function(t){e.city=t.city}).catch(function(t){e.hideLoading(),notify("error","获取定位失败:"+t.data)})},showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1},setUserInfo:function(){var e=this;this.showLoading(),null==Object(s.K)("user")?(Object(s.M)("rolesPermissions",{isRegionManager:!1,isIndividualUser:!1,isEnterpriseUser:!1,isAgency:!1,isSystemAdministrator:!1}),Object(s.v)().then(function(t){Object(s.M)("user",t),e.setUser(t),e.user=t,Object(s.M)("rolesPermissions",Object(s.B)(t.roleList)),e.rolesPermissions=Object(s.K)("rolesPermissions"),console.log("用户信息加载成功"),e.isLogin=!0,e.hideLoading()}).catch(function(t){console.log("用户信息加载失败"),e.hideLoading()})):(this.user=Object(s.K)("user"),this.rolesPermissions=Object(s.K)("rolesPermissions"),this.isLogin=!0),this.hideLoading()},getCurrentUserSuccess:function(e){Object(s.M)("user",e),this.user=e,Object(s.M)("rolesPermissions",Object(s.B)(e.roleList)),this.rolesPermissions=Object(s.K)("rolesPermissions"),console.log("用户信息加载成功"),this.isLogin=!0,this.fullScreenLoading=!1},getCurrentUserFail:function(e){console.log("用户信息加载失败"),this.fullScreenLoading=!1},userLogout:function(){var e=this;this.isLogin=!1,Object(s.L)("user"),Object(s.F)().then(function(t){e.$route.fullPath.includes("/home")?location.reload():e.$router.push("/home")})},handleClickAuthReject:function(){"agency"==this.user.userVO.authType&&this.$router.push({name:"AgencyAuthentication",params:{userId:this.user.userVO.id}}),"enterprise"==this.user.userVO.authType&&this.$router.push({name:"EnterpriseAuthentication",params:{userId:this.user.userVO.id}}),"personal"==this.user.userVO.authType&&this.$router.push({name:"IndividualAuthentication",params:{userId:this.user.userVO.id}})},handleClickAuthPass:function(){this.user.personalAuthVO?this.$router.push({name:"IndividualAuthentication",params:{userId:this.user.userVO.id}}):this.user.agencyVO?this.$router.push({name:"AgencyAuthentication",params:{userId:this.user.userVO.id}}):this.user.enterpriseAuthVO&&this.$router.push({name:"EnterpriseAuthentication",params:{userId:this.user.userVO.id}})},handleClickAuthChecking:function(){"agency"==this.user.userVO.authType&&this.$router.push({name:"AgencyAuthentication",params:{userId:this.user.userVO.id}}),"enterprise"==this.user.userVO.authType&&this.$router.push({name:"EnterpriseAuthentication",params:{userId:this.user.userVO.id}}),"personal"==this.user.userVO.authType&&this.$router.push({name:"IndividualAuthentication",params:{userId:this.user.userVO.id}})},showAuthRejectDialog:function(){this.isShowAuthRejectDialog=!0},showAuthPassDialog:function(){this.isShowAuthPassDialog=!0},showAuthCheckingDialog:function(){this.isShowAuthCheckingDialog=!0},hideAuthRejectDialog:function(){this.isShowAuthRejectDialog=!1},hideAuthPassDialog:function(){this.isShowAuthPassDialog=!1},hideAuthCheckingDialog:function(){this.isShowAuthCheckingDialog=!1},deleteOldAuthInfo:function(){var e=this;this.hideAuthCheckingDialog(),this.hideAuthRejectDialog(),this.hideAuthPassDialog(),this.showLoading(),Object(s.d)().then(function(t){e.hideLoading(),notify("success","成功删除认证信息")}).catch(function(t){e.hideLoading(),notify("error","删除认证信息失败:"+t.data)})},getAuthInfo:function(){this.showLoading(),"agency"==this.user.userVO.authType&&Object(s.s)(this.user.userVO.id,this.getCurrentAgencyAuthInfoSuccess,this.getCurrentAgencyAuthInfoFail),"personal"==this.user.userVO.authType&&Object(s.u)(this.user.userVO.id,this.getCurrentIndividualAuthenInfoSuccess,this.getCurrentIndividualAuthenInfoFail),"enterprise"==this.user.userVO.authType&&Object(s.t)(this.user.userVO.id,this.getCurrentEnterpriseAuthInfoSuccess,this.getCurrentEnterpriseAuthInfoFail)},getCurrentAgencyAuthInfoSuccess:function(){this.hideLoading()},getCurrentAgencyAuthInfoFail:function(){this.hideLoading()},getCurrentIndividualAuthenInfoSuccess:function(){this.hideLoading()},getCurrentIndividualAuthenInfoFail:function(){this.hideLoading()},getCurrentEnterpriseAuthInfoSuccess:function(){this.hideLoading()},getCurrentEnterpriseAuthInfoFail:function(){this.hideLoading()},handleUpdateAuthInfo:function(){this.hideAuthPassDialog(),this.hideAuthRejectDialog(),this.hideAuthCheckingDialog(),"personal"==this.user.userVO.authType&&this.$router.push({name:"IndividualAuthentication",params:{userId:this.authInfo.userId}}),"enterprise"==this.authInfo.type&&this.$router.push({name:"EnterpriseAuthentication",params:{userId:this.authInfo.userId}}),"agency"==this.authInfo.type&&this.$router.push({name:"AgencyAuthentication",params:{userId:this.authInfo.userId}})}}),created:function(){var e=this;this.$root.$on("user",function(t){e.user=t})},beforeMount:function(){this.getAddress(),this.setUserInfo()}},p={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"header-nav"},[n("div",{staticClass:"container"},[n("div",{staticClass:"nav-location pull-left"},[n("i",{staticClass:"el-icon-location-outline",staticStyle:{"margin-right":"5px"}}),e._v(" "),e.city&&""!=e.city?n("span",{staticStyle:{"line-height":"34px"}},[e._v(e._s(e.city))]):n("span",{staticStyle:{"line-height":"34px"}},[e._v("暂无")])]),e._v(" "),n("div",{staticClass:"nav-list pull-right"},[n("ul",[n("li",[n("a",{staticStyle:{cursor:"pointer"},on:{click:e.gotoHome}},[e._v("首页")])]),e._v("\n | \n "),n("li"),e.isLogin?n("li",[n("el-dropdown",[n("span",{staticClass:"el-dropdown-link",staticStyle:{color:"rgb(153,153,153)"}},[e._v("\n "+e._s(e.user.userVO.name)),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",[n("router-link",{attrs:{to:{path:"/personal/mine"}}},[n("el-link",{attrs:{icon:"el-icon-user",underline:!1}},[e._v("\n 个人中心\n ")])],1)],1),e._v(" "),e.rolesPermissions.isSystemAdministrator?n("el-dropdown-item",[n("router-link",{attrs:{to:{name:"AuthenticationManage"}}},[n("el-link",{attrs:{icon:"el-icon-view",underline:!1}},[e._v("\n 审核认证信息\n ")])],1)],1):e._e(),e._v(" "),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.userLogout()}}},[e._v("登出")])],1)],1)],1):e._e(),e._v(" "),e.isLogin?e._e():n("li",[n("a",{attrs:{href:e.loginUrl}},[e._v("请登录")])]),e._v("\n | \n "),e.isLogin?e._e():n("li",[n("a",{attrs:{href:e.registerUrl}},[e._v("免费注册")])]),e._v(" "),e.isLogin?n("li",[e.isLogin?e._e():n("span",[e._v(" | ")]),e._v(" "),e.isLogin?n("router-link",{attrs:{to:"/mine"}},[n("a",{staticClass:"dropdown-toggle nav-link",attrs:{"data-toggle":"dropdown"}},[n("span",[e._v("我的众测")])])]):e._e()],1):e._e(),e._v(" "),e.isLogin&&e.rolesPermissions.isSystemAdministrator?n("span",[e._v(" | ")]):e._e(),e._v(" "),e.isLogin&&e.rolesPermissions.isSystemAdministrator?n("li",[e.isLogin?n("router-link",{attrs:{to:"/statistics"}},[n("span",[e._v("机构统计")])]):e._e()],1):e._e()])])])])},staticRenderFns:[]};var h=n("VU/8")(d,p,!1,function(e){n("1mq1")},"data-v-e7c0cb34",null).exports,m={name:"Footer2.0",data:function(){return{logo_white:u.a.logo_white,footer_title_one:u.a.footer_title_one,footer_title_two:u.a.footer_title_two,footer_provider_number:u.a.footer_provider_number,footer_mobile:u.a.footer_mobile,footer_fax:u.a.footer_fax,footer_email:u.a.footer_email,footer_QRcode:u.a.footer_QRcode,footer_provider_number_url:u.a.footer_provider_number_url}}},f={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"footer-nav"},[i("div",{staticClass:"container"},[i("el-row",[i("el-col",{staticClass:"nav-logo-block",attrs:{span:5}},[i("div",{staticClass:"nav-title-wrapper"},[i("img",{staticClass:"nav-logo",attrs:{src:e.logo_white,alt:"logo"}}),e._v(" "),i("div",{staticClass:"nav-title"},[e._v("\n "+e._s(e.footer_title_one)),i("br"),e._v("\n "+e._s(e.footer_title_two)+"\n ")])])]),e._v(" "),i("el-col",{staticStyle:{"padding-left":"15%"},attrs:{span:19}},[i("div",{staticClass:"copyright-block pull-left",staticStyle:{margin:"12px 0"}},[e._v("\n 版权所有©信息产品及科技服务集成化众测服务平台与应用项目组"),i("br"),e._v(" "),i("img",{staticStyle:{width:"20px",height:"20px","vertical-align":"middle"},attrs:{src:n("y5vB")}}),e._v(" "),i("span",{staticStyle:{"vertical-align":"middle",height:"20px","line-height":"20px"}},[e._v("粤公网安备 44011602000570号")]),i("br"),e._v(" "),i("a",{staticStyle:{color:"white","font-size":"16px"},attrs:{href:e.footer_provider_number_url}},[e._v(e._s(e.footer_provider_number))]),i("br"),e._v("\n 电话:"+e._s(e.footer_mobile)+" 传真:"+e._s(e.footer_fax)+"1"),i("br"),e._v("\n 电子邮箱:"+e._s(e.footer_email)+"\n ")]),e._v(" "),e.footer_QRcode?i("div",{staticClass:"code-block pull-right"},[i("img",{staticClass:"mooctest-code",staticStyle:{width:"110px",height:"110px",display:"block"},attrs:{src:e.footer_QRcode,alt:"QRcode"}}),e._v(" "),i("div",{staticStyle:{width:"110px","text-align":"center"}},[e._v("官方微信公众号")])]):e._e()])],1)],1)])},staticRenderFns:[]};var v=n("VU/8")(m,f,!1,function(e){n("tWJ3")},"data-v-5bb5bd76",null).exports,g=n("qI5z"),y={name:"HomeSlice",data:function(){return{user:{},home_background_url:u.a.home_background_url,isLogin:!1,loading:!1,title:u.a.title,subtitle:u.a.subtitle}},methods:{showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1},loadData:function(){null!=Object(s.K)("user")&&(this.isLogin=!0,this.user=Object(s.K)("user").userVO)},checkCreateProjectAuth:function(){var e=this;this.isLogin?this.isLogin&&(this.showLoading(),r.a.get(c.a.USER.IS_PART.replace("{userId}",this.user.id)).then(function(t){console.log(t),e.hideLoading(),e.$router.push("/project/create")}).catch(function(t){e.hideLoading(),Object(g.a)("error",t.data)})):(console.log("请登录后访问"),Object(g.a)("warning","请登录后访问"))},checkCreateTaskAuth:function(){var e=this;this.isLogin?this.isLogin&&(this.showLoading(),r.a.get(c.a.USER.IS_AGENCY.replace("{userId}",this.user.id)).then(function(t){console.log(t),e.hideLoading(),e.$router.push("/square")}).catch(function(t){e.hideLoading(),Object(g.a)("error",t.data)})):(console.log("请登录后访问"),Object(g.a)("warning","请登录后访问"))},goToCreateProject:function(){this.checkCreateProjectAuth()},goToCreateTask:function(){this.checkCreateTaskAuth()}},mounted:function(){this.loadData()}},j={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"home-slice",style:{backgroundImage:"url("+e.home_background_url+")"}},[n("el-row",{staticStyle:{padding:"40px"}},[n("div",{staticClass:"slice-wrapper"},[n("div",{staticClass:"slice-title"},[e._v(e._s(e.title))]),e._v(" "),n("div",{staticClass:"slice-info"},[n("span",{staticClass:"line"}),e._v(" "),n("span",{staticClass:"txt"},[e._v(e._s(e.subtitle))]),e._v(" "),n("span",{staticClass:"line"})])])])],1)},staticRenderFns:[]};var b={name:"HomeSlice",data:function(){return{user:{},isLogin:!1,loading:!1}},methods:{showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1},loadData:function(){null!=Object(s.K)("user")&&(this.isLogin=!0,this.user=Object(s.K)("user").userVO)},checkCreateProjectAuth:function(){var e=this;this.isLogin?this.isLogin&&(this.showLoading(),r.a.get(c.a.USER.IS_PART.replace("{userId}",this.user.id)).then(function(t){console.log(t),e.hideLoading(),e.$router.push("/project/create")}).catch(function(t){e.hideLoading(),Object(g.a)("error",t.data)})):(console.log("请登录后访问"),Object(g.a)("warning","请登录后访问"))},checkCreateTaskAuth:function(){var e=this;this.isLogin?this.isLogin&&(this.showLoading(),r.a.get(c.a.USER.IS_AGENCY.replace("{userId}",this.user.id)).then(function(t){console.log(t),e.hideLoading(),e.$router.push("/square")}).catch(function(t){e.hideLoading(),Object(g.a)("error",t.data)})):(console.log("请登录后访问"),Object(g.a)("warning","请登录后访问"))},goToCreateProject:function(){this.checkCreateProjectAuth()},goToCreateTask:function(){this.checkCreateTaskAuth()}},mounted:function(){this.loadData()}},_={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"home-slice"},[i("el-row",{staticStyle:{"padding-top":"40px"}},[i("el-col",{attrs:{span:14}},[i("div",{staticClass:"slice-wrapper",staticStyle:{"padding-left":"20%"}},[i("div",{staticClass:"slice-title"},[i("img",{attrs:{src:n("r8Kp"),alt:"slice1"}})]),e._v(" "),i("div",{staticClass:"slice-info"},[e._v("1分钟带你玩转众测服务平台")]),e._v(" "),i("div",{staticClass:"slice-btn",staticStyle:{cursor:"pointer"},on:{click:e.goToCreateProject}},[e._v("立即进入"),i("img",{staticStyle:{"margin-left":"5px"},attrs:{src:n("1vUh")}})])])]),e._v(" "),i("el-col",{attrs:{span:10}},[i("div",{staticClass:"slice-wrapper"},[i("div",{staticClass:"slice-title"},[i("img",{attrs:{src:n("QkW8"),alt:"slice2"}})]),e._v(" "),i("div",{staticClass:"slice-info"},[e._v("入住众测服务平台流程")]),e._v(" "),i("div",{staticClass:"slice-btn",staticStyle:{cursor:"pointer"},on:{click:e.goToCreateTask}},[e._v("立即进入"),i("img",{staticStyle:{"margin-left":"5px"},attrs:{src:n("dZqM")}})])])])],1)],1)},staticRenderFns:[]};var k={name:"App",components:{HeaderContainer:h,FooterContainer:v,HomeSlice:n("VU/8")(y,j,!1,function(e){n("mu1k")},"data-v-6dae3fe9",null).exports,HomeSliceOnline:n("VU/8")(b,_,!1,function(e){n("4YzN")},"data-v-e881fae4",null).exports},data:function(){return{slice_type:0}},methods:{setUserInfo:function(){}},computed:{showSlice:function(){if("/home"===this.$route.path||"/"===this.$route.path)return!0}}},T={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"body-content"},[e.showSlice&&1===e.slice_type?n("home-slice"):e._e(),e._v(" "),e.showSlice&&0===e.slice_type?n("home-slice-online"):e._e(),e._v(" "),n("header-container"),e._v(" "),n("div",{staticClass:"container-wrapper"},[e._t("default",[n("div",{staticClass:"main-container"},[n("router-view")],1)])],2),e._v(" "),n("footer-container")],1)},staticRenderFns:[]};var C=n("VU/8")(k,T,!1,function(e){n("klKE")},null,null).exports,A=n("YaEn");n("5W1q"),n("qn6L");i.default.use(l.a);var E=new l.a.Store({state:{isLogin:!1,techArticleList:["sss"],activeTab:"",homeData:{},user:{},refreshDefectList:function(){},refreshTestCaseList:function(){}},mutations:{setTechArticleList:function(e,t){E.state.techArticleList=t},setActiveTab:function(e,t){E.state.activeTab=t},setHomeData:function(e,t){E.state.homeData=t},setUserInfo:function(e,t){E.state.user=t},setRefreshDefectListFunc:function(e,t){e.refreshDefectList=t},setRefreshTestCaseListFunc:function(e,t){e.refreshTestCaseList=t}},actions:{setTechArticleList:function(e,t){(0,e.commit)("setTechArticleList",t)},setActiveTab:function(e,t){(0,e.commit)("setActiveTab",t)},setHomeData:function(e,t){(0,e.commit)("setHomeData",t)},setUser:function(e,t){(0,e.commit)("setUserInfo",t)},setRefreshDefectListFunc:function(e,t){(0,e.commit)("setRefreshDefectListFunc",t)},setRefreshTestCaseListFunc:function(e,t){(0,e.commit)("setRefreshTestCaseListFunc",t)}},getters:{getTechArticleList:function(){return E.state.techArticleList},getActiveTab:function(){return E.state.activeTab},getHomeData:function(){return E.state.homeData},getUserInfo:function(){return E.state.user},getRefreshDefectListFunc:function(){return E.state.refreshDefectList},getRefreshTestCaseListFunc:function(){return E.state.refreshTestCaseList}},modules:{}}),I=E,w=n("PJh5"),O=n.n(w),x=(n("HHn+"),n("XLwt")),S=n.n(x),P=n("fZjL"),R=n.n(P),L=n("zL8q"),D=this;i.default.prototype.$moment=O.a,i.default.prototype.$echarts=S.a,i.default.use(L.Carousel),i.default.use(L.CarouselItem),i.default.use(L.Row),i.default.use(L.Col),i.default.use(L.Table),i.default.use(L.TableColumn),i.default.use(L.Form),i.default.use(L.FormItem),i.default.use(L.Button),i.default.use(L.ButtonGroup),i.default.use(L.Menu),i.default.use(L.Submenu),i.default.use(L.MenuItem),i.default.use(L.MenuItemGroup),i.default.use(L.Input),i.default.use(L.InputNumber),i.default.use(L.Radio),i.default.use(L.RadioGroup),i.default.use(L.RadioButton),i.default.use(L.Checkbox),i.default.use(L.CheckboxButton),i.default.use(L.CheckboxGroup),i.default.use(L.DatePicker),i.default.use(L.TimeSelect),i.default.use(L.TimePicker),i.default.use(L.Switch),i.default.use(L.Select),i.default.use(L.Option),i.default.use(L.Upload),i.default.use(L.Tabs),i.default.use(L.TabPane),i.default.use(L.Collapse),i.default.use(L.CollapseItem),i.default.use(L.Dialog),i.default.use(L.Card),i.default.use(L.Tag),i.default.use(L.Avatar),i.default.use(L.Pagination),i.default.use(L.Link),i.default.use(L.Loading),i.default.use(L.Tooltip),i.default.use(L.Dropdown),i.default.use(L.DropdownItem),i.default.use(L.DropdownMenu),i.default.use(L.Image),i.default.use(L.Badge),i.default.use(L.Popover),i.default.use(L.Progress),i.default.use(L.Steps),i.default.use(L.Step),i.default.use(L.Divider),i.default.use(L.Alert),i.default.prototype.$msgbox=L.MessageBox,i.default.prototype.$alert=L.MessageBox.alert,i.default.prototype.$confirm=L.MessageBox.confirm,i.default.prototype.$prompt=L.MessageBox.prompt,i.default.prototype.$notify=L.Notification,i.default.prototype.$message=L.Message,i.default.config.productionTip=!1,r.a.get("/api/common/configuration").then(function(e){var t=function(e){var t={};return R()(e).forEach(function(n){var i=JSON.parse(e[n]);t[R()(i)[0]]=i[R()(i)[0]]}),t}(e.data&&e.data.configurationList);D.homeDataNoCache=t,Object(u.d)(t),Object(s.M)("config",t),new i.default({el:"#app",router:A.a,data:{Bus:new i.default},components:{App:C},template:"<App/>",store:I})}).catch(function(e){console.log(e),Object(g.a)("error",e.data)})},NtRU:function(e,t){},OUyB:function(e,t){},QkW8:function(e,t,n){e.exports=n.p+"static/img/homeslice2.6e7ee34.png"},SQ4B:function(e,t,n){"use strict";var i=n("//Fk"),a=n.n(i),o=n("mvHQ"),s=n.n(o),r=n("mtWM"),c=n.n(r);function l(e){return e}function u(e){return JSON.parse(s()(e))}c.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",t.a={post:function(e,t){return new a.a(function(n,i){c.a.post(l(e),u(t)).then(function(e){n(e.data)}).catch(function(e){i(e.response)})})},get:function(e){return new a.a(function(t,n){c.a.get(l(e)).then(function(e){t(e.data)}).catch(function(e){n(e.response)})})},put:function(e,t){return new a.a(function(n,i){c.a.put(l(e),JSON.parse(s()(t))).then(function(e){n(e.data)}).catch(function(e){i(e.response)})})},delete:function(e,t){return new a.a(function(n,i){c.a.delete(l(e),{data:u(t)}).then(function(e){n(e.data)}).catch(function(e){i(e)})})},upload:function(e,t,n){return new a.a(function(i,a){c.a.post(l(e),t,n).then(function(e){i(e)}).catch(function(e){a(e)})})}}},SlAU:function(e,t,n){"use strict";var i={name:"report-list",props:{reports:{},projectId:"",taskId:""},data:function(){return{editIndex:-1,reportList:null==this.reports?[]:this.reports,pid:this.projectId,tid:this.taskId}},methods:{handleEdit:function(e,t){null==this.tid?this.$router.push({name:"ProjectReport",params:{reportId:t.code,projectId:this.pid}}):this.$router.push({name:"TaskReport",params:{reportId:t.code,projectId:this.pid,taskId:this.tid}})},handleDelete:function(e,t){this.reportList.splice(e,1)},cancelEdit:function(e,t){this.editIndex=-1},handleRemove:function(e,t){console.log(e,t)},handleExceed:function(e,t){this.$message.warning("当前限制选择 1 个文件,本次选择了 "+e.length+" 个文件,共选择了 "+(e.length+t.length)+" 个文件")},beforeRemove:function(e,t){return this.$confirm("确定移除 "+e.name+"?")},beforeFileUpload:function(){}},watch:{reports:function(){this.reportList=this.reports},projectId:function(){this.pid=this.projectId},taskId:function(){this.tid=this.taskId}}},a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"report-container"},[n("el-table",{staticStyle:{width:"100%"},attrs:{showHeader:!0,data:e.reportList}},[n("el-table-column",{attrs:{prop:"name",label:"报告名称"}}),e._v(" "),n("el-table-column",{attrs:{prop:"type",label:"报告类型",title:"报告类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",{staticClass:"badge"},[e._v(e._s(t.row.type))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"file",sortable:"",label:"报告文件"},scopedSlots:e._u([{key:"default",fn:function(t){return[null==t.row.content||""==t.row.content?n("span",[e._v("暂无文件")]):e._e(),e._v(" "),null!=t.row.content?n("a",{attrs:{href:t.row.file,target:"_blank"}},[n("i",{staticClass:"fa fa-file-text-o"}),e._v(" "+e._s(t.row.content))]):e._e()]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"right",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"btn btn-small btn-info",on:{click:function(n){return e.handleEdit(t.$index,t.row)}}},[e._v("查看详情")])]}}])})],1)],1)},staticRenderFns:[]};var o=n("VU/8")(i,a,!1,function(e){n("eyXK")},"data-v-48160f66",null);t.a=o.exports},Xbtq:function(e,t){},YaEn:function(e,t,n){"use strict";var i=n("7+uW"),a=n("/ocq"),o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"card"},[e._m(0),e._v(" "),n("div",{staticClass:"card-body"},[n("div",{staticClass:"card-title",attrs:{title:e.item.title}},[e._v(e._s(e.item.title))]),e._v(" "),n("div",{staticClass:"card-desc"}),e._v(" "),n("div",{staticClass:"card-action"},[n("div",{staticClass:"btn btn-small btn-info",on:{click:function(t){return e.goToTaskDetail(e.item.projectId,e.item.id)}}},[e._v("查看详情")]),e._v(" "),n("div",{staticClass:"participate-num"})])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"card-header card-header-image"},[t("a",{attrs:{href:"#"}},[t("img",{attrs:{src:n("x9fL"),alt:""}})])])}]};var s=n("VU/8")({name:"Task-Card",props:{item:{}},data:function(){return{}},mounted:function(){},watch:{item:function(){}},methods:{goToTaskDetail:function(e,t){this.$router.push({name:"Task",params:{projectId:e,taskId:t}})}}},o,!1,function(e){n("lVE5")},"data-v-7a15e656",null).exports,r=n("vGYV"),c={name:"InstitutionRank",props:{item:{}},data:function(){return{tableData:this.item,defaultValue:r.c}},watch:{item:function(){this.tableData=this.item}}},l={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,showHeader:!0,border:""}},[n("el-table-column",{attrs:{type:"index",width:"50",label:"排名"}}),e._v(" "),n("el-table-column",{attrs:{prop:"logo",width:"auto",label:"机构logo"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("img",{staticClass:"logo-img",attrs:{src:null==t.row.logo?e.defaultValue.image:t.row.logo}})]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"name",label:"机构名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",{staticClass:"institution-name",staticStyle:{"font-size":"12px"}},[e._v(e._s(t.row.name))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"name",label:"金额"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",{staticClass:"institution-name",staticStyle:{"font-size":"12px"}},[e._v("\n "+e._s(t.row.allTaskPrice)+"\n ")])]}}])})],1)],1)},staticRenderFns:[]};var u=n("VU/8")(c,l,!1,function(e){n("0l2P")},"data-v-0cf31ee5",null).exports,d={name:"PersonRank",props:{item:{}},data:function(){return{tableData:this.item,defaultValue:r.c}},watch:{item:function(){this.tableData=this.item}}},p={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,showHeader:!0,border:""}},[n("el-table-column",{attrs:{type:"index",width:"50",label:"排名"}}),e._v(" "),n("el-table-column",{attrs:{prop:"logo",width:"auto",label:"头像"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("img",{staticClass:"user-img",attrs:{src:null==t.row.logo?e.defaultValue.image:t.row.logo}})]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"name",label:"用户名"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",{staticClass:"institution-style",staticStyle:{"font-size":"12px"}},[e._v(e._s(t.row.name))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"number",label:"金额"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",{staticClass:"institution-style",staticStyle:{"font-size":"12px"}},[e._v("\n "+e._s(t.row.allProjectPrice)+"\n ")])]}}])})],1)],1)},staticRenderFns:[]};var h=n("VU/8")(d,p,!1,function(e){n("rjAZ")},"data-v-7c7484a1",null).exports,m=n("SQ4B"),f=n("b9vf"),v=n("qI5z"),g={name:"Home",components:{TaskCard:s,InstitutionRank:u,PersonRank:h},data:function(){return{user:null,loading:!1,defaultValue:r.c,hotTaskList:[],institutionRank:[],personRank:[],imgList:[],rolesPermissions:{},statisticsData:{userNum:100,agencyNum:200,deviceNum:345,projectNum:23,taskNum:123},systemStatistics:[{},{},{},{},{},{},{},{}]}},mounted:function(){var e=this;console.log("mine mount"),this.$nextTick(function(){e.init()})},methods:{init:function(){this.setUserInfo(),this.loadData()},loadData:function(){var e=this;this.showLoading(),console.log("loadData"),m.a.get(f.a.PAGE.HOME_PAGE).then(function(t){console.log(t),e.hideLoading(),e.hotTaskList=t.hotTaskList,e.institutionRank=t.agencyRank,e.personRank=t.userRank,e.imgList=t.imgList,e.systemStatistics=t.systemStatistics}).catch(function(t){e.hideLoading(),Object(v.a)("error","主页加载失败,请稍后重试")})},setUserInfo:function(){this.user=Object(r.K)("user"),this.rolesPermissions=Object(r.K)("rolesPermissions")},showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1},getStatisticsData:function(){var e=this;Object(r.y)().then(function(t){e.statisticsData=t}).catch(function(e){Object(v.a)("error","统计数据加载失败")})},getStatisticsDataSuccess:function(){},getStatisticsDataFail:function(){}},created:function(){},watch:{rolesPermissions:function(e){console.log(this.rolesPermissions),console.log(e),this.rolesPermissions=e}}},y={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"home-container"},[n("div",{staticClass:"home-banner-wrap"},[n("el-carousel",{attrs:{height:"400px",interval:1e4,arrow:"always"}},e._l(e.imgList,function(t,i){return n("el-carousel-item",{key:i},[n("img",{staticClass:"banner_back banner_back_1",attrs:{src:t}}),e._v(" "),null!=e.user&&null!=e.rolesPermissions&&(e.rolesPermissions.isAgency||e.rolesPermissions.isIndividualUser||e.rolesPermissions.isSystemAdministrator||e.rolesPermissions.isEnterpriseUser)?n("router-link",{attrs:{to:{name:"ProjectCreate"}}},[n("el-button",{staticClass:"btn-home-apply",attrs:{type:"primary"}},[e._v("创建项目")])],1):e._e()],1)}),1)],1),e._v(" "),n("div",{staticClass:"home-body-wrap"},[n("div",{staticClass:"title h2"},[e._v("系统统计信息")]),e._v(" "),n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[n("el-card",{staticClass:"box-card",staticStyle:{"margin-right":"40px","background-color":"#20A0FF"},attrs:{shadow:"hover"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticStyle:{"font-size":"30px",color:"white"}},[n("i",{staticClass:"el-icon-user"})])]),e._v(" "),n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{staticStyle:{"text-align":"right"},attrs:{span:18,type:"flex",align:"middle",justify:"start"}},[n("span",{staticStyle:{"font-size":"50px",color:"white"}},[e._v(e._s(e.systemStatistics[0].value))])]),e._v(" "),n("el-col",{staticStyle:{"text-align":"left","padding-left":"20px"},attrs:{span:20,type:"flex",align:"bottom",justify:"end"}},[n("span",{staticStyle:{"font-size":"16px",color:"white"},attrs:{type:"success",underline:!1}},[e._v(e._s(e.systemStatistics[0].name)+" ")])])],1)],1)],1),e._v(" "),n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[n("el-card",{staticClass:"box-card",staticStyle:{"margin-right":"40px","background-color":"#13CE66"},attrs:{shadow:"hover"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticStyle:{"font-size":"30px",color:"white"}},[n("i",{staticClass:"el-icon-setting"})])]),e._v(" "),n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{staticStyle:{"text-align":"right"},attrs:{span:18,type:"flex",align:"middle",justify:"start"}},[n("span",{staticStyle:{"font-size":"50px",color:"white"}},[e._v(e._s(e.systemStatistics[1].value))])]),e._v(" "),n("el-col",{staticStyle:{"text-align":"left","padding-left":"20px"},attrs:{span:20,type:"flex",align:"bottom",justify:"end"}},[n("span",{staticStyle:{"font-size":"16px",color:"white"},attrs:{type:"success",underline:!1}},[e._v(e._s(e.systemStatistics[1].name)+" ")])])],1)],1)],1),e._v(" "),n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[n("el-card",{staticClass:"box-card",staticStyle:{"margin-right":"40px","background-color":"#F7BA2A"},attrs:{shadow:"hover"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticStyle:{"font-size":"30px",color:"white"}},[n("i",{staticClass:"el-icon-user-solid"})])]),e._v(" "),n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{staticStyle:{"text-align":"right"},attrs:{span:18,type:"flex",align:"middle",justify:"start"}},[n("span",{staticStyle:{"font-size":"50px",color:"white"}},[e._v(e._s(e.systemStatistics[2].value))])]),e._v(" "),n("el-col",{staticStyle:{"text-align":"left","padding-left":"20px"},attrs:{span:20,type:"flex",align:"bottom",justify:"end"}},[n("span",{staticStyle:{"font-size":"16px",color:"white"},attrs:{type:"success",underline:!1}},[e._v(e._s(e.systemStatistics[2].name)+" ")])])],1)],1)],1),e._v(" "),n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[n("el-card",{staticClass:"box-card",staticStyle:{"margin-right":"40px","background-color":"#FF4949"},attrs:{shadow:"hover"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticStyle:{"font-size":"30px",color:"white"}},[n("i",{staticClass:"el-icon-cpu"})])]),e._v(" "),n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{staticStyle:{"text-align":"right"},attrs:{span:18,type:"flex",align:"middle",justify:"start"}},[n("span",{staticStyle:{"font-size":"50px",color:"white"}},[e._v(e._s(e.systemStatistics[3].value))])]),e._v(" "),n("el-col",{staticStyle:{"text-align":"left","padding-left":"20px"},attrs:{span:20,type:"flex",align:"bottom",justify:"end"}},[n("span",{staticStyle:{"font-size":"16px",color:"white"},attrs:{type:"success",underline:!1}},[e._v(e._s(e.systemStatistics[3].name)+" ")])])],1)],1)],1)],1),e._v(" "),n("el-row",{staticStyle:{"font-size":"14px","margin-top":"15px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[n("el-card",{staticClass:"box-card",staticStyle:{"margin-right":"40px","background-color":"#20A0FF"},attrs:{shadow:"hover"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticStyle:{"font-size":"30px",color:"white"}},[n("i",{staticClass:"el-icon-coin"})])]),e._v(" "),n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{staticStyle:{"text-align":"right"},attrs:{span:18,type:"flex",align:"middle",justify:"start"}},[n("span",{staticStyle:{"font-size":"50px",color:"white"}},[e._v(e._s(e.systemStatistics[4].value))])]),e._v(" "),n("el-col",{staticStyle:{"text-align":"left","padding-left":"20px"},attrs:{span:20,type:"flex",align:"bottom",justify:"end"}},[n("span",{staticStyle:{"font-size":"16px",color:"white"},attrs:{type:"success",underline:!1}},[e._v(e._s(e.systemStatistics[4].name)+" ")])])],1)],1)],1),e._v(" "),n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[n("el-card",{staticClass:"box-card",staticStyle:{"margin-right":"40px","background-color":"#13CE66",color:"white"},attrs:{shadow:"hover"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticStyle:{"font-size":"30px",color:"white"}},[n("i",{staticClass:"el-icon-bank-card"})])]),e._v(" "),n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{staticStyle:{"text-align":"right"},attrs:{span:18,type:"flex",align:"middle",justify:"start"}},[n("span",{staticStyle:{"font-size":"50px",color:"white"}},[e._v(e._s(e.systemStatistics[5].value))])]),e._v(" "),n("el-col",{staticStyle:{"text-align":"left","padding-left":"20px"},attrs:{span:20,type:"flex",align:"bottom",justify:"end"}},[n("span",{staticStyle:{"font-size":"16px",color:"white"},attrs:{type:"success",underline:!1}},[e._v(e._s(e.systemStatistics[5].name)+" ")])])],1)],1)],1),e._v(" "),n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[n("el-card",{staticClass:"box-card",staticStyle:{"margin-right":"40px","background-color":"#F7BA2A"},attrs:{shadow:"hover"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticStyle:{"font-size":"30px",color:"white"}},[n("i",{staticClass:"el-icon-notebook-1"})])]),e._v(" "),n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{staticStyle:{"text-align":"right"},attrs:{span:18,type:"flex",align:"middle",justify:"start"}},[n("span",{staticStyle:{"font-size":"50px",color:"white"}},[e._v(e._s(e.systemStatistics[6].value))])]),e._v(" "),n("el-col",{staticStyle:{"text-align":"left","padding-left":"20px"},attrs:{span:20,type:"flex",align:"bottom",justify:"end"}},[n("span",{staticStyle:{"font-size":"16px",color:"white"},attrs:{type:"success",underline:!1}},[e._v(e._s(e.systemStatistics[6].name)+" ")])])],1)],1)],1),e._v(" "),n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[n("el-card",{staticClass:"box-card",staticStyle:{"margin-right":"40px","background-color":"#FF4949"},attrs:{shadow:"hover"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticStyle:{"font-size":"30px",color:"white"}},[n("i",{staticClass:"el-icon-notebook-2"})])]),e._v(" "),n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{staticStyle:{"text-align":"right"},attrs:{span:18,type:"flex",align:"middle",justify:"start"}},[n("span",{staticStyle:{"font-size":"50px",color:"white"}},[e._v(e._s(e.systemStatistics[7].value))])]),e._v(" "),n("el-col",{staticStyle:{"text-align":"left","padding-left":"20px"},attrs:{span:20,type:"flex",align:"bottom",justify:"end"}},[n("span",{staticStyle:{"font-size":"16px",color:"white"},attrs:{type:"success",underline:!1}},[e._v(e._s(e.systemStatistics[7].name))])])],1)],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"home-body-wrap"},[n("div",{staticClass:"home-block"},[n("div",{staticClass:"title"},[e._v("\n 热门任务\n "),n("span",{staticClass:"more-info"},[n("router-link",{attrs:{to:"/square"}},[e._v("更多任务>")])],1)]),e._v(" "),n("el-row",{attrs:{gutter:20}},e._l(e.hotTaskList,function(e,t){return n("el-col",{key:t,attrs:{span:6}},[n("task-card",{attrs:{item:e}})],1)}),1)],1),e._v(" "),n("div",{staticClass:"home-block"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{xs:20,sm:20,md:20,lg:12,xl:12}},[n("div",{staticClass:"title"},[e._v("机构排名")]),e._v(" "),n("institution-rank",{attrs:{item:e.institutionRank}})],1),e._v(" "),n("el-col",{attrs:{xs:20,sm:20,md:20,lg:12,xl:12}},[n("div",{staticClass:"title"},[e._v("用户排名")]),e._v(" "),n("person-rank",{attrs:{item:e.personRank}})],1)],1)],1)])])},staticRenderFns:[]};n("VU/8")(g,y,!1,function(e){n("dlFR")},"data-v-303d4670",null).exports,n("djVU"),n("IYzk"),n("eCJx"),n("GYip"),n("AHgd"),n("hwS5"),n("7BN6"),n("d32V");i.default.use(a.a);t.a=new a.a({linkActiveClass:"active",routes:[{path:"/",name:"Home",component:function(e){return Promise.all([n.e(0),n.e(1)]).then(function(){var t=[n("bYRQ")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1,showSlice:!0}},{path:"/home",name:"Home",component:function(e){return Promise.all([n.e(0),n.e(1)]).then(function(){var t=[n("bYRQ")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1,showSlice:!0}},{path:"/mine",name:"Mine",component:function(e){return new Promise(function(e){e()}).then(function(){var t=[n("djVU")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/project/create",name:"ProjectCreate",component:function(e){return new Promise(function(e){e()}).then(function(){var t=[n("AHgd")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/project/:projectId",name:"Project",component:function(e){return new Promise(function(e){e()}).then(function(){var t=[n("GYip")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/project/:projectId/task/create",name:"TaskCreate",component:function(e){return new Promise(function(e){e()}).then(function(){var t=[n("eCJx")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/project/:projectId/task/:taskId",name:"Task",component:function(e){return new Promise(function(e){e()}).then(function(){var t=[n("IYzk")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/project/:projectId/analyse",name:"AnalyseDemand",component:function(e){return new Promise(function(e){e()}).then(function(){var t=[n("hwS5")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/project/:projectId/report/create",name:"ProjectReportCreate",component:function(e){return n.e(24).then(function(){var t=[n("3FFa")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/project/:projectId/task/:taskId/report/create",name:"TaskReportCreate",component:function(e){return n.e(46).then(function(){var t=[n("tFWN")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/project/:projectId/task/:taskId/report/:reportId",name:"TaskReport",component:function(e){return n.e(19).then(function(){var t=[n("3H+J")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/project/:projectId/report/:reportId",name:"ProjectReport",component:function(e){return n.e(31).then(function(){var t=[n("zWxZ")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/greenChannel/addProject",name:"ProjectAdd",component:function(e){return new Promise(function(e){e()}).then(function(){var t=[n("7BN6")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/greenChannel/addAgency",name:"AgencyAdd",component:function(e){return new Promise(function(e){e()}).then(function(){var t=[n("d32V")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/authentication/individual/create",name:"IndividualAuthenticationCreate",component:function(e){return n.e(40).then(function(){var t=[n("spP7")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/authentication/enterprise/create",name:"EnterpriseAuthenticationCreate",component:function(e){return n.e(35).then(function(){var t=[n("wot2")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/authentication/agency/create",name:"AgencyAuthenticationCreate",component:function(e){return n.e(18).then(function(){var t=[n("F14N")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/authentication/individual/:userId",name:"IndividualAuthentication",component:function(e){return n.e(41).then(function(){var t=[n("ygwZ")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/authentication/enterprise/:userId",name:"EnterpriseAuthentication",component:function(e){return n.e(38).then(function(){var t=[n("onCQ")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/authentication/agency/:userId",name:"AgencyAuthentication",component:function(e){return n.e(28).then(function(){var t=[n("yWUp")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/authentication/index",name:"AuthenticationIndex",component:function(e){return n.e(27).then(function(){var t=[n("bkCi")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/authentication/manage",name:"AuthenticationManage",component:function(e){return n.e(23).then(function(){var t=[n("LCtm")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/square",name:"Square",component:function(e){return Promise.all([n.e(0),n.e(7)]).then(function(){var t=[n("VrKt")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/popular/list",name:"PopularProjectAndTaskList",component:function(e){return Promise.all([n.e(0),n.e(6)]).then(function(){var t=[n("66XA")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/technology",name:"Technology",component:function(e){return Promise.all([n.e(0),n.e(4)]).then(function(){var t=[n("mLJg")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/technology/more",name:"TechnologyMore",component:function(e){return Promise.all([n.e(0),n.e(9)]).then(function(){var t=[n("0S8L")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/expert/list",name:"ExpertList",component:function(e){return Promise.all([n.e(0),n.e(16)]).then(function(){var t=[n("BD3q")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/agency/list/show",name:"AgencyList",component:function(e){return Promise.all([n.e(0),n.e(32)]).then(function(){var t=[n("kpxo")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/agency/resident/list",name:"AgencyResidentList",component:function(e){return Promise.all([n.e(0),n.e(48)]).then(function(){var t=[n("XKFH")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/competition/list",name:"CompetitionList",component:function(e){return Promise.all([n.e(0),n.e(37)]).then(function(){var t=[n("jz06")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/crowd/list",name:"CrowdList",component:function(e){return Promise.all([n.e(0),n.e(45)]).then(function(){var t=[n("d7MI")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/user/list",name:"UserList",component:function(e){return Promise.all([n.e(0),n.e(21)]).then(function(){var t=[n("BT2Y")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/resource/list",name:"ResourceList",component:function(e){return Promise.all([n.e(0),n.e(20)]).then(function(){var t=[n("WjcP")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/crowd/detail",name:"CrowdDetail",component:function(e){return Promise.all([n.e(0),n.e(25)]).then(function(){var t=[n("RzzK")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/agency/detail",name:"NewAgencyDetail",component:function(e){return n.e(36).then(function(){var t=[n("IPr/")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/user/detail",name:"UserDetail",component:function(e){return n.e(10).then(function(){var t=[n("Tuln")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/resource/detail",name:"ResourceDetail",component:function(e){return n.e(42).then(function(){var t=[n("I4pI")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/expert/detail",name:"ExpertDetail",component:function(e){return n.e(26).then(function(){var t=[n("Zm7D")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/field/detail",name:"FieldDetail",component:function(e){return n.e(29).then(function(){var t=[n("LmNr")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/application/detail",name:"ApplicationTypeDetail",component:function(e){return n.e(39).then(function(){var t=[n("p7Hz")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/test/type/detail",name:"TestTypeDetail",component:function(e){return n.e(33).then(function(){var t=[n("LcfZ")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1}},{path:"/personal",name:"UserCenter",component:function(e){return n.e(8).then(function(){var t=[n("pc6a")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{title:"",requireAuth:!1},children:[{path:"/personal/mine",component:function(e){return n.e(15).then(function(){var t=[n("g/QW")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/personal/qualification",component:function(e){return n.e(12).then(function(){var t=[n("4Cda")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/personal/bankCard",component:function(e){return n.e(17).then(function(){var t=[n("dZ7a")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/personal/modifyPsw",component:function(e){return n.e(49).then(function(){var t=[n("TTk0")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/personal/phoneBinding",component:function(e){return n.e(5).then(function(){var t=[n("rZWl")];e.apply(null,t)}.bind(this)).catch(n.oe)},children:[{path:"/personal/phoneBinding/binding",component:function(e){return n.e(47).then(function(){var t=[n("uavL")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/personal/phoneBinding/rebinding",component:function(e){return n.e(30).then(function(){var t=[n("4z3q")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]},{path:"/personal/mailBinding",component:function(e){return n.e(11).then(function(){var t=[n("G4OE")];e.apply(null,t)}.bind(this)).catch(n.oe)},children:[{path:"/personal/mailBinding/binding",component:function(e){return n.e(22).then(function(){var t=[n("0/wi")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/personal/mailBinding/rebinding",component:function(e){return n.e(50).then(function(){var t=[n("WL6l")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]},{path:"/personal/authentication",component:function(e){return n.e(13).then(function(){var t=[n("lkys")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/personal/authentication/enterprise",component:function(e){return n.e(34).then(function(){var t=[n("CECe")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/personal/authentication/individual",component:function(e){return n.e(14).then(function(){var t=[n("QX2f")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"",redirect:"/personal/mine"}]},{path:"/statistics",component:function(e){return n.e(44).then(function(){var t=[n("62VE")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/testcases/:taskCode",name:"TestCases",component:function(e){return n.e(3).then(function(){var t=[n("xon3")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/examtestcases/:projectCode/:taskCode/:userId",name:"ExamTestCases",component:function(e){return n.e(2).then(function(){var t=[n("9nOZ")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/login",component:function(e){return n.e(43).then(function(){var t=[n("QlWu")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]})},atWu:function(e,t){e.exports={provinces:[{name:"北京市",level:"1",code:"1100",cities:[{name:"北京市",level:"1",code:"1100"}]},{name:"天津市",level:"1",code:"1200",cities:[{name:"天津市",level:"1",code:"1200"}]},{name:"河北省",level:"1",code:"1300",cities:[{name:"石家庄市",level:"2",code:"1301"},{name:"唐山市",level:"3",code:"1302"},{name:"秦皇岛市",level:"3",code:"1303"},{name:"邯郸市",level:"3",code:"1304"},{name:"邢台市",level:"3",code:"1305"},{name:"保定市",level:"3",code:"1306"},{name:"张家口市",level:"3",code:"1307"},{name:"承德市",level:"3",code:"1308"},{name:"沧州市",level:"3",code:"1309"},{name:"廊坊市",level:"3",code:"1310"},{name:"衡水市",level:"3",code:"1311"}]},{name:"山西省",level:"1",code:"1400",cities:[{name:"太原市",level:"2",code:"1401"},{name:"大同市",level:"3",code:"1402"},{name:"阳泉市",level:"3",code:"1403"},{name:"长治市",level:"3",code:"1404"},{name:"晋城市",level:"3",code:"1405"},{name:"朔州市",level:"3",code:"1406"},{name:"晋中市",level:"3",code:"1407"},{name:"运城市",level:"3",code:"1408"},{name:"忻州市",level:"3",code:"1409"},{name:"临汾市",level:"3",code:"1410"},{name:"吕梁市",level:"3",code:"1411"}]},{name:"内蒙古自治区",level:"1",code:"1500",cities:[{name:"呼和浩特市",level:"2",code:"1501"},{name:"包头市",level:"3",code:"1502"},{name:"乌海市",level:"3",code:"1503"},{name:"赤峰市",level:"3",code:"1504"},{name:"通辽市",level:"3",code:"1505"},{name:"鄂尔多斯市",level:"3",code:"1506"},{name:"呼伦贝尔市",level:"3",code:"1507"},{name:"巴彦淖尔市",level:"3",code:"1508"},{name:"乌兰察布市",level:"3",code:"1509"},{name:"兴安盟",level:"3",code:"1522"},{name:"锡林郭勒盟",level:"3",code:"1525"},{name:"阿拉善盟",level:"3",code:"1529"}]},{name:"辽宁省",level:"1",code:"2100",cities:[{name:"沈阳市",level:"2",code:"2101"},{name:"大连市",level:"3",code:"2102"},{name:"鞍山市",level:"3",code:"2103"},{name:"抚顺市",level:"3",code:"2104"},{name:"本溪市",level:"3",code:"2105"},{name:"丹东市",level:"3",code:"2106"},{name:"锦州市",level:"3",code:"2107"},{name:"营口市",level:"3",code:"2108"},{name:"阜新市",level:"3",code:"2109"},{name:"辽阳市",level:"3",code:"2110"},{name:"盘锦市",level:"3",code:"2111"},{name:"铁岭市",level:"3",code:"2112"},{name:"朝阳市",level:"3",code:"2113"},{name:"葫芦岛市",level:"3",code:"2114"}]},{name:"吉林省",level:"1",code:"2200",cities:[{name:"长春市",level:"2",code:"2201"},{name:"吉林市",level:"3",code:"2202"},{name:"四平市",level:"3",code:"2203"},{name:"辽源市",level:"3",code:"2204"},{name:"通化市",level:"3",code:"2205"},{name:"白山市",level:"3",code:"2206"},{name:"松原市",level:"3",code:"2207"},{name:"白城市",level:"3",code:"2208"},{name:"延边朝鲜族自治州",level:"3",code:"2224"}]},{name:"黑龙江省",level:"1",code:"2300",cities:[{name:"哈尔滨市",level:"2",code:"2301"},{name:"齐齐哈尔市",level:"3",code:"2302"},{name:"鸡西市",level:"3",code:"2303"},{name:"鹤岗市",level:"3",code:"2304"},{name:"双鸭山市",level:"3",code:"2305"},{name:"大庆市",level:"3",code:"2306"},{name:"伊春市",level:"3",code:"2307"},{name:"佳木斯市",level:"3",code:"2308"},{name:"七台河市",level:"3",code:"2309"},{name:"牡丹江市",level:"3",code:"2310"},{name:"黑河市",level:"3",code:"2311"},{name:"绥化市",level:"3",code:"2312"},{name:"大兴安岭地区",level:"3",code:"2327"}]},{name:"上海市",level:"1",code:"3100",cities:[{name:"上海市",level:"1",code:"3100"}]},{name:"江苏省",level:"1",code:"3200",cities:[{name:"南京市",level:"2",code:"3201"},{name:"无锡市",level:"3",code:"3202"},{name:"徐州市",level:"3",code:"3203"},{name:"常州市",level:"3",code:"3204"},{name:"苏州市",level:"3",code:"3205"},{name:"南通市",level:"3",code:"3206"},{name:"连云港市",level:"3",code:"3207"},{name:"淮安市",level:"3",code:"3208"},{name:"盐城市",level:"3",code:"3209"},{name:"扬州市",level:"3",code:"3210"},{name:"镇江市",level:"3",code:"3211"},{name:"泰州市",level:"3",code:"3212"},{name:"宿迁市",level:"3",code:"3213"}]},{name:"浙江省",level:"1",code:"3300",cities:[{name:"杭州市",level:"2",code:"3301"},{name:"宁波市",level:"3",code:"3302"},{name:"温州市",level:"3",code:"3303"},{name:"嘉兴市",level:"3",code:"3304"},{name:"湖州市",level:"3",code:"3305"},{name:"绍兴市",level:"3",code:"3306"},{name:"金华市",level:"3",code:"3307"},{name:"衢州市",level:"3",code:"3308"},{name:"舟山市",level:"3",code:"3309"},{name:"台州市",level:"3",code:"3310"},{name:"丽水市",level:"3",code:"3311"}]},{name:"安徽省",level:"1",code:"3400",cities:[{name:"合肥市",level:"2",code:"3401"},{name:"芜湖市",level:"3",code:"3402"},{name:"蚌埠市",level:"3",code:"3403"},{name:"淮南市",level:"3",code:"3404"},{name:"马鞍山市",level:"3",code:"3405"},{name:"淮北市",level:"3",code:"3406"},{name:"铜陵市",level:"3",code:"3407"},{name:"安庆市",level:"3",code:"3408"},{name:"黄山市",level:"3",code:"3410"},{name:"滁州市",level:"3",code:"3411"},{name:"阜阳市",level:"3",code:"3412"},{name:"宿州市",level:"3",code:"3413"},{name:"巢湖市",level:"3",code:"3414"},{name:"六安市",level:"3",code:"3415"},{name:"亳州市",level:"3",code:"3416"},{name:"池州市",level:"3",code:"3417"},{name:"宣城市",level:"3",code:"3418"}]},{name:"福建省",level:"1",code:"3500",cities:[{name:"福州市",level:"2",code:"3501"},{name:"厦门市",level:"3",code:"3502"},{name:"莆田市",level:"3",code:"3503"},{name:"三明市",level:"3",code:"3504"},{name:"泉州市",level:"3",code:"3505"},{name:"漳州市",level:"3",code:"3506"},{name:"南平市",level:"3",code:"3507"},{name:"龙岩市",level:"3",code:"3508"},{name:"宁德市",level:"3",code:"3509"}]},{name:"江西省",level:"1",code:"3600",cities:[{name:"南昌市",level:"2",code:"3601"},{name:"景德镇市",level:"3",code:"3602"},{name:"萍乡市",level:"3",code:"3603"},{name:"九江市",level:"3",code:"3604"},{name:"新余市",level:"3",code:"3605"},{name:"鹰潭市",level:"3",code:"3606"},{name:"赣州市",level:"3",code:"3607"},{name:"吉安市",level:"3",code:"3608"},{name:"宜春市",level:"3",code:"3609"},{name:"抚州市",level:"3",code:"3610"},{name:"上饶市",level:"3",code:"3611"}]},{name:"山东省",level:"1",code:"3700",cities:[{name:"济南市",level:"2",code:"3701"},{name:"青岛市",level:"3",code:"3702"},{name:"淄博市",level:"3",code:"3703"},{name:"枣庄市",level:"3",code:"3704"},{name:"东营市",level:"3",code:"3705"},{name:"烟台市",level:"3",code:"3706"},{name:"潍坊市",level:"3",code:"3707"},{name:"济宁市",level:"3",code:"3708"},{name:"泰安市",level:"3",code:"3709"},{name:"威海市",level:"3",code:"3710"},{name:"日照市",level:"3",code:"3711"},{name:"莱芜市",level:"3",code:"3712"},{name:"临沂市",level:"3",code:"3713"},{name:"德州市",level:"3",code:"3714"},{name:"聊城市",level:"3",code:"3715"},{name:"滨州市",level:"3",code:"3716"},{name:"菏泽市",level:"3",code:"3717"}]},{name:"河南省",level:"1",code:"4100",cities:[{name:"郑州市",level:"2",code:"4101"},{name:"开封市",level:"3",code:"4102"},{name:"洛阳市",level:"3",code:"4103"},{name:"平顶山市",level:"3",code:"4104"},{name:"安阳市",level:"3",code:"4105"},{name:"鹤壁市",level:"3",code:"4106"},{name:"新乡市",level:"3",code:"4107"},{name:"焦作市",level:"3",code:"4108"},{name:"濮阳市",level:"3",code:"4109"},{name:"许昌市",level:"3",code:"4110"},{name:"漯河市",level:"3",code:"4111"},{name:"三门峡市",level:"3",code:"4112"},{name:"南阳市",level:"3",code:"4113"},{name:"商丘市",level:"3",code:"4114"},{name:"信阳市",level:"3",code:"4115"},{name:"周口市",level:"3",code:"4116"},{name:"驻马店市",level:"3",code:"4117"}]},{name:"湖北省",level:"1",code:"4200",cities:[{name:"武汉市",level:"2",code:"4201"},{name:"黄石市",level:"3",code:"4202"},{name:"十堰市",level:"3",code:"4203"},{name:"宜昌市",level:"3",code:"4205"},{name:"襄樊市",level:"3",code:"4206"},{name:"鄂州市",level:"3",code:"4207"},{name:"荆门市",level:"3",code:"4208"},{name:"孝感市",level:"3",code:"4209"},{name:"荆州市",level:"3",code:"4210"},{name:"黄冈市",level:"3",code:"4211"},{name:"咸宁市",level:"3",code:"4212"},{name:"随州市",level:"3",code:"4213"},{name:"恩施土家族苗族自治州",level:"3",code:"4228"}]},{name:"湖南省",level:"1",code:"4300",cities:[{name:"长沙市",level:"2",code:"4301"},{name:"株洲市",level:"3",code:"4302"},{name:"湘潭市",level:"3",code:"4303"},{name:"衡阳市",level:"3",code:"4304"},{name:"邵阳市",level:"3",code:"4305"},{name:"岳阳市",level:"3",code:"4306"},{name:"常德市",level:"3",code:"4307"},{name:"张家界市",level:"3",code:"4308"},{name:"益阳市",level:"3",code:"4309"},{name:"郴州市",level:"3",code:"4310"},{name:"永州市",level:"3",code:"4311"},{name:"怀化市",level:"3",code:"4312"},{name:"娄底市",level:"3",code:"4313"},{name:"湘西土家族苗族自治州",level:"3",code:"4331"}]},{name:"广东省",level:"1",code:"4400",cities:[{name:"广州市",level:"2",code:"4401"},{name:"韶关市",level:"3",code:"4402"},{name:"深圳市",level:"3",code:"4403"},{name:"珠海市",level:"3",code:"4404"},{name:"汕头市",level:"3",code:"4405"},{name:"佛山市",level:"3",code:"4406"},{name:"江门市",level:"3",code:"4407"},{name:"湛江市",level:"3",code:"4408"},{name:"茂名市",level:"3",code:"4409"},{name:"肇庆市",level:"3",code:"4412"},{name:"惠州市",level:"3",code:"4413"},{name:"梅州市",level:"3",code:"4414"},{name:"汕尾市",level:"3",code:"4415"},{name:"河源市",level:"3",code:"4416"},{name:"阳江市",level:"3",code:"4417"},{name:"清远市",level:"3",code:"4418"},{name:"东莞市",level:"3",code:"4419"},{name:"中山市",level:"3",code:"4420"},{name:"潮州市",level:"3",code:"4451"},{name:"揭阳市",level:"3",code:"4452"},{name:"云浮市",level:"3",code:"4453"}]},{name:"广西壮族自治区",level:"1",code:"4500",cities:[{name:"南宁市",level:"2",code:"4501"},{name:"柳州市",level:"3",code:"4502"},{name:"桂林市",level:"3",code:"4503"},{name:"梧州市",level:"3",code:"4504"},{name:"北海市",level:"3",code:"4505"},{name:"防城港市",level:"3",code:"4506"},{name:"钦州市",level:"3",code:"4507"},{name:"贵港市",level:"3",code:"4508"},{name:"玉林市",level:"3",code:"4509"},{name:"百色市",level:"3",code:"4510"},{name:"贺州市",level:"3",code:"4511"},{name:"河池市",level:"3",code:"4512"},{name:"来宾市",level:"3",code:"4513"},{name:"崇左市",level:"3",code:"4514"}]},{name:"海南省",level:"1",code:"4600",cities:[{name:"海口市",level:"2",code:"4601"},{name:"三亚市",level:"3",code:"4602"}]},{name:"重庆市",level:"1",code:"5000",cities:[{name:"重庆市",level:"1",code:"5000"}]},{name:"四川省",level:"1",code:"5100",cities:[{name:"成都市",level:"2",code:"5101"},{name:"自贡市",level:"3",code:"5103"},{name:"攀枝花市",level:"3",code:"5104"},{name:"泸州市",level:"3",code:"5105"},{name:"德阳市",level:"3",code:"5106"},{name:"绵阳市",level:"3",code:"5107"},{name:"广元市",level:"3",code:"5108"},{name:"遂宁市",level:"3",code:"5109"},{name:"内江市",level:"3",code:"5110"},{name:"乐山市",level:"3",code:"5111"},{name:"南充市",level:"3",code:"5113"},{name:"眉山市",level:"3",code:"5114"},{name:"宜宾市",level:"3",code:"5115"},{name:"广安市",level:"3",code:"5116"},{name:"达州市",level:"3",code:"5117"},{name:"雅安市",level:"3",code:"5118"},{name:"巴中市",level:"3",code:"5119"},{name:"资阳市",level:"3",code:"5120"},{name:"阿坝藏族羌族自治州",level:"3",code:"5132"},{name:"甘孜藏族自治州",level:"3",code:"5133"},{name:"凉山彝族自治州",level:"3",code:"5134"}]},{name:"贵州省",level:"1",code:"5200",cities:[{name:"贵阳市",level:"2",code:"5201"},{name:"六盘水市",level:"3",code:"5202"},{name:"遵义市",level:"3",code:"5203"},{name:"安顺市",level:"3",code:"5204"},{name:"铜仁地区",level:"3",code:"5222"},{name:"黔西南布依族苗族自治州",level:"3",code:"5223"},{name:"毕节地区",level:"3",code:"5224"},{name:"黔东南苗族侗族自治州",level:"3",code:"5226"},{name:"黔南布依族苗族自治州",level:"3",code:"5227"}]},{name:"云南省",level:"1",code:"5300",cities:[{name:"昆明市",level:"2",code:"5301"},{name:"曲靖市",level:"3",code:"5303"},{name:"玉溪市",level:"3",code:"5304"},{name:"保山市",level:"3",code:"5305"},{name:"昭通市",level:"3",code:"5306"},{name:"丽江市",level:"3",code:"5307"},{name:"普洱市",level:"3",code:"5308"},{name:"临沧市",level:"3",code:"5309"},{name:"楚雄彝族自治州",level:"3",code:"5323"},{name:"红河哈尼族彝族自治州",level:"3",code:"5325"},{name:"文山壮族苗族自治州",level:"3",code:"5326"},{name:"西双版纳傣族自治州",level:"3",code:"5328"},{name:"大理白族自治州",level:"3",code:"5329"},{name:"德宏傣族景颇族自治州",level:"3",code:"5331"},{name:"怒江傈僳族自治州",level:"3",code:"5333"},{name:"迪庆藏族自治州",level:"3",code:"5334"}]},{name:"西藏自治区",level:"1",code:"5400",cities:[{name:"拉萨市",level:"2",code:"5401"},{name:"昌都地区",level:"3",code:"5421"},{name:"山南地区",level:"3",code:"5422"},{name:"日喀则地区",level:"3",code:"5423"},{name:"那曲地区",level:"3",code:"5424"},{name:"阿里地区",level:"3",code:"5425"},{name:"林芝地区",level:"3",code:"5426"}]},{name:"陕西省",level:"1",code:"6100",cities:[{name:"西安市",level:"2",code:"6101"},{name:"铜川市",level:"3",code:"6102"},{name:"宝鸡市",level:"3",code:"6103"},{name:"咸阳市",level:"3",code:"6104"},{name:"渭南市",level:"3",code:"6105"},{name:"延安市",level:"3",code:"6106"},{name:"汉中市",level:"3",code:"6107"},{name:"榆林市",level:"3",code:"6108"},{name:"安康市",level:"3",code:"6109"},{name:"商洛市",level:"3",code:"6110"}]},{name:"甘肃省",level:"1",code:"6200",cities:[{name:"兰州市",level:"2",code:"6201"},{name:"嘉峪关市",level:"3",code:"6202"},{name:"金昌市",level:"3",code:"6203"},{name:"白银市",level:"3",code:"6204"},{name:"天水市",level:"3",code:"6205"},{name:"武威市",level:"3",code:"6206"},{name:"张掖市",level:"3",code:"6207"},{name:"平凉市",level:"3",code:"6208"},{name:"酒泉市",level:"3",code:"6209"},{name:"庆阳市",level:"3",code:"6210"},{name:"定西市",level:"3",code:"6211"},{name:"陇南市",level:"3",code:"6212"},{name:"临夏回族自治州",level:"3",code:"6229"},{name:"甘南藏族自治州",level:"3",code:"6230"}]},{name:"青海省",level:"1",code:"6300",cities:[{name:"西宁市",level:"2",code:"6301"},{name:"海东地区",level:"3",code:"6321"},{name:"海北藏族自治州",level:"3",code:"6322"},{name:"黄南藏族自治州",level:"3",code:"6323"},{name:"海南藏族自治州",level:"3",code:"6325"},{name:"果洛藏族自治州",level:"3",code:"6326"},{name:"玉树藏族自治州",level:"3",code:"6327"},{name:"海西蒙古族藏族自治州",level:"3",code:"6328"}]},{name:"宁夏回族自治区",level:"1",code:"6400",cities:[{name:"银川市",level:"2",code:"6401"},{name:"石嘴山市",level:"3",code:"6402"},{name:"吴忠市",level:"3",code:"6403"},{name:"固原市",level:"3",code:"6404"},{name:"中卫市",level:"3",code:"6405"}]},{name:"新疆维吾尔自治区",level:"1",code:"6500",cities:[{name:"乌鲁木齐市",level:"2",code:"6501"},{name:"克拉玛依市",level:"3",code:"6502"},{name:"吐鲁番地区",level:"3",code:"6521"},{name:"哈密地区",level:"3",code:"6522"},{name:"昌吉回族自治州",level:"3",code:"6523"},{name:"博尔塔拉蒙古自治州",level:"3",code:"6527"},{name:"巴音郭楞蒙古自治州",level:"3",code:"6528"},{name:"阿克苏地区",level:"3",code:"6529"},{name:"克孜勒苏柯尔克孜自治州",level:"3",code:"6530"},{name:"喀什地区",level:"3",code:"6531"},{name:"和田地区",level:"3",code:"6532"},{name:"伊犁哈萨克自治州",level:"3",code:"6540"},{name:"塔城地区",level:"3",code:"6542"},{name:"阿勒泰地区",level:"3",code:"6543"}]},{name:"台湾省",level:"1",code:"7100",cities:[{name:"台湾省",level:"1",code:"7100"}]},{name:"香港特别行政区",level:"1",code:"8100",cities:[{name:"香港特别行政区",level:"1",code:"8100"}]},{name:"澳门特别行政区",level:"1",code:"8200",cities:[{name:"澳门特别行政区",level:"1",code:"8200"}]}]}},b9vf:function(e,t,n){"use strict";t.a={PROJECT:{GET_PROJECT:"/api/project/{projectId}/",CREATE_PROJECT:"/api/project/",UPDATE_PROJECT:"/api/project/{projectId}/",DELETE_PROJECT:"/api/project/{projectId}/",ADD_PROJECT:"/api/greenChannel/project/",ADD_PROJECT_BY_EXCEL_PRE:"/api/greenChannel/excel/{userId}/projects",ADD_PROJECT_BY_EXCEL:"/api/greenChannel/projects",ACCEPT_PROJECT:"/api/project/{projectId}/regionManager/{userId}",REJECT_PROJECT:"/api/project/{projectId}/status/rejected",SUBMIT_PROJECT:"/api/project/{projectId}/status/committed",END_PROJECT:"/api/project/{projectId}/status/finished",MORE_HOT_PROJECT:"/api/square/hotProject/list",CROWD_PROJECT:"/api/common/index/crowd/project/{code}",GET_SIMPLE_DATAS:"/api/simpleprojectdatas"},TASK:{GET_TASK:"/api/project/{projectId}/task/{taskId}/",CREATE_TASK:"/api/project/{projectId}/task/",UPDATE_TASK:"/api/project/{projectId}/task/{taskId}/",DELETE_TASK:"/api/project/{projectId}/task/{taskId}/",ACCEPT_TASK:"/api/project/{projectId}/task/{taskId}/agency/{userId}",REJECT_TASK:"/api/project/{projectId}/task/{taskId}/status/reject",SUBMIT_TASK:"/api/project/{projectId}/task/{taskId}/status/commit",END_TASK:"/api/project/{projectId}/task/{taskId}/status/finished",MORE_HOT_TASK:"/api/square/hotTasks/list",GET_TASK_CLOUD:"/api/project/{projectId}/task/{taskId}/word",GET_TOKEN:"/api/project/{projectCode}/task/{taskCode}/token",GET_SIMPLE_USER_TASK_DATAS:"/api/simpleusertaskdatas",GET_SIMPLE_DATAS_BY_PROJECT:"/api/simpletaskdatas/{projectCode}",GET_TASK_USER_DATAS:"/api/project/{projectCode}/task/{taskCode}/taskusers",COMMIT_TASK:"/api/task/{taskCode}/commit"},REPORT:{GET_TASK_REPORT:"/api/project/{projectId}/task/{taskId}/report/{reportId}/",GET_PROJECT_REPORT:"/api/project/{projectId}/report/{reportId}/",CREATE_TASK_REPORT:"/api/project/{projectId}/task/{taskId}/report/",CREATE_PROJECT_REPORT:"/api/project/{projectId}/report/",UPDATE_TASK_REPORT:"/api/project/{projectId}/task/{taskId}/report/{reportId}/",UPDATE_PROJECT_REPORT:"/api/project/{projectId}/report/{reportId}/",DELETE_TASK_REPORT:"/api/project/{projectId}/task/{taskId}/report/{reportId}/",DELETE_PROJECT_REPORT:""},FILE:{REQUIREMENT_FILE:"/api/files/requirementfile/0/",APK:"/api/files/apk/0/",UPLOAD_REPORT_FILE:"/api/files/report/0/",UPLOAD_EXCEL:"",UPLOAD_IMAGE:"/api/files/image/0/",UPLOAD_TEST_CASE_IMAGE:"/api/files/testcaseimage/",UPLOAD_TEST_CASE_FILE:"/api/files/testcasefile/",GET_TEMPLATE_EXCEL_FILE:""},USER:{ADD_AGENCY:"/api/greenChannel/agency/",GET_CURRENT_USER:"/api/common/currentUser/",GET_USER_IDENTITY:"",GET_AUTH_URLS:"",LOGOUT:"/api/common/logout",SUBMIT_INDIVIDUAL_AUTHENTICATION_INFO:"/api/user/{userId}/personalAuth/",SUBMIT_ENTERPRISE_AUTHENTICATION_INFO:"/api/user/{userId}/enterpriseAuth",SUBMIT_AGENCY_AUTHENTICATION_INFO:"/api/user/{userId}/agency/",UPDATE_INDIVIDUAL_AUTHENTICATION_INFO:"/api/user/{userId}/personalAuth",UPDATE_ENTERPRISE_AUTHENTICATION_INFO:"/api/user/{userId}/enterpriseAuth",UPDATE_AGENCY_AUTHENTICATION_INFO:"/api/user/{userId}/agency/",UPDATE_AGENCY_RESOURCE_AND_ABILITY:"/api/user/{userId}/agency/resource",GET_INDIVIDUAL_AUTHENTICATION_INFO:"/api/user/{userId}/personalAuth",GET_ENTERPRISE_AUTHENTICATION_INFO:"/api/user/{userId}/enterpriseAuth",GET_AGENCY_AUTHENTICATION_INFO:"/api/user/{userId}/agency",GET_AGENCY_AUTHENTICATION_INFO_COMMON:"/api/user/{userId}/agency/common",GET_ALL_HANDLING_AUTH_INFO:"/api/user/authentication/handling",GET_ALL_HANDLED_AUTH_INFO:"/api/user/authentication/handled",PASS_AGENCY_AUTH:"/api/user/{userId}/agency/status/accept",PASS_ENTERPRISE_AUTH:"/api/user/{userId}/enterpriseAuth/status/accept",PASS_INDIVIDUAL_AUTH:"/api/user/{userId}/personalAuth/status/accept",REJECT_AGENCY_AUTH:"/api/user/{userId}/agency/status/reject",REJECT_ENTERPRISE_AUTH:"/api/user/{userId}/enterpriseAuth/status/reject",REJECT_INDIVIDUAL_AUTH:"/api/user/{userId}/personalAuth/status/reject",GET_DETAIL:"/api/user/detail/{userId}",GET_ADDRESS:"/api/index/address",IS_PART:"/api/common/check/create/project/{userId}",IS_AGENCY:"/api/common/check/accept/task/{userId}"},PAGE:{HOME_PAGE:"/api/common/index/",SQUARE_PAGE:"/api/task/",MY_CROWD_TEST_PAGE:"/api/common/mycrowd/{userId}",TASK_DETAIL_PAGE:"/api/page/taskDetail/{taskId}/",PROJECT_DETAIL_PAGE:"/api/project/{projectId}/",REPORT_DETAIL_PAGE:"/api/page/reportDetail/{reportId}/"},AGENCY:{GET_DETAIL:"/api/agency/{agencyId}"},RESOURCE:{GET_DETAIL:"/api/common/index/resource/{code}"},EXPERT:{GET_DETAIL:"/api/common/index/expert/{id}"},TECHNOLOGY:{GET_MORE:"/api/technical/more"},GENERAL:{GET_ALL_INSTITUTIONS:"/api/regionalManager",GET_ALL_AGENCIES:"/api/agency/list",GET_ALL_ApplicationType:"/api/list/application",GET_ALL_TestType:"/api/list/type",GET_ALL_Filed:"/api/list/filed"},TESTCASE:{ADD:"/api/testcase/",UPDATE:"/api/testcase/{id}/",USER_TEST_CASES:"/api/testcase/designer/{taskCode}/{designerId}/{pageNo}/{pageSize}/",DELETE:"/api/testcase/{id}/",USER_DEFECTS:"/api/testcase/designer/defects/{taskCode}/{committerId}/{pageNo}/{pageSize}/",ADD_DEFECT:"/api/testcase/defect/",UPDATE_DEFECT:"/api/testcase/defect/{id}/",DELETE_DEFECT:"/api/testcase/defect/{id}/",EXAM:"/api/testcase/exam/{id}/",UPLOAD_TEST_CASES_FILE:"/api/testcase/upload/{taskCode}/",UPLOAD_DEFECTS_FILE:"/api/testcase/uploaddefects/{taskCode}/"},TESTENV:{ADD:"/api/testenv/",UPDATE:"/api/testenv/{id}/",DELETE:"/api/testenv/{id}/",LIST:"/api/testenv/designer/{taskCode}/{designerId}/"},TESTTOOL:{ADD:"/api/testtool/",UPDATE:"/api/testtool/{id}/",DELETE:"/api/testtool/{id}/",LIST:"/api/testtool/designer/{taskCode}/{designerId}/"},LOGIN:"/api/login2/"}},d32V:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("SQ4B"),a=n("b9vf"),o=n("qI5z"),s=n("vGYV"),r={name:"AgencyAdd",data:function(){var e=this;return{user:{},userId:0,loading:!1,isModifyMode:!0,dialogVisible:!1,serviceTypes:[],resourceTypes:[],agency:{mobile:"",email:"",name:"",bankAccount:"",address:"",evaluationAgencyAbilityList:[],evaluationAgencyResourceList:[{id:0,type:"",name:"",totalNum:0,availableNum:0}],professionalsCount:0,professionalsFreeCount:0,serversCount:0,serversFreeCount:0,devicesCount:0,devicesFreeCount:0,photo:[],photoUrl:"",password:"",username:""},rules:{name:[{required:!0,message:"请输入测评机构名称",trigger:"blur"}],mobile:[{required:!0,message:"请输入手机号",trigger:"blur"}],email:[{required:!0,message:"请输入邮箱地址",trigger:"blur"}],bankAccount:[{required:!0,message:"请输入银行卡账户",trigger:"blur"},{validator:function(t,n,i){e.checkNumber(n)?i():i(new Error("银行卡账户输入有误"))},trigger:"blur"}],address:[{required:!0,message:"请输入机构地址",trigger:"blur"}],evaluationAgencyAbilityList:[{type:"array",required:!0,message:"请至少选择一个机构能力",trigger:"change"}],evaluationAgencyResourceList:[{validator:function(e,t,n){var i=!1;if(null==t||0==t.length)n(new Error("机构资源不可为空"));else for(var a=0;a<t.length;a++)if(""==t[a].name){i=!0;break}i?n(new Error("资源名称不可为空")):n()},trigger:"blur"}],photoUrl:[{validator:function(e,t,n){null==t||""==t?n(new Error("机构logo不可为空")):n()},trigger:"blur"}]},tableData:[{date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1517 弄"},{date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1519 弄"},{date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1516 弄"}]}},mounted:function(){var e=this;this.$nextTick(function(){e.init()})},methods:{init:function(){this.setServiceTypes(),this.setResourceTypes(),this.setUserInfo()},loadData:function(){},modifyInfo:function(){this.isModifyMode=!0},submitInfo:function(){var e=this;this.$refs.agency.validate(function(t){if(!t)return Object(o.a)("error","表单填写错误!"),!1;e.showLoading();var n={mobile:e.agency.mobile,evaluationAgencyName:e.agency.name,bankAccount:e.agency.bankAccount,address:e.agency.address,evaluationAgencyAbilityList:e.agency.evaluationAgencyAbilityList,evaluationAgencyResourceList:e.agency.evaluationAgencyResourceList,agencyPhoto:e.agency.photoUrl,email:e.agency.email};i.a.post(a.a.USER.ADD_AGENCY,n).then(function(t){e.hideLoading(),console.log(t),e.agency.password=t.userVO.password,e.agency.username=t.userVO.userName,e.agency.mobile=t.userVO.mobile,e.showDialog()}).catch(function(t){e.hideLoading(),Object(o.a)("error",t.data)})})},cancelModify:function(){this.isModifyMode=!1},handleRemove:function(e,t){console.log(e,t)},handleExceed:function(e,t){this.$message.warning("当前限制选择 1 个文件,本次选择了 "+e.length+" 个文件,共选择了 "+(e.length+t.length)+" 个文件")},beforeRemove:function(e,t){},beforeFileUpload:function(){},uploadFile:function(e){var t=this,n=new FormData;n.append("file",e.file),i.a.upload(a.a.FILE.UPLOAD_IMAGE.replace("{userId}",this.user.userVO.id),n,{headers:{"Content-Type":"multipart/form-data"}}).then(function(e){t.agency.photoUrl=e.data,console.log(e.data),Object(o.a)("success","上传成功"),t.$refs.agency.validateField("photoUrl")}).catch(function(e){Object(o.a)("error",e.data)})},handleDialogClose:function(e){var t=this;this.$confirm("确认退出?退出前请记录下登录账号和密码,否则无法找回!!!").then(function(e){t.hideDialog()}).catch(function(e){})},showDialog:function(){this.dialogVisible=!0},hideDialog:function(){this.dialogVisible=!1,this.resetForm()},toLogin:function(){this.hideDialog(),this.$router.push({name:"Home"})},resetForm:function(){this.agency={mobile:"",email:"",name:"",bankAccount:"",address:"",evaluationAgencyAbilityList:"",evaluationAgencyResourceList:"",photo:[],photoUrl:"",password:"",username:""}},setServiceTypes:function(){this.serviceTypes=Object(s.i)()},addAgencyResource:function(){var e={id:this.agency.evaluationAgencyResourceList.length,type:this.resourceTypes[0],name:"",totalNum:0,availableNum:0};this.agency.evaluationAgencyResourceList.push(e)},removeAgencyResource:function(e){this.agency.evaluationAgencyResourceList.splice(e,1);for(var t=0;t<this.agency.evaluationAgencyResourceList.length;t++)this.agency.evaluationAgencyResourceList[t].id=t},setResourceTypes:function(){this.resourceTypes=Object(s.k)()},checkAgencyResourceVaild:function(){if(0===this.agency.evaluationAgencyResourceList.length)return!0;for(var e=0;e<this.agency.evaluationAgencyResourceList.length;e++){var t=this.agency.evaluationAgencyResourceList[e];if(""===t.type)return Object(o.a)("error","资源类型不能为空"),!1;if(""===t.name)return Object(o.a)("error","资源名称不能为空"),!1;if(t.totalNum<t.availableNum)return Object(o.a)("error","资源总数量不能低于可用数量"),!1}return!0},setUserInfo:function(){this.user=Object(s.K)("user")},showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1},checkNumber:function(e){return/^\d+$/.test(e)}},created:function(){}},c={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"create-container"},[n("div",{staticClass:"create-body"},[n("div",{staticClass:"title"},[e._v("添加机构")]),e._v(" "),n("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"agency",staticClass:"demo-report",attrs:{model:e.agency,rules:e.rules,"label-width":"12%"}},[n("el-form-item",{attrs:{label:"机构名称",prop:"name"}},[e.isModifyMode?n("el-input",{attrs:{size:"small"},model:{value:e.agency.name,callback:function(t){e.$set(e.agency,"name",t)},expression:"agency.name"}}):e._e()],1),e._v(" "),n("el-form-item",{attrs:{size:"small",label:"机构电话",prop:"mobile"}},[e.isModifyMode?n("el-input",{model:{value:e.agency.mobile,callback:function(t){e.$set(e.agency,"mobile",t)},expression:"agency.mobile"}}):e._e()],1),e._v(" "),n("el-form-item",{attrs:{size:"small",label:"机构邮箱",prop:"email"}},[e.isModifyMode?n("el-input",{model:{value:e.agency.email,callback:function(t){e.$set(e.agency,"email",t)},expression:"agency.email"}}):e._e()],1),e._v(" "),n("el-form-item",{attrs:{size:"small",label:"地址",prop:"address"}},[e.isModifyMode?n("el-input",{model:{value:e.agency.address,callback:function(t){e.$set(e.agency,"address",t)},expression:"agency.address"}}):e._e()],1),e._v(" "),n("el-form-item",{attrs:{label:"测评机构能力",prop:"evaluationAgencyAbilityList"}},[e.isModifyMode?n("el-checkbox-group",{model:{value:e.agency.evaluationAgencyAbilityList,callback:function(t){e.$set(e.agency,"evaluationAgencyAbilityList",t)},expression:"agency.evaluationAgencyAbilityList"}},e._l(e.serviceTypes,function(t,i){return n("span",{key:i},[n("el-checkbox",{attrs:{label:t,name:"evaluationAgencyAbilityList"}},[e._v(e._s(t)+" ")])],1)}),0):e._e()],1),e._v(" "),n("el-form-item",{attrs:{label:"测评机构资源",prop:"evaluationAgencyResourceList"}},[e._l(e.agency.evaluationAgencyResourceList,function(t){return n("span",{key:t.id},[e._v("\n 资源类型: "),n("el-select",{staticStyle:{width:"15%","margin-bottom":"10px"},attrs:{size:"small",placeholder:"请选择",value:t.type},model:{value:t.type,callback:function(n){e.$set(t,"type",n)},expression:"item.type"}},e._l(e.resourceTypes,function(e){return n("el-option",{key:e,attrs:{label:e,value:e}})}),1),e._v("\n 资源名称: "),n("el-input",{staticStyle:{width:"15%"},attrs:{size:"small"},model:{value:t.name,callback:function(n){e.$set(t,"name",n)},expression:"item.name"}}),e._v("\n 总量: "),n("el-input-number",{attrs:{size:"small",min:0},model:{value:t.totalNum,callback:function(n){e.$set(t,"totalNum",n)},expression:"item.totalNum"}}),e._v("\n 可用数量: "),n("el-input-number",{attrs:{size:"small",min:0,max:t.totalNum},model:{value:t.availableNum,callback:function(n){e.$set(t,"availableNum",n)},expression:"item.availableNum"}}),e._v(" "),n("el-button",{attrs:{size:"small",type:"danger",icon:"el-icon-delete"},on:{click:function(n){return e.removeAgencyResource(t.id)}}}),e._v(" "),n("br")],1)}),e._v(" "),n("el-button",{attrs:{type:"primary",icon:"el-icon-circle-plus",plain:"",size:"mini"},on:{click:e.addAgencyResource}},[e._v("添加资源\n ")])],2),e._v(" "),n("el-form-item",{attrs:{prop:"photoUrl",label:"机构logo"}},[e.isModifyMode?n("el-upload",{staticClass:"avatar-uploader",attrs:{"show-file-list":!1,action:"https://jsonplaceholder.typicode.com/posts/","before-upload":e.beforeFileUpload,"http-request":e.uploadFile,"file-list":e.agency.photo}},[e.agency.photoUrl?n("img",{staticClass:"avatar",attrs:{src:e.agency.photoUrl}}):n("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]):e._e()],1),e._v(" "),e.isModifyMode?n("el-form-item",[n("div",{staticClass:"btn btn-primary btn-info",on:{click:function(t){return e.submitInfo()}}},[e._v("提交")])]):e._e()],1),e._v(" "),n("el-dialog",{attrs:{title:"测评机构添加成功",visible:e.dialogVisible,width:"30%","before-close":e.handleDialogClose,center:""},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("span",[n("el-card",{staticClass:"box-card",attrs:{shadow:"always"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("您添加的机构信息")])]),e._v(" "),n("div",{staticClass:"text item"},[n("ul",{staticStyle:{"list-style-type":"none"}},[n("li",[e._v("机构名称:"+e._s(e.agency.name))]),e._v(" "),n("li",[e._v("机构电话:"+e._s(e.agency.mobile))]),e._v(" "),n("li",[e._v("地址:"+e._s(e.agency.address))]),e._v(" "),n("li",[e._v("邮箱:"+e._s(e.agency.email))])])])]),e._v(" "),n("br"),e._v(" "),n("el-card",{staticClass:"box-card",attrs:{shadow:"always"}},[n("div",{staticClass:"text item"},[e._v("\n 您可以使用以下的账号密码登录系统:\n "),n("ul",{staticStyle:{"list-style-type":"none"}},[n("li",[e._v("账号:"+e._s(e.agency.email))]),e._v(" "),n("li",[e._v("密码:"+e._s(e.agency.mobile))])]),e._v("\n 也可以使用手机号"+e._s(e.agency.mobile)+"验证码登录\n ")])])],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:e.handleDialogClose}},[e._v("返 回")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.toLogin}},[e._v("去登录")])],1)])],1)])},staticRenderFns:[]};var l=n("VU/8")(r,c,!1,function(e){n("NALm")},"data-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Module",{value:!0});var i=n("9od8"),a=n("3Kss"),o=n("SQ4B"),s=n("b9vf"),r=n("qI5z"),c=n("vGYV"),l=n("XLwt"),u=n.n(l),d={name:"Mine",components:{TaskItem:i.a,ProjectItem:a.a},watch:{user:function(e){this.user=e},rolesPermissions:function(e){this.rolesPermissions=e},deep:!0},data:function(){return{statisticData:{},loading:!1,unFinishedTaskList:[],finishedTaskList:[],appliedProjectList:[],myProjects:[],handlingProjects:[],acceptableProjects:[],defaultValue:c.c,myProjectNoticeCount:0,processProjectNoticeCount:0,acceptableProjectNoticeCount:0,rolesPermissions:{isRegionManager:!1,isIndividualUser:!1,isEnterpriseUser:!1,isAgency:!1,isSystemAdministrator:!1},user:{userVO:{id:"",name:"",photo:"",roleList:[]}},isLogin:!1,showCreateData:!1,showAcceptData:!1}},mounted:function(){var e=this;this.$nextTick(function(){console.log("nexttick"),e.init(),e.checkCreateProjectAuth(),e.checkAcceptTaskAuth()})},methods:{init:function(){this.setUserInfo(),this.setRolesPermissions(),this.loadData()},loadData:function(){var e=this;this.showLoading(),o.a.get(s.a.PAGE.MY_CROWD_TEST_PAGE.replace("{userId}",this.user.userVO.id)).then(function(t){e.hideLoading(),e.statisticData=t,e.processProjectNoticeCount=null==t.processProjectNoticeCount?0:t.processProjectNoticeCount,e.myProjectNoticeCount=null==t.myProjectNoticeCount?0:t.myProjectNoticeCount,e.acceptableProjectNoticeCount=null==t.acceptableProjectNoticeCount?0:t.acceptableProjectNoticeCount,null!=t.unfinishedTasks&&t.unfinishedTasks.length>0&&(e.unFinishedTaskList=t.unfinishedTasks),null!=t.finishedTasks&&t.finishedTasks.length>0&&(e.finishedTaskList=t.finishedTasks),null!=t.myProjects&&t.myProjects.length>0&&(e.myProjects=t.myProjects),null!=t.handlingProjects&&t.handlingProjects.length>0&&(e.handlingProjects=t.handlingProjects),null!=t.acceptableProjects&&t.acceptableProjects.length>0&&(e.acceptableProjects=t.acceptableProjects)}).catch(function(t){e.hideLoading(),Object(r.a)("error","加载失败,请稍后重试")})},setUserInfo:function(){null!=Object(c.K)("user")&&(this.isLogin=!0,this.user=Object(c.K)("user"))},setRolesPermissions:function(){this.rolesPermissions=Object(c.K)("rolesPermissions")},setEcharts:function(){u.a.init(document.getElementById("myChart")).setOption({title:{text:""},tooltip:{},legend:{data:["接收项目数量","完成项目数量","接收任务数量","完成任务数量","发布项目数量"]},grid:{left:"5%",right:"8%",bottom:"3%",top:"10%",containLabel:!0},toolbox:{feature:{saveAsImage:{title:"保存为图片",name:"我的众测"}},right:"20px"},xAxis:{type:"category",boundaryGap:!1,data:["2020年1月","2020年2月","2020年3月","2020年4月","2020年5月","2020年6月","2020年7月"]},yAxis:{type:"value"},series:[{name:"接收项目数量",type:"line",stack:"总量",data:[2,3,3,2,4,5,6]},{name:"完成项目数量",type:"line",stack:"总量",data:[2,3,3,2,4,5,6]},{name:"接收任务数量",type:"line",stack:"总量",data:[22,33,41,14,55,33,41]},{name:"完成任务数量",type:"line",stack:"总量",data:[21,33,31,14,39,33,32]},{name:"发布项目数量",type:"line",stack:"总量",data:[2,3,1,0,1,2,2]}]})},showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1},handleTabClick:function(e){e.name,e.name,console.log(e)},checkCreateProjectAuth:function(){var e=this;this.isLogin&&o.a.get(s.a.USER.IS_PART.replace("{userId}",this.user.userVO.id)).then(function(t){t&&(e.showCreateData=!0)}).catch(function(e){})},checkAcceptTaskAuth:function(){var e=this;this.isLogin&&o.a.get(s.a.USER.IS_AGENCY.replace("{userId}",this.user.userVO.id)).then(function(t){t&&(e.showAcceptData=!0)}).catch(function(e){})}},created:function(){}},p={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"mine-container"},[n("div",{staticClass:"project-statistics"},[e.showAcceptData?n("el-card",{staticClass:"project-statistics-card",attrs:{shadow:"hover"}},[n("div",{staticClass:"project-statistics-card-title"},[e._v("未完成任务数")]),e._v(" "),n("div",{staticClass:"project-statistics-card-number"},[e._v(e._s(e.statisticData.unfinishedTaskCount||0))])]):e._e(),e._v(" "),e.showAcceptData?n("el-card",{staticClass:"project-statistics-card",attrs:{shadow:"hover"}},[n("div",{staticClass:"project-statistics-card-title"},[e._v("已完成任务数")]),e._v(" "),n("div",{staticClass:"project-statistics-card-number"},[e._v(e._s(e.statisticData.finishedTaskCount||0))])]):e._e(),e._v(" "),e.showCreateData?n("el-card",{staticClass:"project-statistics-card",attrs:{shadow:"hover"}},[n("div",{staticClass:"project-statistics-card-title"},[e._v("发布项目数")]),e._v(" "),n("div",{staticClass:"project-statistics-card-number"},[e._v(e._s(e.statisticData.myProjectCount||0))])]):e._e(),e._v(" "),e.showCreateData?n("el-card",{staticClass:"project-statistics-card",attrs:{shadow:"hover"}},[n("div",{staticClass:"project-statistics-card-title"},[e._v("已接收项目数")]),e._v(" "),n("div",{staticClass:"project-statistics-card-number"},[e._v(e._s(e.statisticData.handlingProjectCount||0))])]):e._e(),e._v(" "),e.showCreateData?n("el-card",{staticClass:"project-statistics-card",attrs:{shadow:"hover"}},[n("div",{staticClass:"project-statistics-card-title"},[e._v("可接收项目数")]),e._v(" "),n("div",{staticClass:"project-statistics-card-number"},[e._v(e._s(e.statisticData.acceptableProjectCount||0))])]):e._e()],1),e._v(" "),n("div",{staticClass:"mine-body",staticStyle:{"text-align":"center"}},[n("el-tabs",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"90%","margin-left":"5%"},attrs:{value:"myProject"},on:{"tab-click":e.handleTabClick}},[n("el-tab-pane",{attrs:{name:"unFinishedTask"}},[n("span",{attrs:{slot:"label"},slot:"label"},[n("el-badge",{staticClass:"item",staticStyle:{"margin-top":"10px","margin-bottom":"25px","font-size":"16px"}},[e._v("未完成任务")])],1),e._v(" "),null!=e.unFinishedTaskList&&0!=e.unFinishedTaskList.length?n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{attrs:{span:5}},[e._v("任务名称")]),e._v(" "),n("el-col",{attrs:{span:4}},[e._v("任务状态")]),e._v(" "),n("el-col",{attrs:{span:4}},[e._v("测试类型")]),e._v(" "),n("el-col",{attrs:{span:4}},[e._v("任务预算")]),e._v(" "),n("el-col",{attrs:{span:4}},[e._v("领取人数")]),e._v(" "),n("el-col",{attrs:{span:3}},[e._v("操作")])],1):e._e(),e._v(" "),null==e.unFinishedTaskList||0==e.unFinishedTaskList.length?n("span",[e._v(" 暂无任务 ")]):e._e(),e._v(" "),e._l(e.unFinishedTaskList,function(t,i){return null!=e.unFinishedTaskList||e.unFinishedTaskList.length>0?n("task-item",{key:i,attrs:{task:t}}):e._e()})],2),e._v(" "),n("el-tab-pane",{attrs:{name:"finishedTask"}},[n("span",{attrs:{slot:"label"},slot:"label"},[n("el-badge",{staticClass:"item",staticStyle:{"margin-top":"10px","margin-bottom":"25px","font-size":"16px"}},[e._v("已完成任务")])],1),e._v(" "),null!=e.finishedTaskList&&0!=e.finishedTaskList.length?n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{attrs:{span:5}},[e._v("任务名称")]),e._v(" "),n("el-col",{attrs:{span:4}},[e._v("任务状态")]),e._v(" "),n("el-col",{attrs:{span:4}},[e._v("测试类型")]),e._v(" "),n("el-col",{attrs:{span:4}},[e._v("任务预算")]),e._v(" "),n("el-col",{attrs:{span:4}},[e._v("领取人数")]),e._v(" "),n("el-col",{attrs:{span:3}},[e._v("操作")])],1):e._e(),e._v(" "),null==e.finishedTaskList||0==e.finishedTaskList.length?n("span",[e._v(" 暂无任务 ")]):e._e(),e._v(" "),e._l(e.finishedTaskList,function(t,i){return null!=e.finishedTaskList||e.finishedTaskList.length>0?n("task-item",{key:i,attrs:{task:t}}):e._e()})],2),e._v(" "),n("el-tab-pane",{attrs:{name:"myProject"}},[n("span",{attrs:{slot:"label"},slot:"label"},[e.myProjectNoticeCount>0?n("el-badge",{staticClass:"item",staticStyle:{height:"auto","margin-top":"10px","margin-bottom":"25px","font-size":"16px"},attrs:{value:e.myProjectNoticeCount}},[e._v("发布项目")]):e._e(),e._v(" "),null==e.myProjectNoticeCount||0==e.myProjectNoticeCount?n("el-badge",{staticClass:"item",staticStyle:{"margin-top":"10px","margin-bottom":"25px","font-size":"16px"}},[e._v("发布项目")]):e._e()],1),e._v(" "),null==e.myProjects||0==e.myProjects.length?n("span",[e._v(" 暂无项目 ")]):e._e(),e._v(" "),null!=e.myProjects&&0!=e.myProjects.length?n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[e._v("项目名称")]),e._v(" "),n("el-col",{attrs:{span:6,type:"flex",align:"middle",justify:"center"}},[e._v("项目状态")]),e._v(" "),n("el-col",{attrs:{span:3,type:"flex",align:"middle",justify:"center"}},[e._v("应用类型")]),e._v(" "),n("el-col",{attrs:{span:3,type:"flex",align:"middle",justify:"center"}},[e._v("项目预算")]),e._v(" "),n("el-col",{attrs:{span:3,type:"flex",align:"middle",justify:"center"}},[e._v("参与人数")]),e._v(" "),n("el-col",{attrs:{span:4,type:"flex",align:"middle",justify:"center"}},[e._v("操作")])],1):e._e(),e._v(" "),e._l(e.myProjects,function(t,i){return null!=e.myProjects||e.myProjects.length>0?n("project-item",{key:i,attrs:{projectItem:t}}):e._e()})],2),e._v(" "),n("el-tab-pane",{attrs:{name:"handlingProject"}},[n("span",{attrs:{slot:"label"},slot:"label"},[e.processProjectNoticeCount>0?n("el-badge",{staticClass:"item",staticStyle:{"margin-top":"10px","margin-bottom":"25px","font-size":"16px"},attrs:{value:e.processProjectNoticeCount}},[e._v("已接收项目")]):e._e(),e._v(" "),null==e.processProjectNoticeCount||0==e.processProjectNoticeCount?n("el-badge",{staticClass:"item",staticStyle:{"margin-top":"10px","margin-bottom":"25px","font-size":"16px"}},[e._v("已接收项目")]):e._e()],1),e._v(" "),null!=e.handlingProjects&&0!=e.handlingProjects.length?n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{attrs:{span:6}},[e._v("项目名称")]),e._v(" "),n("el-col",{attrs:{span:6}},[e._v("项目状态")]),e._v(" "),n("el-col",{attrs:{span:3}},[e._v("应用类型")]),e._v(" "),n("el-col",{attrs:{span:3}},[e._v("项目预算")]),e._v(" "),n("el-col",{attrs:{span:3}},[e._v("参与人数")]),e._v(" "),n("el-col",{attrs:{span:4}},[e._v("操作")])],1):e._e(),e._v(" "),null==e.handlingProjects||0==e.handlingProjects.length?n("span",[e._v(" 暂无项目 ")]):e._e(),e._v(" "),e._l(e.handlingProjects,function(t,i){return null!=e.handlingProjects||e.handlingProjects.length>0?n("project-item",{key:i,attrs:{projectItem:t}}):e._e()})],2),e._v(" "),n("el-tab-pane",{attrs:{name:"acceptableProject"}},[n("span",{attrs:{slot:"label"},slot:"label"},[e.acceptableProjectNoticeCount>0?n("el-badge",{staticClass:"item",staticStyle:{"margin-top":"10px","margin-bottom":"25px","font-size":"16px"},attrs:{value:e.acceptableProjectNoticeCount}},[e._v("可接收项目")]):e._e(),e._v(" "),null==e.acceptableProjectNoticeCount||0==e.acceptableProjectNoticeCount?n("el-badge",{staticClass:"item",staticStyle:{"margin-top":"10px","margin-bottom":"25px","font-size":"16px"}},[e._v("可接收项目")]):e._e()],1),e._v(" "),null!=e.acceptableProjects&&0!=e.acceptableProjects.length?n("el-row",{staticStyle:{"font-size":"14px"},attrs:{type:"flex",align:"middle",justify:"center"}},[n("el-col",{attrs:{span:6}},[e._v("项目名称")]),e._v(" "),n("el-col",{attrs:{span:6}},[e._v("项目状态")]),e._v(" "),n("el-col",{attrs:{span:3}},[e._v("应用类型")]),e._v(" "),n("el-col",{attrs:{span:3}},[e._v("项目预算")]),e._v(" "),n("el-col",{attrs:{span:3}},[e._v("参与人数")]),e._v(" "),n("el-col",{attrs:{span:4}},[e._v("操作")])],1):e._e(),e._v(" "),null==e.acceptableProjects||0==e.acceptableProjects.length?n("span",[e._v(" 暂无项目 ")]):e._e(),e._v(" "),e._l(e.acceptableProjects,function(t,i){return null!=e.acceptableProjects||e.acceptableProjects.length>0?n("project-item",{key:i,attrs:{projectItem:t}}):e._e()})],2)],1)],1)])},staticRenderFns:[]};var h=n("VU/8")(d,p,!1,function(e){n("0xlI")},"data-v-427d0209",null);t.default=h.exports},dlFR:function(e,t){},dlH2:function(e,t,n){"use strict";var i=n("BO1k"),a=n.n(i),o=n("atWu"),s=n.n(o),r={name:"provinceCity",props:{provinceCode:{type:String,default:""},cityCode:{type:String,default:""},isModifyMode:{type:Boolean,default:!1}},created:function(){this.provinces=s.a.provinces},mounted:function(){var e=this;this.$nextTick(function(){e.province=e.provinceCode,e.provinceChanged(e.provinceCode),e.city=e.cityCode})},data:function(){return{loadingCity:!1,province:"",city:"",provinces:[],cities:[]}},methods:{provinceChanged:function(e){if(""!==e){this.loadingCity=!0;var t=!0,n=!1,i=void 0;try{for(var o,s=a()(this.provinces);!(t=(o=s.next()).done);t=!0){var r=o.value;if(r.code===e){this.cities=r.cities,this.city="",this.loadingCity=!1;break}}}catch(e){n=!0,i=e}finally{try{!t&&s.return&&s.return()}finally{if(n)throw i}}}else this.cities=[],this.city="";this.$emit("selectChange",this.province,this.city)},cityChanged:function(e){this.$emit("selectChange",this.province,this.city)},resetProviceCity:function(e,t){this.cities=[],e&&t?(this.province=e,this.provinceChanged(this.province),this.city=t):(this.province="",this.city="")}},watch:{data:function(){this.province=this.provinceCode,this.city=this.cityCode}}},c={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"province-city"},[n("el-form-item",{staticClass:"page-form-item",staticStyle:{width:"calc(20% - 20px)"},attrs:{"label-width":"20%",label:"省:",prop:"status"}},[n("el-select",{attrs:{placeholder:"请选择",disabled:e.isModifyMode},on:{change:e.provinceChanged},model:{value:e.province,callback:function(t){e.province=t},expression:"province"}},e._l(e.provinces,function(e){return n("el-option",{key:e.code,attrs:{label:e.name,value:e.code}})}),1)],1),e._v(" "),n("el-form-item",{staticClass:"page-form-item",staticStyle:{width:"calc(30% - 20px)","margin-right":"0px"},attrs:{"label-width":"20%",label:"市:",prop:"status"}},[n("el-select",{attrs:{loading:e.loadingCity,placeholder:"请选择",disabled:e.isModifyMode},on:{change:e.cityChanged},model:{value:e.city,callback:function(t){e.city=t},expression:"city"}},[n("el-option",{key:"",attrs:{label:"请选择",value:""}}),e._v(" "),e._l(e.cities,function(e){return n("el-option",{key:e.code,attrs:{label:e.name,value:e.code}})})],2)],1)],1)},staticRenderFns:[]};var l=n("VU/8")(r,c,!1,function(e){n("LqGs")},"data-v-5ad2d65a",null);t.a=l.exports},eCJx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("BO1k"),a=n.n(i),o=n("dlH2"),s=n("atWu"),r=n.n(s),c=n("SQ4B"),l=n("b9vf"),u=n("siQe"),d=n("qI5z"),p=n("vGYV"),h={name:"Task",components:{provincecity:o.a},data:function(){var e=this;return{currType:{},user:{},projectId:0,institutionArray:[],tabPosition:"top",resourceType:u.a,loading:!1,serviceType:[],task:{name:"",desc:"",type:"",resource:"",institution:"",datetime:"",quotePrice:"",fixedPrice:"",doc:[],requireDocUrl:"",participantCount:1,endPoint:{serverCode:""}},pickerOptions:{shortcuts:[{text:"今天",onClick:function(e){e.$emit("pick",new Date)}},{text:"昨天",onClick:function(e){var t=new Date;t.setTime(t.getTime()-864e5),e.$emit("pick",t)}},{text:"一周前",onClick:function(e){var t=new Date;t.setTime(t.getTime()-6048e5),e.$emit("pick",t)}}]},rules:{name:[{required:!0,message:"请输入任务名称",trigger:"blur"},{min:5,max:50,message:"任务名称长度在 5 到 50 个字符",trigger:"blur"}],type:[{required:!0,message:"测试类型不可为空"}],desc:[{required:!0,message:"请填写描述",trigger:"blur"}],quotePrice:[{required:!0,message:"预算不可为空",trigger:"blur"},{validator:function(e,t,n){parseInt(t)<0?n(new Error("请输入不小于0的数")):n()},trigger:"blur"}],resource:[{required:!0},{validator:function(t,n,i){0==n&&null==e.task.institution.id?i(new Error("定向发布至少要选择一个测评机构")):i()},trigger:"change"}],endPoint:[{validator:function(t,n,i){1===e.currType.type&&""===e.task.endPoint.serverCode?i(new Error("请填写对应得服务序列号")):i()},trigger:["change","blur"]}],datetime:[{required:!0,message:"截止时间不可为空",trigger:"blur"}]}}},watch:{serviceType:function(e){this.serviceType=e},institution:function(e){this.institution=e},deep:!0},mounted:function(){var e=this;this.$nextTick(function(){e.init()})},methods:{instituationEvaluate:function(){window.open("http://8.134.39.104:8088/#/enter/","_blank")},peopleEvaluate:function(){window.open("http://8.134.39.104:7477/index.html#/index/evaluatetesteroverall","_blank")},handleTestTypeChange:function(e){var t=this.serviceType.filter(function(t){return t.code===e});this.currType=t[0]?t[0]:{},0===this.currType.type?this.$refs.task.clearValidate("endPoint"):this.task.resource="2"},init:function(){this.projectId=this.$route.params.projectId,this.setServiceType(),this.setInstitutions(),this.setUserInfo()},updateLocation:function(e){var t="",n="",i=!0,o=!1,s=void 0;try{for(var c,l=a()(r.a.provinces);!(i=(c=l.next()).done);i=!0){var u=c.value;if(u.code===e.provinceCode){t=u.name;var d=!0,p=!1,h=void 0;try{for(var m,f=a()(u.cities);!(d=(m=f.next()).done);d=!0){var v=m.value;if(v.code===e.cityCode){n=v.name;break}}}catch(e){p=!0,h=e}finally{try{!d&&f.return&&f.return()}finally{if(p)throw h}}}}}catch(e){o=!0,s=e}finally{try{!i&&l.return&&l.return()}finally{if(o)throw s}}return t+" / "+n},submitForm:function(e){var t=this;this.$refs.task.validate(function(e){if(!e)return Object(d.a)("error","表单填写有误!"),!1;t.showLoading();var n={name:t.task.name,desc:t.task.desc,type:t.task.type,resource:t.task.resource,institution:"0"==t.task.resource?t.task.institution.id:null,datetime:t.task.datetime,quotePrice:t.task.quotePrice,fixedPrice:t.task.fixedPrice,requirementFile:t.task.requireDocUrl,participantCount:t.task.participantCount,endPoint:t.task.endPoint};c.a.post(l.a.TASK.CREATE_TASK.replace("{projectId}",t.projectId),n).then(function(e){console.log(e),t.hideLoading(),t.createTaskSuccess(e.crowdTaskVO.id)}).catch(function(e){console.log(e),t.hideLoading(),Object(d.a)("error",e.data)})})},resetForm:function(e){this.$refs.addFormProvince.resetProviceCity(),this.$refs[e].resetFields(),this.task.name="",this.task.desc="",this.task.type="",this.task.resource="广场",this.task.location={provinceCode:"",cityCode:""},this.task.institution="",this.task.datetime="",this.task.participantCount=1},locationChange:function(e,t){(e||t)&&(this.task.location={provinceCode:e,cityCode:t})},cancelCreate:function(){if(window.history.length<=1)return this.$router.push({path:"/"}),!1;this.$router.go(-1)},handleRemove:function(e,t){console.log(e,t)},handleExceed:function(e,t){this.$message.warning("当前限制选择 1 个文件,本次选择了 "+e.length+" 个文件,共选择了 "+(e.length+t.length)+" 个文件")},beforeRemove:function(e,t){},beforeFileUpload:function(e){console.log(e);var t="application/pdf"===e.type,n="application/vnd.openxmlformats-officedocument.wordprocessingml.document"===e.type,i="application/vnd.ms-excel"===e.type,a="application/x-xls"===e.type,o="text/plain"===e.type,s="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"===e.type;return n||i||t||o||a||s||this.$message.error("上传文件只能是 PDF 、 DOC 、DOCX 、XLS、TXT、XLSX 格式!"),n||i||t||o||a||s},uploadRequireDoc:function(e){var t=this;this.showLoading();var n=new FormData;n.append("file",e.file),c.a.upload(l.a.FILE.REQUIREMENT_FILE.replace("{userId}",this.user.userVO.id),n,{headers:{"Content-Type":"multipart/form-data"}}).then(function(e){t.hideLoading(),Object(d.a)("success","上传成功"),t.task.requireDocUrl=e.data,console.log(e.data)}).catch(function(e){t.hideLoading(),Object(d.a)("error","上传失败:"+e.data)})},setServiceType:function(){var e=this;Object(p.r)().then(function(t){e.serviceType=t})},setInstitutions:function(){var e=this;Object(p.j)().then(function(t){e.institutionArray=t,console.log(e.institutionArray)}).catch(function(e){Object(d.a)("error","测评机构加载失败")})},setUserInfo:function(){this.user=Object(p.K)("user")},createTaskSuccess:function(e){var t=this;this.$alert("任务创建成功","创建成功",{confirmButtonText:"确定",callback:function(n){t.$router.push({name:"Task",params:{projectId:t.projectId,taskId:e}})}})},showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1}}},m={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"create-container"},[n("div",{staticClass:"title h1"},[e._v("创建任务")]),e._v(" "),n("div",{staticClass:"create-body"},[n("el-form",{ref:"task",staticClass:"demo-task",staticStyle:{margin:"0 100px"},attrs:{model:e.task,rules:e.rules,"label-width":"120px"}},[n("el-form-item",{staticStyle:{width:"700px"},attrs:{label:"任务名称",prop:"name"}},[n("el-input",{attrs:{size:"small"},model:{value:e.task.name,callback:function(t){e.$set(e.task,"name",t)},expression:"task.name"}})],1),e._v(" "),n("el-form-item",{staticStyle:{width:"700px"},attrs:{label:"任务描述",prop:"desc"}},[n("el-input",{staticStyle:{width:"400px"},attrs:{autosize:"",type:"textarea"},model:{value:e.task.desc,callback:function(t){e.$set(e.task,"desc",t)},expression:"task.desc"}})],1),e._v(" "),n("el-form-item",{staticStyle:{width:"700px"},attrs:{label:"任务报价",prop:"quotePrice"}},[n("el-input",{attrs:{size:"small",type:"number"},model:{value:e.task.quotePrice,callback:function(t){e.$set(e.task,"quotePrice",t)},expression:"task.quotePrice"}},[n("template",{slot:"append"},[e._v("¥")])],2)],1),e._v(" "),n("el-form-item",{attrs:{label:"测试类型",prop:"type"}},[n("el-radio-group",{on:{change:e.handleTestTypeChange},model:{value:e.task.type,callback:function(t){e.$set(e.task,"type",t)},expression:"task.type"}},e._l(e.serviceType,function(t,i){return n("span",{key:i},[n("el-radio",{attrs:{label:t.code,name:"type"}},[e._v(e._s(t.name))])],1)}),0)],1),e._v(" "),1==e.currType.type?n("el-form-item",{staticStyle:{width:"700px"},attrs:{label:"服务序列号",prop:"endPoint"}},[n("el-input",{attrs:{label:"serverCode"},model:{value:e.task.endPoint.serverCode,callback:function(t){e.$set(e.task.endPoint,"serverCode",t)},expression:"task.endPoint.serverCode"}})],1):e._e(),e._v(" "),0==e.currType.type?n("el-form-item",{staticStyle:{width:"700px"},attrs:{label:"任务可见性",prop:"resource"}},[n("el-tabs",{staticStyle:{width:"800px"},attrs:{"tab-position":e.tabPosition},model:{value:e.task.resource,callback:function(t){e.$set(e.task,"resource",t)},expression:"task.resource"}},[n("el-tab-pane",{attrs:{label:e.resourceType[0],name:"0"}},[n("el-radio-group",{model:{value:e.task.institution,callback:function(t){e.$set(e.task,"institution",t)},expression:"task.institution"}},e._l(e.institutionArray,function(t,i){return n("el-radio",{key:i,attrs:{label:t,name:"type"}},[e._v(e._s(t.evaluationAgencyName)+"\n ")])}),1),e._v(" "),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.instituationEvaluate()}}},[e._v("\n 机构评估\n ")]),e._v(" "),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.peopleEvaluate()}}},[e._v("\n 人员评估\n ")])],1),e._v(" "),n("el-tab-pane",{attrs:{label:e.resourceType[2],name:"2"}})],1)],1):e._e(),e._v(" "),1==e.currType.type?n("el-form-item",{staticStyle:{width:"700px"},attrs:{label:"任务可见性",prop:"resource",required:""}},[n("el-tabs",{staticStyle:{width:"800px"},attrs:{"tab-position":e.tabPosition,value:"2"},model:{value:e.task.resource,callback:function(t){e.$set(e.task,"resource",t)},expression:"task.resource"}},[n("el-tab-pane",{attrs:{label:e.resourceType[2],name:"2"}})],1)],1):e._e(),e._v(" "),"0"!==e.task.resource&&0===e.currType.type?n("el-form-item",{attrs:{label:"领取人数",prop:"contactPhone"}},[n("el-input-number",{attrs:{min:1,max:1e3,label:"领取人数"},model:{value:e.task.participantCount,callback:function(t){e.$set(e.task,"participantCount",t)},expression:"task.participantCount"}})],1):e._e(),e._v(" "),"0"!==e.task.resource&&1===e.currType.type?n("el-form-item",{attrs:{label:"领取人数",prop:"contactPhone"}},[n("el-input-number",{attrs:{min:2,max:1e3,label:"领取人数"},model:{value:e.task.participantCount,callback:function(t){e.$set(e.task,"participantCount",t)},expression:"task.participantCount"}})],1):e._e(),e._v(" "),n("el-form-item",{attrs:{label:"需求文档",prop:"doc"}},[n("el-upload",{staticClass:"upload-demo",staticStyle:{width:"400px"},attrs:{drag:"",action:"","on-remove":e.handleRemove,"before-remove":e.beforeRemove,limit:1,"on-exceed":e.handleExceed,"before-upload":e.beforeFileUpload,"http-request":e.uploadRequireDoc,"file-list":e.task.doc}},[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v("\n 将文件拖到此处,或\n "),n("em",[e._v("点击上传")])])])],1),e._v(" "),n("el-form-item",{attrs:{size:"small",label:"任务截止时间",prop:"datetime"}},[n("div",{staticClass:"block"},[n("el-date-picker",{attrs:{type:"datetime",placeholder:"选择截止时间",align:"right","picker-options":e.pickerOptions},model:{value:e.task.datetime,callback:function(t){e.$set(e.task,"datetime",t)},expression:"task.datetime"}})],1)]),e._v(" "),n("el-form-item",[n("div",{staticClass:"btn btn-medium btn-info",on:{click:function(t){return e.submitForm("task")}}},[e._v("立即创建")]),e._v(" "),n("div",{staticClass:"btn btn-medium",on:{click:function(t){return e.cancelCreate("task")}}},[e._v("取消")])])],1)],1)])},staticRenderFns:[]};var f=n("VU/8")(h,m,!1,function(e){n("Juxj")},"data-v-490ee6c2",null);t.default=f.exports},eyXK:function(e,t){},hwS5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("SQ4B"),a=n("b9vf"),o={name:"AnalyseDemand",data:function(){return{analyseDemand:{feasibilityReport:"",priceAuditReport:""},rules:{feasibilityReport:[{required:!0,message:"请上传可行性分析报告",trigger:"change"}],priceAuditReport:[{required:!0,message:"请上传价格审核报告",trigger:"change"}]}}},methods:{submitForm:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return console.log("error submit!!"),!1;console.log(t.analyseDemand),i.a.get(a.a.PROJECT.CREATE_ANALYSE_DEMAND_SUBMIT,t.analyseDemand).then(function(e){console.log(e),console.log(t.analyseDemand)})})},resetForm:function(e){this.$refs[e].resetFields(),this.analyseDemand.feasibilityReport="",this.analyseDemand.priceAuditReport=""},back:function(){if(window.history.length<=1)return this.$router.push({path:"/"}),!1;this.$router.go(-1)}}},s={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"create-container"},[n("div",{staticClass:"title h1"},[e._v("分析需求")]),e._v(" "),n("div",{staticClass:"create-body"},[n("el-form",{ref:"analyseDemand",staticClass:"demo-report",attrs:{model:e.analyseDemand,rules:e.rules,"label-width":"12%"}},[n("el-form-item",{attrs:{label:"可行性分析报告",prop:"feasibilityReport"}},[n("el-upload",{staticClass:"upload-demo",attrs:{drag:"",action:"https://jsonplaceholder.typicode.com/posts/",multiple:""}},[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v("\n 将文件拖到此处,或\n "),n("em",[e._v("点击上传")])]),e._v(" "),n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("只能上传报告文档")])])],1),e._v(" "),n("el-form-item",{attrs:{label:"价格审核报告",prop:"priceAuditReport"}},[n("el-upload",{staticClass:"upload-demo",attrs:{drag:"",action:"https://jsonplaceholder.typicode.com/posts/",multiple:""}},[n("i",{staticClass:"el-icon-upload"}),e._v(" "),n("div",{staticClass:"el-upload__text"},[e._v("\n 将文件拖到此处,或\n "),n("em",[e._v("点击上传")])]),e._v(" "),n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("只能上传报告文档")])])],1),e._v(" "),n("el-form-item",[n("div",{staticClass:"btn btn-medium btn-info",on:{click:function(t){return e.submitForm("analyseDemand")}}},[e._v("提交")]),e._v(" "),n("div",{staticClass:"btn btn-medium",on:{click:function(t){return e.back()}}},[e._v("返回")])])],1)],1)])},staticRenderFns:[]};var r=n("VU/8")(o,s,!1,function(e){n("jeDC")},"data-v-2d507956",null);t.default=r.exports},jeDC:function(e,t){},klKE:function(e,t){},lVE5:function(e,t){},mu1k:function(e,t){},qI5z:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("zL8q"),a=(n.n(i),function(e,t,n){n="消息";switch(e){case"success":n="成功";break;case"warning":n="提醒";break;case"info":n="消息";break;case"error":n="错误";break;default:n="消息"}return Object(i.Notification)({title:n,message:t,type:e,duration:3e3})})},qn6L:function(e,t){},r8Kp:function(e,t,n){e.exports=n.p+"static/img/homeslice1.ed8f6bd.png"},rjAZ:function(e,t){},siQe:function(e,t,n){"use strict";t.a={0:"定向",1:"区域",2:"广场"}},tWJ3:function(e,t){},uslO:function(e,t,n){var i={"./af":"3CJN","./af.js":"3CJN","./ar":"3MVc","./ar-dz":"tkWw","./ar-dz.js":"tkWw","./ar-kw":"j8cJ","./ar-kw.js":"j8cJ","./ar-ly":"wPpW","./ar-ly.js":"wPpW","./ar-ma":"dURR","./ar-ma.js":"dURR","./ar-sa":"7OnE","./ar-sa.js":"7OnE","./ar-tn":"BEem","./ar-tn.js":"BEem","./ar.js":"3MVc","./az":"eHwN","./az.js":"eHwN","./be":"3hfc","./be.js":"3hfc","./bg":"lOED","./bg.js":"lOED","./bm":"hng5","./bm.js":"hng5","./bn":"aM0x","./bn-bd":"1C9R","./bn-bd.js":"1C9R","./bn.js":"aM0x","./bo":"w2Hs","./bo.js":"w2Hs","./br":"OSsP","./br.js":"OSsP","./bs":"aqvp","./bs.js":"aqvp","./ca":"wIgY","./ca.js":"wIgY","./cs":"ssxj","./cs.js":"ssxj","./cv":"N3vo","./cv.js":"N3vo","./cy":"ZFGz","./cy.js":"ZFGz","./da":"YBA/","./da.js":"YBA/","./de":"DOkx","./de-at":"8v14","./de-at.js":"8v14","./de-ch":"Frex","./de-ch.js":"Frex","./de.js":"DOkx","./dv":"rIuo","./dv.js":"rIuo","./el":"CFqe","./el.js":"CFqe","./en-au":"Sjoy","./en-au.js":"Sjoy","./en-ca":"Tqun","./en-ca.js":"Tqun","./en-gb":"hPuz","./en-gb.js":"hPuz","./en-ie":"ALEw","./en-ie.js":"ALEw","./en-il":"QZk1","./en-il.js":"QZk1","./en-in":"yJfC","./en-in.js":"yJfC","./en-nz":"dyB6","./en-nz.js":"dyB6","./en-sg":"NYST","./en-sg.js":"NYST","./eo":"Nd3h","./eo.js":"Nd3h","./es":"LT9G","./es-do":"7MHZ","./es-do.js":"7MHZ","./es-mx":"USNP","./es-mx.js":"USNP","./es-us":"INcR","./es-us.js":"INcR","./es.js":"LT9G","./et":"XlWM","./et.js":"XlWM","./eu":"sqLM","./eu.js":"sqLM","./fa":"2pmY","./fa.js":"2pmY","./fi":"nS2h","./fi.js":"nS2h","./fil":"rMbQ","./fil.js":"rMbQ","./fo":"OVPi","./fo.js":"OVPi","./fr":"tzHd","./fr-ca":"bXQP","./fr-ca.js":"bXQP","./fr-ch":"VK9h","./fr-ch.js":"VK9h","./fr.js":"tzHd","./fy":"g7KF","./fy.js":"g7KF","./ga":"U5Iz","./ga.js":"U5Iz","./gd":"nLOz","./gd.js":"nLOz","./gl":"FuaP","./gl.js":"FuaP","./gom-deva":"VGQH","./gom-deva.js":"VGQH","./gom-latn":"+27R","./gom-latn.js":"+27R","./gu":"rtsW","./gu.js":"rtsW","./he":"Nzt2","./he.js":"Nzt2","./hi":"ETHv","./hi.js":"ETHv","./hr":"V4qH","./hr.js":"V4qH","./hu":"xne+","./hu.js":"xne+","./hy-am":"GrS7","./hy-am.js":"GrS7","./id":"yRTJ","./id.js":"yRTJ","./is":"upln","./is.js":"upln","./it":"FKXc","./it-ch":"/E8D","./it-ch.js":"/E8D","./it.js":"FKXc","./ja":"ORgI","./ja.js":"ORgI","./jv":"JwiF","./jv.js":"JwiF","./ka":"RnJI","./ka.js":"RnJI","./kk":"j+vx","./kk.js":"j+vx","./km":"5j66","./km.js":"5j66","./kn":"gEQe","./kn.js":"gEQe","./ko":"eBB/","./ko.js":"eBB/","./ku":"kI9l","./ku.js":"kI9l","./ky":"6cf8","./ky.js":"6cf8","./lb":"z3hR","./lb.js":"z3hR","./lo":"nE8X","./lo.js":"nE8X","./lt":"/6P1","./lt.js":"/6P1","./lv":"jxEH","./lv.js":"jxEH","./me":"svD2","./me.js":"svD2","./mi":"gEU3","./mi.js":"gEU3","./mk":"Ab7C","./mk.js":"Ab7C","./ml":"oo1B","./ml.js":"oo1B","./mn":"CqHt","./mn.js":"CqHt","./mr":"5vPg","./mr.js":"5vPg","./ms":"ooba","./ms-my":"G++c","./ms-my.js":"G++c","./ms.js":"ooba","./mt":"oCzW","./mt.js":"oCzW","./my":"F+2e","./my.js":"F+2e","./nb":"FlzV","./nb.js":"FlzV","./ne":"/mhn","./ne.js":"/mhn","./nl":"3K28","./nl-be":"Bp2f","./nl-be.js":"Bp2f","./nl.js":"3K28","./nn":"C7av","./nn.js":"C7av","./oc-lnc":"KOFO","./oc-lnc.js":"KOFO","./pa-in":"pfs9","./pa-in.js":"pfs9","./pl":"7LV+","./pl.js":"7LV+","./pt":"ZoSI","./pt-br":"AoDM","./pt-br.js":"AoDM","./pt.js":"ZoSI","./ro":"wT5f","./ro.js":"wT5f","./ru":"ulq9","./ru.js":"ulq9","./sd":"fW1y","./sd.js":"fW1y","./se":"5Omq","./se.js":"5Omq","./si":"Lgqo","./si.js":"Lgqo","./sk":"OUMt","./sk.js":"OUMt","./sl":"2s1U","./sl.js":"2s1U","./sq":"V0td","./sq.js":"V0td","./sr":"f4W3","./sr-cyrl":"c1x4","./sr-cyrl.js":"c1x4","./sr.js":"f4W3","./ss":"7Q8x","./ss.js":"7Q8x","./sv":"Fpqq","./sv.js":"Fpqq","./sw":"DSXN","./sw.js":"DSXN","./ta":"+7/x","./ta.js":"+7/x","./te":"Nlnz","./te.js":"Nlnz","./tet":"gUgh","./tet.js":"gUgh","./tg":"5SNd","./tg.js":"5SNd","./th":"XzD+","./th.js":"XzD+","./tk":"+WRH","./tk.js":"+WRH","./tl-ph":"3LKG","./tl-ph.js":"3LKG","./tlh":"m7yE","./tlh.js":"m7yE","./tr":"k+5o","./tr.js":"k+5o","./tzl":"iNtv","./tzl.js":"iNtv","./tzm":"FRPF","./tzm-latn":"krPU","./tzm-latn.js":"krPU","./tzm.js":"FRPF","./ug-cn":"To0v","./ug-cn.js":"To0v","./uk":"ntHu","./uk.js":"ntHu","./ur":"uSe8","./ur.js":"uSe8","./uz":"XU1s","./uz-latn":"/bsm","./uz-latn.js":"/bsm","./uz.js":"XU1s","./vi":"0X8Q","./vi.js":"0X8Q","./x-pseudo":"e/KL","./x-pseudo.js":"e/KL","./yo":"YXlc","./yo.js":"YXlc","./zh-cn":"Vz2w","./zh-cn.js":"Vz2w","./zh-hk":"ZUyn","./zh-hk.js":"ZUyn","./zh-mo":"+WA1","./zh-mo.js":"+WA1","./zh-tw":"BbgG","./zh-tw.js":"BbgG"};function a(e){return n(o(e))}function o(e){var t=i[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}a.keys=function(){return Object.keys(i)},a.resolve=o,e.exports=a,a.id="uslO"},vGYV:function(e,t,n){"use strict";var i=n("//Fk"),a=n.n(i),o=n("SQ4B"),s=n("b9vf"),r=function(e,t){return o.a.get(s.a.USER.GET_CURRENT_USER)},c=function(e){var t="RegionalManager",n="generalUser",i="enterpriseUser",a="evaluationAgency",o="SystemAdministrator",s={isRegionManager:!1,isIndividualUser:!1,isEnterpriseUser:!1,isAgency:!1,isSystemAdministrator:!1};return e.includes(t)&&(s.isRegionManager=!0,s.isEnterpriseUser=!0,s.isIndividualUser=!0),e.includes(a)&&(s.isAgency=!0,s.isEnterpriseUser=!0,s.isIndividualUser=!0),e.includes(i)&&(s.isEnterpriseUser=!0),e.includes(n)&&(s.isIndividualUser=!0),e.includes(o)&&(s.isSystemAdministrator=!0,s.isRegionManager=!0,s.isAgency=!0,s.isEnterpriseUser=!0,s.isIndividualUser=!0),s},l=function(){return sessionStorage.removeItem("user"),sessionStorage.removeItem("rolesPermissions"),o.a.get(s.a.USER.LOGOUT)},u=function(){return["/","/home","/square","/mine","/project/create","/project/:projectId","/project/:projectId/task/create","/project/:projectId/task/:taskId","/project/:projectId/analyse","/report/create","/report/:reportId","/greenChannel/addProject","/greenChannel/addAgency","/authentication/individual","/authentication/enterprise","/authentication/agency","/authentication/index"]},d=function(e,t,n,i){o.a.post(s.a.USER.SUBMIT_INDIVIDUAL_AUTHENTICATION_INFO.replace("{userId}",e),t).then(function(e){n(e)}).catch(function(e){i(e)})},p=function(e,t,n,i){o.a.post(s.a.USER.SUBMIT_ENTERPRISE_AUTHENTICATION_INFO.replace("{userId}",e),t).then(function(e){n(e)}).catch(function(e){i(e)})},h=function(e,t,n,i){o.a.post(s.a.USER.SUBMIT_AGENCY_AUTHENTICATION_INFO.replace("{userId}",e),t).then(function(e){n(e)}).catch(function(e){i(e)})},m=function(e,t){o.a.get(s.a.USER.GET_ALL_HANDLING_AUTH_INFO).then(function(t){e(t)}).catch(function(e){t(e)})},f=function(e,t){o.a.get(s.a.USER.GET_ALL_HANDLED_AUTH_INFO).then(function(t){e(t)}).catch(function(e){t(e)})},v=function(e,t,n){o.a.get(s.a.USER.GET_INDIVIDUAL_AUTHENTICATION_INFO.replace("{userId}",e)).then(function(e){t(e)}).catch(function(e){n(e)})},g=function(e,t,n){o.a.get(s.a.USER.GET_ENTERPRISE_AUTHENTICATION_INFO.replace("{userId}",e)).then(function(e){t(e)}).catch(function(e){n(e)})},y=function(e,t,n){o.a.get(s.a.USER.GET_AGENCY_AUTHENTICATION_INFO.replace("{userId}",e)).then(function(e){t(e)}).catch(function(e){n(e)})},j=function(e,t,n){o.a.get(s.a.USER.GET_AGENCY_AUTHENTICATION_INFO_COMMON.replace("{userId}",e)).then(function(e){t(e)}).catch(function(e){n(e)})},b=function(){var e={type:"企业",id:1,userId:3,bankAccount:"621000999000999000",address:"江苏科技大厦1901",status:"",rejectReason:"",createTime:"",companyName:"慕测呀",legalPersonName:"郭超啊",businessLicensePhoto:null,unifiedSocialCreditCode:"1900000000086"};return new a.a(function(t){t(e)})},_=function(){var e={};return new a.a(function(t){t(e)})},k=function(e,t,n,i){o.a.put(s.a.USER.UPDATE_INDIVIDUAL_AUTHENTICATION_INFO.replace("{userId}",e),t).then(function(e){n(e)}).catch(function(e){i(e)})},T=function(e,t,n,i){o.a.put(s.a.USER.UPDATE_AGENCY_AUTHENTICATION_INFO.replace("{userId}",e),t).then(function(e){n(e)}).catch(function(e){i(e)})},C=function(e,t,n,i){o.a.post(s.a.USER.UPDATE_AGENCY_RESOURCE_AND_ABILITY.replace("{userId}",e),t).then(function(e){n(e)}).catch(function(e){i(e)})},A=function(e,t,n,i){o.a.put(s.a.USER.UPDATE_ENTERPRISE_AUTHENTICATION_INFO.replace("{userId}",e),t).then(function(e){n(e)}).catch(function(e){i(e)})},E=function(e,t,n,i){"agency"==e&&o.a.put(s.a.USER.PASS_AGENCY_AUTH.replace("{userId}",t),{}).then(function(e){n(e)}).catch(function(e){i(e)}),"personal"==e&&o.a.put(s.a.USER.PASS_INDIVIDUAL_AUTH.replace("{userId}",t),{}).then(function(e){n(e)}).catch(function(e){i(e)}),"enterprise"==e&&o.a.put(s.a.USER.PASS_ENTERPRISE_AUTH.replace("{userId}",t),{}).then(function(e){n(e)}).catch(function(e){i(e)})},I=function(e,t,n,i,a){"agency"==e&&o.a.put(s.a.USER.REJECT_AGENCY_AUTH.replace("{userId}",t),n).then(function(e){i(e)}).catch(function(e){a(e)}),"personal"==e&&o.a.put(s.a.USER.REJECT_INDIVIDUAL_AUTH.replace("{userId}",t),n).then(function(e){i(e)}).catch(function(e){a(e)}),"enterprise"==e&&o.a.put(s.a.USER.REJECT_ENTERPRISE_AUTH.replace("{userId}",t),n).then(function(e){i(e)}).catch(function(e){a(e)})},w=function(e){return o.a.post(s.a.PROJECT.CREATE_PROJECT,e)},O=function(e,t){return o.a.put(s.a.PROJECT.UPDATE_PROJECT.replace("{projectId}",t),e)},x=function(e){o.a.get(s.a.PROJECT.GET_PROJECT.replace("{projectId}",e))},S=function(e,t,n){o.a.put(s.a.PROJECT.DELETE_PROJECT.replace("{projectId}",e),{}).then(function(e){t(e)}).catch(function(e){n(e)})},P=function(e,t,n,i){console.log("调用"),o.a.put(s.a.PROJECT.ACCEPT_PROJECT.replace("{projectId}",e).replace("{userId}",t),{}).then(function(e){console.log(e),n(e)}).catch(function(e){console.log(e),i(e)})},R=function(e,t,n){o.a.put(s.a.PROJECT.REJECT_PROJECT.replace("{projectId}",e),{}).then(function(e){t(e)}).catch(function(e){n(e)})},L=function(e,t,n){o.a.put(s.a.PROJECT.SUBMIT_PROJECT.replace("{projectId}",e),{}).then(function(e){t(e)}).catch(function(e){n(e)})},D=function(e,t,n){o.a.put(s.a.PROJECT.END_PROJECT.replace("{projectId}",e),{}).then(function(e){t(e)}).catch(function(e){n(e)})},U=function(e,t){return o.a.post(s.a.TASK.CREATE_TASK.replace("{projectId}",e),t)},N=function(e,t,n,i,a){o.a.put(s.a.TASK.UPDATE_TASK.replace("{projectId}",e).replace("{taskId}",t),n).then(function(e){i(e)}).catch(function(e){a(e)})},F=function(e,t,n,i){o.a.get(s.a.TASK.GET_TASK.replace("{projectId}",e).replace("{taskId}",t),{}).then(function(e){n(e)}).catch(function(e){i(e)})},V=function(e,t,n){o.a.get(s.a.TASK.GET_TASK_CLOUD.replace("{projectId}",e).replace("{taskId}",t),{}).then(function(e){n(e)}).catch(function(e){console.log(e)})},M=function(e,t,n,i){o.a.put(s.a.TASK.DELETE_TASK.replace("{projectId}",e).replace("taskId",t),{}).then(function(e){n(e)}).catch(function(e){i(e)})},q=function(e,t,n,i,a){o.a.put(s.a.TASK.ACCEPT_TASK.replace("{projectId}",e).replace("{taskId}",t).replace("{userId}",n),{}).then(function(e){i(e)}).catch(function(e){a(e)})},z=function(e,t,n,i){o.a.put(s.a.TASK.SUBMIT_TASK.replace("{projectId}",e).replace("{taskId}",t),{}).then(function(e){n(e)}).catch(function(e){i(e)})},G=function(e,t,n,i){o.a.put(s.a.TASK.REJECT_TASK.replace("{projectId}",e).replace("{taskId}",t),{}).then(function(e){n(e)}).catch(function(e){i(e)})},K=function(e,t,n,i){o.a.put(s.a.TASK.END_TASK.replace("{projectId}",e).replace("{taskId}",t),{}).then(function(e){n(e)}).catch(function(e){i(e)})},B=function(e,t){return o.a.get(s.a.TASK.GET_TOKEN.replace("{projectCode}",e).replace("{taskCode}",t))},Y=function(){},X=function(){},H=function(){},J=function(){},Q=function(){},W=function(){},Z=function(e,t,n,i){o.a.put(s.a.REPORT.DELETE_PROJECT_REPORT.replace("{projectId}",e).replace("{reportId}",t),{}).then(function(e){n(e)}).catch(function(e){i(e)})},$=function(e,t,n,i,a){o.a.put(s.a.REPORT.DELETE_TASK_REPORT.replace("{projectId}",e).replace("{taskId}",t).replace("{reportId}",n),{}).then(function(e){i(e)}).catch(function(e){a(e)})},ee=function(e,t){var n=new FormData;return n.append("file",t),o.a.upload(e,n,{headers:{"Content-Type":"multipart/form-data"}})},te=function(e,t,n){var i=new FormData;i.append("file",e),o.a.upload(s.a.FILE.UPLOAD_IMAGE,i,{headers:{"Content-Type":"multipart/form-data"}}).then(function(e){t(e)}).catch(function(e){n(e)})},ne=function(){},ie=function(){},ae=function(e,t,n){var i=e.name.split(".")[e.name.split(".").length-1].toLowerCase();return t.includes(i)||n(),t.includes(i)},oe=n("mvHQ"),se=n.n(oe),re=n("atWu"),ce=n.n(re),le=function(e,t){sessionStorage.setItem(e,se()(t))},ue=function(e,t){return sessionStorage.removeItem(e)},de=function(e){return JSON.parse(sessionStorage.getItem(e))},pe=function(){return o.a.get(s.a.USER.GET_USER_IDENTITY)},he=function(){return["接口测试","兼容性测试","可靠性测试","稳定性测试","功能测试","性能测试","安全测试","易用性测试","应用故障诊断","应用漏洞扫描","代码安全审计","风险评估","等保测评","评估评价","定制测试"]},me=function(){return["人力资源","服务器资源","专用设备"]},fe=function(){var e=["可行性报告","测试方案","测试报告","缺陷报告","用例报告","其他"];return new a.a(function(t){t(e)})},ve=function(){return o.a.get(s.a.GENERAL.GET_ALL_Filed)},ge=function(){return o.a.get(s.a.GENERAL.GET_ALL_ApplicationType)},ye=function(){return o.a.get(s.a.GENERAL.GET_ALL_TestType)},je=function(){return o.a.get(s.a.GENERAL.GET_ALL_INSTITUTIONS)},be=function(){return o.a.get(s.a.GENERAL.GET_ALL_AGENCIES)},_e=function(e,t){for(var n=0;n<ce.a.provinces.length;n++)if(ce.a.provinces[n].code==e)for(var i=0;i<ce.a.provinces[n].cities.length;i++)if(ce.a.provinces[n].cities[i].code==t)return{provinceCode:ce.a.provinces[n].name,cityCode:ce.a.provinces[n].cities[i].name}},ke=function(e,t){for(var n=0;n<ce.a.provinces.length;n++)if(ce.a.provinces[n].name==e)for(var i=0;i<ce.a.provinces[n].cities.length;i++)if(ce.a.provinces[n].cities[i].name==t)return{provinceCode:ce.a.provinces[n].code,cityCode:ce.a.provinces[n].cities[i].code}},Te=function(e,t){var n={fileUrl:"http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Others/%E9%A1%B9%E7%9B%AE%E6%95%B0%E6%8D%AE%E4%B8%8A%E6%8A%A5%E6%A8%A1%E6%9D%BF.xlsx"};new a.a(function(e){e(n)}).then(function(t){e(t)}).catch(function(e){t(e)})};Date.prototype.Format=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var n in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+n+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[n]:("00"+t[n]).substr((""+t[n]).length)));return e};var Ce=function(e){return e.Format("yyyy-MM-dd hh:mm:ss")},Ae=function(){var e={userNum:100,agencyNum:200,deviceNum:345,projectNum:23,taskNum:123};return new a.a(function(t){t(e)})};n.d(t,"c",function(){return Ee}),n.d(t,"d",function(){return _}),n.d(t,"o",function(){return m}),n.d(t,"n",function(){return f}),n.d(t,!1,function(){return u}),n.d(t,!1,function(){return b}),n.d(t,"v",function(){return r}),n.d(t,"B",function(){return c}),n.d(t,"F",function(){return l}),n.d(t,"P",function(){return T}),n.d(t,"Q",function(){return A}),n.d(t,"R",function(){return k}),n.d(t,"T",function(){return h}),n.d(t,"U",function(){return p}),n.d(t,"V",function(){return d}),n.d(t,"u",function(){return v}),n.d(t,"t",function(){return g}),n.d(t,"s",function(){return y}),n.d(t,"h",function(){return j}),n.d(t,"a",function(){return E}),n.d(t,"b",function(){return I}),n.d(t,!1,function(){return C}),n.d(t,!1,function(){return w}),n.d(t,!1,function(){return S}),n.d(t,"f",function(){return D}),n.d(t,!1,function(){return x}),n.d(t,"G",function(){return P}),n.d(t,"I",function(){return R}),n.d(t,"N",function(){return L}),n.d(t,!1,function(){return O}),n.d(t,!1,function(){return U}),n.d(t,"e",function(){return M}),n.d(t,"g",function(){return K}),n.d(t,"C",function(){return F}),n.d(t,"H",function(){return q}),n.d(t,"J",function(){return G}),n.d(t,"O",function(){return z}),n.d(t,"S",function(){return N}),n.d(t,"D",function(){return V}),n.d(t,"E",function(){return B}),n.d(t,!1,function(){return Y}),n.d(t,!1,function(){return X}),n.d(t,!1,function(){return Z}),n.d(t,!1,function(){return $}),n.d(t,!1,function(){return Q}),n.d(t,!1,function(){return W}),n.d(t,!1,function(){return H}),n.d(t,!1,function(){return J}),n.d(t,!1,function(){return te}),n.d(t,!1,function(){return ee}),n.d(t,!1,function(){return ae}),n.d(t,!1,function(){return ne}),n.d(t,!1,function(){return ie}),n.d(t,"i",function(){return he}),n.d(t,"j",function(){return be}),n.d(t,"k",function(){return me}),n.d(t,"p",function(){return je}),n.d(t,"m",function(){return ve}),n.d(t,"q",function(){return fe}),n.d(t,"r",function(){return ye}),n.d(t,"l",function(){return ge}),n.d(t,"x",function(){return Te}),n.d(t,"z",function(){return ke}),n.d(t,"A",function(){return _e}),n.d(t,!1,function(){return pe}),n.d(t,"K",function(){return de}),n.d(t,"M",function(){return le}),n.d(t,"L",function(){return ue}),n.d(t,"w",function(){return Ce}),n.d(t,"y",function(){return Ae});var Ee={name:"普通用户",image:"http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Plantform/Image-online/logo-transparent.png"}},wj71:function(e,t){},x9fL:function(e,t,n){e.exports=n.p+"static/img/home_ban1.365aa94.jpg"},y5vB:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAMJ2lDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnltSSWiBUKSE3gQp0qWGFkFAOtgISSChxJgQVOzoooJrQcWCFVkVUXAtgCwqYi+LYu8PCyrKuliwofImCaCr33vve+f75t4/Z86c859zZyYzAGjEciWSXFQTgDxxvjQuPJiVkprGInUCBBABGXgAKy5PJgmKjY0CUAbf/5R316E1lCuOCl8/9/9X0eILZDwAkFiIM/gyXh7EBwDAPXgSaT4AhG6ot5iaL4GYCFkCHSkkCLGlAmepsJcCZ6hwlNImIY4NcToAZBqXK80CQF3Bi1XAy4J+1JdA7Czmi8QQN0PszxNy+RB/hnh4Xt5kiDVsIbbN+M5P1j98Zgz55HKzhrAqF6WQQ0QySS53+v9Zjv8tebnywRgWsNGE0og4Rc6KuuVMjlRgGsRnxBnRMRBrQ3xVxFfaK/AToTwiccD+A0/GhjUDTABQGp8bEgmxEcTm4tzoqAG9f6YojAMxrD2aIMrnJKjGonzp5LgB/+g0gSw0fhBzpcpYCpsSeU5i0IDPTUIBZ9BnU6EwIVnFE71UIEqKhlgd4ruynPjIAZvnhUJ29KCNVB6n4Ay/OQYypWFxKhvMMk82mBfmIxRxogdwVL4wIUI1FpvI4yq56UOcLZClRA3y5AtCQlV5YUUCceIAf6xMkh8cN2BfJcmNHbDHmgW54Qq9OcRtsoL4wbE9+XCyqfLFgSQ/NkHFDdfJ5o6OVXHA7UEUYIMQwAJy2DLAZJANRG3dDd3wl6onDHCBFGQBAXAc0AyOSFb2iOEzHhSCvyASANnQuGBlrwAUQP2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