{"version":3,"sources":["webpack:///./src/views/testquestion.vue?65ec","webpack:///./src/store/entities/questiontpl.ts","webpack:///./src/components/ToggleSwitch.vue?e4ca","webpack:///./src/store/entities/questiontpldet.ts","webpack:///./src/components/ToggleSwitch.vue","webpack:///src/components/ToggleSwitch.vue","webpack:///./src/components/ToggleSwitch.vue?09d9","webpack:///./src/components/ToggleSwitch.vue?419f","webpack:///./src/views/testquestion.vue","webpack:///./src/views/testquestion.vue?4745","webpack:///./src/views/testquestion.vue?5f82","webpack:///./src/views/testquestion.vue?2fcc","webpack:///./src/store/entities/questiontpldetvalue.ts"],"names":["QuestionTpl","_Entity","_classCallCheck","_callSuper","arguments","_inherits","_createClass","Entity","QuestionTplDet","render","_vm","this","_c","_self","staticClass","class","isChecked","staticStyle","attrs","value","on","toggle","direction","length","_v","_s","_e","staticRenderFns","name","props","type","Boolean","default","text","String","data","computed","split","watch","val","$emit","methods","component","_setupProxy","ref","rules","updateQuestion","L","model","callback","$$v","$set","expression","desc","startTime","endTime","_f","handleMessage","isAppHomePrompt","handleMessageVerify","isVerifyPrompt","handleMessageShow","isShowError","directives","rawName","imagebox","pic","$event","handleView","isEdit","handleRemove","handleSuccess","handleUpload","_l","detList","item","index","key","delQuestionItem","sort","moveTop","moveBottom","movePre","moveNext","questionValueType","questionTplDetValueList","detvalue","valueindex","delQuestionItemValue","shortName","moveTopValue","moveBottomValue","movePreValue","moveNextValue","file","previewItemValueFile","delItemValueFile","uploadItemValueFile","addQuestionItemValue","setAnswer","addQuestionItem","disabled","saveVerify","visible","visibleImage","previewImage","answerBox","slot","answerTitle","answerDet","answer","answerParse","saveAnswer","saveFile","imgBox","questionDetValue","handleDetValueView","handleDetValueRemove","handleDetValueSuccess","handleDetValueUpload","TestQuestion","_AbpBase","_this","qid","inputtext","Array","answerIndex","picindex","picvalueindex","QuestionTplDetValue","required","message","trigger","that","det","$Message","warning","i","next","console","log","$forceUpdate","preDet","detValueList","newItem","isMust","status","push","splice","newItemValue","_this2","isVerifyAnswer","each","replace","j","eachValue","Util","changeDate","$refs","queryForm","validate","_ref","_asyncToGenerator","regeneratorRuntime","mark","_callee2","valid","wrap","_context2","prev","$Modal","confirm","title","content","okText","cancelText","onOk","_onOk","_callee","_context","loading","duration","questionType","questionTplDetList","$store","dispatch","then","res","destroy","id","success","catch","stop","apply","_x","onoff","fileExt","pop","toLocaleLowerCase","upload","$Notice","uploadDetValue","_uploadDetValue","_callee3","form","_context3","FormData","append","suffix","sent","_x2","_x3","_upload","_callee4","_context4","_x4","isJoin","_created","_callee5","domain","userId","_context5","abp","session","$route","query","undefined","ProviderKey","Property","location","reload","userid","getQuestionTplById","point","lotteryCount","voteCount","voteDayCount","created","AbpBase","__decorate","Component","components","ToggleSwitch"],"mappings":"kHAAA,W,sbCA6B,IAERA,EAAY,SAAAC,GAAA,SAAAD,IAAA,OAAAE,eAAA,KAAAF,GAAAG,EAAA,KAAAH,EAAAI,WAAA,OAAAC,eAAAL,EAAAC,GAAAK,eAAAN,GAAA,CAAQO,S,6DCFzC,W,sbCA6B,IAERC,EAAe,SAAAP,GAAA,SAAAO,IAAA,OAAAN,eAAA,KAAAM,GAAAL,EAAA,KAAAK,EAAAJ,WAAA,OAAAC,eAAAG,EAAAP,GAAAK,eAAAE,GAAA,CAAQD,S,kCCF5C,IAAIE,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,OAAO,CAACE,YAAY,cAAcC,MAAM,CAAC,iBAAmBL,EAAIM,WAAWC,YAAY,CAAC,SAAW,YAAYC,MAAM,CAAC,MAAQR,EAAIS,OAAOC,GAAG,CAAC,MAAQV,EAAIW,SAAS,CAAEX,EAAIM,WAAaN,EAAIY,UAAUC,OAAS,EAAGX,EAAG,MAAM,CAACK,YAAY,CAAC,MAAQ,OAAO,OAAS,OAAO,SAAW,WAAW,QAAU,QAAQ,cAAc,OAAO,MAAQ,OAAO,cAAc,SAAS,CAACP,EAA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C,kBAA0D,MAAvC/C,KAAKmC,eAAeY,kBAA4B/C,KAAKmC,eAAeY,iBAE5F/C,KAAKiD,iBAAwD,MAAtCjD,KAAKmC,eAAeyG,iBAA2B5I,KAAKmC,eAAeyG,gBAE1F5I,KAAKmD,cAAgD,MAAnCnD,KAAKmC,eAAegB,cAAwBnD,KAAKmC,eAAegB,cAElF,yBAAA+J,EAAA7B,UAAA0B,EAAA,UAED,SAAAmB,IAAA,OAAApB,EAAAxB,MAAA,KAAA7L,WAAA,OAAAyO,EAvDA,MA1e+B,CAASC,QAArBtH,EAAYuH,EAAA,CALhCC,eAAU,CACVC,WAAY,CACXC,wBAGmB1H,WCnBgX,I,wBCQlY9E,EAAY,eACd,EACAjC,EACAkB,GACA,EACA,KACA,WACA,MAIa,aAAAe,E,6bCnBc,IACRuF,EAAoB,SAAAhI,GAAA,SAAAgI,IAAA,OAAA/H,eAAA,KAAA+H,GAAA9H,EAAA,KAAA8H,EAAA7H,WAAA,OAAAC,eAAA4H,EAAAhI,GAAAK,eAAA2H,GAAA,CAAQ1H","file":"js/chunk-4b8f222e.a73045cf.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./testquestion.vue?vue&type=style&index=0&id=a5514ea0&prod&scoped=true&lang=css\"","import Entity from './entity'\r\nimport QuestionTplDet from './questiontpldet'\nexport default class QuestionTpl extends Entity{\r\n\tid:number;\n name:string;\r\n\tdesc:string;\r\n\tluckDrawTplId:number;\r\n\tluckDrawTpl:object;\r\n\tpic:string;\r\n\tquestionType:number;\r\n\tpoint:number;\r\n\tlotteryCount:number;\r\n\tisContainsExternal:number;\r\n\torgId:Array;\r\n\tstatus:string;\r\n\tstartTime:Date;\r\n\tendTime:Date;\r\n\tvoteCount:number;\r\n\tvoteDayCount:number;\r\n\tquestionUserName:string;\r\n\tquestionTplDetList:Array;\r\n\t\r\n\tisAppHomePrompt:boolean;\r\n\tisVerifyAnswer:boolean;\r\n\tisShowError:boolean;\r\n\tusers:Array;\r\n\torganizations:Array;\r\n\tcreateUser:object;\n}","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToggleSwitch.vue?vue&type=style&index=0&id=d8530270&prod&lang=css\"","import Entity from './entity'\r\nimport QuestionTplDetValue from './questiontpldetvalue'\nexport default class QuestionTplDet extends Entity{\r\n\tid:number;\n name:string;\t\r\n\tquestionValueType:number;\r\n\tsort:number;\r\n\tisMust:number;\r\n\tdetTpl:string;\r\n\tanswer:string;\r\n\tanswerParse:string;\r\n\tstatus:string;\r\n\tcontent:string;\r\n\tcontentlist:Array;\r\n\tquestionTplDetValueList:Array;\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('span',{staticClass:\"weui-switch\",class:{'weui-switch-on' : _vm.isChecked},staticStyle:{\"position\":\"relative\"},attrs:{\"value\":_vm.value},on:{\"click\":_vm.toggle}},[(_vm.isChecked && _vm.direction.length > 0)?_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"100%\",\"position\":\"absolute\",\"padding\":\"0 8px\",\"line-height\":\"20px\",\"color\":\"#FFF\",\"user-select\":\"none\"}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.direction[0])+\"\\n\\t\\t\")]):_vm._e(),(!_vm.isChecked && _vm.direction.length > 0)?_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"100%\",\"position\":\"absolute\",\"padding\":\"0 8px\",\"right\":\"2px\",\"line-height\":\"22px\",\"color\":\"#7A7A7A\",\"text-align\":\"right\",\"user-select\":\"none\"}},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.direction[1])+\"\\n\\t\\t\")]):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToggleSwitch.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToggleSwitch.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ToggleSwitch.vue?vue&type=template&id=d8530270\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nimport style0 from \"./ToggleSwitch.vue?vue&type=style&index=0&id=d8530270&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"content questionContent\"},[_c('div',{staticClass:\"main\"},[_c('Form',{ref:\"queryForm\",attrs:{\"rules\":_vm.rules,\"model\":_vm.updateQuestion,\"label-width\":90,\"label-position\":\"left\",\"inline\":\"\"}},[_c('FormItem',{staticStyle:{\"width\":\"100%\",\"font-size\":\"14px\"},attrs:{\"label\":_vm.L('试卷名称'),\"prop\":\"name\"}},[_c('Input',{staticStyle:{\"width\":\"100%\"},attrs:{\"placeholder\":_vm.L('试卷名称')},model:{value:(_vm.updateQuestion.name),callback:function ($$v) {_vm.$set(_vm.updateQuestion, \"name\", $$v)},expression:\"updateQuestion.name\"}})],1),_c('FormItem',{staticStyle:{\"width\":\"100%\"},attrs:{\"label\":_vm.L('试卷描述'),\"prop\":\"desc\"}},[_c('Input',{staticStyle:{\"width\":\"100%\"},attrs:{\"placeholder\":_vm.L('试卷描述')},model:{value:(_vm.updateQuestion.desc),callback:function ($$v) {_vm.$set(_vm.updateQuestion, \"desc\", $$v)},expression:\"updateQuestion.desc\"}})],1),_c('FormItem',{staticStyle:{\"width\":\"100%\"},attrs:{\"label\":_vm.L('开始时间'),\"prop\":\"startTime\"}},[_c('DatePicker',{staticStyle:{\"width\":\"100%\",\"margin-top\":\"5px\"},attrs:{\"type\":\"datetime\",\"format\":\"yyyy-MM-dd HH:mm:ss\",\"placement\":\"bottom-end\",\"placeholder\":_vm.L('选择时间')},model:{value:(_vm.updateQuestion.startTime),callback:function ($$v) {_vm.$set(_vm.updateQuestion, \"startTime\", $$v)},expression:\"updateQuestion.startTime\"}})],1),_c('FormItem',{staticStyle:{\"width\":\"100%\"},attrs:{\"label\":_vm.L('结束时间'),\"prop\":\"endTime\"}},[_c('DatePicker',{staticStyle:{\"width\":\"100%\",\"margin-top\":\"5px\"},attrs:{\"type\":\"datetime\",\"format\":\"yyyy-MM-dd HH:mm:ss\",\"placement\":\"bottom-end\",\"placeholder\":_vm.L('选择时间')},model:{value:(_vm.updateQuestion.endTime),callback:function ($$v) {_vm.$set(_vm.updateQuestion, \"endTime\", $$v)},expression:\"updateQuestion.endTime\"}})],1),_c('FormItem',{staticStyle:{\"width\":\"100%\"},attrs:{\"label\":_vm.L('首页展示')}},[_c('toggle-switch',{staticStyle:{\"margin-top\":\"4px\"},attrs:{\"text\":_vm._f(\"L\")(_vm.L('是'),'否')},on:{\"change\":_vm.handleMessage},model:{value:(_vm.isAppHomePrompt),callback:function ($$v) {_vm.isAppHomePrompt=$$v},expression:\"isAppHomePrompt\"}})],1),_c('FormItem',{staticStyle:{\"width\":\"100%\"},attrs:{\"label\":_vm.L('是否验证')}},[_c('toggle-switch',{staticStyle:{\"margin-top\":\"4px\"},attrs:{\"text\":_vm._f(\"L\")(_vm.L('是'),'否')},on:{\"change\":_vm.handleMessageVerify},model:{value:(_vm.isVerifyPrompt),callback:function ($$v) {_vm.isVerifyPrompt=$$v},expression:\"isVerifyPrompt\"}})],1),(_vm.isVerifyPrompt==true)?_c('FormItem',{staticStyle:{\"width\":\"100%\",\"margin-bottom\":\"0\"},attrs:{\"label\":_vm.L('是否显示正确答案')}},[_c('toggle-switch',{staticStyle:{\"margin-top\":\"4px\"},attrs:{\"text\":_vm._f(\"L\")(_vm.L('是'),'否')},on:{\"change\":_vm.handleMessageShow},model:{value:(_vm.isShowError),callback:function ($$v) {_vm.isShowError=$$v},expression:\"isShowError\"}})],1):_vm._e(),(_vm.isVerifyPrompt==true)?_c('div',{staticStyle:{\"line-height\":\"1.5\",\"margin-bottom\":\"24px\"}},[_vm._v(_vm._s(_vm.L('默认 用户提交时会验证答案,如是错误的,无法提交,直到全部正确才可以提交'))),_c('br'),_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.L('开启后,用户提交时会验证答案,如是错误的,可提交,但会显示具体错了哪几题,显示正确答案')))]):_vm._e(),_c('FormItem',{attrs:{\"label\":_vm.L('展示图')}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.imagebox),expression:\"imagebox\"}],staticClass:\"imgbox\"},[_c('img',{attrs:{\"src\":_vm.updateQuestion.pic},on:{\"click\":function($event){return _vm.handleView()}}}),(_vm.isEdit)?_c('Icon',{staticClass:\"imgdelIcon\",attrs:{\"type\":\"md-add-circle\"},on:{\"click\":function($event){return _vm.handleRemove()}}}):_vm._e()],1),(_vm.isEdit)?_c('Upload',{ref:\"upload\",staticStyle:{\"display\":\"inline-block\",\"width\":\"60px\",\"vertical-align\":\"middle\"},attrs:{\"show-upload-list\":false,\"on-success\":_vm.handleSuccess,\"format\":['jpg','jpeg','png'],\"max-size\":2048,\"before-upload\":_vm.handleUpload,\"type\":\"drag\",\"action\":\"\"}},[_c('div',{staticStyle:{\"width\":\"60px\",\"height\":\"60px\",\"line-height\":\"60px\",\"vertical-align\":\"middle\"}},[_c('Icon',{attrs:{\"type\":\"ios-camera\",\"size\":\"20\"}})],1)]):_vm._e()],1)],1),_c('div',_vm._l((_vm.detList),function(item,index){return _c('div',{key:index,staticClass:\"faultInforWrap parentInforWrap\"},[(_vm.isEdit)?_c('Icon',{staticClass:\"parentDeleteIcon\",attrs:{\"type\":\"md-add-circle\"},on:{\"click\":function($event){return _vm.delQuestionItem(index)}}}):_vm._e(),_c('div',{staticClass:\"faultInforItem\"},[_c('div',{staticClass:\"faultInforContent\"},[_c('div',{staticClass:\"inputLabel\"},[_vm._v(_vm._s(_vm.L('序号')))]),_c('span',{staticStyle:{\"font-size\":\"14px\"}},[_vm._v(_vm._s(item.sort))])])]),_c('div',{staticClass:\"faultInforItem\"},[_c('div',{staticClass:\"faultInforContent\"},[_c('div',{staticClass:\"inputLabel\"},[_vm._v(_vm._s(_vm.L('题目')))]),_c('Input',{staticClass:\"width80\",attrs:{\"placeholder\":_vm.L('题目')},model:{value:(item.name),callback:function ($$v) {_vm.$set(item, \"name\", $$v)},expression:\"item.name\"}})],1)]),_c('div',{staticClass:\"faultInforItem\"},[_c('div',{staticClass:\"faultInforContent\"},[_c('div',{staticClass:\"inputLabel\"},[_vm._v(_vm._s(_vm.L('排序')))]),_c('div',{staticClass:\"ivu-input-wrapper sortbox\",staticStyle:{\"width\":\"75%\"}},[_c('i',{staticClass:\"icon-arrow-top\",attrs:{\"data\":\"moveTop\"},on:{\"click\":function($event){return _vm.moveTop(index)}}}),_c('i',{staticClass:\"icon-arrow-bottom\",attrs:{\"data\":\"moveBottom\"},on:{\"click\":function($event){return _vm.moveBottom(index)}}}),_c('i',{staticClass:\"icon-arrow-pre\",attrs:{\"data\":\"movePre\"},on:{\"click\":function($event){return _vm.movePre(index)}}}),_c('i',{staticClass:\"icon-arrow-next\",attrs:{\"data\":\"moveNext\"},on:{\"click\":function($event){return _vm.moveNext(index)}}})])])]),_c('div',{staticClass:\"faultInforItem\"},[_c('div',{staticClass:\"faultInforContent\"},[_c('div',{staticClass:\"inputLabel\"},[_vm._v(_vm._s(_vm.L('题目类型')))]),_c('RadioGroup',{staticClass:\"width80\",model:{value:(item.questionValueType),callback:function ($$v) {_vm.$set(item, \"questionValueType\", $$v)},expression:\"item.questionValueType\"}},[_c('Radio',{attrs:{\"label\":1}},[_vm._v(_vm._s(_vm.L('单选')))]),_c('Radio',{attrs:{\"label\":2}},[_vm._v(_vm._s(_vm.L('多选')))]),_c('Radio',{attrs:{\"label\":3}},[_vm._v(_vm._s(_vm.L('输入框')))]),_c('Radio',{attrs:{\"label\":5}},[_vm._v(_vm._s(_vm.L('多行输入框')))])],1)],1)]),(item.questionTplDetValueList.length>0)?_c('div',{staticClass:\"faultInforItem\"},_vm._l((item.questionTplDetValueList),function(detvalue,valueindex){return _c('div',{key:valueindex,staticClass:\"faultInforWrap childInforWrap\"},[(_vm.isEdit)?_c('Icon',{staticClass:\"childDeleteIcon\",attrs:{\"type\":\"md-add-circle\"},on:{\"click\":function($event){return _vm.delQuestionItemValue(index,valueindex)}}}):_vm._e(),_c('div',{staticClass:\"faultInforItem\"},[_c('div',{staticClass:\"faultInforContent\"},[_c('div',{staticClass:\"inputLabel\"},[_vm._v(_vm._s(_vm.L('排序')))]),_c('span',[_vm._v(_vm._s(detvalue.sort))])])]),_c('div',{staticClass:\"faultInforItem\"},[_c('div',{staticClass:\"faultInforContent\"},[_c('div',{staticClass:\"inputLabel\"},[_vm._v(_vm._s(_vm.L('短称')))]),_c('Input',{staticClass:\"width80\",attrs:{\"placeholder\":_vm.L('短称 如 A')},model:{value:(detvalue.shortName),callback:function ($$v) {_vm.$set(detvalue, \"shortName\", $$v)},expression:\"detvalue.shortName\"}})],1)]),_c('div',{staticClass:\"faultInforItem\"},[_c('div',{staticClass:\"faultInforContent\"},[_c('div',{staticClass:\"inputLabel\"},[_vm._v(_vm._s(_vm.L('名称')))]),_c('Input',{staticClass:\"width80\",attrs:{\"placeholder\":_vm.L('名称')},model:{value:(detvalue.name),callback:function ($$v) {_vm.$set(detvalue, \"name\", $$v)},expression:\"detvalue.name\"}})],1)]),_c('div',{staticClass:\"faultInforItem\"},[_c('div',{staticClass:\"faultInforContent\"},[_c('div',{staticClass:\"inputLabel\"},[_vm._v(_vm._s(_vm.L('排序')))]),_c('div',{staticClass:\"ivu-input-wrapper sortbox\",staticStyle:{\"width\":\"75%\"}},[_c('i',{staticClass:\"icon-arrow-top\",attrs:{\"data\":\"moveTop\"},on:{\"click\":function($event){return _vm.moveTopValue(index,valueindex)}}}),_c('i',{staticClass:\"icon-arrow-bottom\",attrs:{\"data\":\"moveBottom\"},on:{\"click\":function($event){return _vm.moveBottomValue(index,valueindex)}}}),_c('i',{staticClass:\"icon-arrow-pre\",attrs:{\"data\":\"movePre\"},on:{\"click\":function($event){return _vm.movePreValue(index,valueindex)}}}),_c('i',{staticClass:\"icon-arrow-next\",attrs:{\"data\":\"moveNext\"},on:{\"click\":function($event){return _vm.moveNextValue(index,valueindex)}}})])])]),_c('div',{staticClass:\"faultInforItem\"},[_c('div',{staticClass:\"faultInforContent\"},[_c('div',{staticClass:\"inputLabel\"},[_vm._v(_vm._s(_vm.L('上传图片')))]),_c('div',{staticClass:\"addImage\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(detvalue.file!=''?true:false),expression:\"detvalue.file!=''?true:false\"}],staticClass:\"imgbox\"},[_c('img',{attrs:{\"src\":detvalue.file},on:{\"click\":function($event){return _vm.previewItemValueFile(index,valueindex)}}}),(_vm.isEdit)?_c('Icon',{staticClass:\"imgdelIcon\",attrs:{\"type\":\"md-add-circle\"},on:{\"click\":function($event){return _vm.delItemValueFile(index,valueindex)}}}):_vm._e()],1),(_vm.isEdit)?_c('div',{staticClass:\"ivu-upload ivu-upload-drag\",staticStyle:{\"width\":\"60px\",\"height\":\"60px\",\"line-height\":\"60px\",\"display\":\"inline-block\",\"vertical-align\":\"middle\"},on:{\"click\":function($event){return _vm.uploadItemValueFile(index,valueindex)}}},[_c('Icon',{attrs:{\"type\":\"ios-camera\",\"size\":\"20\"}})],1):_vm._e()])])])],1)}),0):_vm._e(),_c('div',{staticStyle:{\"margin-top\":\"15px\"}},[(_vm.isEdit)?_c('Button',{attrs:{\"type\":\"primary\",\"size\":\"default\"},on:{\"click\":function($event){return _vm.addQuestionItemValue(index)}}},[_vm._v(_vm._s(_vm.L('添加选项')))]):_vm._e(),_c('Button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"type\":\"primary\",\"size\":\"default\"},on:{\"click\":function($event){return _vm.setAnswer(index)}}},[_vm._v(_vm._s(_vm.L('答案解析')))])],1)],1)}),0),(_vm.isEdit)?_c('div',{staticStyle:{\"margin-top\":\"15px\"}},[_c('Button',{attrs:{\"type\":\"primary\",\"size\":\"large\"},on:{\"click\":function($event){return _vm.addQuestionItem()}}},[_vm._v(_vm._s(_vm.L('添加明细项')))])],1):_vm._e(),(_vm.isEdit)?_c('div',{staticStyle:{\"margin-top\":\"15px\"}},[_c('Button',{attrs:{\"type\":\"primary\",\"long\":\"\",\"size\":\"large\",\"disabled\":_vm.disabled},on:{\"click\":function($event){return _vm.saveVerify()}}},[_vm._v(_vm._s(_vm.L('确定'))+\"\\n\\t\\t\\t\\t\")])],1):_vm._e()],1)]),_c('Modal',{staticClass:\"newImgBox\",attrs:{\"closable\":false,\"footer-hide\":true,\"title\":\"View Image\"},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[(_vm.visible)?_c('img',{staticStyle:{\"width\":\"100%\"},attrs:{\"src\":_vm.updateQuestion.pic}}):_vm._e()]),_c('Modal',{staticClass:\"newImgBox\",attrs:{\"closable\":false,\"footer-hide\":true,\"title\":\"View Image\"},model:{value:(_vm.visibleImage),callback:function ($$v) {_vm.visibleImage=$$v},expression:\"visibleImage\"}},[(_vm.visibleImage)?_c('img',{staticStyle:{\"width\":\"100%\"},attrs:{\"src\":_vm.previewImage}}):_vm._e()]),_c('Modal',{model:{value:(_vm.answerBox),callback:function ($$v) {_vm.answerBox=$$v},expression:\"answerBox\"}},[_c('p',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(_vm._s(_vm.answerTitle))])]),_c('Form',{attrs:{\"model\":_vm.answerDet,\"label-width\":80,\"label-position\":\"left\",\"inline\":\"\"}},[_c('FormItem',{staticStyle:{\"width\":\"100%\"},attrs:{\"label\":_vm.L('答案') ( _vm.L('短称') )}},[_c('Input',{attrs:{\"placeholder\":_vm.L('选择项短称')},model:{value:(_vm.answerDet.answer),callback:function ($$v) {_vm.$set(_vm.answerDet, \"answer\", $$v)},expression:\"answerDet.answer\"}}),_c('span',{staticClass:\"tips\"},[_vm._v(_vm._s(_vm.L('请填写选项短称')))])],1),_c('FormItem',{staticStyle:{\"width\":\"100%\"},attrs:{\"label\":_vm.L('答案解析')}},[_c('Input',{attrs:{\"type\":\"textarea\",\"placeholder\":_vm.L('答案解析')},model:{value:(_vm.answerDet.answerParse),callback:function ($$v) {_vm.$set(_vm.answerDet, \"answerParse\", $$v)},expression:\"answerDet.answerParse\"}})],1)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('button',{staticClass:\"ivu-btn ivu-btn-text ivu-btn-large\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.answerBox=false}}},[_c('span',[_vm._v(_vm._s(_vm.L('取消')))])]),(_vm.isEdit)?_c('button',{staticClass:\"ivu-btn ivu-btn-primary ivu-btn-large\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.saveAnswer()}}},[_c('span',[_vm._v(_vm._s(_vm.L('确定')))])]):_vm._e()])],1),_c('Modal',{on:{\"on-ok\":function($event){return _vm.saveFile()}},model:{value:(_vm.imgBox),callback:function ($$v) {_vm.imgBox=$$v},expression:\"imgBox\"}},[_c('p',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(_vm._s(_vm.L('上传文件')))])]),_c('Form',{ref:\"queryForm\",attrs:{\"model\":_vm.questionDetValue,\"label-width\":80,\"label-position\":\"left\",\"inline\":\"\"}},[_c('FormItem',{attrs:{\"label\":_vm.L('展示图')}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.questionDetValue.file!=''?true:false),expression:\"questionDetValue.file!=''?true:false\"}],staticClass:\"imgbox\"},[_c('img',{attrs:{\"src\":_vm.questionDetValue.file},on:{\"click\":function($event){return _vm.handleDetValueView()}}}),_c('Icon',{staticClass:\"imgdelIcon\",attrs:{\"type\":\"md-add-circle\"},on:{\"click\":function($event){return _vm.handleDetValueRemove()}}})],1),_c('Upload',{ref:\"upload\",staticStyle:{\"display\":\"inline-block\",\"width\":\"60px\",\"vertical-align\":\"middle\"},attrs:{\"show-upload-list\":false,\"on-success\":_vm.handleDetValueSuccess,\"format\":['jpg','jpeg','png'],\"max-size\":2048,\"before-upload\":_vm.handleDetValueUpload,\"type\":\"drag\",\"action\":\"\"}},[_c('div',{staticStyle:{\"width\":\"60px\",\"height\":\"60px\",\"line-height\":\"60px\",\"vertical-align\":\"middle\"}},[_c('Icon',{attrs:{\"type\":\"ios-camera\",\"size\":\"20\"}})],1)])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\timport {\r\n\t\tComponent,\r\n\t\tVue,\r\n\t\tInject,\r\n\t\tProp,\r\n\t\tWatch\r\n\t} from 'vue-property-decorator';\r\n\timport Util from '@/lib/util';\r\n\timport AbpBase from '@/lib/abpbase';\r\n\timport QuestionTpl from '@/store/entities/questiontpl'\r\n\timport QuestionTplDet from '@/store/entities/questiontpldet'\r\n\timport QuestionTplDetValue from '@/store/entities/questiontpldetvalue'\r\n\timport ToggleSwitch from '@/components/ToggleSwitch.vue'\r\n\t@Component({\r\n\t\tcomponents: {\r\n\t\t\tToggleSwitch\r\n\t\t}\r\n\t})\r\n\texport default class TestQuestion extends AbpBase {\r\n\t\tqid:number=0;\r\n\t\tupdateQuestion: QuestionTpl = new QuestionTpl();\r\n\t\timagebox: boolean = false;\r\n\t\tvisible: boolean = false;\r\n\t\tinputtext:string=\"\";\r\n\t\tisAppHomePrompt:boolean=false;\r\n\t\tdetList: Array < QuestionTplDet >= new Array < QuestionTplDet > ();\r\n\t\tisVerifyPrompt:boolean=false;\r\n\t\tisShowError:boolean=false;\r\n\t\tdisabled :boolean=false;\r\n\t\tanswerBox:boolean = false;\r\n\t\tanswerIndex:number=0;\r\n\t\tanswerDet:QuestionTplDet=new QuestionTplDet();\r\n\t\tanswerTitle:string=\"\";\r\n\t\timgBox:boolean=false;\r\n\t\tpicindex:number=0;\t\r\n\t\tpicvalueindex:number=0;\r\n\t\tquestionDetValue:QuestionTplDetValue=new QuestionTplDetValue();\t\t\r\n\t\tpreviewImage:string=\"\";\r\n\t\tvisibleImage:boolean=false;\r\n\t\tisEdit:boolean=true;\r\n\t\t\r\n\t\tmoveTop(index){\r\n\t\t\tvar that=this;\r\n\t\t\tvar det=that.detList[index];\r\n\t\t\tif(det.sort==1){\r\n\t\t\t\tthat.$Message.warning(this.L('已经在第一个了'));\r\n\t\t\t}\r\n\t\t\telse{\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t//3到1 先把3换到2 再把2换成1\r\n\t\t\t\tfor(var i=that.detList.length-1;i>=0;i--){\t\t\t\t\t\r\n\t\t\t\t\tif(that.detList[i].sortdet.sort){\r\n\t\t\t\t\t\tvar sort=that.detList[i].sort;//2\r\n\t\t\t\t\t\tvar next=that.detList[i-1];\t\t\t\t\t\t\r\n\t\t\t\t\t\tthat.detList[i-1]=that.detList[i];\r\n\t\t\t\t\t\tthat.detList[i-1].sort=next.sort;\r\n\t\t\t\t\t\tthat.detList[i]=next;\r\n\t\t\t\t\t\tthat.detList[i].sort=sort;\r\n\t\t\t\t\t\tconsole.log(that.detList);\r\n\t\t\t\t\t\tthis.$forceUpdate();\r\n\t\t\t\t\t}\t\t\t\t\t\r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t\tthis.$forceUpdate();\r\n\t\t\t}\r\n\t\t}\r\n\t\tmovePre(index){\r\n\t\t\tvar that=this;\r\n\t\t\tvar det=that.detList[index];\t\t\t\r\n\t\t\tif(det.sort==1){\r\n\t\t\t\tthat.$Message.warning(this.L('已经在第一个了'));\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tvar sort=det.sort;\r\n\t\t\t\tvar preDet=that.detList[index-1];\r\n\t\t\t\tthat.detList[index-1]=det;\r\n\t\t\t\tthat.detList[index-1].sort=preDet.sort;\r\n\t\t\t\tthat.detList[index]=preDet;\r\n\t\t\t\tthat.detList[index].sort=sort;\t\t\t\t\r\n\t\t\t\tthis.$forceUpdate();\r\n\t\t\t}\r\n\t\t}\r\n\t\tmoveNext(index){\r\n\t\t\tvar that=this;\r\n\t\t\tvar det=that.detList[index];\r\n\t\t\tif(det.sort==that.detList.length){\r\n\t\t\t\tthat.$Message.warning(this.L('已经在最后一个了'));\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tvar sort=det.sort;\r\n\t\t\t\tvar preDet=that.detList[index+1];\r\n\t\t\t\tthat.detList[index+1]=det;\r\n\t\t\t\tthat.detList[index+1].sort=preDet.sort;\r\n\t\t\t\tthat.detList[index]=preDet;\r\n\t\t\t\tthat.detList[index].sort=sort;\t\t\t\t\r\n\t\t\t\tthis.$forceUpdate();\r\n\t\t\t}\r\n\t\t}\r\n\t\tmoveTopValue(index,valueindex){\r\n\t\t\tvar that=this;\r\n\t\t\tvar detvalue=that.detList[index].questionTplDetValueList[valueindex];\r\n\t\t\tvar detValueList=that.detList[index].questionTplDetValueList;\r\n\t\t\tif(detvalue.sort==1){\r\n\t\t\t\tthat.$Message.warning(this.L('已经在第一个了'));\r\n\t\t\t}\r\n\t\t\telse{\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t//3到1 先把3换到2 再把2换成1\r\n\t\t\t\tfor(var i=detValueList.length-1;i>=0;i--){\t\t\t\t\t\r\n\t\t\t\t\tif(detValueList[i].sortdetvalue.sort){\r\n\t\t\t\t\t\tvar sort=detValueList[i].sort;//2\r\n\t\t\t\t\t\tvar next=detValueList[i-1];\t\t\t\t\t\t\r\n\t\t\t\t\t\tdetValueList[i-1]=detValueList[i];\r\n\t\t\t\t\t\tdetValueList[i-1].sort=next.sort;\r\n\t\t\t\t\t\tdetValueList[i]=next;\r\n\t\t\t\t\t\tdetValueList[i].sort=sort;\r\n\t\t\t\t\t\tthis.$forceUpdate();\r\n\t\t\t\t\t}\t\t\t\t\t\r\n\t\t\t\t}\t\r\n\t\t\t\tthat.detList[index].questionTplDetValueList=detValueList;\r\n\t\t\t\tthis.$forceUpdate();\r\n\t\t\t}\r\n\t\t}\r\n\t\tmovePreValue(index,valueindex){\r\n\t\t\tvar that=this;\r\n\t\t\tvar detvalue=that.detList[index].questionTplDetValueList[valueindex];\r\n\t\t\tvar detValueList=that.detList[index].questionTplDetValueList;\t\t\t\r\n\t\t\tif(detvalue.sort==1){\r\n\t\t\t\tthat.$Message.warning(this.L('已经在第一个了'));\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tvar sort=detvalue.sort;\r\n\t\t\t\tvar preDet=detValueList[valueindex-1];\r\n\t\t\t\tdetValueList[valueindex-1]=detvalue;\r\n\t\t\t\tdetValueList[valueindex-1].sort=preDet.sort;\r\n\t\t\t\tdetValueList[valueindex]=preDet;\r\n\t\t\t\tdetValueList[valueindex].sort=sort;\t\r\n\t\t\t\tthat.detList[index].questionTplDetValueList=detValueList;\r\n\t\t\t\tthis.$forceUpdate();\r\n\t\t\t}\r\n\t\t}\r\n\t\tmoveNextValue(index,valueindex){\r\n\t\t\tvar that=this;\t\t\t\r\n\t\t\tvar detvalue=that.detList[index].questionTplDetValueList[valueindex];\r\n\t\t\tvar detValueList=that.detList[index].questionTplDetValueList;\r\n\t\t\tif(detvalue.sort==detValueList.length){\r\n\t\t\t\tthat.$Message.warning(this.L('已经在最后一个了'));\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tvar sort=detvalue.sort;\r\n\t\t\t\tvar preDet=detValueList[valueindex+1];\r\n\t\t\t\tdetValueList[valueindex+1]=detvalue;\r\n\t\t\t\tdetValueList[valueindex+1].sort=preDet.sort;\r\n\t\t\t\tdetValueList[valueindex]=preDet;\r\n\t\t\t\tdetValueList[valueindex].sort=sort;\t\r\n\t\t\t\t\t\r\n\t\t\t\tthat.detList[index].questionTplDetValueList=detValueList;\r\n\t\t\t\tthis.$forceUpdate();\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tsetAnswer(index){\r\n\t\t\tvar that = this;\r\n\t\t\tthat.answerIndex=index;\r\n\t\t\tthat.answerDet = that.detList[index];\r\n\t\t\tthat.answerTitle=that.answerDet.name;\r\n\t\t\tthat.answerBox=true;\r\n\t\t}\r\n\t\tsaveAnswer(){\r\n\t\t\tthis.detList[this.answerIndex]=this.answerDet;\r\n\t\t\tthis.answerBox=false;\r\n\t\t}\r\n\t\t\r\n\t\taddQuestionItem() {\r\n\t\t\tvar that = this;\r\n\t\t\tvar newItem = new QuestionTplDet();\r\n\t\t\tnewItem.sort = that.detList.length + 1;\r\n\t\t\tnewItem.name = \"\";\r\n\t\t\tnewItem.questionValueType = 1;\r\n\t\t\tnewItem.isMust = 0;\r\n\t\t\tnewItem.answer = \"\";\r\n\t\t\tnewItem.answerParse = \"\";\r\n\t\t\tnewItem.status = \"OP\";\r\n\t\t\tnewItem.questionTplDetValueList = new Array < QuestionTplDetValue > ();\r\n\t\t\tthat.detList.push(newItem);\r\n\t\t\tthat.$forceUpdate();\r\n\t\t}\r\n\t\tdelQuestionItem(index) {\r\n\t\t\tvar that = this;\r\n\t\t\t(that.detList as Array < Object > ).splice(index, 1);\r\n\t\t\tfor (var i = 0; i < that.detList.length; i++) {\r\n\t\t\t\tthat.detList[i].sort = (i + 1);\r\n\t\t\t}\r\n\t\t\tthat.$forceUpdate();\r\n\t\t}\r\n\t\taddQuestionItemValue(index) {\r\n\t\t\tvar that = this;\r\n\t\t\tvar newItem = that.detList[index] as QuestionTplDet;\r\n\t\t\tvar newItemValue = new QuestionTplDetValue();\r\n\t\t\tnewItemValue.shortName = \"\";\r\n\t\t\tnewItemValue.name = \"\";\r\n\t\t\tnewItemValue.file = \"\";\r\n\t\t\tnewItemValue.status = \"OP\";\r\n\t\t\tif (newItem.questionTplDetValueList != null) {\r\n\t\t\t\tnewItemValue.sort = newItem.questionTplDetValueList.length + 1;\r\n\t\t\t\tif(newItemValue.sort==1){\r\n\t\t\t\t\tnewItemValue.shortName = \"A\";\r\n\t\t\t\t}\r\n\t\t\t\telse if(newItemValue.sort==2){\r\n\t\t\t\t\tnewItemValue.shortName = \"B\";\r\n\t\t\t\t}\r\n\t\t\t\telse if(newItemValue.sort==3){\r\n\t\t\t\t\tnewItemValue.shortName = \"C\";\r\n\t\t\t\t}\r\n\t\t\t\telse if(newItemValue.sort==4){\r\n\t\t\t\t\tnewItemValue.shortName = \"D\";\r\n\t\t\t\t}\r\n\t\t\t\tnewItem.questionTplDetValueList.push(newItemValue);\r\n\t\t\t} else {\r\n\t\t\t\tnewItemValue.sort = 1;\r\n\t\t\t\tnewItemValue.shortName = \"A\";\r\n\t\t\t\tnewItem.questionTplDetValueList = new Array < QuestionTplDetValue > ();\r\n\t\t\t\tnewItem.questionTplDetValueList.push(newItemValue);\r\n\t\t\t}\r\n\t\t\tthat.$forceUpdate();\r\n\t\t}\r\n\t\tdelQuestionItemValue(index, valueindex) {\r\n\t\t\tvar that = this;\r\n\t\t\tvar newItem = that.detList[index];\r\n\t\t\tnewItem.questionTplDetValueList.splice(valueindex, 1);\r\n\t\t\tfor (var i = 0; i < newItem.questionTplDetValueList.length; i++) {\r\n\t\t\t\tnewItem.questionTplDetValueList[i].sort = (i + 1);\r\n\t\t\t\tif((i + 1)==1){\r\n\t\t\t\t\tnewItem.questionTplDetValueList[i].shortName = \"A\";\r\n\t\t\t\t}\r\n\t\t\t\telse if((i + 1)==2){\r\n\t\t\t\t\tnewItem.questionTplDetValueList[i].shortName = \"B\";\r\n\t\t\t\t}\r\n\t\t\t\telse if((i + 1)==3){\r\n\t\t\t\t\tnewItem.questionTplDetValueList[i].shortName = \"C\";\r\n\t\t\t\t}\r\n\t\t\t\telse if((i + 1)==4){\r\n\t\t\t\t\tnewItem.questionTplDetValueList[i].shortName = \"D\";\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tthat.$forceUpdate();\r\n\t\t}\r\n\t\t\r\n\t\tsaveFile(){\r\n\t\t\tvar that=this;\r\n\t\t\tvar newItem = that.detList[that.picindex];\r\n\t\t\tnewItem.questionTplDetValueList[that.picvalueindex]=that.questionDetValue;\r\n\t\t}\r\n\t\tuploadItemValueFile(index,valueindex){\r\n\t\t\tvar that = this;\r\n\t\t\tvar newItem = that.detList[index];\r\n\t\t\tthat.picindex=index;\r\n\t\t\tthat.picvalueindex=valueindex;\r\n\t\t\tthat.questionDetValue=newItem.questionTplDetValueList[valueindex];\r\n\t\t\tthat.imgBox=true;\t\t\t\r\n\t\t}\r\n\t\tpreviewItemValueFile(index,valueindex){\r\n\t\t\tvar that = this;\r\n\t\t\tvar newItem = that.detList[index];\r\n\t\t\tthat.previewImage=newItem.questionTplDetValueList[valueindex].file;\r\n\t\t\tthat.visibleImage=true;\r\n\t\t}\r\n\t\tdelItemValueFile(index,valueindex){\r\n\t\t\tvar that = this;\r\n\t\t\tvar newItem = that.detList[index];\r\n\t\t\tnewItem.questionTplDetValueList[valueindex].file=\"\";\r\n\t\t}\r\n\t\t\r\n\t\tsaveVerify() {\r\n\t\t\tvar that = this;\r\n\t\t\tif (that.isVerifyPrompt == true) {\r\n\t\t\t\tthat.updateQuestion.isVerifyAnswer = true;\r\n\t\t\t} else if (that.isVerifyPrompt == false) {\r\n\t\t\t\tthat.updateQuestion.isVerifyAnswer = false;\r\n\t\t\t}\r\n\t\t\tif (that.isShowError == true) {\r\n\t\t\t\tthat.updateQuestion.isShowError = true;\r\n\t\t\t} else if (that.isShowError == false) {\r\n\t\t\t\tthat.updateQuestion.isShowError = false;\r\n\t\t\t}\r\n\t\t\tif (that.isAppHomePrompt == true) {\r\n\t\t\t\tthat.updateQuestion.isAppHomePrompt = true;\r\n\t\t\t} else if (that.isAppHomePrompt == false) {\r\n\t\t\t\tthat.updateQuestion.isAppHomePrompt = false;\r\n\t\t\t}\r\n\t\t\tif (this.updateQuestion.name == '') {\r\n\t\t\t\tthat.$Message.warning(this.L('名称不能为空'));\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\tif (this.updateQuestion.startTime == null || this.updateQuestion.endTime == null) {\r\n\t\t\t\tthat.$Message.warning(this.L('请选择活动时间'));\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\tif (that.detList.length == 0) {\r\n\t\t\t\tthat.$Message.warning(this.L('请添加明细项'));\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tfor (var i = 0; i < that.detList.length; i++) {\r\n\t\t\t\tvar each = that.detList[i];\r\n\t\t\t\tif (each.name == null || each.name.length == 0) {\r\n\t\t\t\t\tthat.$Message.warning((this.L('请输入第项标题') as any).replace(\"{0}\", each.sort));\r\n\t\t\t\t\treturn\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tfor (var j = 0; j < each.questionTplDetValueList.length; j++) {\r\n\t\t\t\t\tvar eachValue = each.questionTplDetValueList[j];\r\n\t\t\t\t\tif (eachValue.name == null || eachValue.name.length == 0) {\r\n\t\t\t\t\t\tthat.$Message.warning((this.L('请输入第项选择名称') as any).replace(\"{0}\", each.sort).replace(\"{1}\",eachValue.sort));\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tthis.updateQuestion.startTime = Util.changeDate(this.updateQuestion.startTime) as any;\r\n\t\t\tthis.updateQuestion.endTime = Util.changeDate(this.updateQuestion.endTime) as any;\r\n\t\t\t(this.$refs.queryForm as any).validate(async (valid: boolean) => {\r\n\t\t\t\tif (valid) {\r\n\t\t\t\t\tconsole.log(that.updateQuestion);\r\n\t\t\t\t\tthis.$Modal.confirm({\r\n\t\t\t\t\t\ttitle: this.L(\"Tips\"),\r\n\t\t\t\t\t\tcontent: this.L(\"确定要保存?\"),\r\n\t\t\t\t\t\tokText: this.L('Yes'),\r\n\t\t\t\t\t\tcancelText: this.L('No'),\r\n\t\t\t\t\t\tonOk: async () => {\r\n\t\t\t\t\t\t\tthat.disabled = true;\r\n\t\t\t\t\t\t\tthis.$Message.loading({\r\n\t\t\t\t\t\t\t\tcontent: this.L(\"保存中\"),\r\n\t\t\t\t\t\t\t\tduration: 3\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tthat.updateQuestion.questionType = 1;\r\n\t\t\t\t\t\t\tthat.updateQuestion.questionTplDetList = that.detList;\t\t\t\t\t\r\n\t\t\t\t\t\t\tthat.$store.dispatch({\r\n\t\t\t\t\t\t\t\ttype: 'app/createQuestionByApp',\r\n\t\t\t\t\t\t\t\tdata: that.updateQuestion\r\n\t\t\t\t\t\t\t}).then((res) => {\r\n\t\t\t\t\t\t\t\tthat.$Message.destroy();\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tthat.updateQuestion.id=res;\r\n\t\t\t\t\t\t\t\tthat.$Modal.success({\r\n\t\t\t\t\t\t\t\t\ttitle: this.L(\"Tips\"),\r\n\t\t\t\t\t\t\t\t\tcontent: this.L(\"保存成功,请等待审核\")\r\n\t\t\t\t\t\t\t\t});\t\r\n\t\t\t\t\t\t\t\t//that.$Message.success(\"保存成功,请等待审核\");\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}).catch(res => {\r\n\t\t\t\t\t\t\t\tthat.disabled = false;\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t\r\n\t\t}\r\n\t\thandleMessage(onoff) {\r\n\t\t\tthis.isAppHomePrompt = onoff;\r\n\t\t\t// (this.homePageModal as any).isAppHomePrompt = onoff;\r\n\t\t}\r\n\t\thandleMessageVerify(onoff) {\r\n\t\t\tthis.isVerifyPrompt = onoff;\r\n\t\t\t// (this.homePageModal as any).isAppHomePrompt = onoff;\r\n\t\t}\r\n\t\thandleMessageShow(onoff) {\r\n\t\t\tthis.isShowError = onoff;\r\n\t\t\t// (this.homePageModal as any).isAppHomePrompt = onoff;\r\n\t\t}\r\n\t\t\r\n\t\t// handleDetValueSuccess\r\n\t\thandleView() {\r\n\t\t\tthis.visible = true;\r\n\t\t}\r\n\t\thandleSuccess(res, file) {\r\n\t\t\r\n\t\t}\r\n\t\thandleRemove() {\r\n\t\t\tthis.imagebox = false;\r\n\t\t\tthis.updateQuestion.pic = '';\r\n\t\t}\r\n\t\thandleUpload(file) {\r\n\t\t\tconst fileExt = file.name.split('.').pop().toLocaleLowerCase()\r\n\t\t\tif (fileExt === 'jpeg' || fileExt === 'jpg' || fileExt === 'png') {\r\n\t\t\t\tthis.upload(file);\r\n\t\t\t} else {\r\n\t\t\t\tthis.$Notice.warning({\r\n\t\t\t\t\ttitle: this.L(\"文件类型错误\"),\r\n\t\t\t\t\tdesc: this.L('文件不是图片').replace(\"{0}\", file.name ) \r\n\t\t\t\t})\r\n\t\t\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\thandleDetValueSuccess(){\r\n\t\t\t\r\n\t\t}\r\n\t\thandleDetValueRemove() {\r\n\t\t\tthis.questionDetValue.file=\"\";\r\n\t\t}\r\n\t\thandleDetValueView() {\r\n\t\t\tthis.previewImage=this.questionDetValue.file;\r\n\t\t\tthis.visibleImage = true;\r\n\t\t}\t\t\r\n\t\thandleDetValueUpload(file) {\r\n\t\t\tconst fileExt = file.name.split('.').pop().toLocaleLowerCase()\r\n\t\t\tif (fileExt === 'jpeg' || fileExt === 'jpg' || fileExt === 'png') {\r\n\t\t\t\tthis.uploadDetValue(file,fileExt);\r\n\t\t\t} else {\r\n\t\t\t\tthis.$Notice.warning({\r\n\t\t\t\t\ttitle: this.L(\"文件类型错误\"),\r\n\t\t\t\t\tdesc: this.L('文件不是图片').replace(\"{0}\", file.name ) \r\n\t\t\t\t})\r\n\t\t\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tasync uploadDetValue(file,fileExt) {\r\n\t\t\tlet that = this;\r\n\t\t\tvar form = new FormData();\r\n\t\t\tform.append(\"file\", file);\r\n\t\t\tvar res = await this.$store.dispatch({\r\n\t\t\t\ttype: 'app/uploadImage',\r\n\t\t\t\tdata: form\r\n\t\t\t}).then((res) => {\t\t\t\t\r\n\t\t\t\tthat.questionDetValue.file = res;\r\n\t\t\t\tthat.questionDetValue.suffix=fileExt;\r\n\t\t\t})\r\n\t\t\r\n\t\t}\r\n\r\n\t\tasync upload(file) {\r\n\t\t\tlet that = this;\r\n\t\t\tvar form = new FormData();\r\n\t\t\tform.append(\"file\", file);\r\n\t\t\tvar res = await this.$store.dispatch({\r\n\t\t\t\ttype: 'app/uploadImage',\r\n\t\t\t\tdata: form\r\n\t\t\t}).then((res) => {\r\n\t\t\t\tthat.updateQuestion.pic = res;\r\n\t\t\t\tthat.imagebox = true;\r\n\t\t\t})\r\n\r\n\t\t}\r\n\t\tgetQuestionTplById() {\r\n\t\t\tvar that = this;\r\n\t\t\tthis.$store.dispatch({\r\n\t\t\t\ttype: 'app/getQuestionTplById',\r\n\t\t\t\tid: this.qid\r\n\t\t\t}).then((res) => {\r\n\t\t\t\tconsole.log(res);\t\r\n\t\t\t\tthat.updateQuestion = res;\r\n\t\t\t\tif(res.status==\"OP\" && res.isJoin){\r\n\t\t\t\t\tthat.isEdit=false;\r\n\t\t\t\t}\r\n\t\t\t\tthat.detList = res.questionTplDetList as Array < QuestionTplDet > ;\r\n\t\t\t\t\r\n\t\t\t\tfor (var i = 0; i < that.detList.length; i++) {\r\n\t\t\t\t\tthat.detList[i].isMust = that.detList[i].isMust ? 1 : 0;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t})\r\n\t\t}\r\n\t\t\r\n\r\n\r\n\t\tasync created() {\t\t\t\r\n\t\t\tconsole.log(Util.abp.session.userId);\r\n\t\t\tif (!Util.abp.session.userId) {\t\t\t\t\r\n\t\t\t\tvar domain = this.$route.query.domain as any;\r\n\t\t\t\tif (domain != undefined && domain != null && domain != '') {\r\n\t\t\t\t\tawait this.$store.dispatch({\r\n\t\t\t\t\t\ttype: 'app/externalAuthenticate',\r\n\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\t\"AuthProvider\": \"IDSDOMAIN\",\r\n\t\t\t\t\t\t\t\"ProviderAccessCode\": domain,\r\n\t\t\t\t\t\t\tProviderKey: \"\",\r\n\t\t\t\t\t\t\tProperty: \"\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t})\r\n\t\t\t\t\tlocation.reload();\r\n\t\t\t\t}\r\n\t\t\t\tvar userId = this.$route.query.userid as any;\r\n\t\t\t\tif (userId != undefined && userId != null && userId != '') {\r\n\t\t\t\t\tawait this.$store.dispatch({\r\n\t\t\t\t\t\ttype: 'app/externalAuthenticate',\r\n\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\t\"AuthProvider\": \"IDSID\",\r\n\t\t\t\t\t\t\t\"ProviderAccessCode\": userId,\r\n\t\t\t\t\t\t\tProviderKey: userId,\r\n\t\t\t\t\t\t\tProperty: \"\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t})\r\n\t\t\t\t\tlocation.reload();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (this.$route.query.qid && (this.$route.query.qid as any) > 0) {\r\n\t\t\t\tthis.qid = this.$route.query.qid as any;\r\n\t\t\t\t\r\n\t\t\t\tthis.getQuestionTplById();\t\t\t\t\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tthis.updateQuestion = new QuestionTpl();\r\n\t\t\t\tthis.updateQuestion.point = 0;\r\n\t\t\t\tthis.updateQuestion.lotteryCount = 0;\r\n\t\t\t\tthis.updateQuestion.voteCount = 0;\r\n\t\t\t\tthis.updateQuestion.voteDayCount = 0;\r\n\t\t\t\tthis.updateQuestion.name = \"\";\r\n\t\t\t\tthis.updateQuestion.id = 0;\r\n\t\t\t\tthis.isAppHomePrompt = (this.updateQuestion.isAppHomePrompt == null || !this.updateQuestion.isAppHomePrompt) ? false :\r\n\t\t\t\t\ttrue;\r\n\t\t\t\tthis.isVerifyPrompt = (this.updateQuestion.isVerifyAnswer == null || !this.updateQuestion.isVerifyAnswer) ? false :\r\n\t\t\t\t\t\ttrue;\r\n\t\t\t\tthis.isShowError=(this.updateQuestion.isShowError == null || !this.updateQuestion.isShowError) ? false :\r\n\t\t\t\t\t\ttrue;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\trules = {\r\n\t\t\tname: [{\r\n\t\t\t\trequired: true,\r\n\t\t\t\tmessage: this.L('名称不能为空'),\r\n\t\t\t\ttrigger: 'blur'\r\n\t\t\t}],\r\n\t\t\tdesc: [{\r\n\t\t\t\trequired: true,\r\n\t\t\t\tmessage: this.L('描述不能为空'),\r\n\t\t\t\ttrigger: 'blur'\r\n\t\t\t}],\r\n\t\t\tstartTime: [{\r\n\t\t\t\trequired: true,\r\n\t\t\t\tmessage: this.L('开始时间不能为空'),\r\n\r\n\t\t\t}],\r\n\t\t\tendTime: [{\r\n\t\t\t\trequired: true,\r\n\t\t\t\tmessage: this.L('结束时间不能为空'),\r\n\r\n\t\t\t}],\r\n\t\t}\r\n\t}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./testquestion.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./testquestion.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./testquestion.vue?vue&type=template&id=a5514ea0&scoped=true\"\nimport script from \"./testquestion.vue?vue&type=script&lang=ts\"\nexport * from \"./testquestion.vue?vue&type=script&lang=ts\"\nimport style0 from \"./testquestion.vue?vue&type=style&index=0&id=a5514ea0&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a5514ea0\",\n null\n \n)\n\nexport default component.exports","import Entity from './entity'\nexport default class QuestionTplDetValue extends Entity{\r\n\tid:number;\r\n\tshortName:string;\n name:string;\r\n\tsort:number;\r\n\tfile:string;\r\n\tsuffix:string;\r\n\tstatus:string;\r\n\ttotalCount:number;\r\n\tisChecked:boolean;\n}"],"sourceRoot":""}