فهرست منبع

机构入驻修改

1
mo 3 سال پیش
والد
کامیت
afa141d759

+ 29 - 28
src/views/platformManager/tenantApply/modals/infodetail.vue

@@ -14,12 +14,12 @@
       <descriptions-item label="企业负责人联系电话:">{{
         activeRow.enterpriseLiablePhone || ""
       }}</descriptions-item>
-      <descriptions-item label="项目负责人:">{{
+      <!-- <descriptions-item label="项目负责人:">{{
         activeRow.contacts || ""
-      }}</descriptions-item>
-      <descriptions-item label="项目负责人联系电话:">{{
+      }}</descriptions-item> -->
+      <!-- <descriptions-item label="项目负责人联系电话:">{{
         activeRow.phone || ""
-      }}</descriptions-item>
+      }}</descriptions-item> -->
       <descriptions-item label="现有学校数量">{{
         activeRow.currentHasSchoolNum || 0
       }}</descriptions-item>
@@ -27,9 +27,9 @@
         activeRow.studentNum || 0
       }}</descriptions-item>
 
-      <descriptions-item label="营业执照编号:" span="4">{{
+      <!-- <descriptions-item label="营业执照编号:" span="4">{{
         activeRow.tsignCode || ""
-      }}</descriptions-item>
+      }}</descriptions-item> -->
       <descriptions-item label="机构简介:" span="4">{{
         activeRow.remark || ""
       }}</descriptions-item>
@@ -60,7 +60,7 @@
             />
           </div>
         </el-col>
-        <el-col :span="6">
+        <!-- <el-col :span="6">
           <div class="imgWrapItem">
             <p class="itemTitle">税务登记证</p>
             <el-image
@@ -69,8 +69,8 @@
               :preview-src-list="[activeRow.taxRegisterPic]"
               alt=""
             /></div
-        ></el-col>
-        <el-col :span="6">
+        ></el-col> -->
+        <!-- <el-col :span="6">
           <div class="imgWrapItem">
             <p class="itemTitle">公司开户信息</p>
             <el-image
@@ -79,8 +79,8 @@
               :preview-src-list="[activeRow.companyAccountInfoPic]"
               alt=""
             /></div
-        ></el-col>
-        <el-col :span="6">
+        ></el-col> -->
+        <!-- <el-col :span="6">
           <div class="imgWrapItem">
             <p>企业公章</p>
             <el-image
@@ -90,10 +90,20 @@
               alt=""
             />
           </div>
-        </el-col>
+        </el-col> -->
+                <el-col :span="6">
+          <div class="imgWrapItem">
+            <p>企业LOGO</p>
+            <el-image
+              class="horizontal"
+              :src="activeRow.logo"
+              :preview-src-list="[activeRow.logo]"
+              alt=""
+            /></div
+        ></el-col>
       </el-row>
       <el-row class="row">
-        <el-col :span="6">
+        <!-- <el-col :span="6">
           <div class="imgWrapItem">
             <p>法人身份证(正面)</p>
             <el-image
@@ -103,8 +113,8 @@
               alt=""
             />
           </div>
-        </el-col>
-        <el-col :span="6">
+        </el-col> -->
+        <!-- <el-col :span="6">
           <div class="imgWrapItem">
             <p>法人身份证(反面)</p>
             <el-image
@@ -114,8 +124,8 @@
               alt=""
             />
           </div>
-        </el-col>
-        <el-col :span="6">
+        </el-col> -->
+        <!-- <el-col :span="6">
           <div class="imgWrapItem">
             <p>企业财务公章</p>
             <el-image
@@ -125,17 +135,8 @@
               alt=""
             />
           </div>
-        </el-col>
-        <el-col :span="6">
-          <div class="imgWrapItem">
-            <p>企业LOGO</p>
-            <el-image
-              class="horizontal"
-              :src="activeRow.logo"
-              :preview-src-list="[activeRow.logo]"
-              alt=""
-            /></div
-        ></el-col>
+        </el-col> -->
+
       </el-row>
     </div>
   </div>

+ 1 - 1
src/views/teamDetail/components/resetClass.vue

@@ -293,7 +293,6 @@
       v-if="classNameVisible"
     >
       <changeClassName
-        :classGroupId="activeClass"
         :detail="classDetail"
         @submited="submitedResetClassName"
         @close="classNameVisible = false"
@@ -766,6 +765,7 @@ import { permission } from "@/utils/directivePage";
 import { getCourseType } from "@/utils/utils";
 import { getSysTenantConfig } from "@/views/courseRulersManager/api";
 import {resetClassName} from '../api'
+
 const formatClassGroupTeacherMapperList = (core, ass) => {
   const list = [];
   if (core) {

+ 46 - 5
src/views/teamDetail/teamClassList.vue

@@ -182,10 +182,17 @@
             align="center"
             label="操作"
           >
-            <!--    -->
             <template slot-scope="scope">
               <el-button
                 type="text"
+                v-if="
+                 permission('classGroup/update')
+                "
+                @click="resetClassName(scope.row)"
+                >班级名称调整</el-button
+              >
+              <el-button
+                type="text"
                 @click="addCompound(scope.row)"
                 v-if="
                   scope.row.type != 'MUSIC_NETWORK' &&
@@ -238,6 +245,20 @@
       @getList="getList"
       @cancleCompound="cancleCompound"
     />
+        <!-- 修改班级名称 -->
+    <el-dialog
+      title="班级名称调整"
+      width="400px"
+      :visible.sync="classNameVisible"
+      v-if="classNameVisible"
+    >
+      <changeClassName
+        :classGroupId="activeClass"
+        :detail="classDetail"
+        @submited="submitedResetClassName"
+        @close="classNameVisible = false"
+      />
+    </el-dialog>
   </div>
 </template>
 
@@ -256,9 +277,11 @@ import {
 import { permission } from "@/utils/directivePage";
 import classCompound from "./componentClass/classCompound";
 import { Export } from "@/utils/downLoadFile";
+import changeClassName from "@/views/teamDetail/components/modals/class-resetclass-name.vue";
+import {resetClassName} from '@/views/teamDetail/api'
 import qs from "qs";
 export default {
-  components: { pagination, classCompound },
+  components: { pagination, classCompound,changeClassName },
   data() {
     return {
       searchForm: {
@@ -280,6 +303,11 @@ export default {
         total: 0, // 总条数
         page_size: [10, 20, 40, 50], // 选择限制显示条数
       },
+      classNameVisible:false,
+      classDetail:null,
+      activeClass:''
+
+
     };
   },
   //生命周期 - 创建完成(可以访问当前this实例)
@@ -305,10 +333,9 @@ export default {
       try {
         const res = await getAgreement();
         if (!res.data) {
-          this.$bus.$emit("showguide", ['agreement']);
+          this.$bus.$emit("showguide", ["agreement"]);
         }
       } catch (e) {}
-
     },
     reloadSearch() {
       this.rules.page = 1;
@@ -316,7 +343,7 @@ export default {
     },
     init() {
       this.getList();
-      this.getAgreement()
+      this.getAgreement();
     },
     async getList() {
       try {
@@ -433,6 +460,20 @@ export default {
         "是否确认导出报表?"
       );
     },
+        resetClassName(row) {
+      this.classDetail = row;
+      this.classNameVisible = true;
+    },
+    async submitedResetClassName(data) {
+      const obj = {...data};
+      resetClassName(obj).then((res) => {
+        if (res.code == 200) {
+          this.$message.success("修改成功");
+          this.classNameVisible = false;
+          this.getList();
+        }
+      });
+    },
   },
 };
 </script>