| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- import request from '@/utils/request'
- // 查询诊所管理列表
- export function listCompany(query) {
- return request({
- url: '/his/company/list',
- method: 'get',
- params: query
- })
- }
- // 查询诊所管理详细
- export function getCompany(companyId) {
- return request({
- url: '/his/company/' + companyId,
- method: 'get'
- })
- }
- export function resetPwd(companyId) {
- return request({
- url: '/his/company/resetPwd/'+companyId,
- method: 'post'
- })
- }
- export function deduct(data) {
- return request({
- url: '/his/company/deduct',
- method: 'post',
- data: data
- })
- }
- export function redDeduct(data) {
- return request({
- url: '/his/company/redDeduct',
- method: 'post',
- data: data
- })
- }
- export function recharge(data) {
- return request({
- url: '/his/company/recharge',
- method: 'post',
- data: data
- })
- }
- // 红包充值
- export function redRecharge(data) {
- return request({
- url: '/his/company/redRecharge',
- method: 'post',
- data: data
- })
- }
- // 新增诊所管理
- export function addCompany(data) {
- return request({
- url: '/his/company',
- method: 'post',
- data: data
- })
- }
- // 修改诊所管理
- export function updateCompany(data) {
- return request({
- url: '/his/company',
- method: 'put',
- data: data
- })
- }
- // 删除诊所管理
- export function delCompany(companyId) {
- return request({
- url: '/his/company/' + companyId,
- method: 'delete'
- })
- }
- // 导出诊所管理
- export function exportCompany(query) {
- return request({
- url: '/his/company/export',
- method: 'get',
- params: query
- })
- }
- // 修改红包状态
- export function changeRedPacketState(data) {
- return request({
- url: '/his/company/changeRedPacketState',
- method: 'post',
- data: data
- })
- }
- // 查询诊所管理详细
- export function getDivConfig(companyId) {
- return request({
- url: '/his/company/getDivConfig/' + companyId,
- method: 'get'
- })
- }
- export function setDiv(data) {
- return request({
- url: '/his/company/setDiv',
- method: 'post',
- data: data
- })
- }
- export function exitMiniProgram(data) {
- return request({
- url: '/his/company/exitMiniProgram',
- method: 'post',
- data: data
- })
- }
- export function getGatewayCompanyList(companyId) {
- return request({
- url: '/easyCall/gateway/getGatewayCompanyList',
- method: 'get'
- })
- }
- /** 服务号点播下拉(口令看课) */
- export function listCourseMaAppOptions() {
- return request({
- url: '/his/company/courseMaAppOptions',
- method: 'get'
- })
- }
- /** 口令看课开关 */
- export function changeWatchPasswordEnabled(data) {
- return request({
- url: '/his/company/changeWatchPasswordEnabled',
- method: 'post',
- data: data
- })
- }
- /** 公司红包新/老商户 */
- export function changeRedPacketMerchant(data) {
- return request({
- url: '/his/company/changeRedPacketMerchant',
- method: 'post',
- data: data
- })
- }
- export function listRedPacketMerchantOptions() {
- return request({
- url: '/his/company/redPacketMerchantOptions',
- method: 'get'
- })
- }
|