修改type类型
parent
9b8e3e4767
commit
426d165606
|
|
@ -51,7 +51,7 @@
|
||||||
</view>
|
</view>
|
||||||
<!-- 手机 -->
|
<!-- 手机 -->
|
||||||
<view v-else-if="item.key == 'phone'">
|
<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>
|
||||||
<!-- 密码 -->
|
<!-- 密码 -->
|
||||||
<view v-else-if="item.key == 'pwd'" :style="item.com_data.common_style">
|
<view v-else-if="item.key == 'pwd'" :style="item.com_data.common_style">
|
||||||
|
|
@ -107,6 +107,7 @@
|
||||||
:propHelpIconStyle="help_icon_style"
|
:propHelpIconStyle="help_icon_style"
|
||||||
:propFieldLabelStyle="field_label_style"
|
:propFieldLabelStyle="field_label_style"
|
||||||
:propFormInputId="propFormInputId"
|
:propFormInputId="propFormInputId"
|
||||||
|
:propBusiness="propBusiness"
|
||||||
@helpIconEvent="subform_help_icon_event"
|
@helpIconEvent="subform_help_icon_event"
|
||||||
@subformDataChange="subform_data_change"
|
@subformDataChange="subform_data_change"
|
||||||
@subformDataCheck="component_subform_data_check"
|
@subformDataCheck="component_subform_data_check"
|
||||||
|
|
@ -208,6 +209,10 @@ export default {
|
||||||
type: [String, Number],
|
type: [String, Number],
|
||||||
default: 0,
|
default: 0,
|
||||||
},
|
},
|
||||||
|
propBusiness: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: '',
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -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 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')">
|
<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表单子组件显示 -->
|
||||||
<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>
|
||||||
</view>
|
</view>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
|
|
@ -99,6 +99,10 @@ export default {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
propBusiness: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: '',
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -183,6 +187,7 @@ export default {
|
||||||
app.globalData.showToast(message);
|
app.globalData.showToast(message);
|
||||||
} else {
|
} else {
|
||||||
const params = {
|
const params = {
|
||||||
|
business: this.propBusiness,
|
||||||
forminput_id: this.propFormInputId,
|
forminput_id: this.propFormInputId,
|
||||||
id: this.propFormInputDataId,
|
id: this.propFormInputDataId,
|
||||||
...submit_data
|
...submit_data
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
</view>
|
</view>
|
||||||
<!-- 手机 -->
|
<!-- 手机 -->
|
||||||
<view v-else-if="data_item.key == 'phone'">
|
<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>
|
||||||
<!-- 密码 -->
|
<!-- 密码 -->
|
||||||
<view v-else-if="data_item.key == 'pwd'" :style="data_item.com_data.common_style">
|
<view v-else-if="data_item.key == 'pwd'" :style="data_item.com_data.common_style">
|
||||||
|
|
@ -162,6 +162,10 @@ export default {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 0,
|
default: 0,
|
||||||
},
|
},
|
||||||
|
propBusiness: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: '',
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
</view>
|
</view>
|
||||||
<!-- 手机 -->
|
<!-- 手机 -->
|
||||||
<view v-else-if="item.key == 'phone'">
|
<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>
|
||||||
<!-- 密码 -->
|
<!-- 密码 -->
|
||||||
<view v-else-if="item.key == 'pwd'" :style="item.com_data.common_style">
|
<view v-else-if="item.key == 'pwd'" :style="item.com_data.common_style">
|
||||||
|
|
@ -194,6 +194,10 @@ export default {
|
||||||
propIndex: {
|
propIndex: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 0,
|
default: 0,
|
||||||
|
},
|
||||||
|
propBusiness: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,10 @@
|
||||||
type: String,
|
type: String,
|
||||||
default: 'row',
|
default: 'row',
|
||||||
},
|
},
|
||||||
|
propBusiness: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: '',
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -191,6 +195,7 @@
|
||||||
},
|
},
|
||||||
verify_send_handle() {
|
verify_send_handle() {
|
||||||
const post_data = {
|
const post_data = {
|
||||||
|
business: this.propBusiness,
|
||||||
forminput_id: this.propFormInputId,
|
forminput_id: this.propFormInputId,
|
||||||
forminput_item_id: this.propDataId,
|
forminput_item_id: this.propDataId,
|
||||||
accounts: this.form_value,
|
accounts: this.form_value,
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@
|
||||||
:propDirection="propDirection"
|
:propDirection="propDirection"
|
||||||
:propMobile="propMobile"
|
:propMobile="propMobile"
|
||||||
:propComponentStyle="propStyle"
|
:propComponentStyle="propStyle"
|
||||||
|
:propBusiness="propBusiness"
|
||||||
@dataChange="data_change"
|
@dataChange="data_change"
|
||||||
@dataCheck="data_check"
|
@dataCheck="data_check"
|
||||||
@dataOptionChange="data_option_change"
|
@dataOptionChange="data_option_change"
|
||||||
|
|
@ -107,6 +108,7 @@
|
||||||
:propDirection="propDirection"
|
:propDirection="propDirection"
|
||||||
:propMobile="propMobile"
|
:propMobile="propMobile"
|
||||||
:propComponentStyle="propStyle"
|
:propComponentStyle="propStyle"
|
||||||
|
:propBusiness="propBusiness"
|
||||||
@dataChange="data_change"
|
@dataChange="data_change"
|
||||||
@dataCheck="data_check"
|
@dataCheck="data_check"
|
||||||
@dataOptionChange="data_option_change"
|
@dataOptionChange="data_option_change"
|
||||||
|
|
@ -153,6 +155,7 @@
|
||||||
:propDirection="propDirection"
|
:propDirection="propDirection"
|
||||||
:propMobile="propMobile"
|
:propMobile="propMobile"
|
||||||
:propComponentStyle="propStyle"
|
:propComponentStyle="propStyle"
|
||||||
|
:propBusiness="propBusiness"
|
||||||
@dataChange="data_change"
|
@dataChange="data_change"
|
||||||
@dataCheck="data_check"
|
@dataCheck="data_check"
|
||||||
@dataOptionChange="data_option_change"
|
@dataOptionChange="data_option_change"
|
||||||
|
|
@ -251,6 +254,10 @@
|
||||||
propIsCustom: {
|
propIsCustom: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
},
|
||||||
|
propBusiness: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue