瀏覽代碼

公司设置看课小程序选择源修改

吴树波 4 天之前
父節點
當前提交
db2fa54aef

+ 2 - 2
.env.prod-bjyjb

@@ -1,7 +1,7 @@
 # 页面标题
-VUE_APP_TITLE =医健宝互联网医院管理系统
+VUE_APP_TITLE =医健宝医药管理系统
 # 首页菜单标题
-VUE_APP_TITLE_INDEX =医健宝互联网医院
+VUE_APP_TITLE_INDEX =医健宝医药
 # 公司名称
 VUE_APP_COMPANY_NAME =医健宝智慧(北京)医药科技有限公司
 # ICP备案号

+ 3 - 2
src/api/course/coursePlaySourceConfig.js

@@ -38,9 +38,10 @@ export function del(id) {
   })
 }
 
-export function listAll() {
+export function listAll(companyId) {
   return request({
     url: '/course/playSourceConfig/listAll',
-    method: 'get'
+    method: 'get',
+    params: {companyId}
   })
 }

+ 6 - 5
src/views/his/company/index.vue

@@ -794,17 +794,17 @@ export default {
     /** 新增按钮操作 */
     handleAdd() {
       this.reset()
-      this.getAppList()
+      this.getAppList(null)
       this.open = true
       this.doctorIds = []
       this.title = '添加公司'
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
+      const companyId = row.companyId || this.ids
       this.reset()
-      this.getAppList()
+      this.getAppList(companyId)
       this.doctorIds = []
-      const companyId = row.companyId || this.ids
       getCompany(companyId).then(response => {
         this.form = response.data
         this.form.usedNum = row.usedNum
@@ -827,11 +827,12 @@ export default {
         }
       })
     },
-    getAppList() {
+    getAppList(companyId) {
       this.maAppList = []
       this.miniAppList = []
       this.customAppList = []
-      listAll().then(response => {
+      console.info(companyId)
+      listAll(companyId).then(response => {
         const { code, data } = response
         if (code === 200) {
           if (data) {

+ 1 - 1
src/views/qw/externalContact/index.vue

@@ -2,7 +2,7 @@
   <div class="app-container">
     <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="100px" style="border: 1px solid transparent">
       <el-form-item label="销售公司" prop="companyId">
-        <el-select v-model="queryParams.companyId" placeholder="销售公司"  size="small" @change="getAllUserlist(queryParams.companyId)" clearable>
+        <el-select v-model="queryParams.companyId" placeholder="销售公司"  size="small" @change="getAllUserlist(queryParams.companyId)">
           <el-option
               v-for="dict in qwCompanyList"
               :key="dict.companyId"

+ 9 - 0
src/views/system/config/config.vue

@@ -1397,6 +1397,15 @@
             </el-switch>
           </el-form-item>
 
+          <el-form-item label="是否只展示部门" prop="doctorRegister">
+            <el-switch
+              v-model="form18.dept"
+              active-color="#13ce66"
+              inactive-color="#ff4949"
+            >
+            </el-switch>
+          </el-form-item>
+
           <div class="line"></div>
           <div style="float:right;margin-right:20px">
             <el-button type="primary" @click="submitForm18">提交</el-button>