修改type类型

master
于肖磊 2025-10-23 13:41:52 +08:00
parent 9b8e3e4767
commit 426d165606
6 changed files with 34 additions and 4 deletions

View File

@ -51,7 +51,7 @@
</view>
<!-- 手机 -->
<view v-else-if="item.key == 'phone'">
<component-phone :propValue="item.com_data" :propKey="propKey" :propFormInputId="propFormInputId" :propDataId="item.id" :propMobile="mobile" :propStyle="component_style" :propDirection="flex_direction" @dataCheck="data_check" @dataChange="data_change" @dataCodeCheck="data_code_check" @dataCodeChage="data_code_change" @zIndexChange="z_index_change"></component-phone>
<component-phone :propValue="item.com_data" :propKey="propKey" :propFormInputId="propFormInputId" :propDataId="item.id" :propMobile="mobile" :propStyle="component_style" :propDirection="flex_direction" :propBusiness="propBusiness" @dataCheck="data_check" @dataChange="data_change" @dataCodeCheck="data_code_check" @dataCodeChage="data_code_change" @zIndexChange="z_index_change"></component-phone>
</view>
<!-- 密码 -->
<view v-else-if="item.key == 'pwd'" :style="item.com_data.common_style">
@ -107,6 +107,7 @@
:propHelpIconStyle="help_icon_style"
:propFieldLabelStyle="field_label_style"
:propFormInputId="propFormInputId"
:propBusiness="propBusiness"
@helpIconEvent="subform_help_icon_event"
@subformDataChange="subform_data_change"
@subformDataCheck="component_subform_data_check"
@ -208,6 +209,10 @@ export default {
type: [String, Number],
default: 0,
},
propBusiness: {
type: [String, Number],
default: '',
}
},
data() {
return {

View File

@ -10,7 +10,7 @@
<view v-if="is_show_heading_title == '1'" class="head-title flex-row bg-white" :style="heading_title_style + (overall_config.type_value == 'default' ? '' : ('width:' + overall_config.custom_width * 2 + 'rpx;'))">{{ form_name }}</view>
<view class="data-list bg-white" :style="overall_config.type_value == 'default' ? '' : ('width:' + overall_config.custom_width * 2 + 'rpx;height:' + overall_config.custom_height * 2 + 'rpx')">
<!-- form表单子组件显示 -->
<form-input-base ref="component_form" :propKey="propKey" :propConfig="propValue.config" :propFormInputId="propFormInputId" />
<form-input-base ref="component_form" :propKey="propKey" :propConfig="propValue.config" :propFormInputId="propFormInputId" :propBusiness="propBusiness" />
</view>
</view>
<!-- #endif -->
@ -99,6 +99,10 @@ export default {
type: Boolean,
default: false,
},
propBusiness: {
type: [String, Number],
default: '',
}
},
data() {
return {
@ -183,6 +187,7 @@ export default {
app.globalData.showToast(message);
} else {
const params = {
business: this.propBusiness,
forminput_id: this.propFormInputId,
id: this.propFormInputDataId,
...submit_data

View File

@ -34,7 +34,7 @@
</view>
<!-- 手机 -->
<view v-else-if="data_item.key == 'phone'">
<component-phone :propValue="data_item.com_data" :propKey="propKey" :propDataId="data_item.id" :propMobile="propMobile" :propStyle="propComponentStyle" :propDirection="propDirection" @dataCheck="data_check" @dataChange="data_change" @zIndexChange="z_index_change"></component-phone>
<component-phone :propValue="data_item.com_data" :propKey="propKey" :propDataId="data_item.id" :propMobile="propMobile" :propStyle="propComponentStyle" :propDirection="propDirection" :propBusiness="propBusiness" @dataCheck="data_check" @dataChange="data_change" @zIndexChange="z_index_change"></component-phone>
</view>
<!-- 密码 -->
<view v-else-if="data_item.key == 'pwd'" :style="data_item.com_data.common_style">
@ -162,6 +162,10 @@ export default {
type: Number,
default: 0,
},
propBusiness: {
type: [String, Number],
default: '',
}
},
data() {
return {

View File

@ -51,7 +51,7 @@
</view>
<!-- 手机 -->
<view v-else-if="item.key == 'phone'">
<component-phone :propValue="item.com_data" :propKey="propKey" :propDataId="item.id" :propMobile="propMobile" :propStyle="propComponentStyle" :propDirection="propDirection" @dataCheck="data_check" @dataChange="data_change" @zIndexChange="z_index_change"></component-phone>
<component-phone :propValue="item.com_data" :propKey="propKey" :propDataId="item.id" :propMobile="propMobile" :propStyle="propComponentStyle" :propDirection="propDirection" :propBusiness="propBusiness" @dataCheck="data_check" @dataChange="data_change" @zIndexChange="z_index_change"></component-phone>
</view>
<!-- 密码 -->
<view v-else-if="item.key == 'pwd'" :style="item.com_data.common_style">
@ -194,6 +194,10 @@ export default {
propIndex: {
type: Number,
default: 0,
},
propBusiness: {
type: [String, Number],
default: '',
}
},
data() {

View File

@ -66,6 +66,10 @@
type: String,
default: 'row',
},
propBusiness: {
type: [String, Number],
default: '',
}
},
data() {
return {
@ -191,6 +195,7 @@
},
verify_send_handle() {
const post_data = {
business: this.propBusiness,
forminput_id: this.propFormInputId,
forminput_item_id: this.propDataId,
accounts: this.form_value,

View File

@ -53,6 +53,7 @@
:propDirection="propDirection"
:propMobile="propMobile"
:propComponentStyle="propStyle"
:propBusiness="propBusiness"
@dataChange="data_change"
@dataCheck="data_check"
@dataOptionChange="data_option_change"
@ -107,6 +108,7 @@
:propDirection="propDirection"
:propMobile="propMobile"
:propComponentStyle="propStyle"
:propBusiness="propBusiness"
@dataChange="data_change"
@dataCheck="data_check"
@dataOptionChange="data_option_change"
@ -153,6 +155,7 @@
:propDirection="propDirection"
:propMobile="propMobile"
:propComponentStyle="propStyle"
:propBusiness="propBusiness"
@dataChange="data_change"
@dataCheck="data_check"
@dataOptionChange="data_option_change"
@ -251,6 +254,10 @@
propIsCustom: {
type: Boolean,
default: false
},
propBusiness: {
type: [String, Number],
default: '',
}
},
data() {