@zscreate/form-component 1.1.690 → 1.1.691
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/dist/form-component.css +12 -12
- package/dist/form-component.umd.js +11 -11
- package/package.json +1 -1
package/dist/form-component.css
CHANGED
|
@@ -8244,25 +8244,25 @@ div {
|
|
|
8244
8244
|
background: rgba(24, 144, 255, 0.6);
|
|
8245
8245
|
}
|
|
8246
8246
|
|
|
8247
|
-
.ai-fill-form .form-item[data-v-
|
|
8247
|
+
.ai-fill-form .form-item[data-v-53068098] {
|
|
8248
8248
|
margin-bottom: 20px;
|
|
8249
8249
|
}
|
|
8250
|
-
.ai-fill-form .form-item .label[data-v-
|
|
8250
|
+
.ai-fill-form .form-item .label[data-v-53068098] {
|
|
8251
8251
|
font-size: 14px;
|
|
8252
8252
|
color: #333;
|
|
8253
8253
|
margin-bottom: 8px;
|
|
8254
8254
|
font-weight: 500;
|
|
8255
8255
|
}
|
|
8256
|
-
.ai-fill-form .progress-info[data-v-
|
|
8256
|
+
.ai-fill-form .progress-info[data-v-53068098] {
|
|
8257
8257
|
margin-bottom: 20px;
|
|
8258
8258
|
}
|
|
8259
|
-
.ai-fill-form .progress-info .progress-text[data-v-
|
|
8259
|
+
.ai-fill-form .progress-info .progress-text[data-v-53068098] {
|
|
8260
8260
|
margin-top: 8px;
|
|
8261
8261
|
font-size: 13px;
|
|
8262
8262
|
color: #666;
|
|
8263
8263
|
text-align: center;
|
|
8264
8264
|
}
|
|
8265
|
-
.ai-fill-form .result-list[data-v-
|
|
8265
|
+
.ai-fill-form .result-list[data-v-53068098] {
|
|
8266
8266
|
margin-bottom: 20px;
|
|
8267
8267
|
padding: 16px;
|
|
8268
8268
|
background: #f5f5f5;
|
|
@@ -8270,33 +8270,33 @@ div {
|
|
|
8270
8270
|
max-height: 300px;
|
|
8271
8271
|
overflow-y: auto;
|
|
8272
8272
|
}
|
|
8273
|
-
.ai-fill-form .result-list .result-title[data-v-
|
|
8273
|
+
.ai-fill-form .result-list .result-title[data-v-53068098] {
|
|
8274
8274
|
font-size: 14px;
|
|
8275
8275
|
font-weight: 500;
|
|
8276
8276
|
color: #333;
|
|
8277
8277
|
margin-bottom: 12px;
|
|
8278
8278
|
}
|
|
8279
|
-
.ai-fill-form .result-list .result-item[data-v-
|
|
8279
|
+
.ai-fill-form .result-list .result-item[data-v-53068098] {
|
|
8280
8280
|
padding: 8px 0;
|
|
8281
8281
|
border-bottom: 1px dashed #e0e0e0;
|
|
8282
8282
|
font-size: 13px;
|
|
8283
8283
|
}
|
|
8284
|
-
.ai-fill-form .result-list .result-item[data-v-
|
|
8284
|
+
.ai-fill-form .result-list .result-item[data-v-53068098]:last-child {
|
|
8285
8285
|
border-bottom: none;
|
|
8286
8286
|
}
|
|
8287
|
-
.ai-fill-form .result-list .result-item .field-name[data-v-
|
|
8287
|
+
.ai-fill-form .result-list .result-item .field-name[data-v-53068098] {
|
|
8288
8288
|
color: #666;
|
|
8289
8289
|
margin-right: 8px;
|
|
8290
8290
|
}
|
|
8291
|
-
.ai-fill-form .result-list .result-item .field-value[data-v-
|
|
8291
|
+
.ai-fill-form .result-list .result-item .field-value[data-v-53068098] {
|
|
8292
8292
|
color: #1890ff;
|
|
8293
8293
|
font-weight: 500;
|
|
8294
8294
|
}
|
|
8295
|
-
.ai-fill-form .result-list .result-item .field-value.empty-value[data-v-
|
|
8295
|
+
.ai-fill-form .result-list .result-item .field-value.empty-value[data-v-53068098] {
|
|
8296
8296
|
color: #999;
|
|
8297
8297
|
font-style: italic;
|
|
8298
8298
|
}
|
|
8299
|
-
.ai-fill-form .footer-btns[data-v-
|
|
8299
|
+
.ai-fill-form .footer-btns[data-v-53068098] {
|
|
8300
8300
|
display: flex;
|
|
8301
8301
|
justify-content: flex-end;
|
|
8302
8302
|
gap: 10px;
|
|
@@ -162308,7 +162308,7 @@ function toString(value) {
|
|
|
162308
162308
|
(module) {
|
|
162309
162309
|
|
|
162310
162310
|
"use strict";
|
|
162311
|
-
module.exports = {"rE":"1.1.
|
|
162311
|
+
module.exports = {"rE":"1.1.691"};
|
|
162312
162312
|
|
|
162313
162313
|
/***/ }
|
|
162314
162314
|
|
|
@@ -188448,9 +188448,9 @@ function useSsoStatus(options) {
|
|
|
188448
188448
|
}
|
|
188449
188449
|
};
|
|
188450
188450
|
}
|
|
188451
|
-
;// ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=template&id=
|
|
188452
|
-
var
|
|
188453
|
-
var
|
|
188451
|
+
;// ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=template&id=53068098&scoped=true
|
|
188452
|
+
var AIAutoFillFormvue_type_template_id_53068098_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{directives:[{name:"drag-modal",rawName:"v-drag-modal"}],attrs:{"width":"800px","title":"AI填表","ok-text":"确认","cancel-text":"取消","maskClosable":!_vm.loading,"closable":!_vm.loading,"keyboard":!_vm.loading,"footer":null},on:{"ok":_vm.handleOk,"cancel":_vm.handleCancel},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('a-spin',{attrs:{"spinning":_vm.loading,"tip":_vm.tips}},[_c('div',{staticClass:"ai-fill-form"},[_c('div',{staticClass:"form-item"},[_c('div',{staticClass:"label"},[_vm._v("请输入或粘贴内容:")]),_c('a-textarea',{attrs:{"rows":6,"placeholder":"请输入或粘贴需要识别的内容,例如:张三 男 合肥大学","disabled":_vm.loading},model:{value:(_vm.contentText),callback:function ($$v) {_vm.contentText=$$v},expression:"contentText"}})],1),(_vm.recognizeProgress.total > 0)?_c('div',{staticClass:"progress-info"},[_c('a-progress',{attrs:{"percent":_vm.progressPercent,"status":_vm.recognizeProgress.current === _vm.recognizeProgress.total ? 'success' : 'active'}})],1):_vm._e(),(_vm.resultList.length > 0)?_c('div',{staticClass:"result-list"},[_c('div',{staticClass:"result-title"},[_vm._v("识别结果:")]),_vm._l((_vm.resultList),function(item,index){return _c('div',{key:index,staticClass:"result-item"},[_c('span',{staticClass:"field-name"},[_vm._v(_vm._s(item.fieldName)+":")]),_c('span',{staticClass:"field-value",class:{ 'empty-value': item.value === undefined }},[_vm._v(" "+_vm._s(item.value === undefined ? '未识别成功' : item.value)+" ")])])})],2):_vm._e(),_c('div',{staticClass:"footer-btns"},[_c('a-button',{attrs:{"disabled":_vm.loading},on:{"click":_vm.handleCancel}},[_vm._v("取消")]),_c('a-button',{attrs:{"type":"primary","loading":_vm.loading,"disabled":!_vm.contentText.trim()},on:{"click":_vm.startRecognize}},[_vm._v(" 开始识别 ")]),(_vm.resultList.length > 0)?_c('a-button',{attrs:{"type":"primary","disabled":_vm.loading || _vm.resultList.length === 0 || !_vm.hasSuccessResult},on:{"click":_vm.handleOk}},[_vm._v(" 确认填入 ")]):_vm._e()],1)])])],1)}
|
|
188453
|
+
var AIAutoFillFormvue_type_template_id_53068098_scoped_true_staticRenderFns = []
|
|
188454
188454
|
|
|
188455
188455
|
|
|
188456
188456
|
;// ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.4.1@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=script&lang=js
|
|
@@ -188580,13 +188580,13 @@ var AIAutoFillFormvue_type_template_id_50d41d2a_scoped_true_staticRenderFns = []
|
|
|
188580
188580
|
item.columns.forEach(el => {
|
|
188581
188581
|
if (el.list && el.list.length) {
|
|
188582
188582
|
el.list.forEach(el2 => {
|
|
188583
|
-
if (['input', 'textarea', 'number', 'date', 'time'].includes(el2.type)) {
|
|
188583
|
+
if (['input', 'textarea', 'number', 'date', 'time', 'select', 'radio', 'checkbox', 'cascaderSelect', 'cascader', 'deptSelector', 'userSelector', 'userSelectorByRole'].includes(el2.type)) {
|
|
188584
188584
|
this.formList.push(el2);
|
|
188585
188585
|
}
|
|
188586
188586
|
});
|
|
188587
188587
|
}
|
|
188588
188588
|
});
|
|
188589
|
-
} else if (['input', 'textarea', 'number', 'date', 'time'].includes(item.type)) {
|
|
188589
|
+
} else if (['input', 'textarea', 'number', 'date', 'time', 'select', 'radio', 'checkbox', 'cascaderSelect', 'cascader', 'deptSelector', 'userSelector', 'userSelectorByRole'].includes(item.type)) {
|
|
188590
188590
|
//输入框
|
|
188591
188591
|
this.formList.push(item);
|
|
188592
188592
|
}
|
|
@@ -188740,10 +188740,10 @@ var AIAutoFillFormvue_type_template_id_50d41d2a_scoped_true_staticRenderFns = []
|
|
|
188740
188740
|
});
|
|
188741
188741
|
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=script&lang=js
|
|
188742
188742
|
/* harmony default export */ const AIAutoFillForm_AIAutoFillFormvue_type_script_lang_js = (AIAutoFillFormvue_type_script_lang_js);
|
|
188743
|
-
;// ./node_modules/_mini-css-extract-plugin@2.10.2@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=style&index=0&id=
|
|
188743
|
+
;// ./node_modules/_mini-css-extract-plugin@2.10.2@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=style&index=0&id=53068098&prod&lang=less&scoped=true
|
|
188744
188744
|
// extracted by mini-css-extract-plugin
|
|
188745
188745
|
|
|
188746
|
-
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=style&index=0&id=
|
|
188746
|
+
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=style&index=0&id=53068098&prod&lang=less&scoped=true
|
|
188747
188747
|
|
|
188748
188748
|
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue
|
|
188749
188749
|
|
|
@@ -188756,11 +188756,11 @@ var AIAutoFillFormvue_type_template_id_50d41d2a_scoped_true_staticRenderFns = []
|
|
|
188756
188756
|
|
|
188757
188757
|
var AIAutoFillForm_component = (0,componentNormalizer/* default */.A)(
|
|
188758
188758
|
AIAutoFillForm_AIAutoFillFormvue_type_script_lang_js,
|
|
188759
|
-
|
|
188760
|
-
|
|
188759
|
+
AIAutoFillFormvue_type_template_id_53068098_scoped_true_render,
|
|
188760
|
+
AIAutoFillFormvue_type_template_id_53068098_scoped_true_staticRenderFns,
|
|
188761
188761
|
false,
|
|
188762
188762
|
null,
|
|
188763
|
-
"
|
|
188763
|
+
"53068098",
|
|
188764
188764
|
null
|
|
188765
188765
|
|
|
188766
188766
|
)
|