Commit 043b8e5a by 前端

Merge branch 'hotfix_SAAS+V5.8.2.1' into 'develop'

上线合并

See merge request !751
2 parents 9a1aa65c 4badf45d
...@@ -237,7 +237,7 @@ ...@@ -237,7 +237,7 @@
v-bind="getItemAttrs(item)" v-bind="getItemAttrs(item)"
:disabled="getItemIsDisabled(item)" :disabled="getItemIsDisabled(item)"
v-on="item.listeners ? item.listeners : {}" v-on="item.listeners ? item.listeners : {}"
@change="item.handleRadioChange ? item.handleRadioChange : () => { }"> @change="handleRadioChange($event, item)">
<el-radio v-for="subItem in item.optionList" <el-radio v-for="subItem in item.optionList"
:key="subItem[item.optionId]" :key="subItem[item.optionId]"
:disabled="getItemIsDisabled(item)" :disabled="getItemIsDisabled(item)"
...@@ -628,6 +628,11 @@ export default { ...@@ -628,6 +628,11 @@ export default {
mounted() { }, mounted() { },
methods: { methods: {
handleRadioChange(value, item) {
if (item.handleRadioChange) {
item.handleRadioChange(value);
}
},
passwordInputType(item) { passwordInputType(item) {
if (item.showPass) { if (item.showPass) {
return this.passwordPlain[item.name] ? "text" : "password"; return this.passwordPlain[item.name] ? "text" : "password";
......
...@@ -101,6 +101,16 @@ import multipleMixin from "./multipleMixin"; ...@@ -101,6 +101,16 @@ import multipleMixin from "./multipleMixin";
export default { export default {
name: "MultipleRecording", name: "MultipleRecording",
mixins: [multipleMixin], mixins: [multipleMixin],
props: {
/**
* biz: 业务类型
* 1.延保 2.轻改 3.权益 4.二手车
*/
biz: {
type: Number,
default: 1,
},
},
data() { data() {
return { return {
dialogConfig: { dialogConfig: {
...@@ -183,6 +193,14 @@ export default { ...@@ -183,6 +193,14 @@ export default {
mounted() { mounted() {
}, },
methods: { 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() { getParams() {
let params = this.deepClone(this.searchForm); let params = this.deepClone(this.searchForm);
if (params.receptionDate) { if (params.receptionDate) {
......
...@@ -149,6 +149,7 @@ ...@@ -149,6 +149,7 @@
@dialogClose="staffTag1Visible = false"> @dialogClose="staffTag1Visible = false">
</MultipleStaff> </MultipleStaff>
<MultipleRecording ref="recordingTagRef" <MultipleRecording ref="recordingTagRef"
:biz="biz"
:choose-data="formData.recordingList" :choose-data="formData.recordingList"
:visible="recordingTagVisible" :visible="recordingTagVisible"
@choose="formatMultipleList($event, 'recordingList')" @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!