ai-question-pro 0.0.14 → 0.0.16

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.
@@ -7,7 +7,7 @@
7
7
  <template slot="title">
8
8
  <div class="add_question_title">
9
9
  <span>AI出题</span>
10
- <img src="../static/robot.png">
10
+ <!-- <img src="../static/robot.png">-->
11
11
  </div>
12
12
  </template>
13
13
  <div class="add_question_body">
@@ -216,6 +216,15 @@ export default {
216
216
  doc.style.top = this.top + 'px'
217
217
  doc.style.height = `calc( 100% - ${this.top}px)`
218
218
  }
219
+ //国窖平台没有简答题
220
+ if(this.businessSource === '4'){
221
+ this.quesTypeList = [
222
+ { name: '单选题', id: 'single' },
223
+ { name: '多选题', id: 'multiple' },
224
+ { name: '判断题', id: 'judge' },
225
+ { name: '填空题', id: 'gapfilling' },
226
+ ]
227
+ }
219
228
  },
220
229
  methods: {
221
230
  handleInput(value) {
@@ -1477,7 +1477,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tree-select__option.el-select-dropdow
1477
1477
 
1478
1478
  /***/ }),
1479
1479
 
1480
- /***/ 7183:
1480
+ /***/ 9400:
1481
1481
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1482
1482
 
1483
1483
  "use strict";
@@ -1496,7 +1496,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
1496
1496
  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()));
1497
1497
  var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
1498
1498
  // Module
1499
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-9303d3f2].ai_contain{display:inline-block}[data-v-9303d3f2].ai_contain .el-drawer__header{padding-top:0;height:80px;background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-size:100% 100%}[data-v-9303d3f2].ai_contain .el-drawer__body{padding:0 20px}[data-v-9303d3f2].ai_contain .el-drawer__body{display:flex;flex-direction:column;justify-content:space-between}[data-v-9303d3f2].ai_contain .el-form-item__label{font-weight:700}[data-v-9303d3f2].ai_contain .el-input__inner{padding-right:0}[data-v-9303d3f2].ai_contain .el-cascader{width:100%}[data-v-9303d3f2].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-9303d3f2].ai_contain .add_question_title{display:flex;align-items:center;font-size:23px;color:#333}[data-v-9303d3f2].ai_contain .add_question_body .remind{font-size:14px;color:#9ba1ae}[data-v-9303d3f2].ai_contain .add_question_footer{padding:20px 0;border-top:1px solid #e6e6e6;display:flex;justify-content:center;align-items:center}[data-v-9303d3f2].ai_contain .el-loading-mask{border-radius:8px}[data-v-9303d3f2].ai_contain .el-dialog{background:linear-gradient(327deg,#dbecfe,#f9fcff);border-radius:8px}[data-v-9303d3f2].ai_contain .el-dialog .question_title{display:flex;align-items:center;font-weight:700;font-size:23px;color:#333}[data-v-9303d3f2].ai_contain .el-dialog .question_title img{margin-right:10px;width:35px;height:40px}[data-v-9303d3f2].ai_contain .el-dialog .question_body{padding:10px;min-height:500px;max-height:500px;overflow:auto}[data-v-9303d3f2].ai_contain .el-dialog .question_body::-webkit-scrollbar{width:4px}[data-v-9303d3f2].ai_contain .el-dialog .question_body::-webkit-scrollbar-button{display:none}[data-v-9303d3f2].ai_contain .el-dialog .question_body::-webkit-scrollbar-track-piece{background-color:transparent}[data-v-9303d3f2].ai_contain .el-dialog .question_body::-webkit-scrollbar-thumb{border-radius:3px;background:rgba(0,0,0,.5)}[data-v-9303d3f2].ai_contain .el-dialog .question_footer{display:flex;justify-content:space-between}[data-v-9303d3f2].ai_contain .el-dialog .question_footer .question_remind{align-self:flex-end;font-size:14px;color:#9ba1ae}", ""]);
1499
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-fbff3444].ai_contain{display:inline-block}[data-v-fbff3444].ai_contain .el-drawer__header{padding-top:0;height:80px;background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-size:100% 100%}[data-v-fbff3444].ai_contain .el-drawer__body{padding:0 20px}[data-v-fbff3444].ai_contain .el-drawer__body{display:flex;flex-direction:column;justify-content:space-between}[data-v-fbff3444].ai_contain .el-form-item__label{font-weight:700}[data-v-fbff3444].ai_contain .el-input__inner{padding-right:0}[data-v-fbff3444].ai_contain .el-cascader{width:100%}[data-v-fbff3444].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-fbff3444].ai_contain .add_question_title{display:flex;align-items:center;font-size:23px;color:#333}[data-v-fbff3444].ai_contain .add_question_body .remind{font-size:14px;color:#9ba1ae}[data-v-fbff3444].ai_contain .add_question_footer{padding:20px 0;border-top:1px solid #e6e6e6;display:flex;justify-content:center;align-items:center}[data-v-fbff3444].ai_contain .el-loading-mask{border-radius:8px}[data-v-fbff3444].ai_contain .el-dialog{background:linear-gradient(327deg,#dbecfe,#f9fcff);border-radius:8px}[data-v-fbff3444].ai_contain .el-dialog .question_title{display:flex;align-items:center;font-weight:700;font-size:23px;color:#333}[data-v-fbff3444].ai_contain .el-dialog .question_title img{margin-right:10px;width:35px;height:40px}[data-v-fbff3444].ai_contain .el-dialog .question_body{padding:10px;min-height:500px;max-height:500px;overflow:auto}[data-v-fbff3444].ai_contain .el-dialog .question_body::-webkit-scrollbar{width:4px}[data-v-fbff3444].ai_contain .el-dialog .question_body::-webkit-scrollbar-button{display:none}[data-v-fbff3444].ai_contain .el-dialog .question_body::-webkit-scrollbar-track-piece{background-color:transparent}[data-v-fbff3444].ai_contain .el-dialog .question_body::-webkit-scrollbar-thumb{border-radius:3px;background:rgba(0,0,0,.5)}[data-v-fbff3444].ai_contain .el-dialog .question_footer{display:flex;justify-content:space-between}[data-v-fbff3444].ai_contain .el-dialog .question_footer .question_remind{align-self:flex-end;font-size:14px;color:#9ba1ae}", ""]);
1500
1500
  // Exports
1501
1501
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1502
1502
 
@@ -32984,19 +32984,19 @@ var update = add("7c65751a", content, true, {"sourceMap":false,"shadowMode":fals
32984
32984
 
32985
32985
  /***/ }),
32986
32986
 
32987
- /***/ 2001:
32987
+ /***/ 3866:
32988
32988
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32989
32989
 
32990
32990
  // style-loader: Adds some css to the DOM by adding a <style> tag
32991
32991
 
32992
32992
  // load the styles
32993
- var content = __webpack_require__(7183);
32993
+ var content = __webpack_require__(9400);
32994
32994
  if(content.__esModule) content = content.default;
32995
32995
  if(typeof content === 'string') content = [[module.id, content, '']];
32996
32996
  if(content.locals) module.exports = content.locals;
32997
32997
  // add the styles to the DOM
32998
32998
  var add = (__webpack_require__(8459)/* ["default"] */ .A)
32999
- var update = add("ecdf2d12", content, true, {"sourceMap":false,"shadowMode":false});
32999
+ var update = add("5ee75ac8", content, true, {"sourceMap":false,"shadowMode":false});
33000
33000
 
33001
33001
  /***/ }),
