{"remainingRequest":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\examine-fvue\\src\\views\\mnksMenu\\components\\bookOfErrors.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\src\\views\\mnksMenu\\components\\bookOfErrors.vue","mtime":1669946315563},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/web.dom.iterable\";\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//\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 { mapState } from 'vuex';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport xlcjMenu from '@/api/examination/xlcjMenu.js';\nexport default {\n  mixins: [TableMixin],\n  name: 'bookOfErrors',\n  components: {},\n  data: function data() {\n    return {\n      circleUrl: \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\",\n      //头像\n      hr: 1,\n      min: 60,\n      sec: 0,\n      radio: '',\n      checkList: [],\n      radio3: '',\n      input: '',\n      textarea: '',\n      end: null,\n      paperData: {},\n      //试卷数据\n      topicList: [],\n      //题目类型\n      formalType: false,\n      //正式考试\n      userKey: null,\n      paperName: null,\n      newParams: {}\n    };\n  },\n  created: function created() {\n    this.topicList = dictUtils.getDictItemsFromCache('sttx');\n  },\n  methods: {\n    loadData: function loadData() {\n      var _this = this;\n\n      console.log(this.$route.params);\n\n      if (this.$route.params.id !== {} && typeof this.$route.params.id === 'string') {\n        this.userKey = this.$route.params.id;\n        this.paperName = this.$route.params.paperName;\n        sessionStorage.setItem('userkey', this.userKey); //初次收到userKey，存起来\n\n        sessionStorage.setItem('paperName', this.paperName); //初次收到userKey，存起来\n      } else {\n        if (sessionStorage.getItem('userkey')) {\n          this.userKey = sessionStorage.getItem('userkey'); //不是第一次了，取出来\n\n          this.paperName = sessionStorage.getItem('paperName'); //不是第一次了，取出来\n        } else {\n          //如果实在是没有了，就直接去store里面取\n          this.userKey = store.state.user.userInfo.userKey;\n          this.paperName = store.state.user.userInfo.paperName;\n        }\n      }\n\n      xlcjMenu.errorQuestionsList(this.userKey, function (res) {\n        console.log(res);\n\n        if (res) {\n          res.forEach(function (e) {\n            if (e.parsing) {\n              e.parsing = e.parsing.replace(/<[^>]+>/g, '');\n            }\n\n            if (e.result) {\n              if (e.type == 2) {\n                var arr = JSON.parse(JSON.stringify(e.result.split(\",\")));\n                e.result = [];\n                arr.forEach(function (re) {\n                  e.result.push(re);\n                });\n              }\n            } else {\n              if (e.type == 2) {\n                e.result = [];\n              } else {\n                e.result = '';\n              }\n            }\n\n            _this.topicList.forEach(function (t) {\n              if (e.type == t.value) {\n                e.typeName = t.name;\n              }\n            });\n          });\n          _this.paperData = res;\n        }\n      });\n    },\n    submitPaper: function submitPaper() {}\n  }\n};",null]}