ai-question-pro 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1487,7 +1487,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tree-select__option.el-select-dropdow
1487
1487
 
1488
1488
  /***/ }),
1489
1489
 
1490
- /***/ 7933:
1490
+ /***/ 1594:
1491
1491
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1492
1492
 
1493
1493
  "use strict";
@@ -1506,7 +1506,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
1506
1506
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
1507
1507
  var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
1508
1508
  // Module
1509
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-2eb1564c].ai_contain{display:inline-block}[data-v-2eb1564c].ai_contain .el-drawer__header{padding-top:0;height:80px;background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-size:100% 100%}[data-v-2eb1564c].ai_contain .el-drawer__body{padding:0 20px}[data-v-2eb1564c].ai_contain .el-drawer__body{display:flex;flex-direction:column;justify-content:space-between}[data-v-2eb1564c].ai_contain .el-form-item__label{font-weight:700}[data-v-2eb1564c].ai_contain .el-input__inner{padding-right:0}[data-v-2eb1564c].ai_contain .el-cascader{width:100%}[data-v-2eb1564c].ai_contain .ai_button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:9px 6px;position:relative;color:#fff;background-color:#456bea;border-radius:4px;border:1px solid #456bea}[data-v-2eb1564c].ai_contain .add_question_title{display:flex;align-items:center;font-size:23px;color:#333}[data-v-2eb1564c].ai_contain .add_question_body .remind{font-size:14px;color:#9ba1ae}[data-v-2eb1564c].ai_contain .add_question_footer{padding:20px 0;border-top:1px solid #e6e6e6;display:flex;justify-content:center;align-items:center}[data-v-2eb1564c].ai_contain .el-loading-mask{border-radius:8px}[data-v-2eb1564c].ai_contain .el-dialog{background:linear-gradient(327deg,#dbecfe,#f9fcff);border-radius:8px}[data-v-2eb1564c].ai_contain .el-dialog .question_title{display:flex;align-items:center;font-weight:700;font-size:23px;color:#333}[data-v-2eb1564c].ai_contain .el-dialog .question_title img{margin-right:10px;width:35px;height:40px}[data-v-2eb1564c].ai_contain .el-dialog .question_body{padding:10px;min-height:500px;max-height:500px;overflow:auto}[data-v-2eb1564c].ai_contain .el-dialog .question_body::-webkit-scrollbar{width:4px}[data-v-2eb1564c].ai_contain .el-dialog .question_body::-webkit-scrollbar-button{display:none}[data-v-2eb1564c].ai_contain .el-dialog .question_body::-webkit-scrollbar-track-piece{background-color:transparent}[data-v-2eb1564c].ai_contain .el-dialog .question_body::-webkit-scrollbar-thumb{border-radius:3px;background:rgba(0,0,0,.5)}[data-v-2eb1564c].ai_contain .el-dialog .question_footer{display:flex;justify-content:space-between}[data-v-2eb1564c].ai_contain .el-dialog .question_footer .question_remind{align-self:flex-end;font-size:14px;color:#9ba1ae}", ""]);
1509
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-6d0fbaf2].ai_contain{display:inline-block}[data-v-6d0fbaf2].ai_contain .el-drawer__header{padding-top:0;height:80px;background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-size:100% 100%}[data-v-6d0fbaf2].ai_contain .el-drawer__body{padding:0 20px}[data-v-6d0fbaf2].ai_contain .el-drawer__body{display:flex;flex-direction:column;justify-content:space-between}[data-v-6d0fbaf2].ai_contain .el-form-item__label{font-weight:700}[data-v-6d0fbaf2].ai_contain .el-input__inner{padding-right:0}[data-v-6d0fbaf2].ai_contain .el-cascader{width:100%}[data-v-6d0fbaf2].ai_contain .ai_button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:9px 6px;position:relative;color:#fff;background-color:#456bea;border-radius:4px;border:1px solid #456bea}[data-v-6d0fbaf2].ai_contain .add_question_title{display:flex;align-items:center;font-size:23px;color:#333}[data-v-6d0fbaf2].ai_contain .add_question_body .remind{font-size:14px;color:#9ba1ae}[data-v-6d0fbaf2].ai_contain .add_question_footer{padding:20px 0;border-top:1px solid #e6e6e6;display:flex;justify-content:center;align-items:center}[data-v-6d0fbaf2].ai_contain .el-loading-mask{border-radius:8px}[data-v-6d0fbaf2].ai_contain .el-dialog{background:linear-gradient(327deg,#dbecfe,#f9fcff);border-radius:8px}[data-v-6d0fbaf2].ai_contain .el-dialog .question_title{display:flex;align-items:center;font-weight:700;font-size:23px;color:#333}[data-v-6d0fbaf2].ai_contain .el-dialog .question_title img{margin-right:10px;width:35px;height:40px}[data-v-6d0fbaf2].ai_contain .el-dialog .question_body{padding:10px;min-height:500px;max-height:500px;overflow:auto}[data-v-6d0fbaf2].ai_contain .el-dialog .question_body::-webkit-scrollbar{width:4px}[data-v-6d0fbaf2].ai_contain .el-dialog .question_body::-webkit-scrollbar-button{display:none}[data-v-6d0fbaf2].ai_contain .el-dialog .question_body::-webkit-scrollbar-track-piece{background-color:transparent}[data-v-6d0fbaf2].ai_contain .el-dialog .question_body::-webkit-scrollbar-thumb{border-radius:3px;background:rgba(0,0,0,.5)}[data-v-6d0fbaf2].ai_contain .el-dialog .question_footer{display:flex;justify-content:space-between}[data-v-6d0fbaf2].ai_contain .el-dialog .question_footer .question_remind{align-self:flex-end;font-size:14px;color:#9ba1ae}", ""]);
1510
1510
  // Exports
