yc-ui2 0.1.3-beta1 → 0.1.3-beta11
Sign up to get free protection for your applications and to get access to all the features.
- package/.env +2 -2
- package/dist/yc-ui2.common.js +28 -252
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.css +1 -1
- package/dist/yc-ui2.umd.js +28 -252
- package/dist/yc-ui2.umd.js.map +1 -1
- package/dist/yc-ui2.umd.min.js +3 -3
- package/dist/yc-ui2.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/api/customerService.js +1 -1
- package/src/utils/mTokenPlugin/hunca_mToken_core2.js +2 -2
- package/src/utils/{request.js → request2.js} +1 -1
- package/src/views/question.vue +1 -1
- package/vue.config.js +5 -5
- package/src/assets/questions.js +0 -115
package/.env
CHANGED
package/dist/yc-ui2.common.js
CHANGED
@@ -40060,14 +40060,6 @@ module.exports = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgI
|
|
40060
40060
|
|
40061
40061
|
/***/ }),
|
40062
40062
|
|
40063
|
-
/***/ 4800:
|
40064
|
-
/***/ (function(module) {
|
40065
|
-
|
40066
|
-
"use strict";
|
40067
|
-
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAACspJREFUeF7dnGtsHNUVx39n1684thPbJBDzaNrS4lQ8wktACyUJRDiACEkgJNAP8Am+tVJVNVGrUrWVIFLVglSp5dlCFZFApJRACykhBKJWeUFJCDSGKqTQhLywYzv2ete7c6ozdza249fuemfWcKSrHXvv3Hvuf87z3jMrREyqeg4wGzgXsOuzg5a9No7+BxwMWvb6U+BdEbG/IyMJeyZVjQFXAbcCtwCXjHPO3cDLQdshIt44xxv19tAAUtUlwG3AAmBaSIs4BrwCrBeRv4QxR1EBUlUb707gl8A3w2B4lDE/BH4KrBMRLdbcRQNIVecAvwEuLRZzBY6zC1gpIpsKvH/QbeMGSFUNEAPGAJpIZAAZUAZYwVQwQI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x4I++31oEjQSA6pHaziROh88O3yfCRo0mYnatf/e6gHQA2Cf1rwDEDvA1Ir/iEw/meviitHv/zpRwnzvl7SBAAAAAElFTkSuQmCC";
|
40068
|
-
|
40069
|
-
/***/ }),
|
40070
|
-
|
40071
40063
|
/***/ 1061:
|
40072
40064
|
/***/ (function(module) {
|
40073
40065
|
|
@@ -40935,8 +40927,8 @@ var YcCustomerServicevue_type_template_id_20a37cb1_scoped_true_staticRenderFns =
|
|
40935
40927
|
|
40936
40928
|
;// CONCATENATED MODULE: ./src/components/YcCustomerService/index.vue?vue&type=template&id=20a37cb1&scoped=true&
|
40937
40929
|
|
40938
|
-
;// 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!./src/components/YcCustomerService/chat.vue?vue&type=template&id=
|
40939
|
-
var
|
40930
|
+
;// 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!./src/components/YcCustomerService/chat.vue?vue&type=template&id=4d4d12d8&scoped=true&
|
40931
|
+
var chatvue_type_template_id_4d4d12d8_scoped_true_render = function render() {
|
40940
40932
|
var _vm = this,
|
40941
40933
|
_c = _vm._self._c;
|
40942
40934
|
return _c('div', {
|
@@ -41054,9 +41046,9 @@ var chatvue_type_template_id_04c55d36_scoped_true_render = function render() {
|
|
41054
41046
|
}
|
41055
41047
|
}, [_vm._v("发送")])], 1);
|
41056
41048
|
};
|
41057
|
-
var
|
41049
|
+
var chatvue_type_template_id_4d4d12d8_scoped_true_staticRenderFns = [];
|
41058
41050
|
|
41059
|
-
;// CONCATENATED MODULE: ./src/components/YcCustomerService/chat.vue?vue&type=template&id=
|
41051
|
+
;// CONCATENATED MODULE: ./src/components/YcCustomerService/chat.vue?vue&type=template&id=4d4d12d8&scoped=true&
|
41060
41052
|
|
41061
41053
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.to-reversed.js
|
41062
41054
|
var es_typed_array_to_reversed = __webpack_require__(1439);
|
@@ -44090,14 +44082,14 @@ axios.default = axios;
|
|
44090
44082
|
/* harmony default export */ var lib_axios = (axios);
|
44091
44083
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/element-ui.common.js
|
44092
44084
|
var element_ui_common = __webpack_require__(8499);
|
44093
|
-
;// CONCATENATED MODULE: ./src/utils/
|
44085
|
+
;// CONCATENATED MODULE: ./src/utils/request2.js
|
44094
44086
|
|
44095
44087
|
|
44096
44088
|
lib_axios.defaults.headers["Content-Type"] = "application/json;charset=utf-8";
|
44097
44089
|
// 创建axios实例
|
44098
44090
|
const service = lib_axios.create({
|
44099
44091
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
44100
|
-
baseURL: "/
|
44092
|
+
baseURL: "/customer-api",
|
44101
44093
|
// 超时
|
44102
44094
|
timeout: 10000
|
44103
44095
|
});
|
@@ -44130,7 +44122,7 @@ service.interceptors.response.use(res => {
|
|
44130
44122
|
});
|
44131
44123
|
return Promise.reject(error);
|
44132
44124
|
});
|
44133
|
-
/* harmony default export */ var
|
44125
|
+
/* harmony default export */ var request2 = (service);
|
44134
44126
|
;// CONCATENATED MODULE: ./src/api/customerService.js
|
44135
44127
|
|
44136
44128
|
|
@@ -44140,7 +44132,7 @@ service.interceptors.response.use(res => {
|
|
44140
44132
|
* @returns {[]}
|
44141
44133
|
*/
|
44142
44134
|
function getProblemTypeAndProblem(aiServiceId) {
|
44143
|
-
return
|
44135
|
+
return request({
|
44144
44136
|
url: '/aiService/discourse/getProblemTypeAndProblem/' + aiServiceId,
|
44145
44137
|
method: 'GET'
|
44146
44138
|
// params: query
|
@@ -44156,7 +44148,7 @@ function getProblemTypeAndProblem(aiServiceId) {
|
|
44156
44148
|
* @returns {{}}
|
44157
44149
|
*/
|
44158
44150
|
function findDataByProblem(data) {
|
44159
|
-
return
|
44151
|
+
return request2({
|
44160
44152
|
url: '/aiService/discourse/findDataByProblem',
|
44161
44153
|
method: 'POST',
|
44162
44154
|
data
|
@@ -44171,7 +44163,7 @@ function findDataByProblem(data) {
|
|
44171
44163
|
* @returns
|
44172
44164
|
*/
|
44173
44165
|
function findMaxNumData(aiServiceId) {
|
44174
|
-
return
|
44166
|
+
return request2({
|
44175
44167
|
url: '/aiService/discourse/findMaxNumData/' + aiServiceId,
|
44176
44168
|
method: 'GET'
|
44177
44169
|
});
|
@@ -44316,10 +44308,10 @@ function findServiceFeeAi() {
|
|
44316
44308
|
});
|
44317
44309
|
;// CONCATENATED MODULE: ./src/components/YcCustomerService/chat.vue?vue&type=script&lang=js&
|
44318
44310
|
/* harmony default export */ var YcCustomerService_chatvue_type_script_lang_js_ = (chatvue_type_script_lang_js_);
|
44319
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/YcCustomerService/chat.vue?vue&type=style&index=0&id=
|
44311
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/YcCustomerService/chat.vue?vue&type=style&index=0&id=4d4d12d8&prod&lang=scss&scoped=true&
|
44320
44312
|
// extracted by mini-css-extract-plugin
|
44321
44313
|
|
44322
|
-
;// CONCATENATED MODULE: ./src/components/YcCustomerService/chat.vue?vue&type=style&index=0&id=
|
44314
|
+
;// CONCATENATED MODULE: ./src/components/YcCustomerService/chat.vue?vue&type=style&index=0&id=4d4d12d8&prod&lang=scss&scoped=true&
|
44323
44315
|
|
44324
44316
|
;// CONCATENATED MODULE: ./src/components/YcCustomerService/chat.vue
|
44325
44317
|
|
@@ -44332,11 +44324,11 @@ function findServiceFeeAi() {
|
|
44332
44324
|
|
44333
44325
|
var chat_component = normalizeComponent(
|
44334
44326
|
YcCustomerService_chatvue_type_script_lang_js_,
|
44335
|
-
|
44336
|
-
|
44327
|
+
chatvue_type_template_id_4d4d12d8_scoped_true_render,
|
44328
|
+
chatvue_type_template_id_4d4d12d8_scoped_true_staticRenderFns,
|
44337
44329
|
false,
|
44338
44330
|
null,
|
44339
|
-
"
|
44331
|
+
"4d4d12d8",
|
44340
44332
|
null
|
44341
44333
|
|
44342
44334
|
)
|
@@ -44405,226 +44397,8 @@ var YcCustomerService_component = normalizeComponent(
|
|
44405
44397
|
)
|
44406
44398
|
|
44407
44399
|
/* harmony default export */ var YcCustomerService = (YcCustomerService_component.exports);
|
44408
|
-
;// 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!./src/components/
|
44409
|
-
var
|
44410
|
-
var _vm = this,
|
44411
|
-
_c = _vm._self._c;
|
44412
|
-
return _c('div', {
|
44413
|
-
staticClass: "YcQuestion"
|
44414
|
-
}, [_c('div', {
|
44415
|
-
staticClass: "chatPage"
|
44416
|
-
}, [_c('header', {
|
44417
|
-
staticStyle: {
|
44418
|
-
"background": "url(/cloud-img/customerService/chatTop.png) center",
|
44419
|
-
"background-size": "cover"
|
44420
|
-
}
|
44421
|
-
}, [_c('div', [_c('h3', [_vm._v(_vm._s(_vm.title))]), _c('span', [_vm._v("Problem Help")])]), _c('p', [_vm._v(_vm._s(_vm.commit))])]), _c('div', {
|
44422
|
-
staticClass: "main"
|
44423
|
-
}, [_c('div', [_c('main', {
|
44424
|
-
ref: "main"
|
44425
|
-
}, [_c('p', [_vm._v("今天" + _vm._s(_vm.currData))]), _vm._l(_vm.messagelist, function (item, index) {
|
44426
|
-
return _c('div', {
|
44427
|
-
key: index,
|
44428
|
-
class: ['message', item.id]
|
44429
|
-
}, [_c('img', {
|
44430
|
-
staticClass: "avatar",
|
44431
|
-
attrs: {
|
44432
|
-
"src": __webpack_require__(7021)(`./${item.id}.jpg`)
|
44433
|
-
}
|
44434
|
-
}), _c('div', {
|
44435
|
-
staticClass: "content",
|
44436
|
-
attrs: {
|
44437
|
-
"data-before": `${_vm.title}【${_vm.id}号为您服务】`
|
44438
|
-
}
|
44439
|
-
}, [_vm._l(item.msg, function (msg, index) {
|
44440
|
-
return _c('span', {
|
44441
|
-
key: msg + index,
|
44442
|
-
class: item.msg.length > 1 ? 'href' : '',
|
44443
|
-
domProps: {
|
44444
|
-
"innerHTML": _vm._s((item.msg.length > 1 ? 1 + index + '. ' : ' ') + msg)
|
44445
|
-
},
|
44446
|
-
on: {
|
44447
|
-
"click": function ($event) {
|
44448
|
-
item.msg.length > 1 && _vm.regularClick(msg);
|
44449
|
-
}
|
44450
|
-
}
|
44451
|
-
});
|
44452
|
-
}), item.based ? _c('div', {
|
44453
|
-
staticClass: "based",
|
44454
|
-
on: {
|
44455
|
-
"click": function ($event) {
|
44456
|
-
$event.preventDefault();
|
44457
|
-
return _vm.handExpand(item);
|
44458
|
-
}
|
44459
|
-
}
|
44460
|
-
}, [_c('span', [_vm._v("依据")]), _c('span', {
|
44461
|
-
class: {
|
44462
|
-
'is-active': item.isActive
|
44463
|
-
}
|
44464
|
-
}, [_vm._v(_vm._s(item.based)), _c('i', {
|
44465
|
-
staticClass: "el-icon-d-arrow-right"
|
44466
|
-
})])]) : _vm._e()], 2)]);
|
44467
|
-
})], 2), _c('footer', [_c('el-input', {
|
44468
|
-
attrs: {
|
44469
|
-
"type": "textarea",
|
44470
|
-
"maxlength": "500",
|
44471
|
-
"autosize": {
|
44472
|
-
minRows: 6,
|
44473
|
-
maxRows: 6
|
44474
|
-
},
|
44475
|
-
"autofocus": "true",
|
44476
|
-
"resize": "none",
|
44477
|
-
"placeholder": "请输入你要咨询的问题"
|
44478
|
-
},
|
44479
|
-
nativeOn: {
|
44480
|
-
"keyup": function ($event) {
|
44481
|
-
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
44482
|
-
return _vm.carriageReturn.apply(null, arguments);
|
44483
|
-
}
|
44484
|
-
},
|
44485
|
-
model: {
|
44486
|
-
value: _vm.textareaValue,
|
44487
|
-
callback: function ($$v) {
|
44488
|
-
_vm.textareaValue = $$v;
|
44489
|
-
},
|
44490
|
-
expression: "textareaValue"
|
44491
|
-
}
|
44492
|
-
}), _c('el-button', {
|
44493
|
-
style: !_vm.textareaValue ? 'background-color: #F7F7F9;color: #FF575F;border-color: transparent;' : '',
|
44494
|
-
attrs: {
|
44495
|
-
"type": "primary",
|
44496
|
-
"disabled": !_vm.textareaValue
|
44497
|
-
},
|
44498
|
-
on: {
|
44499
|
-
"click": _vm.send
|
44500
|
-
}
|
44501
|
-
}, [_vm._v("发送")])], 1)]), _c('aside', [_c('el-collapse', {
|
44502
|
-
attrs: {
|
44503
|
-
"accordion": ""
|
44504
|
-
},
|
44505
|
-
model: {
|
44506
|
-
value: _vm.activeNames,
|
44507
|
-
callback: function ($$v) {
|
44508
|
-
_vm.activeNames = $$v;
|
44509
|
-
},
|
44510
|
-
expression: "activeNames"
|
44511
|
-
}
|
44512
|
-
}, _vm._l(_vm.questionsList, function ({
|
44513
|
-
discourseVoList,
|
44514
|
-
answerTypeId,
|
44515
|
-
answerType
|
44516
|
-
}) {
|
44517
|
-
return _c('el-collapse-item', {
|
44518
|
-
key: answerTypeId,
|
44519
|
-
attrs: {
|
44520
|
-
"name": answerTypeId
|
44521
|
-
}
|
44522
|
-
}, [_c('template', {
|
44523
|
-
slot: "title"
|
44524
|
-
}, [_c('img', {
|
44525
|
-
attrs: {
|
44526
|
-
"src": __webpack_require__(4800)
|
44527
|
-
}
|
44528
|
-
}), _vm._v(_vm._s(answerType) + " ")]), _vm._l(discourseVoList, function ({
|
44529
|
-
problem,
|
44530
|
-
problemId
|
44531
|
-
}) {
|
44532
|
-
return _c('div', {
|
44533
|
-
key: problemId,
|
44534
|
-
domProps: {
|
44535
|
-
"innerHTML": _vm._s(problem)
|
44536
|
-
},
|
44537
|
-
on: {
|
44538
|
-
"click": function ($event) {
|
44539
|
-
return _vm.regularClick(problem);
|
44540
|
-
}
|
44541
|
-
}
|
44542
|
-
});
|
44543
|
-
})], 2);
|
44544
|
-
}), 1)], 1)])])]);
|
44545
|
-
};
|
44546
|
-
var YcQuestionvue_type_template_id_7487a685_scoped_true_staticRenderFns = [];
|
44547
|
-
|
44548
|
-
;// CONCATENATED MODULE: ./src/components/YcQuestion/index.vue?vue&type=template&id=7487a685&scoped=true&
|
44549
|
-
|
44550
|
-
;// 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/index.js??vue-loader-options!./src/components/YcQuestion/index.vue?vue&type=script&lang=js&
|
44551
|
-
|
44552
|
-
|
44553
|
-
/* harmony default export */ var YcQuestionvue_type_script_lang_js_ = ({
|
44554
|
-
name: "YcQuestion",
|
44555
|
-
mixins: [chatMixin],
|
44556
|
-
data() {
|
44557
|
-
return {
|
44558
|
-
activeNames: [1],
|
44559
|
-
questionsList: []
|
44560
|
-
};
|
44561
|
-
},
|
44562
|
-
computed: {
|
44563
|
-
currData() {
|
44564
|
-
const currData = new Date();
|
44565
|
-
return `${currData.getHours()}:${currData.getMinutes()}`;
|
44566
|
-
}
|
44567
|
-
// questionsList() {
|
44568
|
-
// return this.questions.reduce((prev, curr) => {
|
44569
|
-
// // eslint-disable-next-line no-prototype-builtins
|
44570
|
-
// if (prev.hasOwnProperty(curr.type)) {
|
44571
|
-
// prev[curr.type].push(curr.faq)
|
44572
|
-
// } else {
|
44573
|
-
// prev[curr.type] = [curr.faq]
|
44574
|
-
// }
|
44575
|
-
// return prev
|
44576
|
-
// }, {})
|
44577
|
-
// },
|
44578
|
-
},
|
44579
|
-
|
44580
|
-
watch: {
|
44581
|
-
id(newVal) {
|
44582
|
-
this.getProblemTypeAndProblem(newVal);
|
44583
|
-
}
|
44584
|
-
},
|
44585
|
-
created() {
|
44586
|
-
this.getProblemTypeAndProblem(this.id);
|
44587
|
-
},
|
44588
|
-
methods: {
|
44589
|
-
getProblemTypeAndProblem(id) {
|
44590
|
-
id && getProblemTypeAndProblem(id).then(({
|
44591
|
-
data
|
44592
|
-
}) => {
|
44593
|
-
this.questionsList = data;
|
44594
|
-
});
|
44595
|
-
}
|
44596
|
-
}
|
44597
|
-
});
|
44598
|
-
;// CONCATENATED MODULE: ./src/components/YcQuestion/index.vue?vue&type=script&lang=js&
|
44599
|
-
/* harmony default export */ var components_YcQuestionvue_type_script_lang_js_ = (YcQuestionvue_type_script_lang_js_);
|
44600
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/YcQuestion/index.vue?vue&type=style&index=0&id=7487a685&prod&lang=scss&scoped=true&
|
44601
|
-
// extracted by mini-css-extract-plugin
|
44602
|
-
|
44603
|
-
;// CONCATENATED MODULE: ./src/components/YcQuestion/index.vue?vue&type=style&index=0&id=7487a685&prod&lang=scss&scoped=true&
|
44604
|
-
|
44605
|
-
;// CONCATENATED MODULE: ./src/components/YcQuestion/index.vue
|
44606
|
-
|
44607
|
-
|
44608
|
-
|
44609
|
-
;
|
44610
|
-
|
44611
|
-
|
44612
|
-
/* normalize component */
|
44613
|
-
|
44614
|
-
var YcQuestion_component = normalizeComponent(
|
44615
|
-
components_YcQuestionvue_type_script_lang_js_,
|
44616
|
-
YcQuestionvue_type_template_id_7487a685_scoped_true_render,
|
44617
|
-
YcQuestionvue_type_template_id_7487a685_scoped_true_staticRenderFns,
|
44618
|
-
false,
|
44619
|
-
null,
|
44620
|
-
"7487a685",
|
44621
|
-
null
|
44622
|
-
|
44623
|
-
)
|
44624
|
-
|
44625
|
-
/* harmony default export */ var YcQuestion = (YcQuestion_component.exports);
|
44626
|
-
;// 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!./src/components/YcCA/index.vue?vue&type=template&id=eeb04946&scoped=true&
|
44627
|
-
var YcCAvue_type_template_id_eeb04946_scoped_true_render = function render() {
|
44400
|
+
;// 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!./src/components/YcCA/index.vue?vue&type=template&id=4143c42c&scoped=true&
|
44401
|
+
var YcCAvue_type_template_id_4143c42c_scoped_true_render = function render() {
|
44628
44402
|
var _vm = this,
|
44629
44403
|
_c = _vm._self._c;
|
44630
44404
|
return _c('div', [_c('el-form', {
|
@@ -44756,9 +44530,9 @@ var YcCAvue_type_template_id_eeb04946_scoped_true_render = function render() {
|
|
44756
44530
|
}
|
44757
44531
|
}, [_vm._v("确 定")])], 1)])], 1);
|
44758
44532
|
};
|
44759
|
-
var
|
44533
|
+
var YcCAvue_type_template_id_4143c42c_scoped_true_staticRenderFns = [];
|
44760
44534
|
|
44761
|
-
;// CONCATENATED MODULE: ./src/components/YcCA/index.vue?vue&type=template&id=
|
44535
|
+
;// CONCATENATED MODULE: ./src/components/YcCA/index.vue?vue&type=template&id=4143c42c&scoped=true&
|
44762
44536
|
|
44763
44537
|
// EXTERNAL MODULE: ./src/utils/mTokenPlugin/mToken.js
|
44764
44538
|
var mToken = __webpack_require__(7899);
|
@@ -46616,10 +46390,10 @@ function formateTime(dateStr) {
|
|
46616
46390
|
});
|
46617
46391
|
;// CONCATENATED MODULE: ./src/components/YcCA/index.vue?vue&type=script&lang=js&
|
46618
46392
|
/* harmony default export */ var components_YcCAvue_type_script_lang_js_ = (YcCAvue_type_script_lang_js_);
|
46619
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/YcCA/index.vue?vue&type=style&index=0&id=
|
46393
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/YcCA/index.vue?vue&type=style&index=0&id=4143c42c&prod&lang=scss&scoped=true&
|
46620
46394
|
// extracted by mini-css-extract-plugin
|
46621
46395
|
|
46622
|
-
;// CONCATENATED MODULE: ./src/components/YcCA/index.vue?vue&type=style&index=0&id=
|
46396
|
+
;// CONCATENATED MODULE: ./src/components/YcCA/index.vue?vue&type=style&index=0&id=4143c42c&prod&lang=scss&scoped=true&
|
46623
46397
|
|
46624
46398
|
;// CONCATENATED MODULE: ./src/components/YcCA/index.vue
|
46625
46399
|
|
@@ -46632,11 +46406,11 @@ function formateTime(dateStr) {
|
|
46632
46406
|
|
46633
46407
|
var YcCA_component = normalizeComponent(
|
46634
46408
|
components_YcCAvue_type_script_lang_js_,
|
46635
|
-
|
46636
|
-
|
46409
|
+
YcCAvue_type_template_id_4143c42c_scoped_true_render,
|
46410
|
+
YcCAvue_type_template_id_4143c42c_scoped_true_staticRenderFns,
|
46637
46411
|
false,
|
46638
46412
|
null,
|
46639
|
-
"
|
46413
|
+
"4143c42c",
|
46640
46414
|
null
|
46641
46415
|
|
46642
46416
|
)
|
@@ -46645,9 +46419,11 @@ var YcCA_component = normalizeComponent(
|
|
46645
46419
|
;// CONCATENATED MODULE: ./src/packages/index.js
|
46646
46420
|
|
46647
46421
|
|
46422
|
+
// import YcQuestion from 'comp/YcQuestion'
|
46648
46423
|
|
46649
|
-
|
46650
|
-
|
46424
|
+
const components = [YcSlideVerify, YcCustomerService,
|
46425
|
+
// YcQuestion,
|
46426
|
+
YcCA];
|
46651
46427
|
// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
|
46652
46428
|
const install = function (Vue) {
|
46653
46429
|
// 遍历注册全局组件
|