ai-question-pro 0.0.9 → 0.0.11
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.
- package/components/demo/api/index.js +7 -0
- package/components/demo/src/main.vue +66 -49
- package/dist/ai-question-pro.common.js +38 -14
- package/dist/ai-question-pro.common.js.map +1 -1
- package/dist/ai-question-pro.umd.js +38 -14
- package/dist/ai-question-pro.umd.js.map +1 -1
- package/dist/ai-question-pro.umd.min.js +3 -3
- package/dist/ai-question-pro.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1487,7 +1487,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tree-select__option.el-select-dropdow
|
|
|
1487
1487
|
|
|
1488
1488
|
/***/ }),
|
|
1489
1489
|
|
|
1490
|
-
/***/
|
|
1490
|
+
/***/ 308:
|
|
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-
|
|
1509
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-2ad414c0].ai_contain{display:inline-block}[data-v-2ad414c0].ai_contain .el-drawer__header{padding-top:0;height:80px;background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-size:100% 100%}[data-v-2ad414c0].ai_contain .el-drawer__body{padding:0 20px}[data-v-2ad414c0].ai_contain .el-drawer__body{display:flex;flex-direction:column;justify-content:space-between}[data-v-2ad414c0].ai_contain .el-form-item__label{font-weight:700}[data-v-2ad414c0].ai_contain .el-input__inner{padding-right:0}[data-v-2ad414c0].ai_contain .el-cascader{width:100%}[data-v-2ad414c0].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-2ad414c0].ai_contain .add_question_title{display:flex;align-items:center;font-size:23px;color:#333}[data-v-2ad414c0].ai_contain .add_question_body .remind{font-size:14px;color:#9ba1ae}[data-v-2ad414c0].ai_contain .add_question_footer{padding:20px 0;border-top:1px solid #e6e6e6;display:flex;justify-content:center;align-items:center}[data-v-2ad414c0].ai_contain .el-loading-mask{border-radius:8px}[data-v-2ad414c0].ai_contain .el-dialog{background:linear-gradient(327deg,#dbecfe,#f9fcff);border-radius:8px}[data-v-2ad414c0].ai_contain .el-dialog .question_title{display:flex;align-items:center;font-weight:700;font-size:23px;color:#333}[data-v-2ad414c0].ai_contain .el-dialog .question_title img{margin-right:10px;width:35px;height:40px}[data-v-2ad414c0].ai_contain .el-dialog .question_body{padding:10px;min-height:500px;max-height:500px;overflow:auto}[data-v-2ad414c0].ai_contain .el-dialog .question_body::-webkit-scrollbar{width:4px}[data-v-2ad414c0].ai_contain .el-dialog .question_body::-webkit-scrollbar-button{display:none}[data-v-2ad414c0].ai_contain .el-dialog .question_body::-webkit-scrollbar-track-piece{background-color:transparent}[data-v-2ad414c0].ai_contain .el-dialog .question_body::-webkit-scrollbar-thumb{border-radius:3px;background:rgba(0,0,0,.5)}[data-v-2ad414c0].ai_contain .el-dialog .question_footer{display:flex;justify-content:space-between}[data-v-2ad414c0].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
|
-
/***/
|
|
32997
|
+
/***/ 2136:
|
|
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__(
|
|
33003
|
+
var content = __webpack_require__(308);
|
|
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("
|
|
33009
|
+
var update = add("735cde0e", 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=
|
|
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=2ad414c0&scoped=true
|
|
33524
33524
|
var render = function render() {
|
|
33525
33525
|
var _vm = this,
|
|
33526
33526
|
_c = _vm._self._c;
|
|
@@ -33580,8 +33580,12 @@ var render = function render() {
|
|
|
33580
33580
|
expression: "form.questionType"
|
|
33581
33581
|
}
|
|
33582
33582
|
}, _vm._l(_vm.quesTypeList, function (item) {
|
|
33583
|
-
return _c('el-radio
|
|
33583
|
+
return _c('el-radio', {
|
|
33584
33584
|
key: item.id,
|
|
33585
|
+
staticStyle: {
|
|
33586
|
+
"margin-right": "8px",
|
|
33587
|
+
"margin-bottom": "8px"
|
|
33588
|
+
},
|
|
33585
33589
|
attrs: {
|
|
33586
33590
|
"label": item.id
|
|
33587
33591
|
}
|
|
@@ -33647,8 +33651,12 @@ var render = function render() {
|
|
|
33647
33651
|
expression: "form.difficulty"
|
|
33648
33652
|
}
|
|
33649
33653
|
}, _vm._l(_vm.difficultyList, function (item) {
|
|
33650
|
-
return _c('el-radio
|
|
33654
|
+
return _c('el-radio', {
|
|
33651
33655
|
key: item.id,
|
|
33656
|
+
staticStyle: {
|
|
33657
|
+
"margin-right": "8px",
|
|
33658
|
+
"margin-bottom": "8px"
|
|
33659
|
+
},
|
|
33652
33660
|
attrs: {
|
|
33653
33661
|
"label": item.id
|
|
33654
33662
|
}
|
|
@@ -33741,7 +33749,7 @@ var render = function render() {
|
|
|
33741
33749
|
};
|
|
33742
33750
|
var staticRenderFns = [];
|
|
33743
33751
|
|
|
33744
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=
|
|
33752
|
+
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=template&id=2ad414c0&scoped=true
|
|
33745
33753
|
|
|
33746
33754
|
;// 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
|
|
33747
33755
|
var questionItemvue_type_template_id_a8488d3c_scoped_true_render = function render() {
|
|
@@ -37851,6 +37859,12 @@ const agreeQuestion = data => {
|
|
|
37851
37859
|
data: data
|
|
37852
37860
|
});
|
|
37853
37861
|
};
|
|
37862
|
+
const checkVersion = () => {
|
|
37863
|
+
return request({
|
|
37864
|
+
url: "/video/checkVersion",
|
|
37865
|
+
method: "post"
|
|
37866
|
+
});
|
|
37867
|
+
};
|
|
37854
37868
|
const createBurial = data => {
|
|
37855
37869
|
return request({
|
|
37856
37870
|
url: `/visit/create`,
|
|
@@ -38025,7 +38039,8 @@ const createBurial = data => {
|
|
|
38025
38039
|
},
|
|
38026
38040
|
methods: {
|
|
38027
38041
|
handleInput(value) {
|
|
38028
|
-
value = parseFloat(value);
|
|
38042
|
+
// value = parseFloat(value);
|
|
38043
|
+
value = parseInt(value);
|
|
38029
38044
|
if (value < 1) {
|
|
38030
38045
|
this.form.count = 1;
|
|
38031
38046
|
} else if (value > 10) {
|
|
@@ -38147,6 +38162,15 @@ const createBurial = data => {
|
|
|
38147
38162
|
},
|
|
38148
38163
|
//发送请求
|
|
38149
38164
|
sendPost() {
|
|
38165
|
+
checkVersion().then(res => {
|
|
38166
|
+
if (res.data.errCode === '403') {
|
|
38167
|
+
this.$message.warning(res.data.errMessage);
|
|
38168
|
+
} else {
|
|
38169
|
+
this.postQuestion();
|
|
38170
|
+
}
|
|
38171
|
+
});
|
|
38172
|
+
},
|
|
38173
|
+
postQuestion() {
|
|
38150
38174
|
this.rebuildFlag = true;
|
|
38151
38175
|
this.generateCount = 0;
|
|
38152
38176
|
this.aiResponse = {};
|
|
@@ -38236,9 +38260,9 @@ const createBurial = data => {
|
|
|
38236
38260
|
});
|
|
38237
38261
|
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=script&lang=js
|
|
38238
38262
|
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
38239
|
-
// 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=
|
|
38240
|
-
var
|
|
38241
|
-
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=
|
|
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=2ad414c0&prod&lang=scss&scoped=true
|
|
38264
|
+
var mainvue_type_style_index_0_id_2ad414c0_prod_lang_scss_scoped_true = __webpack_require__(2136);
|
|
38265
|
+
;// CONCATENATED MODULE: ./components/demo/src/main.vue?vue&type=style&index=0&id=2ad414c0&prod&lang=scss&scoped=true
|
|
38242
38266
|
|
|
38243
38267
|
;// CONCATENATED MODULE: ./components/demo/src/main.vue
|
|
38244
38268
|
|
|
@@ -38255,7 +38279,7 @@ var main_component = normalizeComponent(
|
|
|
38255
38279
|
staticRenderFns,
|
|
38256
38280
|
false,
|
|
38257
38281
|
null,
|
|
38258
|
-
"
|
|
38282
|
+
"2ad414c0",
|
|
38259
38283
|
null
|
|
38260
38284
|
|
|
38261
38285
|
)
|