courseComment.js.map 27.4 KB
{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/App.vue?c512","webpack:///G:/项目/program/tigerprogram/App.vue","webpack:///G:/项目/program/tigerprogram/App.vue?aef7","webpack:///G:/项目/program/tigerprogram/App.vue?33d6","webpack:///G:/项目/program/tigerprogram/main.js","webpack:///G:/项目/program/tigerprogram/pages/course/courseComment.vue?ebdb","webpack:///G:/项目/program/tigerprogram/pages/course/courseComment.vue?76bc","webpack:///G:/项目/program/tigerprogram/pages/course/courseComment.vue?e4b4","webpack:///G:/项目/program/tigerprogram/pages/course/courseComment.vue?6bc2","webpack:///G:/项目/program/tigerprogram/pages/course/courseComment.vue","webpack:///G:/项目/program/tigerprogram/pages/course/courseComment.vue?5e55","webpack:///G:/项目/program/tigerprogram/pages/course/courseComment.vue?e9c3","webpack:///G:/项目/program/tigerprogram/App.vue?5a11"],"names":["onLaunch","onShow","onHide","post","url","data","promise","Promise","resolve","reject","that","token","uni","getStorageSync","header","postData","request","globalData","baseUrl","method","success","res","code","fail","e","hideNavigationBarLoading","userInfo","upload","filetype","file","wx","showNavigationBarLoading","showLoading","title","head","console","log","typename","uploadFile","filePath","name","formData","temdata","JSON","parse","urlobj","http_url","kurl","hideLoading","complete","createPage","Page","content","img","addpic","image","cimage","clock_log_id","comments_id","courseid","user_id","commenttype","customs_id","sendtrue","methods","entercomment","detail","value","uploadpic","uploadImg","chooseImage","count","sizeType","tempFilePaths","app","then","push","catch","err","deleteimg","item","i","length","splice","send","showToast","icon","params","images","join","setTimeout","redirectTo","switchTab","onLoad","options","undefined"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAA+rB,CAAgB,gtBAAG,EAAC,C;;;;;;;;;;;;;ACCpsB;AACdA,UAAQ,EAAE,oBAAW;;AAEpB,GAHa;AAIdC,QAAM,EAAE,kBAAW;;AAElB,GANa;AAOdC,QAAM,EAAE,kBAAW;;AAElB,GATa;AAUdC,MAAI,EAAE,cAASC,GAAT,EAAcC,IAA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ACA;AACD,KAVD,MAUM,IAAGoC,OAAO,CAACjC,WAAR,IAAqB,CAAxB,EAA0B;AAC/B,WAAKJ,YAAL,GAAkBqC,OAAO,CAACrC,YAA1B;AACA,WAAKE,QAAL,GAAcmC,OAAO,CAACnC,QAAtB;AACA,WAAKG,UAAL,GAAgBgC,OAAO,CAAChC,UAAxB;AACA,UAAGgC,OAAO,CAACpC,WAAR,IAAqBqC,SAAxB,EAAkC;AACjC,aAAKrC,WAAL,GAAiBoC,OAAO,CAACpC,WAAzB;AACA;;AAED,KARK,MAQD;AACJ,WAAKD,YAAL,GAAkBqC,OAAO,CAACrC,YAA1B;AACA,WAAKK,UAAL,GAAgBgC,OAAO,CAAChC,UAAxB;AACA,UAAGgC,OAAO,CAACpC,WAAR,IAAqBqC,SAAxB,EAAkC;AACjC,aAAKrC,WAAL,GAAiBoC,OAAO,CAACpC,WAAzB;AACA;AACD;AACD,GAtJa,E;;;;;;;;;;;;;ACvDf;AAAA;AAAA;AAAA;AAAgqC,CAAgB,soCAAG,EAAC,C;;;;;;;;;;;ACAprC,uC;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACuD;AACL;AACa;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAYf;AACD;AACe,gF","file":"pages/course/courseComment.js","sourcesContent":["import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"","\nexport default {\n\tonLaunch: function() {\n\t\t\n\t},\n\tonShow: function() {\n\t\t\n\t},\n\tonHide: function() {\n\t\t\n\t},\n\tpost: function(url, data) {\n\t\tvar promise = new Promise((resolve, reject) => {\n\t\t\t//init\n\t\t\tlet that = this,\n\t\t\t\ttoken = uni.getStorageSync('token'),\n\t\t\t\theader = {\n\t\t\t\t\t'token': token || ''\n\t\t\t\t},\n\t\t\t\tpostData;\n\t\t\t//网络请求\n\t\t\tuni.request({\n\t\t\t\turl: this.globalData.baseUrl + url,\n\t\t\t\tdata: data,\n\t\t\t\tmethod: 'POST',\n\t\t\t\theader: header,\n\t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\n\t\t\t\t\t//返回取得的数据\n\t\t\t\t\tif (res.data.code == '1') {\n\t\t\t\t\t\tresolve(res.data.data);\n\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t// uni.showToast({\n\t\t\t\t\t\t// \ttitle: res.data.msg,\n\t\t\t\t\t\t// \ticon: 'none'\n\t\t\t\t\t\t// });\n\t\t\t\t\t\treject(res.data);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tfail: function(e) {\n\t\t\t\t\treject('网络出错');\n\t\t\t\t\tuni.hideNavigationBarLoading();\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\treturn promise;\n\t},\n\t\n\t\n\t\n\tglobalData: {\n\t\tuserInfo: null,\n\t\tbaseUrl: 'http://fnsxcx.w.brotop.cn'\n\t},\n\t\n\tupload(filetype, file) {\n\t\n\t    var promise = new Promise((resolve, reject) => {\n\t      wx.showNavigationBarLoading()\n\t      wx.showLoading({\n\t        title: '上传中',\n\t      })\n\t      let url = 'http://fnsxcx.w.brotop.cn/api/common/upload';\n\t\t \n\t\t\n\t      let head = {\n\t        'token':uni.getStorageSync('token'),\n\t        'XX-Device-Type': ''\n\t      }\n\t\t  console.log(head)\n\t      let typename = {\n\t        filetype: filetype\n\t      }\n\t      wx.uploadFile({\n\t        url: url, //仅为示例,非真实的接口地址\n\t        filePath: file,\n\t        name: 'file',\n\t        header: head,\n\t        formData: typename,\n\t        success: function (res) {\n\t          console.log('上传文件后', res)\n\t          let temdata = JSON.parse(res.data);\n\t          console.log(temdata)\n\t          let urlobj = {\n\t            url: temdata.data.http_url,\n\t            kurl: temdata.data.url\n\t          }\n\t          resolve(urlobj);\n\t\n\t        },\n\t        fail: function (res) {\n\t          reject('网络出错');\n\t          wx.hideNavigationBarLoading()\n\t          wx.hideLoading()\n\t        },\n\t        complete: () => {\n\t          wx.hideNavigationBarLoading()\n\t          wx.hideLoading()\n\t        },\n\t      })\n\t    });\n\t    return promise;\n\t  },\n\t  \n\t\n}\n","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin","import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue'            \nimport Page from './pages/course/courseComment.vue'\ncreatePage(Page)","import { render, staticRenderFns } from \"./courseComment.vue?vue&type=template&id=6a6a0abe&\"\nimport script from \"./courseComment.vue?vue&type=script&lang=js&\"\nexport * from \"./courseComment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./courseComment.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\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\n/* hot reload */\nif (module.hot) {\n  var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n  api.install(require('vue'))\n  if (api.compatible) {\n    module.hot.accept()\n    if (!module.hot.data) {\n      api.createRecord('6a6a0abe', component.options)\n    } else {\n      api.reload('6a6a0abe', component.options)\n    }\n    module.hot.accept(\"./courseComment.vue?vue&type=template&id=6a6a0abe&\", function () {\n      api.rerender('6a6a0abe', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/pages/course/courseComment.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=template&id=6a6a0abe&\"","var render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport app from \"../../App.vue\";\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tcontent:\"\",\n\t\t\timg:\"../../static/addpic.png\",\n\t\t\taddpic:true,\n\t\t\timage:[],\n\t\t\tcimage:'',\n\t\t\t// 打卡记录id\n\t\t\tclock_log_id:'',\n\t\t\t//评论父级id\n\t\t\tcomments_id:'',\n\t\t\tcourseid:'',\n\t\t\tuser_id:'',\n\t\t\tcommenttype:'',\n\t\t\tcustoms_id:'',\n\t\t\tsendtrue:false\n\t\t\t\n\t\t\t\n\t\t}\n\t},\n\tmethods: {\n\t\t// 输入评论内容\n\t\tentercomment(e){\n\t\t\tthis.content=e.detail.value\n\t\t},\n\t\tuploadpic(){\n\t\t\tconsole.log(3874273487)\n\t\t\tthis.addpic=false\n\t\t},\n\t\t// 上传图片\n\t\t\n\t\tuploadImg() {\n\t\t   let that = this;\n\t\t   uni.chooseImage({\n\t\t     count: 1,\n\t\t     sizeType: ['original', 'compressed'],\n\t\t     success: function (res) {\n\t\t       console.log(res.tempFilePaths[0])\n\t\t       app.upload('image', res.tempFilePaths[0],\"post\").then((res) => {\n\t\t         console.log('上传文件', res);\n\t\t         that.image.push(res.url);\n\t\t\t\t that.image=that.image\n\t\t          that.cimage=res.kurl\n\t\t       \n\t\t\t\t\t\t   \n\t\t\t\t\t\t   \n\t\t       }).catch((err) => {\n\t\t         console.log(err)\n\t\t       })\n\t\t     },\n\t\t     fail: function (res) { }\n\t\t   })\n\t\t },\n\t\t deleteimg(item){\n\t\t \t// console.log(e)\n\t\t \t// var url=e.currentTarget.dataset.url;\n\t\t \tfor(var i=0;i<this.image.length;i++){\n\t\t \t\tif(item==this.image[i]){\n\t\t \t\t\tthis.image.splice(i,1);\n\t\t \t\t\t\n\t\t \t\t}\n\t\t \t}\n\t\t \tthis.image=this.image;\n\t\t \t\n\t\t \t\n\t\t },\n\t\t //发送\n\t\t send(){\n\t\t\t let that = this;\n\t\t\t if(that.content==''){\n\t\t\t\t uni.showToast({\n\t\t\t\t \ttitle:'请输入评价内容',\n\t\t\t\t\ticon:'none'\n\t\t\t\t })\n\t\t\t\t return false\n\t\t\t }\n\t\t\t    var url = '/api/comments/commit';\n\t\t\t    var params = {\n\t\t\t\t  clock_log_id:that.clock_log_id,\n\t\t\t      comments_id: that.comments_id,\n\t\t\t     content:that.content,\n\t\t\t\t images:that.image.join(\",\")\n\t\t\t    }\n\t\t\t\tconsole.log(this.clock_log_id)\n\t\t\t\tconsole.log(params)\n\t\t\t\tconsole.log(this.comments_id)\n\t\t\t    app.post(url, params).then((res) => {\n\t\t\t      console.log(res);\n\t\t\t\t\t// uni.showToast({\n\t\t\t\t\t// \ttitle:'提交成功',\n\t\t\t\t\t// \ticon:'none'\n\t\t\t\t\t// })\n\t\t\t\t\tthat.sendtrue=true\n\t\t\t\t\tconsole.log(typeof(this.commenttype))\n\t\t\t\t\tconsole.log(this.commenttype)\n\t\t\t     setTimeout(function(){\n\t\t\t\t\t if(that.commenttype==1){\n\t\t\t\t\t\t \n\t\t\t\t\t\t console.log(988765,that.courseid)\n\t\t\t\t\t\tuni.redirectTo({\n\t\t\t\t\t\t\turl:'/pages/course/courseDetail?id='+that.customs_id+'&courseid='+that.courseid\n\t\t\t\t\t\t}) \n\t\t\t\t\t }else if(that.commenttype==2){\n\t\t\t\t\t\t console.log(9887)\n\t\t\t\t\t\t uni.redirectTo({\n\t\t\t\t\t\t \turl:'/pages/course/recordClock?customs_id='+that.customs_id+'&user_id='+that.user_id+'&courseid='+that.courseid\n\t\t\t\t\t\t })\n\t\t\t\t\t }else if(that.commenttype==3){\n\t\t\t\t\t\t console.log(9887)\n\t\t\t\t\t\t uni.switchTab({\n\t\t\t\t\t\t \turl:'/pages/mine/mine'\n\t\t\t\t\t\t })\n\t\t\t\t\t }\n\t\t\t\t\t \n\t\t\t\t },1500)\n\t\t\t    }).catch((err) => {\n\t\t\t\t\t\n\t\t\t    }) \n\t\t }\n\t},\n\t\n\tonLoad(options) {\n\t\tconsole.log(options)\n\t\tthis.commenttype=options.commenttype\n\t\tif(options.commenttype==2){\n\t\t\tthis.courseid=options.courseid;\n\t\t\tthis.user_id=options.user_id;\n\t\t\tthis.clock_log_id=options.clock_log_id;\n\t\t\t\n\t\t\tthis.customs_id=options.customs_id\n\t\t\t\n\t\t\tif(options.comments_id!=undefined){\n\t\t\t\tthis.comments_id=options.comments_id;\n\t\t\t}\n\t\t}else if(options.commenttype==1){\n\t\t\tthis.clock_log_id=options.clock_log_id;\n\t\t\tthis.courseid=options.courseid\n\t\t\tthis.customs_id=options.customs_id\n\t\t\tif(options.comments_id!=undefined){\n\t\t\t\tthis.comments_id=options.comments_id;\n\t\t\t}\n\t\t\t\n\t\t}else{\n\t\t\tthis.clock_log_id=options.clock_log_id;\n\t\t\tthis.customs_id=options.customs_id\n\t\t\tif(options.comments_id!=undefined){\n\t\t\t\tthis.comments_id=options.comments_id;\n\t\t\t}\n\t\t}\n\t}\n}\n","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin","var render, staticRenderFns\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\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\n/* hot reload */\nif (module.hot) {\n  var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n  api.install(require('vue'))\n  if (api.compatible) {\n    module.hot.accept()\n    if (!module.hot.data) {\n      api.createRecord('58f4bb0e', component.options)\n    } else {\n      api.reload('58f4bb0e', component.options)\n    }\n    \n  }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/App.vue\"\nexport default component.exports"],"sourceRoot":""}