33002
33002
 
@@ -33510,7 +33510,7 @@ if (typeof window !== 'undefined') {
33510
33510
  // Indicate to webpack that this file can be concatenated
33511
33511
  /* harmony default export */ var setPublicPath = (null);
33512
33512
 
33513
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=9303d3f2&scoped=true
33513
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=fbff3444&scoped=true
33514
33514
  var render = function render() {
33515
33515
  var _vm = this,
33516
33516
  _c = _vm._self._c;
@@ -33539,11 +33539,7 @@ var render = function render() {
33539
33539
  slot: "title"
33540
33540
  }, [_c('div', {
33541
33541
  staticClass: "add_question_title"
33542
- }, [_c('span', [_vm._v("AI出题")]), _c('img', {
33543
- attrs: {
33544
- "src": __webpack_require__(8931)
33545
- }
33546
- })])]), _c('div', {
33542
+ }, [_c('span', [_vm._v("AI出题")])])]), _c('div', {
33547
33543
  staticClass: "add_question_body"
33548
33544
  }, [_c('el-form', {
33549
33545
  ref: "form",
@@ -33739,7 +33735,7 @@ var render = function render() {
33739
33735
  };
33740
33736
  var staticRenderFns = [];
33741
33737
 
33742
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=9303d3f2&scoped=true
33738
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=fbff3444&scoped=true
33743
33739
 
33744
33740
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
33745
33741
  var questionItemvue_type_template_id_a8488d3c_scoped_true_render = function render() {
@@ -38034,6 +38030,22 @@ const createBurial = data => {
38034
38030
  doc.style.top = this.top + 'px';
38035
38031
  doc.style.height = `calc( 100% - ${this.top}px)`;
38036
38032
  }
38033
+ //国窖平台没有简答题
38034
+ if (this.businessSource === '4') {
38035
+ this.quesTypeList = [{
38036
+ name: '单选题',
38037
+ id: 'single'
38038
+ }, {
38039
+ name: '多选题',
38040
+ id: 'multiple'
38041
+ }, {
38042
+ name: '判断题',
38043
+ id: 'judge'
38044
+ }, {
38045
+ name: '填空题',
38046
+ id: 'gapfilling'
38047
+ }];
38048
+ }
38037
38049
  },
38038
38050
  methods: {
38039
38051
  handleInput(value) {
@@ -38263,9 +38275,9 @@ const createBurial = data => {
38263
38275
  });
38264
38276
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=script&lang=js
38265
38277
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
38266
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=9303d3f2&prod&lang=scss&scoped=true
38267
- var mainvue_type_style_index_0_id_9303d3f2_prod_lang_scss_scoped_true = __webpack_require__(2001);
38268
- ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=9303d3f2&prod&lang=scss&scoped=true
38278
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=fbff3444&prod&lang=scss&scoped=true
38279
+ var mainvue_type_style_index_0_id_fbff3444_prod_lang_scss_scoped_true = __webpack_require__(3866);
38280
+ ;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=fbff3444&prod&lang=scss&scoped=true
38269
38281
 
38270
38282
  ;// CONCATENATED MODULE: ./components/demo/src/main.vue
38271
38283
 
@@ -38282,7 +38294,7 @@ var main_component = normalizeComponent(
38282
38294
  staticRenderFns,
38283
38295
  false,
38284
38296
  null,
38285
- "9303d3f2",
38297
+ "fbff3444",
38286
38298
  null
38287
38299
 
38288
38300
  )