linwenxin 1 éve
szülő
commit
34e97462c2

+ 20 - 10
src/views/setting/organizationManagement/settledManagement/index.vue

@@ -88,20 +88,26 @@
             </el-col>
             <el-col :span="6">
               <el-form-item label="辅材配件权限" prop="moduleMaterialPart">
-                <el-switch v-model="step1Form.moduleMaterialPart" active-color="#13ce66" inactive-color="#ff4949">
-                </el-switch>
+                <el-radio-group v-model="step1Form.moduleMaterialPart">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
               </el-form-item>
             </el-col>
             <el-col :span="6">
               <el-form-item label="延保权限" prop="moduleYb">
-                <el-switch v-model="step1Form.moduleYb" active-color="#13ce66" inactive-color="#ff4949">
-                </el-switch>
+                <el-radio-group v-model="step1Form.moduleYb">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
               </el-form-item>
             </el-col>
             <el-col :span="6">
               <el-form-item label="工程维保权限" prop="moduleWb">
-                <el-switch v-model="step1Form.moduleWb" active-color="#13ce66" inactive-color="#ff4949">
-                </el-switch>
+                <el-radio-group v-model="step1Form.moduleWb">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
               </el-form-item>
             </el-col>
             <el-col :span="6">
@@ -122,14 +128,18 @@
             </el-col>
             <el-col :span="6">
               <el-form-item label="二手商城" prop="moduleEs">
-                <el-switch v-model="step1Form.moduleEs" active-color="#13ce66" inactive-color="#ff4949">
-                </el-switch>
+                <el-radio-group v-model="step1Form.moduleEs">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
               </el-form-item>
             </el-col>
             <el-col :span="6">
               <el-form-item label="是否允许到店支付" prop="storePay">
-                <el-switch v-model="step1Form.storePay" active-color="#13ce66" inactive-color="#ff4949">
-                </el-switch>
+                <el-radio-group v-model="step1Form.storePay">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
               </el-form-item>
             </el-col>
             <el-col :span="12">

+ 20 - 10
src/views/setting/organizationManagement/tenantDetails/index.vue

@@ -73,20 +73,26 @@
             </el-col>
             <el-col :span="6">
               <el-form-item label="辅材配件权限" prop="moduleMaterialPart">
-                <el-switch v-model="step1Form.moduleMaterialPart" active-color="#13ce66" inactive-color="#ff4949">
-                </el-switch>
+                <el-radio-group v-model="step1Form.moduleMaterialPart">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
               </el-form-item>
             </el-col>
             <el-col :span="6">
               <el-form-item label="延保权限" prop="moduleYb">
-                <el-switch v-model="step1Form.moduleYb" active-color="#13ce66" inactive-color="#ff4949">
-                </el-switch>
+                <el-radio-group v-model="step1Form.moduleYb">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
               </el-form-item>
             </el-col>
             <el-col :span="6">
               <el-form-item label="工程维保权限" prop="moduleWb">
-                <el-switch v-model="step1Form.moduleWb" active-color="#13ce66" inactive-color="#ff4949">
-                </el-switch>
+                <el-radio-group v-model="step1Form.moduleWb">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
               </el-form-item>
             </el-col>
             <el-col :span="6">
@@ -107,14 +113,18 @@
             </el-col>
             <el-col :span="6">
               <el-form-item label="二手商城" prop="moduleEs">
-                <el-switch v-model="step1Form.moduleEs" active-color="#13ce66" inactive-color="#ff4949">
-                </el-switch>
+                <el-radio-group v-model="step1Form.moduleEs">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
               </el-form-item>
             </el-col>
             <el-col :span="6">
               <el-form-item label="是否允许到店支付" prop="storePay">
-                <el-switch v-model="step1Form.storePay" active-color="#13ce66" inactive-color="#ff4949">
-                </el-switch>
+                <el-radio-group v-model="step1Form.storePay">
+                  <el-radio :label="true">开启</el-radio>
+                  <el-radio :label="false">禁用</el-radio>
+                </el-radio-group>
               </el-form-item>
             </el-col>
             <el-col :span="12">