{"version":3,"sources":["webpack:///./node_modules/weixin-js-sdk/index.js","webpack:///./src/store/entities/questiontpl.ts","webpack:///./src/views/testquestionuser.vue?fa58","webpack:///./src/views/testquestionuser.vue","webpack:///./src/views/testquestionuser.vue?fa55","webpack:///./src/views/testquestionuser.vue?0283","webpack:///./src/views/testquestionuser.vue?ee59","webpack:///./src/images/weix.png","webpack:///./src/images/pyq.png","webpack:///./src/store/entities/questiontpluser.ts"],"names":["e","n","module","exports","window","r","a","c","i","t","o","s","d","l","u","p","f","m","g","h","S","y","I","v","_","w","T","jWeixin","config","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","previewImage","getLocation","openProductSpecificView","addCard","openCard","chooseWXPay","openEnterpriseRedPacket","startSearchBeacons","stopSearchBeacons","onSearchBeacons","consumeAndShareCard","openAddress","document","title","navigator","userAgent","toLowerCase","platform","match","indexOf","initStartTime","L","initEndTime","preVerifyStartTime","preVerifyEndTime","version","appId","initTime","preVerifyTime","networkType","isPreVerifyOk","systemType","clientVersion","url","encodeURIComponent","location","href","_completes","state","data","O","C","check","k","verifyJsApiList","A","jsApiList","verifyOpenTagList","openTagList","_complete","success","fail","_fail","push","B","complete","length","invoke","WeixinJSBridge","P","on","ready","debug","error","checkJsApi","checkResult","JSON","parse","M","desc","img_url","imgUrl","link","type","data_url","dataUrl","scene","updateTimelineShareData","updateAppMessageShareData","startRecord","stopRecord","onVoiceRecordEnd","playVoice","localId","pauseVoice","stopVoice","onVoicePlayEnd","uploadVoice","isShowProgressTips","downloadVoice","serverId","translateVoice","chooseImage","count","sizeType","sourceType","localIds","current","urls","uploadImage","downloadImage","getLocalImgData","shift","wx","getNetworkType","errMsg","subtype","substring","openLocation","latitude","longitude","name","address","scale","infoUrl","hideOptionMenu","showOptionMenu","closeWindow","hideMenuItems","menuList","showMenuItems","hideAllNonBaseMenuItem","showAllNonBaseMenuItem","scanQRCode","needResult","scanType","resultStr","scan_code","scan_result","postalCode","addressPostalCode","provinceName","proviceFirstStageName","cityName","addressCitySecondStageName","countryName","addressCountiesThirdStageName","detailInfo","addressDetailInfo","pid","productId","view_type","viewType","ext_info","extInfo","cardList","card_id","cardId","card_ext","cardExt","card_list","isSuccess","is_succ","chooseCard","app_id","location_id","shopId","sign_type","signType","card_type","cardType","card_sign","cardSign","time_stamp","timestamp","nonce_str","nonceStr","choose_card_info","code","consumedCardId","consumedCode","x","jsApiName","ticket","openEnterpriseChat","useridlist","userIds","chatname","groupName","launchMiniProgram","targetAppId","path","split","envVersion","openBusinessView","businessType","queryString","extraData","miniProgram","navigateBack","arg","delta","navigateTo","redirectTo","switchTab","reLaunch","postMessage","getEnv","miniprogram","__wxjs_environment","addEventListener","target","tagName","src","preventDefault","stopPropagation","localData","V","trigger","verifyAppId","verifySignType","verifyTimestamp","verifyNonceStr","verifySignature","signature","timeStamp","package","paySign","errCode","err_code","err_desc","err_detail","err_msg","replace","isInnerInvoke","alert","stringify","cancel","console","log","Image","Date","getTime","warn","QuestionTpl","_Entity","_classCallCheck","_callSuper","arguments","_inherits","_createClass","Entity","render","_vm","this","_c","_self","_setupProxy","staticClass","questionTpl","isEnd","_e","_v","_s","pic","attrs","_l","questionTplDetList","item","index","key","slot","sort","isMust","questionValueType","staticStyle","quid","model","value","content","callback","$$v","$set","expression","$event","radioChange","questionTplDetValueList","valueindex","id","toString","shortName","checkboxChange","contentlist","minRows","maxRows","class","contentDesc","answer","answerParse","disabled","saveQuestion","showShare","shareToWeixin","require","staticRenderFns","QuestionnaireUser","_AbpBase","_this","qid","inputtext","Array","imgBox","userId","submitQuestionUser","QuestionTplUser","msg","shareWeixinType","that","protocol","host","coverImg","isIos","$store","dispatch","process","then","res","gisShareToWeixin","gis","thumbs","extra","ua","isWeiXin","each","$forceUpdate","_this2","isRequired","Util","changeDate","errorCount","isShowError","isMustRuired","isMustError","isVerifyAnswer","detTpl","detValueList","j","trim","answerContent","answerArr","contentArr","intersection","filter","includes","difference","concat","$Modal","confirm","okText","cancelText","onOk","_onOk","_asyncToGenerator","regeneratorRuntime","mark","_callee4","wrap","_context4","prev","next","$Message","loading","duration","users","organizations","createUser","destroy","setTimeout","info","_onOk2","_callee","_context","loadQuestionTplByUserId","stop","apply","_onOk3","_callee2","_context2","_onOk4","_callee3","_context3","catch","to","from","query","reload","weixinShare","_created","_callee5","domain","_context5","abp","session","$route","undefined","ProviderKey","Property","userid","getQuestionTplById","created","AbpBase","__decorate","Watch","Component","components","component"],"mappings":"oGAAC,SAAWA,EAAGC,GACbC,EAAOC,QAAUF,EAAED,GADpB,CAEoB,kBAAXI,QAAuBA,QAAQ,SAAUC,EAAGL,GAKpD,IAAIM,EAAGC,EAAGN,EAAGO,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAAGC,EAJnE,GAAKrB,EAKL,OAAKA,EAAEsB,QAgtBKtB,EAAEsB,SA9sBTrB,EAAI,CACHsB,OAAQ,iBACRC,oBAAqB,sBACrBC,sBAAuB,wBACvBC,cAAe,gBACfC,iBAAkB,sBAClBC,iBAAkB,mBAClBC,aAAc,eACdC,YAAa,cACbC,wBAAyB,yBACzBC,QAAS,eACTC,SAAU,gBACVC,YAAa,uBACbC,wBAAyB,8BACzBC,mBAAoB,yBACpBC,kBAAmB,wBACnBC,gBAAiB,mBACjBC,oBAAqB,oBACrBC,YAAa,eAEdtC,EAAI,WACH,IAAIP,EACFC,EAAI,GACN,IAAKD,KAAKM,EAAGL,EAAEK,EAAEN,IAAMA,EACvB,OAAOC,EAJJ,GAMJA,EAAII,EAAEyC,SACNtC,EAAIP,EAAE8C,MACNtC,EAAIuC,UAAUC,UAAUC,cACxBlC,EAAIgC,UAAUG,SAASD,cACvBxC,KAAOM,EAAEoC,MAAM,SAAWpC,EAAEoC,MAAM,QAClCzC,GAAK,GAAKF,EAAE4C,QAAQ,cACpBzC,GAAK,GAAKH,E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7G,WCrBoX,I,wBCQtY8G,EAAY,eACd,EACAnK,EACAoD,GACA,EACA,KACA,WACA,MAIa,aAAA+G,E,gCCnBfrb,EAAOC,QAAU,IAA0B,yB,qBCA3CD,EAAOC,QAAU,IAA0B,wB,obCAd,IACR+U,EAAgB,SAAArE,GAAA,SAAAqE,IAAA,OAAApE,eAAA,KAAAoE,GAAAnE,EAAA,KAAAmE,EAAAlE,WAAA,OAAAC,eAAAiE,EAAArE,GAAAK,eAAAgE,GAAA,CAAQ/D,S","file":"js/chunk-5406a87c.591a8d08.js","sourcesContent":["!(function (e, n) {\n module.exports = n(e);\n})(typeof window === \"object\" && window, function (r, e) {\n if (!r) {\n console.warn(\"can't use weixin-js-sdk in server side\");\n return;\n }\n var a, c, n, i, t, o, s, d, l, u, p, f, m, g, h, S, y, I, v, _, w, T;\n if (!r.jWeixin)\n return (\n (a = {\n config: \"preVerifyJSAPI\",\n onMenuShareTimeline: \"menu:share:timeline\",\n onMenuShareAppMessage: \"menu:share:appmessage\",\n onMenuShareQQ: \"menu:share:qq\",\n onMenuShareWeibo: \"menu:share:weiboApp\",\n onMenuShareQZone: \"menu:share:QZone\",\n previewImage: \"imagePreview\",\n getLocation: \"geoLocation\",\n openProductSpecificView: \"openProductViewWithPid\",\n addCard: \"batchAddCard\",\n openCard: \"batchViewCard\",\n chooseWXPay: \"getBrandWCPayRequest\",\n openEnterpriseRedPacket: \"getRecevieBizHongBaoRequest\",\n startSearchBeacons: \"startMonitoringBeacons\",\n stopSearchBeacons: \"stopMonitoringBeacons\",\n onSearchBeacons: \"onBeaconsInRange\",\n consumeAndShareCard: \"consumedShareCard\",\n openAddress: \"editAddress\",\n }),\n (c = (function () {\n var e,\n n = {};\n for (e in a) n[a[e]] = e;\n return n;\n })()),\n (n = r.document),\n (i = n.title),\n (t = navigator.userAgent.toLowerCase()),\n (f = navigator.platform.toLowerCase()),\n (o = !(!f.match(\"mac\") && !f.match(\"win\"))),\n (s = -1 != t.indexOf(\"wxdebugger\")),\n (d = -1 != t.indexOf(\"micromessenger\")),\n (l = -1 != t.indexOf(\"android\")),\n (u = -1 != t.indexOf(\"iphone\") || -1 != t.indexOf(\"ipad\")),\n (p = (f =\n t.match(/micromessenger\\/(\\d+\\.\\d+\\.\\d+)/) ||\n t.match(/micromessenger\\/(\\d+\\.\\d+)/))\n ? f[1]\n : \"\"),\n (m = {\n initStartTime: L(),\n initEndTime: 0,\n preVerifyStartTime: 0,\n preVerifyEndTime: 0,\n }),\n (g = {\n version: 1,\n appId: \"\",\n initTime: 0,\n preVerifyTime: 0,\n networkType: \"\",\n isPreVerifyOk: 1,\n systemType: u ? 1 : l ? 2 : -1,\n clientVersion: p,\n url: encodeURIComponent(location.href),\n }),\n (h = {}),\n (S = { _completes: [] }),\n (y = { state: 0, data: {} }),\n O(function () {\n m.initEndTime = L();\n }),\n (I = !1),\n (v = []),\n (_ = {\n config: function (e) {\n C(\"config\", (h = e));\n var o = !1 !== h.check;\n O(function () {\n if (o)\n k(\n a.config,\n {\n verifyJsApiList: A(h.jsApiList),\n verifyOpenTagList: A(h.openTagList),\n },\n ((S._complete = function (e) {\n (m.preVerifyEndTime = L()), (y.state = 1), (y.data = e);\n }),\n (S.success = function (e) {\n g.isPreVerifyOk = 0;\n }),\n (S.fail = function (e) {\n S._fail ? S._fail(e) : (y.state = -1);\n }),\n (t = S._completes).push(function () {\n B();\n }),\n (S.complete = function (e) {\n for (var n = 0, i = t.length; n < i; ++n) t[n]();\n S._completes = [];\n }),\n S)\n ),\n (m.preVerifyStartTime = L());\n else {\n y.state = 1;\n for (var e = S._completes, n = 0, i = e.length; n < i; ++n)\n e[n]();\n S._completes = [];\n }\n var t;\n }),\n _.invoke ||\n ((_.invoke = function (e, n, i) {\n r.WeixinJSBridge && WeixinJSBridge.invoke(e, P(n), i);\n }),\n (_.on = function (e, n) {\n r.WeixinJSBridge && WeixinJSBridge.on(e, n);\n }));\n },\n ready: function (e) {\n (0 != y.state || (S._completes.push(e), !d && h.debug)) && e();\n },\n error: function (e) {\n p < \"6.0.2\" || (-1 == y.state ? e(y.data) : (S._fail = e));\n },\n checkJsApi: function (e) {\n k(\n \"checkJsApi\",\n { jsApiList: A(e.jsApiList) },\n ((e._complete = function (e) {\n l && (i = e.checkResult) && (e.checkResult = JSON.parse(i));\n var n,\n i = e,\n t = i.checkResult;\n for (n in t) {\n var o = c[n];\n o && ((t[o] = t[n]), delete t[n]);\n }\n }),\n e)\n );\n },\n onMenuShareTimeline: function (e) {\n M(\n a.onMenuShareTimeline,\n {\n complete: function () {\n k(\n \"shareTimeline\",\n {\n title: e.title || i,\n desc: e.title || i,\n img_url: e.imgUrl || \"\",\n link: e.link || location.href,\n type: e.type || \"link\",\n data_url: e.dataUrl || \"\",\n },\n e\n );\n },\n },\n e\n );\n },\n onMenuShareAppMessage: function (n) {\n M(\n a.onMenuShareAppMessage,\n {\n complete: function (e) {\n \"favorite\" === e.scene\n ? k(\"sendAppMessage\", {\n title: n.title || i,\n desc: n.desc || \"\",\n link: n.link || location.href,\n img_url: n.imgUrl || \"\",\n type: n.type || \"link\",\n data_url: n.dataUrl || \"\",\n })\n : k(\n \"sendAppMessage\",\n {\n title: n.title || i,\n desc: n.desc || \"\",\n link: n.link || location.href,\n img_url: n.imgUrl || \"\",\n type: n.type || \"link\",\n data_url: n.dataUrl || \"\",\n },\n n\n );\n },\n },\n n\n );\n },\n onMenuShareQQ: function (e) {\n M(\n a.onMenuShareQQ,\n {\n complete: function () {\n k(\n \"shareQQ\",\n {\n title: e.title || i,\n desc: e.desc || \"\",\n img_url: e.imgUrl || \"\",\n link: e.link || location.href,\n },\n e\n );\n },\n },\n e\n );\n },\n onMenuShareWeibo: function (e) {\n M(\n a.onMenuShareWeibo,\n {\n complete: function () {\n k(\n \"shareWeiboApp\",\n {\n title: e.title || i,\n desc: e.desc || \"\",\n img_url: e.imgUrl || \"\",\n link: e.link || location.href,\n },\n e\n );\n },\n },\n e\n );\n },\n onMenuShareQZone: function (e) {\n M(\n a.onMenuShareQZone,\n {\n complete: function () {\n k(\n \"shareQZone\",\n {\n title: e.title || i,\n desc: e.desc || \"\",\n img_url: e.imgUrl || \"\",\n link: e.link || location.href,\n },\n e\n );\n },\n },\n e\n );\n },\n updateTimelineShareData: function (e) {\n k(\n \"updateTimelineShareData\",\n { title: e.title, link: e.link, imgUrl: e.imgUrl },\n e\n );\n },\n updateAppMessageShareData: function (e) {\n k(\n \"updateAppMessageShareData\",\n { title: e.title, desc: e.desc, link: e.link, imgUrl: e.imgUrl },\n e\n );\n },\n startRecord: function (e) {\n k(\"startRecord\", {}, e);\n },\n stopRecord: function (e) {\n k(\"stopRecord\", {}, e);\n },\n onVoiceRecordEnd: function (e) {\n M(\"onVoiceRecordEnd\", e);\n },\n playVoice: function (e) {\n k(\"playVoice\", { localId: e.localId }, e);\n },\n pauseVoice: function (e) {\n k(\"pauseVoice\", { localId: e.localId }, e);\n },\n stopVoice: function (e) {\n k(\"stopVoice\", { localId: e.localId }, e);\n },\n onVoicePlayEnd: function (e) {\n M(\"onVoicePlayEnd\", e);\n },\n uploadVoice: function (e) {\n k(\n \"uploadVoice\",\n {\n localId: e.localId,\n isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1,\n },\n e\n );\n },\n downloadVoice: function (e) {\n k(\n \"downloadVoice\",\n {\n serverId: e.serverId,\n isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1,\n },\n e\n );\n },\n translateVoice: function (e) {\n k(\n \"translateVoice\",\n {\n localId: e.localId,\n isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1,\n },\n e\n );\n },\n chooseImage: function (e) {\n k(\n \"chooseImage\",\n {\n scene: \"1|2\",\n count: e.count || 9,\n sizeType: e.sizeType || [\"original\", \"compressed\"],\n sourceType: e.sourceType || [\"album\", \"camera\"],\n },\n ((e._complete = function (e) {\n if (l) {\n var n = e.localIds;\n try {\n n && (e.localIds = JSON.parse(n));\n } catch (e) {}\n }\n }),\n e)\n );\n },\n getLocation: function (e) {\n (e = e || {}),\n k(\n a.getLocation,\n { type: e.type || \"wgs84\" },\n ((e._complete = function (e) {\n delete e.type;\n }),\n e)\n );\n },\n previewImage: function (e) {\n k(a.previewImage, { current: e.current, urls: e.urls }, e);\n },\n uploadImage: function (e) {\n k(\n \"uploadImage\",\n {\n localId: e.localId,\n isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1,\n },\n e\n );\n },\n downloadImage: function (e) {\n k(\n \"downloadImage\",\n {\n serverId: e.serverId,\n isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1,\n },\n e\n );\n },\n getLocalImgData: function (e) {\n !1 === I\n ? ((I = !0),\n k(\n \"getLocalImgData\",\n { localId: e.localId },\n ((e._complete = function (e) {\n var n;\n (I = !1),\n 0 < v.length && ((n = v.shift()), wx.getLocalImgData(n));\n }),\n e)\n ))\n : v.push(e);\n },\n getNetworkType: function (e) {\n k(\n \"getNetworkType\",\n {},\n ((e._complete = function (e) {\n var n = e,\n e = n.errMsg,\n i = ((n.errMsg = \"getNetworkType:ok\"), n.subtype);\n if ((delete n.subtype, i)) n.networkType = i;\n else {\n var i = e.indexOf(\":\"),\n t = e.substring(i + 1);\n switch (t) {\n case \"wifi\":\n case \"edge\":\n case \"wwan\":\n n.networkType = t;\n break;\n default:\n n.errMsg = \"getNetworkType:fail\";\n }\n }\n }),\n e)\n );\n },\n openLocation: function (e) {\n k(\n \"openLocation\",\n {\n latitude: e.latitude,\n longitude: e.longitude,\n name: e.name || \"\",\n address: e.address || \"\",\n scale: e.scale || 28,\n infoUrl: e.infoUrl || \"\",\n },\n e\n );\n },\n hideOptionMenu: function (e) {\n k(\"hideOptionMenu\", {}, e);\n },\n showOptionMenu: function (e) {\n k(\"showOptionMenu\", {}, e);\n },\n closeWindow: function (e) {\n k(\"closeWindow\", {}, (e = e || {}));\n },\n hideMenuItems: function (e) {\n k(\"hideMenuItems\", { menuList: e.menuList }, e);\n },\n showMenuItems: function (e) {\n k(\"showMenuItems\", { menuList: e.menuList }, e);\n },\n hideAllNonBaseMenuItem: function (e) {\n k(\"hideAllNonBaseMenuItem\", {}, e);\n },\n showAllNonBaseMenuItem: function (e) {\n k(\"showAllNonBaseMenuItem\", {}, e);\n },\n scanQRCode: function (e) {\n k(\n \"scanQRCode\",\n {\n needResult: (e = e || {}).needResult || 0,\n scanType: e.scanType || [\"qrCode\", \"barCode\"],\n },\n ((e._complete = function (e) {\n var n;\n u &&\n (n = e.resultStr) &&\n ((n = JSON.parse(n)),\n (e.resultStr = n && n.scan_code && n.scan_code.scan_result));\n }),\n e)\n );\n },\n openAddress: function (e) {\n k(\n a.openAddress,\n {},\n ((e._complete = function (e) {\n ((e = e).postalCode = e.addressPostalCode),\n delete e.addressPostalCode,\n (e.provinceName = e.proviceFirstStageName),\n delete e.proviceFirstStageName,\n (e.cityName = e.addressCitySecondStageName),\n delete e.addressCitySecondStageName,\n (e.countryName = e.addressCountiesThirdStageName),\n delete e.addressCountiesThirdStageName,\n (e.detailInfo = e.addressDetailInfo),\n delete e.addressDetailInfo;\n }),\n e)\n );\n },\n openProductSpecificView: function (e) {\n k(\n a.openProductSpecificView,\n {\n pid: e.productId,\n view_type: e.viewType || 0,\n ext_info: e.extInfo,\n },\n e\n );\n },\n addCard: function (e) {\n for (var n = e.cardList, i = [], t = 0, o = n.length; t < o; ++t) {\n var r = n[t],\n r = { card_id: r.cardId, card_ext: r.cardExt };\n i.push(r);\n }\n k(\n a.addCard,\n { card_list: i },\n ((e._complete = function (e) {\n if ((n = e.card_list)) {\n for (var n, i = 0, t = (n = JSON.parse(n)).length; i < t; ++i) {\n var o = n[i];\n (o.cardId = o.card_id),\n (o.cardExt = o.card_ext),\n (o.isSuccess = !!o.is_succ),\n delete o.card_id,\n delete o.card_ext,\n delete o.is_succ;\n }\n (e.cardList = n), delete e.card_list;\n }\n }),\n e)\n );\n },\n chooseCard: function (e) {\n k(\n \"chooseCard\",\n {\n app_id: h.appId,\n location_id: e.shopId || \"\",\n sign_type: e.signType || \"SHA1\",\n card_id: e.cardId || \"\",\n card_type: e.cardType || \"\",\n card_sign: e.cardSign,\n time_stamp: e.timestamp + \"\",\n nonce_str: e.nonceStr,\n },\n ((e._complete = function (e) {\n (e.cardList = e.choose_card_info), delete e.choose_card_info;\n }),\n e)\n );\n },\n openCard: function (e) {\n for (var n = e.cardList, i = [], t = 0, o = n.length; t < o; ++t) {\n var r = n[t],\n r = { card_id: r.cardId, code: r.code };\n i.push(r);\n }\n k(a.openCard, { card_list: i }, e);\n },\n consumeAndShareCard: function (e) {\n k(\n a.consumeAndShareCard,\n { consumedCardId: e.cardId, consumedCode: e.code },\n e\n );\n },\n chooseWXPay: function (e) {\n k(a.chooseWXPay, x(e), e), B({ jsApiName: \"chooseWXPay\" });\n },\n openEnterpriseRedPacket: function (e) {\n k(a.openEnterpriseRedPacket, x(e), e);\n },\n startSearchBeacons: function (e) {\n k(a.startSearchBeacons, { ticket: e.ticket }, e);\n },\n stopSearchBeacons: function (e) {\n k(a.stopSearchBeacons, {}, e);\n },\n onSearchBeacons: function (e) {\n M(a.onSearchBeacons, e);\n },\n openEnterpriseChat: function (e) {\n k(\n \"openEnterpriseChat\",\n { useridlist: e.userIds, chatname: e.groupName },\n e\n );\n },\n launchMiniProgram: function (e) {\n k(\n \"launchMiniProgram\",\n {\n targetAppId: e.targetAppId,\n path: (function (e) {\n var n;\n if (\"string\" == typeof e && 0 < e.length)\n return (\n (n = e.split(\"?\")[0]),\n (n += \".html\"),\n void 0 !== (e = e.split(\"?\")[1]) ? n + \"?\" + e : n\n );\n })(e.path),\n envVersion: e.envVersion,\n },\n e\n );\n },\n openBusinessView: function (e) {\n k(\n \"openBusinessView\",\n {\n businessType: e.businessType,\n queryString: e.queryString || \"\",\n envVersion: e.envVersion,\n },\n ((e._complete = function (n) {\n if (l) {\n var e = n.extraData;\n if (e)\n try {\n n.extraData = JSON.parse(e);\n } catch (e) {\n n.extraData = {};\n }\n }\n }),\n e)\n );\n },\n miniProgram: {\n navigateBack: function (e) {\n (e = e || {}),\n O(function () {\n k(\n \"invokeMiniProgramAPI\",\n { name: \"navigateBack\", arg: { delta: e.delta || 1 } },\n e\n );\n });\n },\n navigateTo: function (e) {\n O(function () {\n k(\n \"invokeMiniProgramAPI\",\n { name: \"navigateTo\", arg: { url: e.url } },\n e\n );\n });\n },\n redirectTo: function (e) {\n O(function () {\n k(\n \"invokeMiniProgramAPI\",\n { name: \"redirectTo\", arg: { url: e.url } },\n e\n );\n });\n },\n switchTab: function (e) {\n O(function () {\n k(\n \"invokeMiniProgramAPI\",\n { name: \"switchTab\", arg: { url: e.url } },\n e\n );\n });\n },\n reLaunch: function (e) {\n O(function () {\n k(\n \"invokeMiniProgramAPI\",\n { name: \"reLaunch\", arg: { url: e.url } },\n e\n );\n });\n },\n postMessage: function (e) {\n O(function () {\n k(\n \"invokeMiniProgramAPI\",\n { name: \"postMessage\", arg: e.data || {} },\n e\n );\n });\n },\n getEnv: function (e) {\n O(function () {\n e({ miniprogram: \"miniprogram\" === r.__wxjs_environment });\n });\n },\n },\n }),\n (w = 1),\n (T = {}),\n n.addEventListener(\n \"error\",\n function (e) {\n var n, i, t;\n l ||\n ((t = (n = e.target).tagName),\n (i = n.src),\n \"IMG\" != t && \"VIDEO\" != t && \"AUDIO\" != t && \"SOURCE\" != t) ||\n (-1 != i.indexOf(\"wxlocalresource://\") &&\n (e.preventDefault(),\n e.stopPropagation(),\n (t = n[\"wx-id\"]) || ((t = w++), (n[\"wx-id\"] = t)),\n T[t] ||\n ((T[t] = !0),\n wx.ready(function () {\n wx.getLocalImgData({\n localId: i,\n success: function (e) {\n n.src = e.localData;\n },\n });\n }))));\n },\n !0\n ),\n n.addEventListener(\n \"load\",\n function (e) {\n var n;\n l ||\n ((n = (e = e.target).tagName),\n e.src,\n \"IMG\" != n && \"VIDEO\" != n && \"AUDIO\" != n && \"SOURCE\" != n) ||\n ((n = e[\"wx-id\"]) && (T[n] = !1));\n },\n !0\n ),\n e && (r.wx = r.jWeixin = _),\n _\n );\n else return r.jWeixin;\n function k(n, e, i) {\n r.WeixinJSBridge\n ? WeixinJSBridge.invoke(n, P(e), function (e) {\n V(n, e, i);\n })\n : C(n, i);\n }\n function M(n, i, t) {\n r.WeixinJSBridge\n ? WeixinJSBridge.on(n, function (e) {\n t && t.trigger && t.trigger(e), V(n, e, i);\n })\n : C(n, t || i);\n }\n function P(e) {\n return (\n ((e = e || {}).appId = h.appId),\n (e.verifyAppId = h.appId),\n (e.verifySignType = \"sha1\"),\n (e.verifyTimestamp = h.timestamp + \"\"),\n (e.verifyNonceStr = h.nonceStr),\n (e.verifySignature = h.signature),\n e\n );\n }\n function x(e) {\n return {\n timeStamp: e.timestamp + \"\",\n nonceStr: e.nonceStr,\n package: e.package,\n paySign: e.paySign,\n signType: e.signType || \"SHA1\",\n };\n }\n function V(e, n, i) {\n (\"openEnterpriseChat\" != e && \"openBusinessView\" !== e) ||\n (n.errCode = n.err_code),\n delete n.err_code,\n delete n.err_desc,\n delete n.err_detail;\n var t = n.errMsg,\n e =\n (t ||\n ((t = n.err_msg),\n delete n.err_msg,\n (t = (function (e, n) {\n var i = c[e];\n i && (e = i);\n i = \"ok\";\n {\n var t;\n n &&\n ((t = n.indexOf(\":\")),\n (\"access denied\" !=\n (i = (i = (i =\n -1 !=\n (i =\n -1 !=\n (i =\n \"failed\" ==\n (i = \"confirm\" == (i = n.substring(t + 1)) ? \"ok\" : i)\n ? \"fail\"\n : i).indexOf(\"failed_\")\n ? i.substring(7)\n : i).indexOf(\"fail_\")\n ? i.substring(5)\n : i).replace(/_/g, \" \")).toLowerCase()) &&\n \"no permission to execute\" != i) ||\n (i = \"permission denied\"),\n \"\" ==\n (i =\n \"config\" == e && \"function not exist\" == i ? \"ok\" : i)) &&\n (i = \"fail\");\n }\n return (n = e + \":\" + i);\n })(e, t)),\n (n.errMsg = t)),\n (i = i || {})._complete && (i._complete(n), delete i._complete),\n (t = n.errMsg || \"\"),\n h.debug && !i.isInnerInvoke && alert(JSON.stringify(n)),\n t.indexOf(\":\"));\n switch (t.substring(e + 1)) {\n case \"ok\":\n i.success && i.success(n);\n break;\n case \"cancel\":\n i.cancel && i.cancel(n);\n break;\n default:\n i.fail && i.fail(n);\n }\n i.complete && i.complete(n);\n }\n function A(e) {\n if (e) {\n for (var n = 0, i = e.length; n < i; ++n) {\n var t = e[n],\n t = a[t];\n t && (e[n] = t);\n }\n return e;\n }\n }\n function C(e, n) {\n var i;\n !h.debug ||\n (n && n.isInnerInvoke) ||\n ((i = c[e]) && (e = i),\n n && n._complete && delete n._complete,\n console.log('\"' + e + '\",', n || \"\"));\n }\n function B(n) {\n var i;\n o ||\n s ||\n h.debug ||\n p < \"6.0.2\" ||\n g.systemType < 0 ||\n ((i = new Image()),\n (g.appId = h.appId),\n (g.initTime = m.initEndTime - m.initStartTime),\n (g.preVerifyTime = m.preVerifyEndTime - m.preVerifyStartTime),\n _.getNetworkType({\n isInnerInvoke: !0,\n success: function (e) {\n g.networkType = e.networkType;\n e =\n \"https://open.weixin.qq.com/sdk/report?v=\" +\n g.version +\n \"&o=\" +\n g.isPreVerifyOk +\n \"&s=\" +\n g.systemType +\n \"&c=\" +\n g.clientVersion +\n \"&a=\" +\n g.appId +\n \"&n=\" +\n g.networkType +\n \"&i=\" +\n g.initTime +\n \"&p=\" +\n g.preVerifyTime +\n \"&u=\" +\n g.url +\n \"&jsapi_name=\" +\n (n ? n.jsApiName : \"\");\n i.src = e;\n },\n }));\n }\n function L() {\n return new Date().getTime();\n }\n function O(e) {\n d &&\n (r.WeixinJSBridge\n ? e()\n : n.addEventListener &&\n n.addEventListener(\"WeixinJSBridgeReady\", e, !1));\n }\n});\n","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--10-oneOf-1-0!../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./testquestionuser.vue?vue&type=style&index=0&id=d879d608&prod&scoped=true&lang=less\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"content\"},[(!_vm.questionTpl.isEnd)?_c('div',{staticClass:\"main\"},[_c('div',{staticClass:\"topText\"},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.questionTpl.desc)+\"\\n\\t\\t\\t\")]),(_vm.questionTpl.pic!='' && _vm.questionTpl.pic!=null)?_c('div',{staticClass:\"topImg\"},[_c('img',{attrs:{\"mode\":\"widthFix\",\"src\":_vm.questionTpl.pic}})]):_vm._e(),_c('div',{staticClass:\"formWrap\"},[_c('Form',{attrs:{\"label-position\":\"top\"}},_vm._l((_vm.questionTplDetList),function(item,index){return _c('Form-item',{key:index},[_c('span',{attrs:{\"slot\":\"label\"},slot:\"label\"},[_vm._v(_vm._s(item.sort)+\" \"+_vm._s(item.name)),(item.isMust)?_c('span',{staticClass:\"red\"},[_vm._v(\"*\")]):_vm._e()]),(item.questionValueType==3)?_c('Input',{staticClass:\"uni-input\",staticStyle:{\"padding\":\"10rpx 25rpx\"},attrs:{\"disabled\":_vm.quid>0},model:{value:(item.content),callback:function ($$v) {_vm.$set(item, \"content\", $$v)},expression:\"item.content\"}}):(item.questionValueType==4)?_c('Input',{staticClass:\"uni-input\",staticStyle:{\"padding\":\"10rpx 25rpx\"},attrs:{\"type\":\"number\",\"disabled\":_vm.quid>0},model:{value:(item.content),callback:function ($$v) {_vm.$set(item, \"content\", $$v)},expression:\"item.content\"}}):(item.questionValueType==1)?_c('Radio-group',{attrs:{\"vertical\":\"\"},on:{\"on-change\":function($event){return _vm.radioChange($event,index)}},model:{value:(item.content),callback:function ($$v) {_vm.$set(item, \"content\", $$v)},expression:\"item.content\"}},_vm._l((item.questionTplDetValueList),function(value,valueindex){return _c('Radio',{key:valueindex,attrs:{\"disabled\":_vm.quid>0,\"label\":value.id.toString()}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(value.shortName)+\" \"+_vm._s(value.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\")])}),1):(item.questionValueType==2)?_c('Checkbox-group',{attrs:{\"vertical\":\"\"},on:{\"on-change\":function($event){return _vm.checkboxChange($event,index)}},model:{value:(item.contentlist),callback:function ($$v) {_vm.$set(item, \"contentlist\", $$v)},expression:\"item.contentlist\"}},_vm._l((item.questionTplDetValueList),function(value,valueindex){return _c('Checkbox',{key:valueindex,attrs:{\"disabled\":_vm.quid>0,\"label\":value.id}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(value.shortName)+\" \"+_vm._s(value.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")])}),1):(item.questionValueType==5)?_c('Input',{attrs:{\"disabled\":_vm.quid>0,\"type\":\"textarea\",\"autosize\":{minRows: 2,maxRows: 5},\"placeholder\":_vm.L('请输入')},model:{value:(item.content),callback:function ($$v) {_vm.$set(item, \"content\", $$v)},expression:\"item.content\"}}):(item.questionValueType==6)?_c('DatePicker',{staticStyle:{\"width\":\"100%\",\"margin-top\":\"5px\"},attrs:{\"type\":\"datetime\",\"format\":\"yyyy-MM-dd\",\"placement\":\"bottom-end\",\"placeholder\":_vm.L('选择时间')},model:{value:(item.content),callback:function ($$v) {_vm.$set(item, \"content\", $$v)},expression:\"item.content\"}}):_vm._e(),(_vm.quid>0)?_c('div',{staticClass:\"answerwrap\"},[_c('div',[_vm._v(_vm._s(_vm.L('答案'))+\":\"),_c('span',{class:item.contentDesc!=item.answer?'answererror':''},[_vm._v(_vm._s(item.answer))])]),_c('div',[_vm._v(_vm._s(_vm.L('答案解析'))+\":\"),_c('span',{class:item.contentDesc!=item.answer?'answererror':''},[_vm._v(_vm._s(item.answerParse))])])]):_vm._e()],1)}),1)],1),(_vm.quid==0)?_c('div',{staticClass:\"formSubmitBtn\"},[_c('Button',{attrs:{\"type\":\"primary\",\"long\":\"\",\"disabled\":_vm.disabled},on:{\"click\":function($event){return _vm.saveQuestion()}}},[_vm._v(_vm._s(_vm.L('Submit')))])],1):_vm._e()]):_vm._e(),(_vm.questionTpl.isEnd)?_c('div',[_c('div',{staticClass:\"textcenter\"},[_vm._v(_vm._s(_vm.L('此试卷已结束')))])]):_vm._e(),(_vm.showShare)?_c('div',[_c('div',{staticClass:\"popup\",on:{\"click\":function($event){_vm.showShare=false}}}),_c('div',{staticClass:\"sharebtn\"},[_c('div',{staticClass:\"sharebtnItem\",on:{\"click\":function($event){return _vm.shareToWeixin('WXSceneSession')}}},[_c('img',{attrs:{\"src\":require(\"../images/weix.png\")}})]),_c('div',{staticClass:\"sharebtnItem\",on:{\"click\":function($event){return _vm.shareToWeixin('WXSceneTimeline')}}},[_c('img',{attrs:{\"src\":require(\"../images/pyq.png\")}})])])]):_vm._e()])])\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 wx from 'weixin-js-sdk';\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 QuestionTplUser from '@/store/entities/questiontpluser'\r\n\timport QuestionTplDetValue from '@/store/entities/questiontpldetvalue'\r\n\t@Component({\r\n\t\tcomponents: {\r\n\r\n\t\t}\r\n\t})\r\n\r\n\texport default class QuestionnaireUser extends AbpBase {\r\n\t\tuserAgent: string = \"\";\r\n\t\tqid: number = 0;\r\n\t\tquid: number = 0;\r\n\t\tquestionTpl: QuestionTpl = new QuestionTpl();\r\n\t\tinputtext: string = \"\";\r\n\t\tquestionTplDetList: Array < QuestionTplDet >= new Array < QuestionTplDet > ();\r\n\t\timgBox: boolean = false;\r\n\t\tdisabled: boolean = false;\r\n\t\tuserId: number = 0;\r\n\t\tsubmitQuestionUser: QuestionTplUser = new QuestionTplUser();\r\n\t\tshowShare: boolean = false;\r\n\t\tmsg: string = '';\r\n\r\n\t\tshare() {\r\n\t\t\tthis.showShare = true;\r\n\t\t}\r\n\t\tisIos() {\r\n\t\t\tvar u = navigator.userAgent.toLowerCase();\r\n\t\t\tthis.userAgent = u;\r\n\t\t\tif (u.indexOf(\"iphone\") > -1 || u.indexOf(\"ios\") > -1 || u.indexOf(\"mac\") > -1) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tshareToWeixin(shareWeixinType) {\r\n\t\t\tvar that = this;\r\n\t\t\tvar questionTpl = (this.questionTpl as any);\r\n\t\t\tvar title = questionTpl.name;\r\n\t\t\tvar link = location.protocol + \"//\" + location.host + \"/#/questionnaireuser?qid=\" + questionTpl.id;\r\n\t\t\tvar content = questionTpl.desc;\r\n\t\t\tvar coverImg = questionTpl.pic;\r\n\t\t\tif (content == '') {\r\n\t\t\t\tcontent = title;\r\n\t\t\t\ttitle = '';\r\n\t\t\t}\r\n\t\t\tif (that.isIos()) {\r\n\t\t\t\tif (coverImg != null && coverImg.length > 0) {\r\n\t\t\t\t\tthat.$store.dispatch({\r\n\t\t\t\t\t\ttype: 'app/refreshOSSPresignedUri',\r\n\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\turl: coverImg,\r\n\t\t\t\t\t\t\tprocess: 'image/resize,m_fixed,w_30,h_30'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).then(res => {\r\n\t\t\t\t\t\tcoverImg = res;\r\n\t\t\t\t\t\tthat.gisShareToWeixin(title, content, link, coverImg, shareWeixinType);\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthat.gisShareToWeixin(title, content, link, coverImg, shareWeixinType);\r\n\t\t\t\t}\r\n\r\n\t\t\t} else {\r\n\t\t\t\tthat.gisShareToWeixin(title, content, link, coverImg, shareWeixinType);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tgisShareToWeixin(title, content, link, coverImg, shareWeixinType) {\r\n\t\t\tvar that = this;\r\n\t\t\t// shareWeixinType: string = \"WXSceneSession\" // WXSceneTimeline\r\n\t\t\t(window as any).gis.shareToWeixin({\r\n\t\t\t\ttype: 'web',\r\n\t\t\t\ttitle: title,\r\n\t\t\t\tcontent: content,\r\n\t\t\t\thref: link,\r\n\t\t\t\tthumbs: [coverImg],\r\n\t\t\t\textra: {\r\n\t\t\t\t\tscene: shareWeixinType\r\n\t\t\t\t},\r\n\t\t\t\t// pictures:[news.coverImg],\r\n\t\t\t\tsuccess: function() {\r\n\t\t\t\t\tthat.showShare = false;\r\n\t\t\t\t\t//that.createNewsOperation(3);\r\n\t\t\t\t},\r\n\t\t\t\tfail: function() {\r\n\t\t\t\t\tthat.showShare = false;\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t\tisWeiXin() {\r\n\t\t\tvar ua = navigator.userAgent.toLowerCase() as any;\r\n\t\t\tthis.userAgent = ua;\r\n\t\t\tif (ua.match(/MicroMessenger/i) == 'micromessenger') {\r\n\t\t\t\treturn true; // 是微信端\r\n\t\t\t} else {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\tweixinShare() {\r\n\t\t\tvar that = this;\r\n\t\t\tif (this.isWeiXin()) {\r\n\t\t\t\tvar questionTpl = that.questionTpl as any;\r\n\t\t\t\tvar url = location.href.split('#')[0];\r\n\t\t\t\tthat.msg = that.msg + 'is weixin';\r\n\t\t\t\tthis.$store.dispatch({\r\n\t\t\t\t\ttype: 'app/getWeixinJSSDKConfig',\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\turl: url\r\n\t\t\t\t\t}\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tvar config = res;\r\n\t\t\t\t\twx.config({\r\n\t\t\t\t\t\tdebug: false,\r\n\t\t\t\t\t\tappId: config.appId, // 必填,公众号的唯一标识\r\n\t\t\t\t\t\ttimestamp: config.timestamp, // 必填,生成签名的时间戳\r\n\t\t\t\t\t\tnonceStr: config.nonceStr, // 必填,生成签名的随机串\r\n\t\t\t\t\t\tsignature: config.signature, // 必填,签名\r\n\t\t\t\t\t\tjsApiList: ['checkJsApi',\r\n\t\t\t\t\t\t\t'onMenuShareTimeline',\r\n\t\t\t\t\t\t\t'onMenuShareAppMessage',\r\n\t\t\t\t\t\t] // 必填,需要使用的JS接口列表\r\n\t\t\t\t\t});\r\n\t\t\t\t\tthat.msg = that.msg + ' configed';\r\n\t\t\t\t\twx.ready(function() { //需在用户可能点击分享按钮前就先调用\r\n\t\t\t\t\t\tthat.msg = that.msg + ' ready';\r\n\t\t\t\t\t\twx.updateAppMessageShareData({\r\n\t\t\t\t\t\t\ttitle: questionTpl.name, // 分享标题\r\n\t\t\t\t\t\t\tdesc: questionTpl.desc, // 分享描述\r\n\t\t\t\t\t\t\tlink: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致\r\n\t\t\t\t\t\t\timgUrl: questionTpl.pic, // 分享图标\r\n\t\t\t\t\t\t\tsuccess: function() {\r\n\t\t\t\t\t\t\t\t// 设置成功\r\n\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\twx.onMenuShareAppMessage({\r\n\t\t\t\t\t\t\ttitle: questionTpl.name, // 分享标题\r\n\t\t\t\t\t\t\tdesc: questionTpl.desc, // 分享描述\r\n\t\t\t\t\t\t\tlink: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致\r\n\t\t\t\t\t\t\timgUrl: questionTpl.pic, // 分享图标\r\n\t\t\t\t\t\t\ttype: 'link', // 分享类型,music、video或link,不填默认为link\r\n\t\t\t\t\t\t\tdataUrl: '', // 如果type是music或video,则要提供数据链接,默认为空\r\n\t\t\t\t\t\t\tsuccess: function() {\r\n\t\t\t\t\t\t\t\t// 用户点击了分享后执行的回调函数\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\tcancel:function(){\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\twx.onMenuShareTimeline({\r\n\t\t\t\t\t\t\ttitle: questionTpl.name, // 分享标题\r\n\t\t\t\t\t\t\tlink: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致\r\n\t\t\t\t\t\t\timgUrl: questionTpl.pic, // 分享图标\r\n\t\t\t\t\t\t\tsuccess: function() {\r\n\t\t\t\t\t\t\t\t// 用户点击了分享后执行的回调函数\r\n\t\t\t\t\t\t\t},\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tcancel:function(){\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\twx.updateTimelineShareData({\r\n\t\t\t\t\t\t\ttitle: questionTpl.name, // 分享标题\r\n\t\t\t\t\t\t\tlink: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致\r\n\t\t\t\t\t\t\timgUrl: questionTpl.pic, // 分享图标\r\n\t\t\t\t\t\t\tsuccess: function() {\r\n\t\t\t\t\t\t\t\t// 设置成功\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\r\n\t\t\t\t})\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\r\n\r\n\t\tradioChange(e, index) {\r\n\t\t\tvar that = this;\r\n\t\t\tvar each = that.questionTplDetList[index];\r\n\t\t\teach.content = e;\r\n\t\t\tthat.$forceUpdate();\r\n\t\t}\r\n\t\tcheckboxChange(e, index) {\r\n\t\t\tvar that = this;\r\n\t\t\tvar each = that.questionTplDetList[index];\r\n\t\t\teach.contentlist = e;\r\n\t\t\teach.content = e.toString();\r\n\t\t\tthat.$forceUpdate();\r\n\t\t}\r\n\r\n\t\tsaveQuestion() {\r\n\t\t\tvar that = this;\r\n\t\t\tvar isRequired = \"\";\r\n\t\t\tfor (var i = 0; i < that.questionTplDetList.length; i++) {\r\n\t\t\t\tif (that.questionTplDetList[i].isMust && (that.questionTplDetList[i].content == null || that\r\n\t\t\t\t\t\t.questionTplDetList[i].content == '')) {\r\n\t\t\t\t\tif (isRequired == \"\") {\r\n\t\t\t\t\t\tisRequired = that.questionTplDetList[i].sort.toString();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tisRequired = isRequired + ',' + that.questionTplDetList[i].sort.toString();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// uni.showModal({\r\n\t\t\t\t\t// \ttitle: this.L('Tips'),\r\n\t\t\t\t\t// \tcontent: that.L('ItemRequired').replace(\"{0}\", that.questionTplDetList[i].sort),\r\n\t\t\t\t\t// \tshowCancel: false,\r\n\t\t\t\t\t// \tconfirmText: this.L('OK'),\r\n\t\t\t\t\t// })\r\n\t\t\t\t\t// return;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (that.questionTplDetList[i].questionValueType == 6 && that.questionTplDetList[i].content != null &&\r\n\t\t\t\t\t\tthat\r\n\t\t\t\t\t\t.questionTplDetList[i].content != '') {\r\n\t\t\t\t\t\tthat.questionTplDetList[i].content = Util.changeDate(that.questionTplDetList[i].content) as any;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (isRequired != \"\") {\r\n\t\t\t\tthis.$Modal.confirm({\r\n\t\t\t\t\ttitle: this.L('Tips'),\r\n\t\t\t\t\tcontent: this.L('ItemRequired').replace(\"{0}\", isRequired),\r\n\t\t\t\t\tokText: this.L('OK'),\r\n\t\t\t\t\tcancelText: this.L('Cancel'),\r\n\t\t\t\t})\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tvar errorCount = 0;\r\n\t\t\tvar isShowError = false;\r\n\t\t\tif (that.questionTpl.isShowError != null && that.questionTpl.isShowError) {\r\n\t\t\t\tisShowError = true;\r\n\t\t\t}\r\n\r\n\t\t\tvar isMustRuired = \"\";\r\n\t\t\tvar isMustError = \"\";\r\n\t\t\tif (that.questionTpl.isVerifyAnswer != null && that.questionTpl.isVerifyAnswer) {\r\n\t\t\t\tfor (var i = 0; i < that.questionTplDetList.length; i++) {\r\n\t\t\t\t\tif (that.questionTplDetList[i].answer != null && that.questionTplDetList[i].answer != '') {\r\n\t\t\t\t\t\tif ((that.questionTplDetList[i].content == null || that\r\n\t\t\t\t\t\t\t\t.questionTplDetList[i].content == '')) {\r\n\t\t\t\t\t\t\tif (isMustRuired == \"\") {\r\n\t\t\t\t\t\t\t\tisMustRuired = that.questionTplDetList[i].sort.toString();\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tisMustRuired = isMustRuired + ',' + that.questionTplDetList[i].sort.toString();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t// uni.showModal({\r\n\t\t\t\t\t\t\t// \ttitle: this.L('Tips'),\r\n\t\t\t\t\t\t\t// \tcontent: that.L('ItemRequired').replace(\"{0}\", that.questionTplDetList[i]\r\n\t\t\t\t\t\t\t// \t\t.sort),\r\n\t\t\t\t\t\t\t// \tshowCancel: false,\r\n\t\t\t\t\t\t\t// \tconfirmText: this.L('OK'),\r\n\t\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t\t// return;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (that.questionTplDetList[i].questionValueType == 1 && that.questionTplDetList[i].detTpl !=\r\n\t\t\t\t\t\t\t'sex') {\r\n\t\t\t\t\t\t\tvar answer = \"\";\r\n\t\t\t\t\t\t\tvar detValueList = that.questionTplDetList[i].questionTplDetValueList;\r\n\t\t\t\t\t\t\tfor (var j = 0; j < detValueList.length; j++) {\r\n\t\t\t\t\t\t\t\tif (that.questionTplDetList[i].content.trim() == detValueList[j].id.toString()) {\r\n\t\t\t\t\t\t\t\t\tanswer = detValueList[j].shortName;\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (that.questionTplDetList[i].answer.trim() != answer.trim()) {\r\n\t\t\t\t\t\t\t\terrorCount++;\r\n\t\t\t\t\t\t\t\tif (!isShowError) {\r\n\t\t\t\t\t\t\t\t\tif (isMustError == \"\") {\r\n\t\t\t\t\t\t\t\t\t\tisMustError = that.questionTplDetList[i].sort.toString();\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\tisMustError = isMustError + ',' + that.questionTplDetList[i].sort.toString();\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tcontinue\r\n\t\t\t\t\t\t\t\t\t// uni.showModal({\r\n\t\t\t\t\t\t\t\t\t// \ttitle: this.L('Tips'),\r\n\t\t\t\t\t\t\t\t\t// \tcontent: that.L('ItemError').replace(\"{0}\", that\r\n\t\t\t\t\t\t\t\t\t// \t\t.questionTplDetList[\r\n\t\t\t\t\t\t\t\t\t// \t\t\ti].sort),\r\n\t\t\t\t\t\t\t\t\t// \tshowCancel: false,\r\n\t\t\t\t\t\t\t\t\t// \tconfirmText: this.L('OK'),\r\n\t\t\t\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t\t\t\t// return;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (that.questionTplDetList[i].questionValueType == 2 && that.questionTplDetList[i]\r\n\t\t\t\t\t\t\t.detTpl != 'sex') {\r\n\t\t\t\t\t\t\tvar answer = \"\";\r\n\t\t\t\t\t\t\tvar answerContent = that.questionTplDetList[i].content.split(',')\r\n\t\t\t\t\t\t\tvar detValueList = that.questionTplDetList[i].questionTplDetValueList;\r\n\r\n\t\t\t\t\t\t\tfor (var j = 0; j < detValueList.length; j++) {\r\n\t\t\t\t\t\t\t\tfor (var k = 0; k < answerContent.length; k++) {\r\n\t\t\t\t\t\t\t\t\tif (answerContent[k] == detValueList[j].id.toString()) {\r\n\t\t\t\t\t\t\t\t\t\tif (answer == '') {\r\n\t\t\t\t\t\t\t\t\t\t\tanswer = detValueList[j].shortName;\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\tanswer = answer + \",\" + detValueList[j].shortName;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tvar answerArr = that.questionTplDetList[i].answer.split(',');\r\n\t\t\t\t\t\t\tvar contentArr = answer.split(',')\r\n\r\n\t\t\t\t\t\t\t//交集\r\n\t\t\t\t\t\t\tvar intersection = answerArr.filter(v => contentArr.includes(v));\r\n\t\t\t\t\t\t\t//差集\r\n\t\t\t\t\t\t\tvar difference = answerArr.concat(contentArr).filter(v => !answerArr.includes(v) || !\r\n\t\t\t\t\t\t\t\tcontentArr.includes(v));\r\n\r\n\t\t\t\t\t\t\tif (!(intersection.length == answerArr.length && difference.length == 0)) {\r\n\t\t\t\t\t\t\t\terrorCount++;\r\n\t\t\t\t\t\t\t\tif (!isShowError) {\r\n\t\t\t\t\t\t\t\t\tif (isMustError == \"\") {\r\n\t\t\t\t\t\t\t\t\t\tisMustError = that.questionTplDetList[i].sort.toString();\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\tisMustError = isMustError + ',' + that.questionTplDetList[i].sort.toString();\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tcontinue\r\n\t\t\t\t\t\t\t\t\t// uni.showModal({\r\n\t\t\t\t\t\t\t\t\t// \ttitle: this.L('Tips'),\r\n\t\t\t\t\t\t\t\t\t// \tcontent: that.L('ItemError').replace(\"{0}\", that\r\n\t\t\t\t\t\t\t\t\t// \t\t.questionTplDetList[\r\n\t\t\t\t\t\t\t\t\t// \t\t\ti].sort),\r\n\t\t\t\t\t\t\t\t\t// \tshowCancel: false,\r\n\t\t\t\t\t\t\t\t\t// \tconfirmText: this.L('OK'),\r\n\t\t\t\t\t\t\t\t\t// })\r\n\r\n\t\t\t\t\t\t\t\t\t// return;\r\n\t\t\t\t\t\t\t\t}\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\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (isMustRuired != '' || isMustError != '') {\r\n\t\t\t\tvar content = \"\";\r\n\t\t\t\tif (isMustRuired != '') {\r\n\t\t\t\t\tcontent = this.L('ItemRequired').replace(\"{0}\", isRequired);\r\n\t\t\t\t}\r\n\t\t\t\tif (isMustError != '') {\r\n\t\t\t\t\tif (content != '') {\r\n\t\t\t\t\t\tcontent += \" ; \" + this.L('ItemError').replace(\"{0}\", isMustError);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tcontent = this.L('ItemError').replace(\"{0}\", isMustError);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tthis.$Modal.confirm({\r\n\t\t\t\t\ttitle: this.L('Tips'),\r\n\t\t\t\t\tcontent: content,\r\n\t\t\t\t\tokText: this.L('OK'),\r\n\t\t\t\t\tcancelText: this.L('Cancel'),\r\n\t\t\t\t})\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tthis.$Modal.confirm({\r\n\t\t\t\ttitle: this.L('Tips'),\r\n\t\t\t\tcontent: this.L('SubmitConfirm'),\r\n\t\t\t\tokText: this.L('OK'),\r\n\t\t\t\tcancelText: this.L('Cancel'),\r\n\t\t\t\tonOk: async () => {\r\n\t\t\t\t\tthat.disabled = true;\r\n\t\t\t\t\tthis.$Message.loading({\r\n\t\t\t\t\t\tcontent: this.L('保存中'),\r\n\t\t\t\t\t\tduration: 3\r\n\t\t\t\t\t});\r\n\t\t\t\t\tthat.questionTpl.questionTplDetList = that.questionTplDetList;\r\n\t\t\t\t\tthat.questionTpl.users = null;\r\n\t\t\t\t\tthat.questionTpl.organizations = null;\r\n\t\t\t\t\tthat.questionTpl.createUser = null;\r\n\t\t\t\t\tthat.$store.dispatch({\r\n\t\t\t\t\t\ttype: 'app/createQuestionUser',\r\n\t\t\t\t\t\tdata: that.questionTpl\r\n\t\t\t\t\t}).then((res) => {\r\n\t\t\t\t\t\tthat.$Message.destroy();\r\n\t\t\t\t\t\tif (res > 0) {\r\n\t\t\t\t\t\t\tthat.quid = res;\r\n\t\t\t\t\t\t\tif (isShowError) {\r\n\t\t\t\t\t\t\t\tif (errorCount == 0) {\r\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\tthat.$Modal.info({\r\n\t\t\t\t\t\t\t\t\t\t\ttitle: this.L('Tips'),\r\n\t\t\t\t\t\t\t\t\t\t\tcontent: this.L('SubmitSuccess'),\r\n\t\t\t\t\t\t\t\t\t\t\tokText: this.L('确定'),\r\n\t\t\t\t\t\t\t\t\t\t\tcancelText: this.L('取消'),\t\r\n\t\t\t\t\t\t\t\t\t\t\tonOk: async () => {\r\n\t\t\t\t\t\t\t\t\t\t\t\tthat.loadQuestionTplByUserId();\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}, 500)\r\n\r\n\t\t\t\t\t\t\t\t\t// that.$Message.success(\"提交成功\");\t\r\n\t\t\t\t\t\t\t\t\t// that.loadQuestionTplByUserId();\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\tthat.$Modal.info({\r\n\t\t\t\t\t\t\t\t\t\t\ttitle: this.L('Tips'),\r\n\t\t\t\t\t\t\t\t\t\t\tcontent: this.L('AnswerError'),\r\n\t\t\t\t\t\t\t\t\t\t\tokText: this.L('确定'),\r\n\t\t\t\t\t\t\t\t\t\t\tcancelText: this.L('取消'),\t\r\n\t\t\t\t\t\t\t\t\t\t\tonOk: async () => {\r\n\t\t\t\t\t\t\t\t\t\t\t\tthat.loadQuestionTplByUserId();\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}, 500)\r\n\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\tthat.$Modal.info({\r\n\t\t\t\t\t\t\t\t\t\ttitle: this.L('Tips'),\r\n\t\t\t\t\t\t\t\t\t\tcontent: this.L('SubmitSuccess'),\r\n\t\t\t\t\t\t\t\t\t\tokText: this.L('确定'),\r\n\t\t\t\t\t\t\t\t\t\tcancelText: this.L('取消'),\t\r\n\t\t\t\t\t\t\t\t\t\tonOk: async () => {\r\n\t\t\t\t\t\t\t\t\t\t\tthat.loadQuestionTplByUserId();\r\n\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\t}, 500)\r\n\r\n\t\t\t\t\t\t\t\t// that.$Message.success(\"提交成功\");\t\r\n\t\t\t\t\t\t\t\t// that.loadQuestionTplByUserId();\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthat.disabled = false;\r\n\t\t\t\t\t\t\t//that.$Message.error(\"提交失败\");\t\r\n\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\tthat.$Modal.error({\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\tokText: this.L('确定'),\r\n\t\t\t\t\t\t\t\t\tcancelText: this.L('取消'),\t\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}, 500)\r\n\r\n\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t}).catch(res => {\r\n\t\t\t\t\t\tthat.disabled = false;\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t}\r\n\r\n\t\t@Watch('$route')\r\n\t\troutechange(to: any, from: any) {\r\n\t\t\tif (to.query.qid != from.query.qid) {\r\n\t\t\t\tlocation.reload();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\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);\r\n\t\t\t\tthat.questionTpl = res;\r\n\t\t\t\tthat.questionTplDetList = that.questionTpl.questionTplDetList;\r\n\t\t\t\tfor (var i = 0; i < that.questionTplDetList.length; i++) {\r\n\t\t\t\t\tthat.questionTplDetList[i].content = \"\";\r\n\t\t\t\t\tthat.questionTplDetList[i].contentlist = [];\r\n\t\t\t\t}\r\n\t\t\t\tthat.weixinShare();\r\n\t\t\t\t// uni.setNavigationBarTitle({\r\n\t\t\t\t// \ttitle: that.questionTpl.name\r\n\t\t\t\t// })\r\n\t\t\t\tconsole.log(that.questionTpl);\r\n\r\n\t\t\t})\r\n\t\t}\r\n\r\n\t\tloadQuestionTplByUserId() {\r\n\t\t\tvar that = this;\r\n\t\t\tthis.$store.dispatch({\r\n\t\t\t\ttype: 'app/getQuestionByUserId',\r\n\t\t\t\tid: this.quid\r\n\t\t\t}).then(res => {\r\n\t\t\t\tthat.questionTpl = res;\r\n\t\t\t\tthat.questionTplDetList = that.questionTpl.questionTplDetList;\r\n\t\t\t\tconsole.log(that.questionTpl);\r\n\t\t\t})\r\n\t\t}\r\n\r\n\t\tasync created() {\r\n\t\t\tvar that = this;\r\n\t\t\tconsole.log(Util.abp.session.userId);\r\n\t\t\tif (!Util.abp.session.userId && Util.abp.session.userId != null) {\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\t// that.userId=userId as any;\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\r\n\t\t\t\tthis.getQuestionTplById();\r\n\t\t\t} else {\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\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!./testquestionuser.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!./testquestionuser.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./testquestionuser.vue?vue&type=template&id=d879d608&scoped=true\"\nimport script from \"./testquestionuser.vue?vue&type=script&lang=ts\"\nexport * from \"./testquestionuser.vue?vue&type=script&lang=ts\"\nimport style0 from \"./testquestionuser.vue?vue&type=style&index=0&id=d879d608&prod&scoped=true&lang=less\"\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 \"d879d608\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/weix.c145f62c.png\";","module.exports = __webpack_public_path__ + \"img/pyq.7b9b120c.png\";","import Entity from './entity'\nexport default class QuestionTplUser extends Entity{\r\n\r\n\tval1:string;\r\n\tval2:string;\r\n\tval3:string;\r\n\tval4:string;\r\n\tval5:string;\r\n\tval6:string;\r\n\tval7:string;\r\n\n}"],"sourceRoot":""}