This commit is contained in:
2025-03-11 10:49:36 +08:00
parent 90180b86bd
commit 8c7cb7b209
2 changed files with 13 additions and 19 deletions

View File

@@ -21,6 +21,8 @@
v-model="dataForm.isOn"
active-color="#409EFF"
inactive-color="#F56C6C"
:active-value="1"
:inactive-value="0"
/>
</el-form-item>
</el-form>
@@ -42,7 +44,7 @@
juridicalPerson: '',
address: '',
industry: '',
isOn: false
isOn: 0
},
dataRule: {
clientName: [
@@ -78,7 +80,6 @@
this.dataForm.address = data.client.address
this.dataForm.industry = data.client.industry
this.dataForm.isOn = data.client.isOn
this.dataForm.createTime = data.client.createTime
}
})
}
@@ -97,8 +98,7 @@
'juridicalPerson': this.dataForm.juridicalPerson,
'address': this.dataForm.address,
'industry': this.dataForm.industry,
'isOn': this.dataForm.isOn,
'createTime': this.dataForm.createTime
'isOn': this.dataForm.isOn
})
}).then(({data}) => {
if (data && data.code === 0) {