chunk-296bb1ea.26e31364.js 56 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-296bb1ea"],{"0434":function(e,t,i){e.exports=i.p+"static/img/icon_success3.6786f083.png"},"0595":function(e,t,i){},2288:function(e,t,i){e.exports=i.p+"static/img/banner4.87b7b090.png"},"49b5":function(e,t,i){e.exports=i.p+"static/img/img3.5a798adf.png"},"4e75":function(e,t,i){"use strict";i.r(t);var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"m-container"},[s("h2",[s("el-page-header",{attrs:{content:e.titleName},on:{back:e.onCancel}})],1),e._v(" "),s("div",{staticClass:"m-core"},[s("el-form",{ref:"form",attrs:{model:e.form,"label-width":"140px"}},[s("el-row",[s("el-col",{attrs:{xs:24,sm:24,md:24,lg:18,xl:18}},[s("el-form-item",{attrs:{label:"问卷名称",prop:"title",rules:[{required:!0,message:"请输入问卷名称",trigger:"blur"}]}},[s("el-input",{attrs:{placeholder:"请输入问卷名称",disabled:e.disabled},model:{value:e.form.title,callback:function(t){e.$set(e.form,"title",t)},expression:"form.title"}})],1)],1)],1),e._v(" "),s("el-row",{attrs:{gutter:20}},[s("el-col",{attrs:{xs:12,sm:12,md:12,lg:9,xl:9}},[s("el-form-item",{staticClass:"memoWrapItem",attrs:{label:"是否需要登录",prop:"loginFlag",rules:[{required:!0,message:"请选择是否需要登录",trigger:"change"}]}},[s("template",{slot:"label"},[s("p",{staticClass:"titleCell",staticStyle:{position:"relative"}},[s("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 是否需要登录\n "),s("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[s("div",{attrs:{slot:"content"},slot:"content"},[e._v('\n 若选"是",学员登录才可填写问卷,提交详情中自动展示学员姓名、年龄、手机号信息\n ')]),e._v(" "),s("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c",position:"relative",top:"2px"}})])],1)]),e._v(" "),s("el-select",{staticStyle:{width:"100% !important"},attrs:{placeholder:"请选择是否需要登录",disabled:e.disabled},on:{change:e.changeLoginFlag},model:{value:e.form.loginFlag,callback:function(t){e.$set(e.form,"loginFlag",t)},expression:"form.loginFlag"}},[s("el-option",{attrs:{label:"是",value:1}}),e._v(" "),s("el-option",{attrs:{label:"否",value:0}})],1)],2)],1),e._v(" "),e.form.loginFlag?s("el-col",{attrs:{xs:12,sm:12,md:12,lg:9,xl:9}},[s("el-form-item",{staticClass:"memoWrapItem",attrs:{label:"是否逐题提交",prop:"commitType",rules:[{required:!0,message:"请选择是否逐题提交",trigger:"change"}]}},[s("template",{slot:"label"},[s("p",{staticClass:"titleCell",staticStyle:{position:"relative"}},[s("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 是否逐题提交\n "),s("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[s("div",{attrs:{slot:"content"},slot:"content"},[e._v("逐题模式下,所有问题默认必填")]),e._v(" "),s("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c",position:"relative",top:"2px"}})])],1)]),e._v(" "),s("el-select",{staticStyle:{width:"100% !important"},attrs:{placeholder:"请选择是否逐题提交",disabled:e.disabled},model:{value:e.form.commitType,callback:function(t){e.$set(e.form,"commitType",t)},expression:"form.commitType"}},[s("el-option",{attrs:{label:"是",value:1}}),e._v(" "),s("el-option",{attrs:{label:"否",value:0}})],1)],2)],1):e._e()],1),e._v(" "),s("el-row",[s("el-form-item",{attrs:{label:"问卷模板",prop:"templateType",rules:[{required:!0,message:"请选择问卷模板"}]}},[s("el-checkbox-group",{on:{change:e.bindCheckBox},model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},[s("div",{staticClass:"chioseWrap"},[s("div",{staticClass:"chioseItem",on:{click:function(t){return e.settemplateType(1)}}},[s("img",{attrs:{src:i("dde5"),alt:""}}),e._v(" "),s("div",{staticClass:"remberBox"},[s("div",{staticClass:"wrap"}),e._v(" "),s("el-checkbox",{staticClass:"chioseBox",attrs:{label:1,checked:1==e.form.templateType,disabled:e.disabled}},[s("br")])],1)]),e._v(" "),s("div",{staticClass:"chioseItem",on:{click:function(t){return e.settemplateType(2)}}},[s("img",{attrs:{src:i("e6ce"),alt:""}}),e._v(" "),s("div",{staticClass:"remberBox"},[s("div",{staticClass:"wrap"}),e._v(" "),s("el-checkbox",{staticClass:"chioseBox",attrs:{name:"2",label:2,checked:2==e.form.templateType,disabled:e.disabled}},[s("br")])],1)]),e._v(" "),s("div",{staticClass:"chioseItem",on:{click:function(t){return e.settemplateType(3)}}},[s("img",{attrs:{src:i("49b5"),alt:""}}),e._v(" "),s("div",{staticClass:"remberBox"},[s("div",{staticClass:"wrap"}),e._v(" "),s("el-checkbox",{staticClass:"chioseBox",attrs:{label:3,checked:3==e.form.templateType,disabled:e.disabled}},[s("br")])],1)]),e._v(" "),s("div",{staticClass:"chioseItem",on:{click:function(t){return e.settemplateType(4)}}},[s("img",{attrs:{src:i("72ee"),alt:""}}),e._v(" "),s("div",{staticClass:"remberBox"},[s("div",{staticClass:"wrap"}),e._v(" "),s("el-checkbox",{staticClass:"chioseBox",attrs:{label:4,checked:4==e.form.templateType,disabled:e.disabled}},[s("br")])],1)])])])],1)],1)],1),e._v(" "),s("el-row",e._l(e.form.questionnaireQuestionList,(function(t,i){return s("el-col",{key:i,staticStyle:{padding:"15px 22px","background-color":"#eef4f9","margin-bottom":"10px"},attrs:{xs:24,sm:24,md:24,lg:18,xl:18}},[s("el-row",{staticStyle:{flex:"1 auto","padding-bottom":"15px"},attrs:{type:"flex",align:"middle"}},[s("el-col",{attrs:{span:12}},[s("span",{staticStyle:{"font-size":"18px",width:"80px","text-align":"right",display:"inline-block"}},[e._v("问题"+e._s(i+1))])]),e._v(" "),s("el-col",{staticStyle:{"text-align":"right","padding-right":"15px"},attrs:{span:12}},[s("el-tooltip",{key:"moveDown",staticClass:"item",attrs:{effect:"dark",content:"向下移动",placement:"top"}},[s("el-button",{attrs:{icon:"el-icon-top",circle:"",disabled:0==i||e.disabled},on:{click:function(t){return t.stopPropagation(),e.moveDown(e.form.questionnaireQuestionList,i)}}})],1),e._v(" "),s("el-tooltip",{key:"moveUp",staticClass:"item",attrs:{effect:"dark",content:"向上移动",placement:"top"}},[s("el-button",{attrs:{icon:"el-icon-bottom",circle:"",disabled:e.form.questionnaireQuestionList.length<=1||e.form.questionnaireQuestionList.length==i+1||e.disabled},on:{click:function(t){return t.stopPropagation(),e.moveUp(e.form.questionnaireQuestionList,i)}}})],1),e._v(" "),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"删除",placement:"top"}},[s("el-button",{attrs:{icon:"el-icon-delete",circle:"",disabled:e.form.questionnaireQuestionList.length<=1||e.disabled},on:{click:function(t){return t.stopPropagation(),e.onDelete(e.form.questionnaireQuestionList,i)}}})],1)],1)],1),e._v(" "),s("question-list",{ref:"questions",refInFor:!0,attrs:{type:e.type,form:t,commitType:e.form.commitType,disabled:e.disabled}})],1)})),1),e._v(" "),s("el-row",{staticStyle:{"padding-bottom":"15px"}},[s("el-col",{staticStyle:{"text-align":"center"},attrs:{xs:24,sm:24,md:24,lg:18,xl:18}},[s("el-button",{staticStyle:{width:"100%"},attrs:{type:"default",disabled:e.disabled,icon:"el-icon-plus"},on:{click:function(t){return e.addQuestionItem(e.form.questionnaireQuestionList)}}},[e._v("新增问题")])],1)],1),e._v(" "),s("el-row",[s("el-col",{attrs:{xs:24,sm:24,md:24,lg:18,xl:18}},[e.disabled?s("el-alert",{staticStyle:{margin:"10px 0"},attrs:{title:"该问卷已存在提交数据,不可修改",closable:!1,type:"error"}}):e._e()],1)],1),e._v(" "),s("el-button",{attrs:{type:"primary",disabled:e.disabled},on:{click:e.onSubmit}},[e._v(e._s("create"==e.type?"生成问卷":"修改问卷"))]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.onPreview}},[e._v("预览")]),e._v(" "),s("el-button",{attrs:{disabled:e.disabled},on:{click:e.onReset}},[e._v("重置")]),e._v(" "),e.questionStatus?s("el-dialog",{attrs:{title:"问卷题目","close-on-click-modal":!1,visible:e.questionStatus,width:"415px"},on:{"update:visible":function(t){e.questionStatus=t}}},[s("questionManger",{attrs:{form:e.form},on:{close:function(t){e.questionStatus=!1}}})],1):e._e()],1)])},n=[],r=i("5530"),a=i("b85c"),o=(i("5df3"),i("ac6a"),i("2909")),c=(i("96cf"),i("1da1")),u=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-form",{ref:"form",staticClass:"question",attrs:{model:e.form,"label-width":"100px"}},[i("el-row",[i("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[i("el-form-item",{attrs:{label:"题目类型",prop:"type",rules:[{required:!0,message:"请选择题目类型",trigger:"change"}]}},[i("el-select",{attrs:{placeholder:"请选择题目类型",disabled:e.disabled},model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},[i("el-option",{attrs:{label:"单选",value:"radio"}}),e._v(" "),i("el-option",{attrs:{label:"多选",value:"checkbox"}}),e._v(" "),i("el-option",{attrs:{label:"问答",value:"textarea"}}),e._v(" "),i("el-option",{attrs:{label:"图片",value:"image"}})],1)],1)],1),e._v(" "),e.commitType?e._e():i("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[i("el-form-item",{attrs:{label:"是否必填",prop:"isRequire",rules:[{required:!0,message:"请选择是否必填",trigger:"change"}]}},[i("el-select",{attrs:{placeholder:"请选择是否必填",disabled:e.disabled},model:{value:e.form.isRequire,callback:function(t){e.$set(e.form,"isRequire",t)},expression:"form.isRequire"}},[i("el-option",{attrs:{label:"是",value:1}}),e._v(" "),i("el-option",{attrs:{label:"否",value:0}})],1)],1)],1)],1),e._v(" "),i("el-form-item",{attrs:{label:"题目",prop:"content",rules:[{required:!0,message:"请输入题目",trigger:"blur"}]}},[i("el-input",{attrs:{type:"textarea",placeholder:"请输入题目",disabled:e.disabled,"show-word-limit":"",maxlength:"200",autosize:{minRows:2,maxRows:4}},model:{value:e.form.content,callback:function(t){e.$set(e.form,"content",t)},expression:"form.content"}})],1),e._v(" "),"radio"==e.form.type||"checkbox"==e.form.type?[e._l(e.form.questionnaireQuestionItemList,(function(t,s){return i("div",{key:s},[i("el-form-item",{staticStyle:{display:"inline-block"},attrs:{label:"选项"+(s+1),prop:"questionnaireQuestionItemList."+s+".answerValue",rules:[{required:!0,message:"请输入选项内容",trigger:"change"}]}},[i("el-input",{attrs:{type:"text",placeholder:"请输入选项内容",disabled:e.disabled,maxlength:"100"},model:{value:t.answerValue,callback:function(i){e.$set(t,"answerValue",i)},expression:"questionnaireQuestionItemList.answerValue"}})],1),e._v(" "),e.commitType?i("el-form-item",{staticStyle:{display:"inline-block"},attrs:{label:"是否终止答题","label-width":"120px",prop:"questionnaireQuestionItemList."+s+".isOver",rules:[{required:!0,message:"请选择是否终止答题",trigger:"change"}]}},[i("el-radio-group",{staticStyle:{"margin-right":"20px"},attrs:{disabled:e.disabled},model:{value:t.isOver,callback:function(i){e.$set(t,"isOver",i)},expression:"questionnaireQuestionItemList.isOver"}},[i("el-radio",{attrs:{label:1}},[e._v("是")]),e._v(" "),i("el-radio",{attrs:{label:0}},[e._v("否")])],1)],1):e._e(),e._v(" "),i("div",{staticStyle:{display:"inline-block"}},[i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"向上移动",placement:"top"}},[i("el-button",{attrs:{icon:"el-icon-top",circle:"",disabled:0==s||e.disabled},on:{click:function(t){return e.moveDown(e.form.questionnaireQuestionItemList,s)}}})],1),e._v(" "),i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"向下移动",placement:"top"}},[i("el-button",{attrs:{icon:"el-icon-bottom",circle:"",disabled:e.form.questionnaireQuestionItemList.length<=1||e.form.questionnaireQuestionItemList.length==s+1||e.disabled},on:{click:function(t){return e.moveUp(e.form.questionnaireQuestionItemList,s)}}})],1),e._v(" "),i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"删除",placement:"top"}},[i("el-button",{attrs:{icon:"el-icon-delete",circle:"",disabled:e.form.questionnaireQuestionItemList.length<=1||e.disabled},on:{click:function(t){return e.onDelete(e.form.questionnaireQuestionItemList,s)}}})],1)],1)],1)})),e._v(" "),i("el-form-item",[i("el-button",{staticStyle:{width:"200px"},attrs:{type:"default",icon:"el-icon-plus",disabled:e.form.questionnaireQuestionItemList.length>=10||e.disabled},on:{click:function(t){return e.addQuestionItem(e.form.questionnaireQuestionItemList)}}},[e._v("新增选项")])],1)]:e._e()],2)},l=[],p={props:["form","type","disabled","commitType"],data:function(){return{}},mounted:function(){},methods:{addQuestionItem:function(e){e.push({})},moveUp:function(e,t){e.splice.apply(e,[t,1].concat(Object(o["a"])(e.splice(t+1,1,e[t]))))},moveDown:function(e,t){e.splice.apply(e,[t-1,1].concat(Object(o["a"])(e.splice(t,1,e[t-1]))))},onDelete:function(e,t){"update"==this.type&&(this.form.delQuestionnaireQuestionItemIdList?this.form.delQuestionnaireQuestionItemIdList.push(e[t].id):this.form.delQuestionnaireQuestionItemIdList=[e[t].id]),e.splice(t,1)}}},d=p,m=(i("9f15"),i("2877")),h=Object(m["a"])(d,u,l,!1,null,"5aca943f",null),f=h.exports,b=i("a92a"),v=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[1==e.commitType?i("Progressive",{attrs:{form:e.form},on:{close:e.close}}):i("Continuous",{attrs:{form:e.form},on:{close:e.close}})],1)},x=[],g=i("2b0e"),k=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"wrap",class:e.theme},[s("div",{staticClass:"banner"},[s("van-image",{staticClass:"banner",attrs:{src:e.banner,width:"375"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("van-loading",{attrs:{type:"spinner",size:"20"}})]},proxy:!0}])}),e._v(" "),s("h2",{staticClass:"title"},[e._v(e._s(e.form.title))])],1),e._v(" "),e.form.loginFlag?s("studentInfo",{staticClass:"studentInfo"}):e._e(),e._v(" "),s("van-form",{ref:"form",on:{submit:e.onSubmit}},e._l(e.questionList,(function(t,n){return s("div",{key:n,staticClass:"questions"},[s("van-tag",{staticClass:"form-mark",attrs:{color:e.themeColor,mark:"",type:"primary"}},[e._v(e._s(e._f("formTypeFormat")(t["type"])))]),e._v(" "),s("van-cell-group",{attrs:{border:!1}},[s("van-cell",{class:e.noLine(t["type"]),attrs:{"title-class":["questionName",t["isRequire"]?"require":""],title:t["content"]}}),e._v(" "),"textarea"!=t["type"]?s("van-field",{attrs:{border:!1,name:t.ids+"",rules:[{required:!!t["isRequire"],message:e.getErrorMsg(t)}]},scopedSlots:e._u([{key:"input",fn:function(){return[s("div",{staticStyle:{width:"100%"}},["radio"==t["type"]?s("van-radio-group",{model:{value:e.forms[t.ids],callback:function(i){e.$set(e.forms,t.ids,i)},expression:"forms[item.ids]"}},[s("van-cell-group",{attrs:{border:!1}},e._l(t["questionnaireQuestionItemList"],(function(t){return s("van-cell",{key:t.id,staticClass:"teacher-item",attrs:{border:!1,clickable:!0,title:t.answerValue},on:{click:function(i){return e.toggle(t.answerValue)}},scopedSlots:e._u([{key:"right-icon",fn:function(){return[s("van-radio",{attrs:{name:t.answerValue},scopedSlots:e._u([{key:"icon",fn:function(t){return[s("i",{staticClass:"iconfont",class:t.checked?"icon-gouxuan":"icon-weigouxuan",style:{color:e.themeColor}})]}}],null,!0)})]},proxy:!0}],null,!0)})})),1)],1):e._e(),e._v(" "),"checkbox"==t["type"]?s("van-checkbox-group",{model:{value:e.forms[t.ids],callback:function(i){e.$set(e.forms,t.ids,i)},expression:"forms[item.ids]"}},[s("van-cell-group",{attrs:{border:!1}},e._l(t["questionnaireQuestionItemList"],(function(t,i){return s("van-cell",{key:t.ids,staticClass:"teacher-item",attrs:{border:!1,clickable:!0,title:t.answerValue},on:{click:function(t){return e.toggle(i)}},scopedSlots:e._u([{key:"right-icon",fn:function(){return[s("van-checkbox",{ref:"checkboxes",refInFor:!0,attrs:{shape:"square",name:t.ids?t.ids.toString():t.answerValue},scopedSlots:e._u([{key:"icon",fn:function(t){return[s("i",{staticClass:"iconfont",class:t.checked?"icon-gouxuan":"icon-weigouxuan",style:{color:e.themeColor}})]}}],null,!0)})]},proxy:!0}],null,!0)})})),1)],1):e._e(),e._v(" "),"image"==t["type"]?s("div",[s("van-uploader",{attrs:{"max-count":1,"before-delete":function(i){e.beforeDelete(i,t.id+"",t.id)},"before-read":e.beforeRead,"after-read":function(i){e.afterRead(i,t.id,t.id)},accept:"image/*"},model:{value:e.list[t.id],callback:function(i){e.$set(e.list,t.id,i)},expression:"list[item.id]"}},[s("div",{staticClass:"uploaderBox"},[s("img",{attrs:{src:i("5271"),alt:""}})])]),e._v(" "),s("p",{staticClass:"uploaderTitle"},[e._v("请上传5M内的图片文件")])],1):e._e()],1)]},proxy:!0}],null,!0)}):e._e(),e._v(" "),"textarea"==t["type"]?s("div",[s("van-field",{staticClass:"textarea",attrs:{name:t.id+"",rules:[{required:!!t["isRequire"],message:e.getErrorMsg(t)}],rows:"4",autosize:"",maxlength:"255",type:"textarea",placeholder:"请写下您的使用感受或建议~"},model:{value:e.form[t.id],callback:function(i){e.$set(e.form,t.id,i)},expression:"form[item.id]"}})],1):e._e()],1)],1)})),0),e._v(" "),s("van-goods-action",[s("van-goods-action-button",{staticClass:"btn-submit",attrs:{color:e.themeColor,type:"primary",text:"提交"},on:{click:e.onSubmit}})],1),e._v(" "),s("van-popup",{attrs:{round:"",closeable:"","close-on-click-overlay":!1},on:{close:e.popupClose},model:{value:e.showPopup,callback:function(t){e.showPopup=t},expression:"showPopup"}},[s("div",{staticClass:"popup-success"},[s("img",{attrs:{src:e.icon_success,alt:""}}),e._v(" "),s("p",{staticClass:"tips"},[e._v("提交成功,感谢您的参与!")]),e._v(" "),s("van-button",{attrs:{type:"primary",color:e.themeColor,block:"",round:""},on:{click:e.popupClose}},[e._v("确认")])],1)])],1)},y=[],q=(i("7f7f"),i("28a5"),function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"studentInfo"},[s("img",{staticClass:"studentIcon",attrs:{src:e.defaultAvatar,alt:""}}),e._v(" "),s("div",{staticClass:"student"},[s("div",{staticClass:"nameWrap"},[s("p",{staticClass:"name"},[e._v(e._s(e.studetnInfo.username))]),e._v(" "),s("div",{staticClass:"userNumWrap"},[s("img",{attrs:{src:i("f2fb"),alt:""}}),e._v(" "),s("p",[e._v("学员编号:"+e._s(e.studetnInfo.id))])])]),e._v(" "),s("p",{staticClass:"phone"},[e._v(e._s(e.studetnInfo.phone))])])])}),I=[],L={data:function(){return{studetnInfo:{phone:"学生电话",username:"学生姓名",id:"学生编号",avatar:""},defaultAvatar:i("ff97")}},mounted:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},w=L,C=(i("952f"),Object(m["a"])(w,q,I,!1,null,"547d9270",null)),_=C.exports,A={props:["form"],components:{studentInfo:_},data:function(){var e=this.$route.query;return{showPopup:!1,topicId:e.topicId||28,banner1:i("7933"),banner2:i("8e738"),banner3:i("7f7f7"),banner4:i("2288"),icon_success1:i("b7d6"),icon_success2:i("f9cc"),icon_success3:i("0434"),icon_success4:i("a487"),currentIndex:1,check:null,checkBox:[],textarea:null,checkList:[],templateType:2,questionList:[{type:"",content:""}],list:"",forms:{}}},mounted:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.templateType=this.form.templateType,this.questionList=this.form.questionnaireQuestionList.map((function(e){return e.ids=e.id||(new Date).valueOf()+Math.random(),e}));case 2:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),computed:{planStatus:function(){return this.questionList.length==this.currentIndex+1},theme:function(){switch(this.templateType){case 1:return"blue";case 2:return"org";case 3:return"green";default:return"pink"}},themeColor:function(){switch(this.templateType){case 1:return"#5986FD";case 2:return"#FF9E42";case 3:return"#33B23C";default:return"#FF7888"}},banner:function(){switch(this.templateType){case 1:return this.banner1;case 2:return this.banner2;case 3:return this.banner3;default:return this.banner4}},icon_success:function(){switch(this.templateType){case 1:return this.icon_success1;case 2:return this.icon_success2;case 3:return this.icon_success3;default:return this.icon_success4}}},methods:{onPrev:function(){if(!(this.currentIndex<=1)){this.check=[],--this.currentIndex;var e=this.questionList[this.currentIndex-1];"radio"==e.type?this.check=this.checkList[this.currentIndex-1].questionnaireQuestionItemIdList:"checkbox"==e.type?this.checkBox=this.checkList[this.currentIndex-1].questionnaireQuestionItemIdList.split(","):"textarea"==e.type&&(this.textarea=this.checkList[this.currentIndex-1].additionalValue)}},toggle:function(e){var t=this.questionList[this.currentIndex-1];"radio"==t.type?this.check=e:"checkbox"==t.type&&this.$refs.checkboxes[e].toggle()},beforeRead:function(e,t){var i=e.size/1024/1024<5;if(!i)return this.$toast("文件大小不能超过 5MB"),!1;if(t&&"fileUrl"==t){var s=["psd","ai","eps","svg","sketch"],n=e.name.split("."),r=n[n.length-1];if(-1==s.indexOf(r))return this.$toast("请上传正确的文件"),!1}return!0},beforeDelete:function(e,t,i){return this.form[t]="",this[i]=[],!0},afterRead:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(t,i,s){var n,r=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.setLoading(!0),n=new FormData,n.append("file",t.file),e.prev=3,e.next=6,uploadFile(n).then((function(e){var t=e.data;if(200!=t.code)return r[s]=[],r[i]="",!1;r[i]=t.data.url}));case 6:this.setLoading(!1),e.next=13;break;case 9:return e.prev=9,e.t0=e["catch"](3),this.setLoading(!1),e.abrupt("return",!1);case 13:case"end":return e.stop()}}),e,this,[[3,9]])})));function t(t,i,s){return e.apply(this,arguments)}return t}(),onSubmit:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$emit("close");case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),popupClose:function(){if(this.showPopup=!1,browser().isApp)postMessage({api:"back",content:{}},(function(){}));else{var e=this.$store.state;e.user.status="init"}},getErrorMsg:function(e){return"radio"==e.type||"checkbox"==e.type?"请选择此题目":""},noLine:function(e){return"radio"==e||"checkbox"==e?"Line":"noLine"}},filters:{formTypeFormat:function(e){var t={radio:"单选",checkbox:"多选",textarea:"问答",image:"图片"};return t[e]}}},S=A,B=(i("dbd6"),Object(m["a"])(S,k,y,!1,null,"3fb9c04c",null)),R=B.exports,T=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"wrap",class:e.theme},[s("div",{staticClass:"banner"},[s("van-image",{staticClass:"banner",attrs:{src:e.banner,width:"375"},scopedSlots:e._u([{key:"loading",fn:function(){return[s("van-loading",{attrs:{type:"spinner",size:"20"}})]},proxy:!0}])}),e._v(" "),s("h2",{staticClass:"title"},[e._v(e._s(e.form.title))])],1),e._v(" "),e.form.loginFlag?s("studentInfo",{staticClass:"studentInfo"}):e._e(),e._v(" "),s("div",{staticClass:"questions"},[s("van-tag",{staticClass:"form-mark",attrs:{color:e.themeColor,mark:"",type:"primary"}},[e._v(e._s(e._f("formTypeFormat")(e.questionList[e.currentIndex-1]["type"])))]),e._v(" "),s("van-cell-group",{attrs:{border:!1}},[s("van-cell",{class:e.noLine(e.questionList[e.currentIndex-1]["type"]),attrs:{"title-class":"questionName",title:e.questionList[e.currentIndex-1]["content"]}}),e._v(" "),s("van-cell",{attrs:{border:!1},scopedSlots:e._u([{key:"title",fn:function(){return["radio"==e.questionList[e.currentIndex-1]["type"]?s("van-radio-group",{model:{value:e.check,callback:function(t){e.check=t},expression:"check"}},[s("van-cell-group",{attrs:{border:!1}},e._l(e.questionList[e.currentIndex-1]["questionnaireQuestionItemList"],(function(t){return s("van-cell",{key:t.answerValue,staticClass:"teacher-item",attrs:{border:!1,clickable:!0,title:t.answerValue},on:{click:function(i){return e.toggle(t.answerValue)}},scopedSlots:e._u([{key:"right-icon",fn:function(){return[s("van-radio",{attrs:{name:t.answerValue},scopedSlots:e._u([{key:"icon",fn:function(t){return[s("i",{staticClass:"iconfont",class:t.checked?"icon-gouxuan":"icon-weigouxuan",style:{color:e.themeColor}})]}}],null,!0)})]},proxy:!0}],null,!0)})})),1)],1):e._e(),e._v(" "),"checkbox"==e.questionList[e.currentIndex-1]["type"]?s("van-checkbox-group",{model:{value:e.checkBox,callback:function(t){e.checkBox=t},expression:"checkBox"}},[s("van-cell-group",{attrs:{border:!1}},e._l(e.questionList[e.currentIndex-1]["questionnaireQuestionItemList"],(function(t,i){return s("van-cell",{key:t.answerValue,staticClass:"teacher-item",attrs:{border:!1,clickable:!0,title:t.answerValue},on:{click:function(t){return e.toggle(i)}},scopedSlots:e._u([{key:"right-icon",fn:function(){return[s("van-checkbox",{ref:"checkboxes",refInFor:!0,attrs:{shape:"square",name:t.answerValue},scopedSlots:e._u([{key:"icon",fn:function(t){return[s("i",{staticClass:"iconfont",class:t.checked?"icon-gouxuan":"icon-weigouxuan",style:{color:e.themeColor}})]}}],null,!0)})]},proxy:!0}],null,!0)})})),1)],1):e._e(),e._v(" "),"textarea"==e.questionList[e.currentIndex-1]["type"]?s("div",[s("van-field",{staticClass:"textareaClass",attrs:{rows:"4",autosize:"",maxlength:"255",type:"textarea",placeholder:"请写下您的使用感受或建议~"},model:{value:e.textarea,callback:function(t){e.textarea=t},expression:"textarea"}})],1):e._e(),e._v(" "),"image"==e.questionList[e.currentIndex-1]["type"]?s("div",[s("van-field",{staticClass:"uploader",attrs:{name:e.questionList[e.currentIndex-1]["id"]+""}},[s("template",{attrs:{id:e.questionList[e.currentIndex-1]["id"]},slot:"input"},[s("div",[s("van-uploader",{attrs:{"max-count":1,accept:"image/*","before-delete":function(t){e.beforeDelete(t,"imgUrl","imageList")},"before-read":e.beforeRead,"after-read":function(t){e.afterRead(t,"imgUrl","imageList")}},model:{value:e.imageList,callback:function(t){e.imageList=t},expression:"imageList"}},[s("div",{staticClass:"uploaderBox"},[s("img",{attrs:{src:i("5271"),alt:""}})])]),e._v(" "),s("p",{staticClass:"uploaderTitle"},[e._v("请上传5M内的图片文件")])],1)])],2)],1):e._e()]},proxy:!0}])})],1),e._v(" "),s("van-goods-action",[1!=e.currentIndex?s("van-goods-action-button",{staticClass:"btn-submit",style:{color:e.themeColor},attrs:{color:"#F5F5F5",type:"default",text:"上一题"},on:{click:e.onPrev}}):e._e(),e._v(" "),"radio"==e.questionList[e.currentIndex-1]["type"]?s("van-goods-action-button",{staticClass:"btn-submit",attrs:{color:e.themeColor,disabled:!e.check,type:"primary",text:e.currentIndex==e.questionList.length?e.planStatus?"确定":"提交":"下一题"},on:{click:e.onSubmit}}):e._e(),e._v(" "),"checkbox"==e.questionList[e.currentIndex-1]["type"]?s("van-goods-action-button",{staticClass:"btn-submit",attrs:{color:e.themeColor,disabled:e.checkBox.length<=0,type:"primary",text:e.currentIndex==e.questionList.length?e.planStatus?"确定":"提交":"下一题"},on:{click:e.onSubmit}}):e._e(),e._v(" "),"textarea"==e.questionList[e.currentIndex-1]["type"]?s("van-goods-action-button",{staticClass:"btn-submit",attrs:{color:e.themeColor,disabled:!e.textarea,type:"primary",text:e.currentIndex==e.questionList.length?e.planStatus?"确定":"提交":"下一题"},on:{click:e.onSubmit}}):e._e(),e._v(" "),"image"==e.questionList[e.currentIndex-1]["type"]?s("van-goods-action-button",{staticClass:"btn-submit",attrs:{color:e.themeColor,disabled:!e.imgUrl,type:"primary",text:e.currentIndex==e.questionList.length?e.planStatus?"确定":"提交":"下一题"},on:{click:e.onSubmit}}):e._e()],1)],1),e._v(" "),s("van-popup",{attrs:{round:"",closeable:"","close-on-click-overlay":!1},on:{close:e.popupClose},model:{value:e.showPopup,callback:function(t){e.showPopup=t},expression:"showPopup"}},[s("div",{staticClass:"popup-success"},[s("img",{attrs:{src:e.icon_success,alt:""}}),e._v(" "),s("p",{staticClass:"tips"},[e._v("提交成功,感谢您的参与!")]),e._v(" "),s("van-button",{attrs:{type:"primary",color:e.themeColor,block:"",round:""},on:{click:e.popupClose}},[e._v("确认")])],1)])],1)},Q=[],F=(i("6762"),i("2fdb"),{props:["form"],components:{studentInfo:_},data:function(){var e=this.$route.query;return{showPopup:!1,topicId:e.topicId||28,banner1:i("7933"),banner2:i("8e738"),banner3:i("7f7f7"),banner4:i("2288"),icon_success1:i("b7d6"),icon_success2:i("f9cc"),icon_success3:i("0434"),icon_success4:i("a487"),currentIndex:1,check:null,checkBox:[],textarea:null,checkList:[],templateType:1,questionList:[{type:"",content:""}],imageList:[],imgUrl:""}},mounted:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.templateType=this.form.templateType,this.questionList=this.form.questionnaireQuestionList,console.log(this.form);case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),computed:{planStatus:function(){return this.questionList.length==this.currentIndex+1},theme:function(){switch(this.templateType){case 1:return"blue";case 2:return"org";case 3:return"green";default:return"pink"}},themeColor:function(){switch(this.templateType){case 1:return"#5986FD";case 2:return"#FF9E42";case 3:return"#33B23C";default:return"#FF7888"}},banner:function(){switch(this.templateType){case 1:return this.banner1;case 2:return this.banner2;case 3:return this.banner3;default:return this.banner4}},icon_success:function(){switch(this.templateType){case 1:return this.icon_success1;case 2:return this.icon_success2;case 3:return this.icon_success3;default:return this.icon_success4}}},methods:{onPrev:function(){if(!(this.currentIndex<=1)){this.check=[],--this.currentIndex;var e=this.questionList[this.currentIndex-1];"radio"==e.type?this.check=this.checkList[this.currentIndex-1].questionnaireQuestionItemIdList:"checkbox"==e.type?this.checkBox=this.checkList[this.currentIndex-1].questionnaireQuestionItemIdList.split(","):"textarea"==e.type?this.textarea=this.checkList[this.currentIndex-1].additionalValue:"image"==e.type&&(this.imgUrl=this.checkList[this.currentIndex-1].additionalValue,this.imageList=[{url:this.checkList[this.currentIndex-1].additionalValue}])}},toggle:function(e){var t=this.questionList[this.currentIndex-1];"radio"==t.type?this.check=e:"checkbox"==t.type&&this.$refs.checkboxes[e].toggle()},onSubmit:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){var t,i,s,n,r,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this.questionList[this.currentIndex-1],"radio"!=t.type||this.check){e.next=6;break}return this.$toast("请回答当前问题"),e.abrupt("return");case 6:if(!("checkbox"==t.type&&this.checkBox.length<=0)){e.next=11;break}return this.$toast("请回答当前问题"),e.abrupt("return");case 11:if("textarea"!=t.type||this.textarea){e.next=14;break}return this.$toast("请回答当前问题"),e.abrupt("return");case 14:if(i=t.questionnaireQuestionItemList||[],s=0,this.checkBox,i.forEach((function(e){console.log(e,a.check),("radio"==t.type&&a.check==e.answerValue||"checkbox"==t.type&&a.checkBox.includes(e.answerValue+"")&&!s)&&(s=e.isOver)})),!(this.currentIndex<=this.questionList.length)){e.next=24;break}if("radio"==t.type?(this.checkList[this.currentIndex-1]={questionnaireQuestionId:t.id,questionnaireQuestionItemIdList:this.check},this.check=null):"checkbox"==t.type?(this.checkList[this.currentIndex-1]={questionnaireQuestionId:t.id,questionnaireQuestionItemIdList:this.checkBox.join(",")},this.checkBox=[]):"textarea"==t.type?(this.checkList[this.currentIndex-1]={questionnaireQuestionId:t.id,additionalValue:this.textarea},this.textarea=null):"image"==t.type&&(this.checkList[this.currentIndex-1]={questionnaireQuestionId:t.id,additionalValue:this.imgUrl},this.imgUrl="",this.imageList=[]),this.currentIndex!=this.questionList.length&&!s){e.next=23;break}return this.$emit("close"),e.abrupt("return");case 23:this.currentIndex++;case 24:this.checkList.length>=this.currentIndex&&(n=this.checkList[this.currentIndex-1],r=this.questionList[this.currentIndex-1],"radio"==r.type?this.check=n.questionnaireQuestionItemIdList:"checkbox"==r.type?this.checkBox=n.questionnaireQuestionItemIdList.split(","):"textarea"==r.type&&(this.textarea=n.additionalValue));case 25:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),popupClose:function(){if(this.showPopup=!1,browser().isApp)postMessage({api:"back",content:{}},(function(){}));else{var e=this.$store.state;e.user.status="init"}},beforeRead:function(e,t){var i=e.size/1024/1024<5;if(!i)return this.$toast("文件大小不能超过 5MB"),!1;if(t&&"fileUrl"==t){var s=["psd","ai","eps","svg","sketch"],n=e.name.split("."),r=n[n.length-1];if(-1==s.indexOf(r))return this.$toast("请上传正确的文件"),!1}return!0},beforeDelete:function(e,t,i){return this.form[t]="",this[i]=[],!0},afterRead:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(t,i,s){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=new FormData,n.append("file",t.file),this[i]=i;case 3:case"end":return e.stop()}}),e,this)})));function t(t,i,s){return e.apply(this,arguments)}return t}(),noLine:function(e){return"radio"==e||"checkbox"==e?"Line":"noLine"}},filters:{formTypeFormat:function(e){var t={radio:"单选",checkbox:"多选",textarea:"问答",image:"图片"};return t[e]}}}),U=F,j=(i("e99e"),Object(m["a"])(U,T,Q,!1,null,"a11b374c",null)),E=j.exports,P=i("b650"),O=i("e41f"),V=i("8ad4"),Y=i("2241"),G=i("772a"),D=i("7744"),M=i("34e9"),z=i("565f"),Z=i("44bf"),H=i("543e"),N=i("e27c"),X=i("9f149"),W=i("3acc"),J=i("417e"),K=i("28a2"),$=i("82a8"),ee=i("bb33"),te=i("a3e2"),ie=i("8f80");i("157a");g["default"].use(P["a"]).use(O["a"]).use(V["a"]).use(Y["a"]).use(G["a"]).use(D["a"]).use(M["a"]).use(z["a"]).use(Z["a"]).use(H["a"]).use(N["a"]).use(X["a"]).use(W["a"]).use(J["a"]).use(K["a"]).use($["a"]).use(ee["a"]).use(te["a"]).use(ie["a"]);var se={props:["form"],components:{Continuous:R,Progressive:E},data:function(){return{loginFlag:!0,commitType:0,preView:!1}},mounted:function(){this.commitType=this.form.commitType},methods:{close:function(){this.$emit("close")}}},ne=se,re=(i("c89a2"),Object(m["a"])(ne,v,x,!1,null,"2eebc361",null)),ae=re.exports,oe=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[e.questionList.length>0?s("div",{directives:[{name:"show",rawName:"v-show",value:!e.resultStatus,expression:"!resultStatus"}],staticClass:"questions"},[s("div",{staticClass:"top-tips"},[e._v(e._s(e.form.title))]),e._v(" "),s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("span",{staticClass:"questionName"},[e._v(e._s(e.questionList[e.currentIndex-1]["content"]))])]),e._v(" "),"radio"==e.questionList[e.currentIndex-1]["type"]?s("el-radio-group",{model:{value:e.check,callback:function(t){e.check=t},expression:"check"}},e._l(e.questionList[e.currentIndex-1]["questionnaireQuestionItemList"],(function(t){return s("div",{key:t.id},[s("el-radio",{attrs:{label:t.id}},[e._v(e._s(t.answerValue))])],1)})),0):e._e(),e._v(" "),"checkbox"==e.questionList[e.currentIndex-1]["type"]?s("el-checkbox-group",{model:{value:e.checkBox,callback:function(t){e.checkBox=t},expression:"checkBox"}},e._l(e.questionList[e.currentIndex-1]["questionnaireQuestionItemList"],(function(t){return s("el-checkbox",{key:t.id,attrs:{label:t.id}},[e._v(e._s(t.answerValue))])})),1):e._e(),e._v(" "),"textarea"==e.questionList[e.currentIndex-1]["type"]?s("el-input",{staticStyle:{border:"0"},attrs:{type:"textarea",autosize:{minRows:3,maxRows:6},placeholder:"请输入其它意见"},model:{value:e.textarea,callback:function(t){e.textarea=t},expression:"textarea"}}):e._e(),e._v(" "),"image"==e.questionList[e.currentIndex-1]["type"]||"file"==e.questionList[e.currentIndex-1]["type"]?s("el-upload",{staticClass:"ivu-upload",attrs:{"file-list":e.fileList,"show-file-list":!0,headers:e.headers,"on-remove":e.handleRemove,accept:"image"==e.questionList[e.currentIndex-1]["type"]?".jpg, .jpeg, .png":".XLSX,.XLS,.DOCX,.PDF,.TXT,.PSD,.EPS,.RAR,.ZIP ","before-upload":function(t){return e.beforeUpload(t,e.questionList[e.currentIndex-1]["type"])},"on-success":function(t,i,s){e.handleUploadSuccess(t,i,s,e.questionList[e.currentIndex-1])},"on-error":e.handleUploadError,"max-size":2048,multiple:"",action:"/api-web/uploadFile"}},[s("div",{staticClass:"el-upload el-upload--picture-card",attrs:{slot:"trigger"},slot:"trigger"},[s("i",{staticClass:"el-icon-plus"})]),e._v(" "),"image"==e.questionList[e.currentIndex-1]["type"]?s("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("\n 仅支持上传JPG、PNG、JPEG、GIF文件,且不超过5MB\n ")]):s("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("\n 仅支持上传XLSX、XLS、DOCX、PDF、TXT、PSD、EPS、RAR、ZIP文件,且不超过5MB\n ")])]):e._e()],1),e._v(" "),"radio"==e.questionList[e.currentIndex-1]["type"]?s("el-button",{staticClass:"btn-submit",attrs:{size:"large",type:"primary",block:"",round:"",color:"#01C1B5",disabled:!e.check&&!!e.isRequire},on:{click:e.onSubmit}},[e._v("提交")]):e._e(),e._v(" "),"checkbox"==e.questionList[e.currentIndex-1]["type"]?s("el-button",{staticClass:"btn-submit",attrs:{size:"large",type:"primary",block:"",round:"",color:"#01C1B5",disabled:e.checkBox.length<=0&&!!e.isRequire},on:{click:e.onSubmit}},[e._v("提交")]):e._e(),e._v(" "),"textarea"==e.questionList[e.currentIndex-1]["type"]?s("el-button",{staticClass:"btn-submit",attrs:{size:"large",type:"primary",block:"",round:"",color:"#01C1B5",disabled:!e.textarea&&!!e.isRequire},on:{click:e.onSubmit}},[e._v("提交")]):e._e(),e._v(" "),"image"==e.questionList[e.currentIndex-1]["type"]?s("el-button",{staticClass:"btn-submit",attrs:{size:"large",type:"primary",block:"",round:"",color:"#01C1B5",disabled:e.fileList.length<=0&&!!e.isRequire},on:{click:e.onSubmit}},[e._v("提交")]):e._e(),e._v(" "),"file"==e.questionList[e.currentIndex-1]["type"]?s("el-button",{staticClass:"btn-submit",attrs:{size:"large",type:"primary",block:"",round:"",color:"#01C1B5",disabled:e.fileList.length<=0&&!!e.isRequire},on:{click:e.onSubmit}},[e._v("提交")]):e._e()],1):e._e(),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:e.resultStatus,expression:"resultStatus"}],staticClass:"resultModel"},[s("img",{staticClass:"img",attrs:{src:i("82aa"),alt:""}}),e._v(" "),s("p",{staticClass:"content"},[e._v("感谢您的参与!")]),e._v(" "),s("el-button",{staticClass:"btn-submit",attrs:{size:"large",type:"primary",round:""},on:{click:e.onSubmitClose}},[e._v("确认")])],1)])},ce=[],ue=i("5f87"),le={name:"question",props:["form","close"],data:function(){return{currentIndex:1,questionList:[],check:null,isRequire:1,checkBox:[],textarea:null,checkList:[],fileList:[],resultStatus:!1,headers:{Authorization:Object(ue["b"])()}}},mounted:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:try{this.questionList=this.form.questionnaireQuestionList||[],console.log(this.questionList),this.isRequire=this.questionList[this.currentIndex-1].isRequire}catch(t){}case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:{toggle:function(e){var t=this.questionList[this.currentIndex-1];"radio"==t.type?this.check=e:"checkbox"==t.type&&this.$refs.checkboxes[e].toggle()},onSubmit:function(){var e=this,t=this.questionList[this.currentIndex-1];if("radio"!=t.type||!t.isRequire||this.check)if("checkbox"==t.type&&t.isRequire&&this.checkBox.length<=0)this.$message.error("请回答当前问题");else if("textarea"!=t.type||!t.isRequire||this.textarea)if("image"==t.type&&t.isRequire&&this.fileList.length<=0)this.$message.error("请回答当前问题");else if("file"==t.type&&t.isRequire&&this.fileList.length<=0)this.$message.error("请回答当前问题");else{var i=t.questionnaireQuestionItemList||[],s=0;if(i.forEach((function(i){("radio"==t.type&&e.check==i.id||"checkbox"==t.type&&e.checkBox.includes(i.id)&&!s)&&(s=i.isOver)})),this.currentIndex<=this.questionList.length){if("radio"==t.type?(this.checkList[this.currentIndex-1]={questionnaireQuestionId:t.id,questionnaireQuestionItemIdList:this.check},this.check=null):"checkbox"==t.type?(this.checkList[this.currentIndex-1]={questionnaireQuestionId:t.id,questionnaireQuestionItemIdList:this.checkBox.join(",")},this.checkBox=[]):"textarea"==t.type?(this.checkList[this.currentIndex-1]={questionnaireQuestionId:t.id,additionalValue:this.textarea},this.textarea=null):("image"==t.type||"file"==t.type)&&(this.checkList[this.currentIndex-1]={questionnaireQuestionId:t.id,additionalValue:JSON.stringify(this.fileList.map((function(e){return{name:e.name,url:e.response.data.url}})))},this.fileList=[]),s)return void this.onConfirm();if(this.check=null,this.currentIndex==this.questionList.length)return void this.saveKey();this.currentIndex++}}else this.$message.error("请回答当前问题");else this.$message.error("请回答当前问题")},saveKey:function(){this.resultStatus=!0},onConfirm:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.resultStatus=!0;case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),onSubmitClose:function(){this.close()},beforeUpload:function(e,t){var i=e.size/1024/1024<5,s=["JPG","PNG","JPEG","GIF"],n=["XLSX","XLS","DOCX","PDF","TXT","PSD","EPS","RAR","ZIP"],r=e.name.split(".").pop().toUpperCase();console.log(t,r,n,-1!=n.indexOf(r));var a=!1;if("file"==t){if(-1==n.indexOf(r))return this.$message.error("请上传正确的附件!"),!1;a=!0}else if(t="image"){if(-1==s.indexOf(r))return this.$message.error("请上传正确的附件!"),!1;a=!0}return i||this.$message.error("上传附件大小不能超过 5MB!"),this.uploadLoading=!0,i&&a},handleUploadError:function(e){this.uploadLoading=!1,this.$message.error("上传附件失败")},handleUploadSuccess:function(e,t,i,s){this.uploadLoading=!1,200==e.code?(this.$message.success("上传附件成功"),this.fileList=Object(o["a"])(i),console.log(this.fileList)):this.$message.error(e.msg)},handleRemove:function(e,t){this.fileList=Object(o["a"])(t),console.log(this.fileList)}}},pe=le,de=(i("7da8"),Object(m["a"])(pe,oe,ce,!1,null,"0db21608",null)),me=de.exports,he={name:"operationQuestion",components:{questionList:f,AnswerList:me,questionManger:ae},data:function(){var e=this.$route.query,t="问卷";return"create"==e.type?t="添加"+t:"update"==e.type?t="修改"+t:"look"==e.type&&(t="查看"+t),{type:e.type,titleName:t,id:e.id,questionList:[],activeName:[],form:{title:null,againCommitFlag:1,questionnaireQuestionList:[{questionnaireQuestionItemList:[{}]}],commitType:null},disabled:!1,questionStatus:!1,checkList:[]}},mounted:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("update"!=this.type&&"look"!=this.type){e.next=13;break}return e.prev=1,e.next=4,Object(b["b"])({id:this.id});case 4:t=e.sent,this.form=t.data,this.questionList=t.data,this.settemplateType(t.data.templateType),this.disabled=!t.data.modifyFlag,e.next=13;break;case 11:e.prev=11,e.t0=e["catch"](1);case 13:case"end":return e.stop()}}),e,this,[[1,11]])})));function t(){return e.apply(this,arguments)}return t}(),methods:{getForms:function(){var e=this.$refs;return[e.form].concat(Object(o["a"])(e.questions||[])).filter((function(e){return!!e})).map((function(e){return e.$refs.form||e}))},setResultSort:function(){var e=this.form;e.questionnaireQuestionList.forEach((function(e,t){e.sort=t;var i=e.questionnaireQuestionItemList;"textarea"!=e.type?i.forEach((function(e,t){e.sort=t})):i=[]}))},onSubmit:function(){var e=this,t=this.getForms();Promise.all(t.map(this.getFormPromise)).then(function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(i){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(s=i.every((function(e){return!!e})),console.log(s),!s){t.next=21;break}if(e.setResultSort(),t.prev=4,"create"!=e.type){t.next=11;break}return t.next=8,Object(b["a"])(e.form);case 8:e.$message.success("添加成功"),t.next=14;break;case 11:return t.next=13,Object(b["d"])(e.form);case 13:e.$message.success("修改成功");case 14:e.onCancel(),t.next=19;break;case 17:t.prev=17,t.t0=t["catch"](4);case 19:t.next=23;break;case 21:return e.$nextTick((function(){var e=document.getElementsByClassName("is-error");e[0].scrollIntoView({block:"center",behavior:"smooth"})})),t.abrupt("return",!1);case 23:case"end":return t.stop()}}),t,null,[[4,17]])})));return function(e){return t.apply(this,arguments)}}())},getFormPromise:function(e){return new Promise((function(t){e.validate((function(e){t(e)}))}))},onPreview:function(){var e=this,t=this.getForms();Promise.all(t.map(this.getFormPromise)).then(function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(i){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:s=i.every((function(e){return!!e})),s&&(e.questionStatus=!0);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},onReset:function(){var e=this;this.form={title:null,questionnaireQuestionList:[{questionnaireQuestionItemList:[{}]}]},setTimeout((function(){var t,i=e.getForms(),s=Object(a["a"])(i);try{for(s.s();!(t=s.n()).done;){var n=t.value;n.clearValidate()}}catch(r){s.e(r)}finally{s.f()}}),30)},addQuestionItem:function(e){e.push({questionnaireQuestionItemList:[{}]})},moveUp:function(e,t){console.log("向上移动"),e.splice.apply(e,[t,1].concat(Object(o["a"])(e.splice(t+1,1,e[t]))))},moveDown:function(e,t){console.log("向下移动"),e.splice.apply(e,[t-1,1].concat(Object(o["a"])(e.splice(t,1,e[t-1]))))},onDelete:function(e,t){"update"==this.type&&(this.form.delQuestionnaireQuestionIdList?this.form.delQuestionnaireQuestionIdList.push(e[t].id):this.form.delQuestionnaireQuestionIdList=[e[t].id]),e.splice(t,1)},onCancel:function(){this.$store.dispatch("delVisitedViews",this.$route),this.$router.push({path:"/operateManager/setQuestions"})},loadfrom:function(){var e,t=null===(e=this.$refs.question)||void 0===e?void 0:e.contentWindow;console.log(t,"questWindow"),t.postMessage({cmd:"getFormJson",data:Object(r["a"])({},this.form)},"*")},settemplateType:function(e){this.disabled||(this.$set(this.form,"templateType",e),-1==this.checkList.indexOf(e)?this.checkList.push(e):this.checkList.splice(this.checkList.indexOf(e),1),this.bindCheckBox())},bindCheckBox:function(){this.checkList.length>1&&this.checkList.splice(0,1),this.$set(this.form,"templateType",this.checkList[0]||null)},changeLoginFlag:function(e){e||(this.form.commitType=0)}}},fe=he,be=(i("7857"),Object(m["a"])(fe,s,n,!1,null,"128e9028",null));t["default"]=be.exports},5271:function(e,t,i){e.exports=i.p+"static/img/imageIcon.0df9fb39.png"},"72ee":function(e,t,i){e.exports=i.p+"static/img/img4.714f3773.png"},7857:function(e,t,i){"use strict";i("0595")},7933:function(e,t,i){e.exports=i.p+"static/img/banner1.af63c2a4.png"},"79af":function(e,t,i){},"7da1":function(e,t,i){},"7da8":function(e,t,i){"use strict";i("fc5f")},"7f7f7":function(e,t,i){e.exports=i.p+"static/img/banner3.424fd3dd.png"},"82aa":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARwAAADUCAMAAAB55my/AAAAn1BMVEUAAAAAxLgAwrYAwLcAwrYAxLEA4MABwbUBwbUAwrYAwrUBwbUCwrUBwrUBwrUCwbUAwrYBwrUBwbUBwrUBwbYAwrcBwbYCwrYAwrYBwbUBwrYAwrYAwrYAwrYAwrcAw7YAwrYBwrYBwbUBwbUAwrYAwrYBwbUBwbUBwrYAwrYAwrYBwbUCwrYCwrYAwrYAwrUBwrUAwrYAwrYAw7YBwbXLDagXAAAANHRSTlMABxQLIgQC9vIbGPym2rugEOHd0s41x5kf5ax5SUQ/LSay6tZWULbuv39y+JSNXmzChGNmiajGpQAABuxJREFUeNrt3dly2kAQheEWIBCIxeyr2cy+GGOf93+2xHEIOEhoBBrRg/u7TFUqVX9FCPWMBhJCCCGEEEIIIYQQQgghhBBCCCGE6SZpEn4afRI+WmiS8NHF2CbhrQb0SHgaAiiR8NQF4FgkvFTx25SEhwE+dUh4WOJTJkniXAF/vJLwuaqAGYn/2M9FfFl/JEgcpfvNMY7c4rv0OZTZtPG/9ez9iX68+rYNb+vRq/l9rOygP528v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e.exports=i.p+"static/img/banner2.24e60858.png"},"8f16":function(e,t,i){},"952f":function(e,t,i){"use strict";i("9bbc")},"9bbc":function(e,t,i){},"9f15":function(e,t,i){"use strict";i("7da1")},a487:function(e,t,i){e.exports=i.p+"static/img/icon_success4.9bb5480b.png"},a92a:function(e,t,i){"use strict";i.d(t,"c",(function(){return n})),i.d(t,"b",(function(){return r})),i.d(t,"a",(function(){return a})),i.d(t,"d",(function(){return o})),i.d(t,"e",(function(){return c})),i.d(t,"f",(function(){return u}));var s=i("829b"),n=function(e){return Object(s["a"])({url:"/api-web/questionnaireTopic/queryPage",params:e,method:"get"})},r=function(e){return Object(s["a"])({url:"/api-web/questionnaireTopic/getDetail",params:e,method:"get"})},a=function(e){return Object(s["a"])({url:"/api-web/questionnaireTopic/add",data:e,method:"post"})},o=function(e){return Object(s["a"])({url:"/api-web/questionnaireTopic/update",data:e,method:"post"})},c=function(e){return Object(s["a"])({url:"/api-web/questionnaireTopic/updateStatus",data:e,method:"post",requestType:"form"})},u=function(e){return Object(s["a"])({url:"/api-web/questionnaireUserResult/queryResultPage",data:e,params:e,method:"get"})}},b7d6:function(e,t,i){e.exports=i.p+"static/img/icon_success1.9cd421ec.png"},c89a2:function(e,t,i){"use strict";i("e26d")},dbd6:function(e,t,i){"use strict";i("79af")},dde5:function(e,t,i){e.exports=i.p+"static/img/img1.7f41e9f8.png"},e26d:function(e,t,i){},e6ce:function(e,t,i){e.exports=i.p+"static/img/img2.44529e2b.png"},e99e:function(e,t,i){"use strict";i("8f16")},f2fb:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAmBJREFUSEudlD1oFFEQgL/ZO0+CJIWIjYWmCWglWNpEwVgoBPGCRlIoiI1dtJYTtLQyRUCCBIIXErOIq40QW7ELBGytQoKnwfxc4h2XHdm3P7nb3ctustXdMvN982bmrXCER+3HA1juZeAScAGRc8Bp0AKwjbKE6JQMT87KYfg6N1LCOrmAcNPP04PTVe7lFhi49tkgN3IXJSzmEhh4q9cGDeBB5SIN4DVS+IbqWXCfoJyJClD+ZAoMvNFjo8Qrd7FkSMamF0Ogvhs9xd6xpX2JNA4UGHi9ZEMCDiJf5P7M9Xi79O3YOOir4H29q8DANwtplfu5wht5OPsoIZgavY2r74P3P1MFBr5OSuUd4cuszV2UCm67RCdHvOrHgyq+JgQGXtuzUW9bwjWMh0VDfklt4Vko0Ylb18D6hFAKpBMdmQa+2syqvLMrwjKq30H6Qa96w4kChAfRH62MlOjb9fc8fn/CqIx71Qb2fxZ0wKQaeE/dRlK2JfetigVa8lGefh4WAz++mb6KeU8SH5GIw7/eslTmm6Ivhj6g7vBRC03kefDWSlkqP5pmm/X5lVmUO+mCLtdEwy0Ks4I4D66rEdwXVAaL7GkV1fK+JPMLkqzHwsGqdcD9+2iGPFik2aqitEkO0TTBobSegEeCSLLTjJ0kl8ThxEYqvEMQSbZ280u8ynu3u8ITgkjyd7uK2z6TlJNY4rCyU5Z5f1u6PekfO28mtY0qhJJEmMOvRiY89QRhJWbwa+tBu9oE3rb8buWCHyiI2rVSa98uhw3NDc8UGMkgRfrPzyBaYsu6m9Xz+Cz+A2Dn+1l4CIgKAAAAAElFTkSuQmCC"},f9cc:function(e,t,i){e.exports=i.p+"static/img/icon_success2.15d10a60.png"},fc5f:function(e,t,i){},ff97:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC9FBMVEUAAADv7+/w8PDz8/Pu7u7u7u7v7+/p6enu7u7u7u7v7+/v7e/u7u7u7u7v7+/u7u7u7u7v7+/v7+/w8PDu7u7v7+/y8vL19fXy8vL////////u7u7u7u7v7+/v7+/t7e3u7u7w8PDv7+/4dtTt7e3v7+/v7+/u7u74ddL5dtP3dtP5dtP4ddT5eNP4ddP4ddP7dtXzdNHxyuZ8Rynu7u7/z60AAAD7upb/rI/////4dtP/fn7AdD/u7e3/zqyDKyX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