Commit a5440fb0 by 前端

Merge branch 'hotfix_SAAS+V5.8.2.1' into 'SAAS+V5.8.3'

上线合并

See merge request !753
2 parents 1dcdcf2e 4badf45d
......@@ -237,7 +237,7 @@
v-bind="getItemAttrs(item)"
:disabled="getItemIsDisabled(item)"
v-on="item.listeners ? item.listeners : {}"
@change="item.handleRadioChange ? item.handleRadioChange : () => { }">
@change="handleRadioChange($event, item)">
<el-radio v-for="subItem in item.optionList"
:key="subItem[item.optionId]"
:disabled="getItemIsDisabled(item)"
......@@ -628,6 +628,11 @@ export default {
mounted() { },
methods: {
handleRadioChange(value, item) {
if (item.handleRadioChange) {
item.handleRadioChange(value);
}
},
passwordInputType(item) {
if (item.showPass) {
return this.passwordPlain[item.name] ? "text" : "password";
......
......@@ -101,6 +101,16 @@ import multipleMixin from "./multipleMixin";
export default {
name: "MultipleRecording",
mixins: [multipleMixin],
props: {
/**
* biz: 业务类型
* 1.延保 2.轻改 3.权益 4.二手车
*/
biz: {
type: Number,
default: 1,
},
},
data() {
return {
dialogConfig: {
......@@ -183,6 +193,14 @@ export default {
mounted() {
},
methods: {
beforeSearchFn() {
// 1.延保 2.轻改 3.权益 4.二手车 延保和权益都传1
return new Promise((resolve) => {
this.searchFormSearch = this.getParams();
this.searchFormSearch.businessType = this.biz == 3 ? 1 : this.biz;
resolve();
});
},
getParams() {
let params = this.deepClone(this.searchForm);
if (params.receptionDate) {
......
......@@ -149,6 +149,7 @@
@dialogClose="staffTag1Visible = false">
</MultipleStaff>
<MultipleRecording ref="recordingTagRef"
:biz="biz"
:choose-data="formData.recordingList"
:visible="recordingTagVisible"
@choose="formatMultipleList($event, 'recordingList')"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!