Browse Source

开关颜色修改

feature
mk 1 year ago
parent
commit
bb78e25a7c
  1. 4
      src/views/modules/communityService/policy/addPolicy.vue

4
src/views/modules/communityService/policy/addPolicy.vue

@ -158,7 +158,7 @@
> >
<el-switch <el-switch
v-model="value" v-model="value"
active-color="#409EFF" active-color="#0056d6"
inactive-color="#ff4949"> inactive-color="#ff4949">
</el-switch> </el-switch>
</el-form-item> </el-form-item>
@ -769,8 +769,6 @@ export default {
} else { } else {
url = "/governance/policy/updatePolicy"; url = "/governance/policy/updatePolicy";
this.formData.policyId = this.policyId; this.formData.policyId = this.policyId;
console.log(this.formData.assignInfo.serverOrgId);
console.log(this.serviceOptiondList);
if(this.serviceOptiondList && this.serviceOptiondList.findIndex(item=>item.id === this.formData.assignInfo.serverOrgId) != -1){ if(this.serviceOptiondList && this.serviceOptiondList.findIndex(item=>item.id === this.formData.assignInfo.serverOrgId) != -1){
let {name,mobile} = this.serviceOptiondList.filter(item=>item.id === this.formData.assignInfo.serverOrgId)[0] let {name,mobile} = this.serviceOptiondList.filter(item=>item.id === this.formData.assignInfo.serverOrgId)[0]
this.formData.serverOrgName = name this.formData.serverOrgName = name

Loading…
Cancel
Save