| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- import request from '@/utils/request'
- // 查询【请填写功能名称】列表
- export function list(query) {
- return request({
- url: '/core/api/plan/find',
- method: 'post',
- data: query
- })
- }
- // 查询【请填写功能名称】详细
- export function itemfind(id) {
- return request({
- url: '/core/api/plan/item/find/' + id,
- method: 'get'
- })
- }
- // 查询【请填写功能名称】详细
- export function cheHui(id) {
- return request({
- url: '/core/api/plan/cheHui/' + id,
- method: 'get'
- })
- }
- // 下发所属机构为行社的计划
- export function distributeHS(id,immediateEffect) {
- return request({
- url: `/core/api/plan/distributehs/${id}/${immediateEffect}`,
- method: 'get'
- })
- }
- // 查询【请填写功能名称】详细
- export function distribute(query,immediateEffect) {
- return request({
- url: '/core/api/plan/distribute/'+immediateEffect ,
- method: 'post',
- data: query
- })
- }
- export function getPointIds(id) {
- return request({
- url: '/core/api/plan/getPointIds/' + id,
- method: 'get'
- })
- }
- // 查询【请填写功能名称】详细
- export function get(id) {
- return request({
- url: '/core/api/plan/find/' + id,
- method: 'get'
- })
- }
- // immediateEffect:使用中、停用状态下编辑时有效
- export function update(data,immediateEffect) {
- return request({
- url: '/core/api/plan/edit/'+immediateEffect,
- method: 'post',
- data: data
- })
- }
- // 删除【请填写功能名称】
- export function del(id) {
- return request({
- url: '/core/api/plan/delete/' + id,
- method: 'delete'
- })
- }
|