1511
1511
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1512
1512
 
@@ -32994,19 +32994,19 @@ var update = add("494ddf1a", content, true, {"sourceMap":false,"shadowMode":fals
32994
32994
 
32995
32995
  /***/ }),
32996
32996
 
32997
- /***/ 8249:
32997
+ /***/ 9526:
32998
32998
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32999
32999
 
33000
33000
  // style-loader: Adds some css to the DOM by adding a <style> tag
33001
33001
 
33002
33002
  // load the styles
33003
- var content = __webpack_require__(7933);
33003
+ var content = __webpack_require__(1594);
33004
33004
  if(content.__esModule) content = content.default;
33005
33005
  if(typeof content === 'string') content = [[module.id, content, '']];
33006
33006
  if(content.locals) module.exports = content.locals;
33007
33007
  // add the styles to the DOM
33008
33008
  var add = (__webpack_require__(258)/* ["default"] */ .A)
33009
- var update = add("02876391", content, true, {"sourceMap":false,"shadowMode":false});
33009
+ var update = add("9f6d9ca4", content, true, {"sourceMap":false,"shadowMode":false});
33010
33010
 
33011
33011
  /***/ }),
33012
33012
 
@@ -33520,7 +33520,7 @@ if (typeof window !== 'undefined') {
33520
33520
  // Indicate to webpack that this file can be concatenated
33521
33521
  /* harmony default export */ var setPublicPath = (null);
33522
33522
 
33523
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=template&id=2eb1564c&scoped=true
33523
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=template&id=6d0fbaf2&scoped=true
33524
33524
  var render = function render() {
33525
33525
  var _vm = this,
33526
33526
  _c = _vm._self._c;
@@ -33549,11 +33549,7 @@ var render = function render() {
33549
33549
  slot: "title"
33550
33550
  }, [_c('div', {
33551
33551
  staticClass: "add_question_title"
33552
- }, [_c('span', [_vm._v("AI出题")]), _c('img', {
33553
- attrs: {
33554
- "src": __webpack_require__(8931)
33555
- }
33556
- })])]), _c('div', {
33552
+ }, [_c('span', [_vm._v("AI出题")])])]), _c('div', {
33557
33553
  staticClass: "add_question_body"
33558
33554
  }, [_c('el-form', {
33559
33555
  ref: "form",
@@ -33749,7 +33745,7 @@ var render = function render() {
33749
33745
  };
33750
33746
  var staticRenderFns = [];
33751
33747
 
33752
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=2eb1564c&scoped=true
33748
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=6d0fbaf2&scoped=true
33753
33749
 
33754
33750
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/questionItem.vue?vue&type=template&id=a8488d3c&scoped=true
33755
33751
  var questionItemvue_type_template_id_a8488d3c_scoped_true_render = function render() {
@@ -37836,11 +37832,12 @@ service.interceptors.response.use(res => {
37836
37832
  if (res.data.code == 401) {
37837
37833
  element_ui_common.Message.warning(res.data.msg);
37838
37834
  }
37839
- if (!res.data.success) {
37840
- // Message.warning(res.data.errMessage)
37841
- } else {
37842
- return res.data;
37843
- }
37835
+ // if (!res.data.success) {
37836
+ // // Message.warning(res.data.errMessage)
37837
+ // } else {
37838
+ // return res.data
37839
+ // }
37840
+ return res.data;
37844
37841
  });
37845
37842
  /* harmony default export */ var request = (service);
37846
37843
  ;// CONCATENATED MODULE: ./components/demo/api/index.js
@@ -37859,10 +37856,13 @@ const agreeQuestion = data => {
37859
37856
  data: data
37860
37857
  });
37861
37858
  };
37862
- const checkVersion = () => {
37859
+ const checkVersion = businessSource => {
37863
37860
  return request({
37864
- url: "/video/checkVersion",
37865
- method: "post"
37861
+ url: "/xh/question/checkVersion",
37862
+ method: "post",
37863
+ params: {
37864
+ businessSource: businessSource
37865
+ }
37866
37866
  });
37867
37867
  };
37868
37868
  const createBurial = data => {
@@ -37935,6 +37935,10 @@ const createBurial = data => {
37935
37935
  label: 'label',
37936
37936
  children: 'children'
37937
37937
  })
37938
+ },
37939
+ businessSource: {
37940
+ type: String,
37941
+ default: "0" // 默认值为空字符串
37938
37942
  }
37939
37943
  },
37940
37944
  data() {
@@ -38073,7 +38077,8 @@ const createBurial = data => {
38073
38077
  this.addShow = !this.addShow;
38074
38078
  createBurial({
38075
38079
  businessType: 3,
38076
- operatorType: 0
38080
+ operatorType: 0,
38081
+ businessSource: this.businessSource
38077
38082
  });
38078
38083
  },
38079
38084
  //生成题目
@@ -38131,7 +38136,8 @@ const createBurial = data => {
38131
38136
  difficultys: this.form.difficultys,
38132
38137
  prompt: this.form.prompt
38133
38138
  },
38134
- sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : ''
38139
+ sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : '',
38140
+ businessSource: this.businessSource
38135
38141
  };
38136
38142
  getAiQuestion(obj).then(res => {
38137
38143
  if (res.success) {
@@ -38162,13 +38168,15 @@ const createBurial = data => {
38162
38168
  },
38163
38169
  //发送请求
38164
38170
  sendPost() {
38165
- checkVersion().then(res => {
38171
+ checkVersion(this.businessSource).then(res => {
38172
+ console.log(res);
38166
38173
  if (res.errCode === '403') {
38167
38174
  this.$message.warning(res.errMessage);
38168
38175
  } else {
38169
38176
  this.postQuestion();
38170
38177
  }
38171
38178
  });
38179
+ // this.postQuestion();
38172
38180
  },
38173
38181
  postQuestion() {
38174
38182
  this.rebuildFlag = true;
@@ -38191,7 +38199,8 @@ const createBurial = data => {
38191
38199
  difficultys: this.form.difficultys,
38192
38200
  prompt: this.form.prompt
38193
38201
  },
38194
- sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : ''
38202
+ sessionId: this.aiResponse.sessionId ? this.aiResponse.sessionId : '',
38203
+ businessSource: this.businessSource
38195
38204
  };
38196
38205
  getAiQuestion(obj).then(res => {
38197
38206
  // console.log("questions obj is :" + JSON.stringify(res.data.questions));
@@ -38260,9 +38269,9 @@ const createBurial = data => {
38260
38269
  });
38261
38270
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=script&lang=js
38262
38271
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
38263
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=0&id=2eb1564c&prod&lang=scss&scoped=true
38264
- var mainvue_type_style_index_0_id_2eb1564c_prod_lang_scss_scoped_true = __webpack_require__(8249);
38265
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=2eb1564c&prod&lang=scss&scoped=true
38272
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/demo/src/main.vue?vue&type=style&index=0&id=6d0fbaf2&prod&lang=scss&scoped=true
38273
+ var mainvue_type_style_index_0_id_6d0fbaf2_prod_lang_scss_scoped_true = __webpack_require__(9526);
38274
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=6d0fbaf2&prod&lang=scss&scoped=true
38266
38275
 
38267
38276
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue
38268
38277
 
@@ -38279,7 +38288,7 @@ var main_component = normalizeComponent(
38279
38288
  staticRenderFns,
38280
38289
  false,
38281
38290
  null,
38282
- "2eb1564c",
38291
+ "6d0fbaf2",
38283
38292
  null
38284
38293
 
38285
38294
  )