{"version":3,"sources":["webpack:///./src/views/questionnaire.vue?3be8","webpack:///./src/store/entities/questiontpl.ts","webpack:///./src/components/ToggleSwitch.vue?e4ca","webpack:///./src/views/questionnaire.vue","webpack:///./src/views/questionnaire.vue?be57","webpack:///./src/views/questionnaire.vue?58c7","webpack:///./src/views/questionnaire.vue?cb14","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/store/entities/questiontpldetvalue.ts"],"names":["QuestionTpl","_Entity","_classCallCheck","_callSuper","arguments","_inherits","_createClass","Entity","render","_vm","this","_c","_self","_setupProxy","staticClass","ref","attrs","rules","updateQuestion","staticStyle","L","model","value","name","callback","$$v","$set","expression","desc","startTime","endTime","_f","on","handleMessage","isAppHomePrompt","directives","rawName","imagebox","pic","$event","handleView","isEdit","handleRemove","_e","handleSuccess","handleUpload","_l","detList","item","index","key","delQuestionItem","_v","_s","sort","moveTop","moveBottom","movePre","moveNext","questionValueType","isMust","questionTplDetValueList","length","detvalue","valueindex","delQuestionItemValue","shortName","moveTopValue","moveBottomValue","movePreValue","moveNextValue","file","previewItemValueFile","delItemValueFile","uploadItemValueFile","addQuestionItemValue","addQuestionItem","disabled","saveVerify","visible","visibleImage","previewImage","saveFile","imgBox","slot","questionDetValue","handleDetValueView","handleDetValueRemove","handleDetValueSuccess","handleDetValueUpload","staticRenderFns","Questionnaire","_AbpBase","_this","qid","inputtext","Array","isVerifyPrompt","isShowError","picindex","picvalueindex","QuestionTplDetValue","required","message","trigger","that","det","$Message","warning","i","next","console","log","$forceUpdate","preDet","detValueList","newItem","QuestionTplDet","answer","answerParse","status","push","splice","newItemValue","_this2","$emit","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","type","data","then","res","destroy","id","success","catch","stop","apply","_x","onoff","fileExt","split","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","component","class","isChecked","toggle","direction","props","Boolean","default","text","String","computed","watch","val","methods"],"mappings":"kHAAA,W,+cCA6B,IAERA,EAAY,SAAAC,GAAA,SAAAD,IAAA,OAAAE,eAAA,KAAAF,GAAAG,EAAA,KAAAH,EAAAI,WAAA,OAAAC,eAAAL,EAAAC,GAAAK,eAAAN,GAAA,CAAQO,S,oCCFzC,W,mECAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,aAAa,CAACH,EAAG,MAAM,CAACG,YAAY,2BAA2B,CAACH,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,OAAO,CAACI,IAAI,YAAYC,MAAM,CAAC,MAAQP,EAAIQ,MAAM,MAAQR,EAAIS,eAAe,cAAc,GAAG,iBAAiB,OAAO,OAAS,KAAK,CAACP,EAAG,WAAW,CAACQ,YAAY,CAAC,MAAQ,OAAO,YAAY,QAAQH,MAAM,CAAC,MAAQP,EAAIW,EAAE,QAAQ,KAAO,SAAS,CAACT,EAAG,QAAQ,CAACQ,YAAY,CAAC,MAAQ,QAAQH,MAAM,CAAC,YAAcP,EAAIW,EAAE,SAASC,MAAM,CAACC,MAAOb,EAAIS,eAAeK,KAAMC,SAAS,SAAUC,GAAMhB,EAAIiB,KAAKjB,EAAIS,eAAgB,OAAQO,IAAME,WAAW,0BAA0B,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MAAQ,OAAO,cAAc,SAAS,CAACV,EAAI2C,GAAG,WAAW3C,EAAI4C,GAAG5C,EAAIuN,UAAU,IAAI,YAAYvN,EAAIkC,MAAOlC,EAAIqN,WAAarN,EAAIuN,UAAUlK,OAAS,EAAGnD,EAAG,MAAM,CAACQ,YAAY,CAAC,MAAQ,OAAO,OAAS,OAAO,SAAW,WAAW,QAAU,QAAQ,MAAQ,MAAM,cAAc,OAAO,MAAQ,UAAU,aAAa,QAAQ,cAAc,SAAS,CAACV,EAAI2C,GAAG,WAAW3C,EAAI4C,GAAG5C,EAAIuN,UAAU,IAAI,YAAYvN,EAAIkC,UAE7xB+C,EAAkB,GCWtB,G,UAAA,CACAnE,KAAA,eACA0M,MAAA,CACA3M,MAAA,CACA0I,KAAAkE,QACAC,SAAA,GAEAC,KAAA,CACApE,KAAAqE,OACAF,QAAA,KAGAlE,KAAA,WACA,OACA6D,UAAA,KAAAxM,QAGAgN,SAAA,CACAN,UAAA,WACA,YAAAI,KACA,KAAAA,KAAAvD,MAAA,KAEA,KAIA0D,MAAA,CACAjN,MAAA,SAAAkN,GACA,KAAAV,UAAAU,GAEAV,UAAA,SAAAU,GACA,KAAA3G,MAAA,SAAA2G,KAGAC,QAAA,CACAV,OAAA,WACA,KAAAD,WAAA,KAAAA,cCjDqV,I,wBCQjVF,EAAY,eACd,EACApN,EACAkF,GACA,EACA,KACA,KACA,MAIa,OAAAkI,E,sdCnBc,IACRvH,EAAoB,SAAApG,GAAA,SAAAoG,IAAA,OAAAnG,eAAA,KAAAmG,GAAAlG,EAAA,KAAAkG,EAAAjG,WAAA,OAAAC,eAAAgG,EAAApG,GAAAK,eAAA+F,GAAA,CAAQ9F","file":"js/chunk-e5f87106.0a145e2e.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!./questionnaire.vue?vue&type=style&index=0&id=e677b586&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\"","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',{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)]),_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.isMust),callback:function ($$v) {_vm.$set(item, \"isMust\", $$v)},expression:\"item.isMust\"}},[_c('Radio',{attrs:{\"label\":1}},[_vm._v(_vm._s(_vm.L('必填')))]),_c('Radio',{attrs:{\"label\":0}},[_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(),(_vm.isEdit)?_c('div',{staticStyle:{\"margin-top\":\"15px\"}},[_c('Button',{attrs:{\"type\":\"primary\",\"size\":\"default\"},on:{\"click\":function($event){return _vm.addQuestionItemValue(index)}}},[_vm._v(_vm._s(_vm.L('添加选项')))])],1):_vm._e()],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',{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',{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 Questionnaire 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\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\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;\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\tthis.$emit('input', false);\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 = 0;\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\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}\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\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;\t\t\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!./questionnaire.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!./questionnaire.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./questionnaire.vue?vue&type=template&id=e677b586&scoped=true\"\nimport script from \"./questionnaire.vue?vue&type=script&lang=ts\"\nexport * from \"./questionnaire.vue?vue&type=script&lang=ts\"\nimport style0 from \"./questionnaire.vue?vue&type=style&index=0&id=e677b586&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 \"e677b586\",\n null\n \n)\n\nexport default component.exports","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","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":""}