zh 2 年之前
父節點
當前提交
a57915b1f5

+ 1 - 1
src/views/sales_policy/components/AddPolicy.vue

@@ -5,7 +5,7 @@
         <div class="screen-container">
           <h4>销售政策信息</h4>
           <el-divider />
-          <el-form ref="form" :model="searchForm" label-width="140px" size="mini" class="demo-searchForm">
+          <el-form ref="form" :model="searchForm" label-width="160px" size="mini" class="demo-searchForm">
             <el-row>
               <el-col :xs="24" :ms="12" :lg="12">
                 <el-form-item label="销售政策编号">

+ 1 - 1
src/views/sales_policy/components/editPolicy.vue

@@ -5,7 +5,7 @@
         <div class="screen-container">
           <h4>销售政策信息</h4>
           <el-divider />
-          <el-form ref="form" :model="searchForm" label-width="120px" size="mini" class="demo-searchForm">
+          <el-form ref="form" :model="searchForm" label-width="160px" size="mini" class="demo-searchForm">
             <el-row>
               <el-col :xs="24" :ms="12" :lg="12">
                 <el-form-item label="销售政策编号">

+ 3 - 5
src/views/setting/jiaxianSubAccount.vue

@@ -152,7 +152,7 @@ import {
   getMenuList,
   getRoleChecked,
   setMenuRole,
-  resetPassword
+  editSubAccount
 } from '@/api/setting'
 
 export default {
@@ -299,10 +299,8 @@ export default {
         }
         if (valid) {
           if (this.addFormType === 'edit') {
-            resetPassword({
-              adminUserId: this.ruleForm.adminUserId,
-              password: this.ruleForm.password
-            }).then(res => {
+            params.adminUserId = this.ruleForm.adminUserId
+            editSubAccount(params).then(res => {
               this.cancelAddForm()
               this.getList()
               this.$successMsg('编辑成功')