parent
06bdad5d65
commit
f6e77745e1
Binary file not shown.
@ -1,82 +1,82 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询金四-用户登记列表
|
// 查询金四-用户登记列表
|
||||||
export function listInvoiceallyhdj(query) { |
export function listInvoiceallyhdj (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoiceall/invoiceallyhdj/list', |
url: '/invoiceall/invoiceallyhdj/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询金四-用户登记详细
|
// 查询金四-用户登记详细
|
||||||
export function getInvoiceallyhdj(id) { |
export function getInvoiceallyhdj (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoiceall/invoiceallyhdj/' + id, |
url: '/invoiceall/invoiceallyhdj/' + id, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
//用户登记
|
//用户登记
|
||||||
export function registeredMethod(registeredParams,identity) { |
export function registeredMethod (registeredParams, identity) { |
||||||
return request({ |
return request({ |
||||||
url: '/api/invoice_all/v1/registed?identity=' + identity+"&order="+registeredParams, |
url: '/api/invoice_all/v1/registed?identity=' + identity + "&order=" + registeredParams, |
||||||
method: 'post', |
method: 'post', |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
//人脸识别
|
//人脸识别
|
||||||
export function qrcodeMethod(qrcodeParams,identity) { |
export function qrcodeMethod (qrcodeParams, identity) { |
||||||
return request({ |
return request({ |
||||||
url: '/api/invoice_all/v1/loginVerificated?identity=' + identity+"&order="+qrcodeParams, |
url: '/api/invoice_all/v1/loginVerificated?identity=' + identity + "&order=" + qrcodeParams, |
||||||
method: 'post', |
method: 'post', |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增金四-用户登记
|
// 新增金四-用户登记
|
||||||
export function addInvoiceallyhdj(data) { |
export function addInvoiceallyhdj (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoiceall/invoiceallyhdj', |
url: '/invoiceall/invoiceallyhdj', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改金四-用户登记
|
// 修改金四-用户登记
|
||||||
export function updateInvoiceallyhdj(data) { |
export function updateInvoiceallyhdj (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoiceall/invoiceallyhdj', |
url: '/invoiceall/invoiceallyhdj', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除金四-用户登记
|
// 删除金四-用户登记
|
||||||
export function delInvoiceallyhdj(id) { |
export function delInvoiceallyhdj (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoiceall/invoiceallyhdj/' + id, |
url: '/invoiceall/invoiceallyhdj/' + id, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
export function encrypt(data) { |
export function encrypt (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/sandbox/encrypt', |
url: '/sandbox/encrypt', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
export function obtainLoginStatus(data,identity) { |
export function obtainLoginStatus (data, identity) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoice_all/obtainLoginStatus?identity=' + identity+"&order="+data, |
url: '/invoice_all/obtainLoginStatus?identity=' + identity + "&order=" + data, |
||||||
method: 'post' |
method: 'post' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
export function getCompanyservice(companyid) { |
export function getCompanyservice (companyid) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/companyservice/' + companyid, |
url: '/system/companyservice/' + companyid, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,52 +1,52 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询开票信息列表
|
// 查询开票信息列表
|
||||||
export function listBillinfo(query) { |
export function listBillinfo (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoice/billinfo/list', |
url: '/invoice/billinfo/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询开票信息详细
|
// 查询开票信息详细
|
||||||
export function getBillinfo(id) { |
export function getBillinfo (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoice/billinfo/' + id, |
url: '/invoice/billinfo/' + id, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增开票信息
|
// 新增开票信息
|
||||||
export function addBillinfo(data) { |
export function addBillinfo (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoice/billinfo', |
url: '/invoice/billinfo', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改开票信息
|
// 修改开票信息
|
||||||
export function updateBillinfo(data) { |
export function updateBillinfo (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoice/billinfo', |
url: '/invoice/billinfo', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除开票信息
|
// 删除开票信息
|
||||||
export function delBillinfo(id) { |
export function delBillinfo (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoice/billinfo/' + id, |
url: '/invoice/billinfo/' + id, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 重新推送开票明细
|
// 重新推送开票明细
|
||||||
export function pushBillinfo(id) { |
export function pushBillinfo (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/invoice/billinfo/push/' + id, |
url: '/invoice/billinfo/push/' + id, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,9 +1,9 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询缓存详细
|
// 查询缓存详细
|
||||||
export function getCache() { |
export function getCache () { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/cache', |
url: '/monitor/cache', |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,26 +1,26 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询调度日志列表
|
// 查询调度日志列表
|
||||||
export function listJobLog(query) { |
export function listJobLog (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/jobLog/list', |
url: '/monitor/jobLog/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除调度日志
|
// 删除调度日志
|
||||||
export function delJobLog(jobLogId) { |
export function delJobLog (jobLogId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/jobLog/' + jobLogId, |
url: '/monitor/jobLog/' + jobLogId, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 清空调度日志
|
// 清空调度日志
|
||||||
export function cleanJobLog() { |
export function cleanJobLog () { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/jobLog/clean', |
url: '/monitor/jobLog/clean', |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,26 +1,26 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询登录日志列表
|
// 查询登录日志列表
|
||||||
export function list(query) { |
export function list (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/logininfor/list', |
url: '/monitor/logininfor/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除登录日志
|
// 删除登录日志
|
||||||
export function delLogininfor(infoId) { |
export function delLogininfor (infoId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/logininfor/' + infoId, |
url: '/monitor/logininfor/' + infoId, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 清空登录日志
|
// 清空登录日志
|
||||||
export function cleanLogininfor() { |
export function cleanLogininfor () { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/logininfor/clean', |
url: '/monitor/logininfor/clean', |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,18 +1,18 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询在线用户列表
|
// 查询在线用户列表
|
||||||
export function list(query) { |
export function list (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/online/list', |
url: '/monitor/online/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 强退用户
|
// 强退用户
|
||||||
export function forceLogout(tokenId) { |
export function forceLogout (tokenId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/online/' + tokenId, |
url: '/monitor/online/' + tokenId, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,26 +1,26 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询操作日志列表
|
// 查询操作日志列表
|
||||||
export function list(query) { |
export function list (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/operlog/list', |
url: '/monitor/operlog/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除操作日志
|
// 删除操作日志
|
||||||
export function delOperlog(operId) { |
export function delOperlog (operId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/operlog/' + operId, |
url: '/monitor/operlog/' + operId, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 清空操作日志
|
// 清空操作日志
|
||||||
export function cleanOperlog() { |
export function cleanOperlog () { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/operlog/clean', |
url: '/monitor/operlog/clean', |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,9 +1,9 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 获取服务信息
|
// 获取服务信息
|
||||||
export function getServer() { |
export function getServer () { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/monitor/server', |
url: '/monitor/server', |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,44 +1,44 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询导入设置列表
|
// 查询导入设置列表
|
||||||
export function listExportmanage(query) { |
export function listExportmanage (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/exportmanage/list', |
url: '/platform/exportmanage/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询导入设置详细
|
// 查询导入设置详细
|
||||||
export function getExportmanage(id) { |
export function getExportmanage (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/exportmanage/' + id, |
url: '/platform/exportmanage/' + id, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增导入设置
|
// 新增导入设置
|
||||||
export function addExportmanage(data) { |
export function addExportmanage (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/exportmanage', |
url: '/platform/exportmanage', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改导入设置
|
// 修改导入设置
|
||||||
export function updateExportmanage(data) { |
export function updateExportmanage (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/exportmanage', |
url: '/platform/exportmanage', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除导入设置
|
// 删除导入设置
|
||||||
export function delExportmanage(id) { |
export function delExportmanage (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/exportmanage/' + id, |
url: '/platform/exportmanage/' + id, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,36 +1,36 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
//查询单个记录
|
//查询单个记录
|
||||||
export function oneExportmanage() { |
export function oneExportmanage () { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/exportmanage/findByName', |
url: '/platform/exportmanage/findByName', |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
|
|
||||||
// 新增导入设置
|
// 新增导入设置
|
||||||
export function addExportmanage(data) { |
export function addExportmanage (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/exportmanage', |
url: '/platform/exportmanage', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改导入设置
|
// 修改导入设置
|
||||||
export function updateExportmanage(data) { |
export function updateExportmanage (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/exportmanage', |
url: '/platform/exportmanage', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除导入设置
|
// 删除导入设置
|
||||||
export function delExportmanage(id) { |
export function delExportmanage (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/exportmanage/' + id, |
url: '/platform/exportmanage/' + id, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,44 +1,44 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询商品信息列表
|
// 查询商品信息列表
|
||||||
export function listProduct_info(query) { |
export function listProduct_info (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/product_info/list', |
url: '/platform/product_info/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询商品信息详细
|
// 查询商品信息详细
|
||||||
export function getProduct_info(id) { |
export function getProduct_info (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/product_info/' + id, |
url: '/platform/product_info/' + id, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增商品信息
|
// 新增商品信息
|
||||||
export function addProduct_info(data) { |
export function addProduct_info (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/product_info', |
url: '/platform/product_info', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改商品信息
|
// 修改商品信息
|
||||||
export function updateProduct_info(data) { |
export function updateProduct_info (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/product_info', |
url: '/platform/product_info', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除商品信息
|
// 删除商品信息
|
||||||
export function delProduct_info(id) { |
export function delProduct_info (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/product_info/' + id, |
url: '/platform/product_info/' + id, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,44 +1,44 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询车辆编码列表
|
// 查询车辆编码列表
|
||||||
export function listVehiclecode(query) { |
export function listVehiclecode (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/vehiclecode/list', |
url: '/platform/vehiclecode/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询车辆编码详细
|
// 查询车辆编码详细
|
||||||
export function getVehiclecode(id) { |
export function getVehiclecode (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/vehiclecode/' + id, |
url: '/platform/vehiclecode/' + id, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增车辆编码
|
// 新增车辆编码
|
||||||
export function addVehiclecode(data) { |
export function addVehiclecode (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/vehiclecode', |
url: '/platform/vehiclecode', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改车辆编码
|
// 修改车辆编码
|
||||||
export function updateVehiclecode(data) { |
export function updateVehiclecode (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/vehiclecode', |
url: '/platform/vehiclecode', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除车辆编码
|
// 删除车辆编码
|
||||||
export function delVehiclecode(id) { |
export function delVehiclecode (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/platform/vehiclecode/' + id, |
url: '/platform/vehiclecode/' + id, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,44 +1,44 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询销方信息列表
|
// 查询销方信息列表
|
||||||
export function listCompanyservice(query) { |
export function listCompanyservice (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/companyservice/list', |
url: '/system/companyservice/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询销方信息详细
|
// 查询销方信息详细
|
||||||
export function getCompanyservice(companyid) { |
export function getCompanyservice (companyid) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/companyservice/' + companyid, |
url: '/system/companyservice/' + companyid, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增销方信息
|
// 新增销方信息
|
||||||
export function addCompanyservice(data) { |
export function addCompanyservice (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/companyservice', |
url: '/system/companyservice', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改销方信息
|
// 修改销方信息
|
||||||
export function updateCompanyservice(data) { |
export function updateCompanyservice (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/companyservice', |
url: '/system/companyservice', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除销方信息
|
// 删除销方信息
|
||||||
export function delCompanyservice(companyid) { |
export function delCompanyservice (companyid) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/companyservice/' + companyid, |
url: '/system/companyservice/' + companyid, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,44 +1,44 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询销方详情列表
|
// 查询销方详情列表
|
||||||
export function listCompanyservice_detail(query) { |
export function listCompanyservice_detail (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/companyservice_detail/list', |
url: '/system/companyservice_detail/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询销方详情详细
|
// 查询销方详情详细
|
||||||
export function getCompanyservice_detail(id) { |
export function getCompanyservice_detail (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/companyservice_detail/' + id, |
url: '/system/companyservice_detail/' + id, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增销方详情
|
// 新增销方详情
|
||||||
export function addCompanyservice_detail(data) { |
export function addCompanyservice_detail (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/companyservice_detail', |
url: '/system/companyservice_detail', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改销方详情
|
// 修改销方详情
|
||||||
export function updateCompanyservice_detail(data) { |
export function updateCompanyservice_detail (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/companyservice_detail', |
url: '/system/companyservice_detail', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除销方详情
|
// 删除销方详情
|
||||||
export function delCompanyservice_detail(id) { |
export function delCompanyservice_detail (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/companyservice_detail/' + id, |
url: '/system/companyservice_detail/' + id, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,60 +1,60 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询参数列表
|
// 查询参数列表
|
||||||
export function listConfig(query) { |
export function listConfig (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/config/list', |
url: '/system/config/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询参数详细
|
// 查询参数详细
|
||||||
export function getConfig(configId) { |
export function getConfig (configId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/config/' + configId, |
url: '/system/config/' + configId, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 根据参数键名查询参数值
|
// 根据参数键名查询参数值
|
||||||
export function getConfigKey(configKey) { |
export function getConfigKey (configKey) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/config/configKey/' + configKey, |
url: '/system/config/configKey/' + configKey, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增参数配置
|
// 新增参数配置
|
||||||
export function addConfig(data) { |
export function addConfig (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/config', |
url: '/system/config', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改参数配置
|
// 修改参数配置
|
||||||
export function updateConfig(data) { |
export function updateConfig (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/config', |
url: '/system/config', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除参数配置
|
// 删除参数配置
|
||||||
export function delConfig(configId) { |
export function delConfig (configId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/config/' + configId, |
url: '/system/config/' + configId, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 刷新参数缓存
|
// 刷新参数缓存
|
||||||
export function refreshCache() { |
export function refreshCache () { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/config/refreshCache', |
url: '/system/config/refreshCache', |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,68 +1,68 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询部门列表
|
// 查询部门列表
|
||||||
export function listDept(query) { |
export function listDept (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dept/list', |
url: '/system/dept/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询部门列表(排除节点)
|
// 查询部门列表(排除节点)
|
||||||
export function listDeptExcludeChild(deptId) { |
export function listDeptExcludeChild (deptId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dept/list/exclude/' + deptId, |
url: '/system/dept/list/exclude/' + deptId, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询部门详细
|
// 查询部门详细
|
||||||
export function getDept(deptId) { |
export function getDept (deptId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dept/' + deptId, |
url: '/system/dept/' + deptId, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询部门下拉树结构
|
// 查询部门下拉树结构
|
||||||
export function treeselect() { |
export function treeselect () { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dept/treeselect', |
url: '/system/dept/treeselect', |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 根据角色ID查询部门树结构
|
// 根据角色ID查询部门树结构
|
||||||
export function roleDeptTreeselect(roleId) { |
export function roleDeptTreeselect (roleId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dept/roleDeptTreeselect/' + roleId, |
url: '/system/dept/roleDeptTreeselect/' + roleId, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增部门
|
// 新增部门
|
||||||
export function addDept(data) { |
export function addDept (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dept', |
url: '/system/dept', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改部门
|
// 修改部门
|
||||||
export function updateDept(data) { |
export function updateDept (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dept', |
url: '/system/dept', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除部门
|
// 删除部门
|
||||||
export function delDept(deptId) { |
export function delDept (deptId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dept/' + deptId, |
url: '/system/dept/' + deptId, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,52 +1,52 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询字典数据列表
|
// 查询字典数据列表
|
||||||
export function listData(query) { |
export function listData (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/data/list', |
url: '/system/dict/data/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询字典数据详细
|
// 查询字典数据详细
|
||||||
export function getData(dictCode) { |
export function getData (dictCode) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/data/' + dictCode, |
url: '/system/dict/data/' + dictCode, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 根据字典类型查询字典数据信息
|
// 根据字典类型查询字典数据信息
|
||||||
export function getDicts(dictType) { |
export function getDicts (dictType) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/data/type/' + dictType, |
url: '/system/dict/data/type/' + dictType, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增字典数据
|
// 新增字典数据
|
||||||
export function addData(data) { |
export function addData (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/data', |
url: '/system/dict/data', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改字典数据
|
// 修改字典数据
|
||||||
export function updateData(data) { |
export function updateData (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/data', |
url: '/system/dict/data', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除字典数据
|
// 删除字典数据
|
||||||
export function delData(dictCode) { |
export function delData (dictCode) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/data/' + dictCode, |
url: '/system/dict/data/' + dictCode, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,60 +1,60 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询字典类型列表
|
// 查询字典类型列表
|
||||||
export function listType(query) { |
export function listType (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/type/list', |
url: '/system/dict/type/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询字典类型详细
|
// 查询字典类型详细
|
||||||
export function getType(dictId) { |
export function getType (dictId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/type/' + dictId, |
url: '/system/dict/type/' + dictId, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增字典类型
|
// 新增字典类型
|
||||||
export function addType(data) { |
export function addType (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/type', |
url: '/system/dict/type', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改字典类型
|
// 修改字典类型
|
||||||
export function updateType(data) { |
export function updateType (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/type', |
url: '/system/dict/type', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除字典类型
|
// 删除字典类型
|
||||||
export function delType(dictId) { |
export function delType (dictId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/type/' + dictId, |
url: '/system/dict/type/' + dictId, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 刷新字典缓存
|
// 刷新字典缓存
|
||||||
export function refreshCache() { |
export function refreshCache () { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/type/refreshCache', |
url: '/system/dict/type/refreshCache', |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 获取字典选择框列表
|
// 获取字典选择框列表
|
||||||
export function optionselect() { |
export function optionselect () { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/dict/type/optionselect', |
url: '/system/dict/type/optionselect', |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,44 +1,44 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询服务管理列表
|
// 查询服务管理列表
|
||||||
export function listManageservices(query) { |
export function listManageservices (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/manageservices/list', |
url: '/system/manageservices/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询服务管理详细
|
// 查询服务管理详细
|
||||||
export function getManageservices(id) { |
export function getManageservices (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/manageservices/' + id, |
url: '/system/manageservices/' + id, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增服务管理
|
// 新增服务管理
|
||||||
export function addManageservices(data) { |
export function addManageservices (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/manageservices', |
url: '/system/manageservices', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改服务管理
|
// 修改服务管理
|
||||||
export function updateManageservices(data) { |
export function updateManageservices (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/manageservices', |
url: '/system/manageservices', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除服务管理
|
// 删除服务管理
|
||||||
export function delManageservices(id) { |
export function delManageservices (id) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/manageservices/' + id, |
url: '/system/manageservices/' + id, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,60 +1,60 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询菜单列表
|
// 查询菜单列表
|
||||||
export function listMenu(query) { |
export function listMenu (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/menu/list', |
url: '/system/menu/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询菜单详细
|
// 查询菜单详细
|
||||||
export function getMenu(menuId) { |
export function getMenu (menuId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/menu/' + menuId, |
url: '/system/menu/' + menuId, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询菜单下拉树结构
|
// 查询菜单下拉树结构
|
||||||
export function treeselect() { |
export function treeselect () { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/menu/treeselect', |
url: '/system/menu/treeselect', |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 根据角色ID查询菜单下拉树结构
|
// 根据角色ID查询菜单下拉树结构
|
||||||
export function roleMenuTreeselect(roleId) { |
export function roleMenuTreeselect (roleId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/menu/roleMenuTreeselect/' + roleId, |
url: '/system/menu/roleMenuTreeselect/' + roleId, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增菜单
|
// 新增菜单
|
||||||
export function addMenu(data) { |
export function addMenu (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/menu', |
url: '/system/menu', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改菜单
|
// 修改菜单
|
||||||
export function updateMenu(data) { |
export function updateMenu (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/menu', |
url: '/system/menu', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除菜单
|
// 删除菜单
|
||||||
export function delMenu(menuId) { |
export function delMenu (menuId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/menu/' + menuId, |
url: '/system/menu/' + menuId, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,44 +1,44 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询公告列表
|
// 查询公告列表
|
||||||
export function listNotice(query) { |
export function listNotice (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/notice/list', |
url: '/system/notice/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询公告详细
|
// 查询公告详细
|
||||||
export function getNotice(noticeId) { |
export function getNotice (noticeId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/notice/' + noticeId, |
url: '/system/notice/' + noticeId, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增公告
|
// 新增公告
|
||||||
export function addNotice(data) { |
export function addNotice (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/notice', |
url: '/system/notice', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改公告
|
// 修改公告
|
||||||
export function updateNotice(data) { |
export function updateNotice (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/notice', |
url: '/system/notice', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除公告
|
// 删除公告
|
||||||
export function delNotice(noticeId) { |
export function delNotice (noticeId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/notice/' + noticeId, |
url: '/system/notice/' + noticeId, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,44 +1,44 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询岗位列表
|
// 查询岗位列表
|
||||||
export function listPost(query) { |
export function listPost (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/post/list', |
url: '/system/post/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询岗位详细
|
// 查询岗位详细
|
||||||
export function getPost(postId) { |
export function getPost (postId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/post/' + postId, |
url: '/system/post/' + postId, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增岗位
|
// 新增岗位
|
||||||
export function addPost(data) { |
export function addPost (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/post', |
url: '/system/post', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改岗位
|
// 修改岗位
|
||||||
export function updatePost(data) { |
export function updatePost (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/post', |
url: '/system/post', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除岗位
|
// 删除岗位
|
||||||
export function delPost(postId) { |
export function delPost (postId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/post/' + postId, |
url: '/system/post/' + postId, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,52 +1,52 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询企业扩展属性,包括大象key等列表
|
// 查询企业扩展属性,包括大象key等列表
|
||||||
export function listProp(query) { |
export function listProp (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/prop/list', |
url: '/system/prop/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询企业扩展属性,包括大象key等详细
|
// 查询企业扩展属性,包括大象key等详细
|
||||||
export function getProp(companyid) { |
export function getProp (companyid) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/prop/' + companyid, |
url: '/system/prop/' + companyid, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 新增企业扩展属性,包括大象key等
|
// 新增企业扩展属性,包括大象key等
|
||||||
export function addProp(data) { |
export function addProp (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/prop', |
url: '/system/prop', |
||||||
method: 'post', |
method: 'post', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改企业扩展属性,包括大象key等
|
// 修改企业扩展属性,包括大象key等
|
||||||
export function updateProp(data) { |
export function updateProp (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/prop', |
url: '/system/prop', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除企业扩展属性,包括大象key等
|
// 删除企业扩展属性,包括大象key等
|
||||||
export function delProp(companyid) { |
export function delProp (companyid) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/prop/' + companyid, |
url: '/system/prop/' + companyid, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 初始化销方prop
|
// 初始化销方prop
|
||||||
export function initProp(companyid) { |
export function initProp (companyid) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/system/prop/init/' + companyid, |
url: '/system/prop/init/' + companyid, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -1,76 +1,76 @@ |
|||||||
import request from '@/utils/request' |
import request from '@/utils/request' |
||||||
|
|
||||||
// 查询生成表数据
|
// 查询生成表数据
|
||||||
export function listTable(query) { |
export function listTable (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/tool/gen/list', |
url: '/tool/gen/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
// 查询db数据库列表
|
// 查询db数据库列表
|
||||||
export function listDbTable(query) { |
export function listDbTable (query) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/tool/gen/db/list', |
url: '/tool/gen/db/list', |
||||||
method: 'get', |
method: 'get', |
||||||
params: query |
params: query |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 查询表详细信息
|
// 查询表详细信息
|
||||||
export function getGenTable(tableId) { |
export function getGenTable (tableId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/tool/gen/' + tableId, |
url: '/tool/gen/' + tableId, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 修改代码生成信息
|
// 修改代码生成信息
|
||||||
export function updateGenTable(data) { |
export function updateGenTable (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/tool/gen', |
url: '/tool/gen', |
||||||
method: 'put', |
method: 'put', |
||||||
data: data |
data: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 导入表
|
// 导入表
|
||||||
export function importTable(data) { |
export function importTable (data) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/tool/gen/importTable', |
url: '/tool/gen/importTable', |
||||||
method: 'post', |
method: 'post', |
||||||
params: data |
params: data |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 预览生成代码
|
// 预览生成代码
|
||||||
export function previewTable(tableId) { |
export function previewTable (tableId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/tool/gen/preview/' + tableId, |
url: '/tool/gen/preview/' + tableId, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 删除表数据
|
// 删除表数据
|
||||||
export function delTable(tableId) { |
export function delTable (tableId) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/tool/gen/' + tableId, |
url: '/tool/gen/' + tableId, |
||||||
method: 'delete' |
method: 'delete' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 生成代码(自定义路径)
|
// 生成代码(自定义路径)
|
||||||
export function genCode(tableName) { |
export function genCode (tableName) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/tool/gen/genCode/' + tableName, |
url: '/tool/gen/genCode/' + tableName, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
|
||||||
// 同步数据库
|
// 同步数据库
|
||||||
export function synchDb(tableName) { |
export function synchDb (tableName) { |
||||||
return request({ |
return request({ |
||||||
url: '/dev-api/tool/gen/synchDb/' + tableName, |
url: '/tool/gen/synchDb/' + tableName, |
||||||
method: 'get' |
method: 'get' |
||||||
}) |
}) |
||||||
} |
} |
||||||
|
@ -0,0 +1,408 @@ |
|||||||
|
<template> |
||||||
|
<div> |
||||||
|
<el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect"> |
||||||
|
<el-menu-item index="1">账号登录</el-menu-item> |
||||||
|
<el-menu-item index="2">身份认证</el-menu-item> |
||||||
|
</el-menu> |
||||||
|
<div class="menu_body"> |
||||||
|
<div v-show="isShow"> |
||||||
|
<div id="accountLogin"> |
||||||
|
<div class="menu_body_text">电子税局登录</div> |
||||||
|
<el-form ref="form" :model="form" label-width="140px" label-position="left" class="form"> |
||||||
|
<el-row> |
||||||
|
<el-col :span="34"> |
||||||
|
<el-form-item label="电子税务局用户名"> |
||||||
|
<el-select v-model="form.name" placeholder="请选择电子税局用户名"> |
||||||
|
<el-option v-for="item in dzsjList" :key="item.id" :label="item.yhm" :value="item"></el-option> |
||||||
|
</el-select> |
||||||
|
</el-form-item> |
||||||
|
</el-col> |
||||||
|
<el-col :span="12"></el-col> |
||||||
|
</el-row> |
||||||
|
</el-form> |
||||||
|
<div class="button"><el-button :loading="anewLoginBtnLoading" @click="anewLoginBtn()" type="primary">重新登录</el-button></div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div v-show="!isShow"> |
||||||
|
<div id="authentication"> |
||||||
|
<div class="at_title">请使用税务APP扫描下方二维码进行身份验证</div> |
||||||
|
<div class="at_input"> |
||||||
|
<div class="at_labe">电子税局用户名</div> |
||||||
|
<div class="select"> |
||||||
|
<el-select v-model="formQr.name" placeholder="请选择电子税局用户名"> |
||||||
|
<el-option v-for="item in dzsjList" :key="item.id" :label="item.yhm" :value="item"></el-option> |
||||||
|
</el-select> |
||||||
|
</div> |
||||||
|
<div class="button"><el-button :loading="getQrCodeBtnloading" @click="getQrCodeBtn()" type="primary">获取认证二维码</el-button></div> |
||||||
|
</div> |
||||||
|
<div class="qrcode" ref="qrCodeUrl"></div> |
||||||
|
<div class="qrcodetext" v-show="qrcodeShow">可将二维码图片发给认证人员进行身份认证,手机端完成认证后自动同步认证结果,开展后续数电业务操作。</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
<el-dialog |
||||||
|
class="dialog" |
||||||
|
title="短信登录" |
||||||
|
:visible.sync="dialogVisible" |
||||||
|
width="550px" |
||||||
|
> |
||||||
|
<div class="dialog_title"> |
||||||
|
<div class="dialog_img"><img src="@/assets/images/tishi.png" height="20px" width="20px"></div> |
||||||
|
<div class="dialog_text">为了您的账号安全和信用安全,请进行安全验证。验证码将以短信形式发送至电子税务局绑定的手机号。</div> |
||||||
|
</div> |
||||||
|
<div class="dialog_body"> |
||||||
|
<div class="dialog_body_zh"><div class="label">数电账号:</div><div class="zh">{{this.smsFrom.zh}}</div></div> |
||||||
|
<div class="dialog_body_yzm"> |
||||||
|
<div class="label">验证码:</div> |
||||||
|
<div class="input"><el-input v-model="dxyzm" placeholder="请输入验证码"></el-input></div> |
||||||
|
<div><el-button :loading="getyzmBtnloading" @click="getyzmBtn()" type="primary">获取验证码</el-button></div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<span slot="footer" class="dialog-footer"> |
||||||
|
<el-button @click="dialogVisible = false">取 消</el-button> |
||||||
|
<el-button type="primary" @click="yzmloginBtn()">确 定</el-button> |
||||||
|
</span> |
||||||
|
</el-dialog> |
||||||
|
<el-dialog |
||||||
|
title="责任人" |
||||||
|
:visible.sync="zzrdialogVisible" |
||||||
|
width="550px" |
||||||
|
> |
||||||
|
<el-form ref="form" :model="form" label-width="60px" label-position="left" align="center" class="form"> |
||||||
|
<el-row class="zzr"> |
||||||
|
<el-col :span="12"> |
||||||
|
<el-form-item label="责任人"> |
||||||
|
<el-select v-model="zzrlx" placeholder="请选择责任人"> |
||||||
|
<el-option v-for="item in zrrList" :key="item.val" :label="item.label" :value="item.val"></el-option> |
||||||
|
</el-select> |
||||||
|
</el-form-item> |
||||||
|
</el-col> |
||||||
|
</el-row> |
||||||
|
</el-form> |
||||||
|
<span slot="footer" class="dialog-footer"> |
||||||
|
<el-button @click="zzrdialogVisible = false">取 消</el-button> |
||||||
|
<el-button type="primary" @click="zzrloginBtn()">确 定</el-button> |
||||||
|
</span> |
||||||
|
</el-dialog> |
||||||
|
|
||||||
|
</div> |
||||||
|
</template> |
||||||
|
<script> |
||||||
|
import QRCode from 'qrcodejs2' |
||||||
|
import { getRpaQrCodeApi, postRpaAuthStatusApi, queryRpaTaxAccountApi, rpaLoginApi } from '@/api/digital/taxBureauLogin' |
||||||
|
export default { |
||||||
|
name:"taxBureauLogin", |
||||||
|
data() { |
||||||
|
return { |
||||||
|
isShow:true, |
||||||
|
activeIndex: '1', |
||||||
|
activeIndex2: '1', |
||||||
|
form:{ |
||||||
|
name:{} |
||||||
|
}, |
||||||
|
formQr:{ |
||||||
|
name:{} |
||||||
|
}, |
||||||
|
loginKey:{ |
||||||
|
id:'', |
||||||
|
key:'' |
||||||
|
}, |
||||||
|
dzsjList:[], |
||||||
|
ffm:0, |
||||||
|
dialogVisible:false, |
||||||
|
smsFrom:{ |
||||||
|
zh:'', |
||||||
|
yzm:'' |
||||||
|
}, |
||||||
|
zrrList:[], |
||||||
|
zzrdialogVisible:false, |
||||||
|
dxyzm:'', |
||||||
|
zzrlx:'', |
||||||
|
qrcodeShow:false, |
||||||
|
timer:null, |
||||||
|
rzid:'', |
||||||
|
anewLoginBtnLoading:false, |
||||||
|
getyzmBtnloading:false, |
||||||
|
getQrCodeBtnloading:false |
||||||
|
}; |
||||||
|
}, |
||||||
|
methods: { |
||||||
|
handleSelect(key, keyPath) { |
||||||
|
key === '1' ? this.isShow = true : this.isShow = false |
||||||
|
}, |
||||||
|
getRpaAuthStatus(){ |
||||||
|
queryRpaTaxAccountApi().then(res => { |
||||||
|
this.dzsjList = res.data |
||||||
|
this.form.name = this.dzsjList[length] |
||||||
|
}); |
||||||
|
}, |
||||||
|
anewLoginBtn(){ |
||||||
|
this.$confirm('登录操作有可能会影响到开票业务,确定要使用该账号登录电子税务局吗?', '确认', { |
||||||
|
confirmButtonText: '确定', |
||||||
|
cancelButtonText: '取消', |
||||||
|
type: 'warning' |
||||||
|
}).then(() => { |
||||||
|
this.postLogin() |
||||||
|
}).catch(() => { |
||||||
|
this.$message({ |
||||||
|
type: 'info', |
||||||
|
message: '已取消删除' |
||||||
|
}); |
||||||
|
}); |
||||||
|
}, |
||||||
|
postLogin(){ |
||||||
|
let parames = { |
||||||
|
yhm:this.form.name.yhm,mm:this.form.name.mm,ffm:this.ffm,dxyzm:this.dxyzm,zzrlx:this.zzrlx |
||||||
|
} |
||||||
|
this.anewLoginBtnLoading = true; |
||||||
|
rpaLoginApi(parames).then(({data})=>{ |
||||||
|
this.ffm = data.hxff |
||||||
|
|
||||||
|
if(data.hxff === "0"){ |
||||||
|
this.$message({ |
||||||
|
message: '登录成功', |
||||||
|
type: 'success' |
||||||
|
}); |
||||||
|
} |
||||||
|
if(data.hxff === "1"){ |
||||||
|
this.postLogin() |
||||||
|
} |
||||||
|
if(data.hxff === "2"){ |
||||||
|
let list = []; |
||||||
|
for (let Key in data.personList) { |
||||||
|
arr.push({ |
||||||
|
val:Key, |
||||||
|
label:this.zrrList[Key] |
||||||
|
}) |
||||||
|
this.zrrList = list |
||||||
|
} |
||||||
|
this.zzrdialogVisible = true; |
||||||
|
} |
||||||
|
if(data.hxff === "3"){ |
||||||
|
this.dxyzm = data.dxyzm |
||||||
|
this.smsFrom.zh = this.form.name.yhm; |
||||||
|
this.dialogVisible = true; |
||||||
|
} |
||||||
|
}).finally(()=>{ |
||||||
|
this.anewLoginBtnLoading = false; |
||||||
|
}) |
||||||
|
}, |
||||||
|
//重新获取验证码 |
||||||
|
getyzmBtn(){ |
||||||
|
this.getyzmBtnloading = true; |
||||||
|
this.ffm = '1' |
||||||
|
rpaLoginApi({yhm:this.form.name.yhm,mm:this.form.name.mm,ffm:this.ffm}).finally(()=>{ |
||||||
|
this.getyzmBtnloading = false; |
||||||
|
}) |
||||||
|
}, |
||||||
|
yzmloginBtn(){ |
||||||
|
if(!this.dxyzm){ |
||||||
|
this.$message({ |
||||||
|
message: '验证码不能为空', |
||||||
|
type: 'warning' |
||||||
|
}); |
||||||
|
}else { |
||||||
|
this.postLogin() |
||||||
|
this.dialogVisible = false; |
||||||
|
} |
||||||
|
|
||||||
|
}, |
||||||
|
// 责任人 |
||||||
|
zzrloginBtn(){ |
||||||
|
if(!this.zzrlx){ |
||||||
|
this.$message({ |
||||||
|
message: '责任人不能为空', |
||||||
|
type: 'warning' |
||||||
|
}); |
||||||
|
}else { |
||||||
|
this.postLogin() |
||||||
|
this.zzrdialogVisible = false; |
||||||
|
} |
||||||
|
}, |
||||||
|
//获取二维码 |
||||||
|
getQrCodeBtn(){ |
||||||
|
this.getQrCodeBtnloading = true; |
||||||
|
getRpaQrCodeApi({yhm: this.formQr.name.yhm}).then(({data})=>{ |
||||||
|
this.$refs.qrCodeUrl.innerHTML = ''; |
||||||
|
let qrcode = new QRCode(this.$refs.qrCodeUrl, { |
||||||
|
text: data.ewm, |
||||||
|
width: 150, |
||||||
|
height: 150, |
||||||
|
colorDark: '#000000', |
||||||
|
colorLight: '#ffffff', |
||||||
|
correctLevel: QRCode.CorrectLevel.H |
||||||
|
}) |
||||||
|
this.qrcodeShow = true |
||||||
|
this.rzid = data.rzid |
||||||
|
this.polling() |
||||||
|
}).finally(()=>{ |
||||||
|
this.getQrCodeBtnloading = false; |
||||||
|
}) |
||||||
|
}, |
||||||
|
polling(){ |
||||||
|
postRpaAuthStatusApi({rzid:this.rzid,yhm:this.formQr.name.yhm}).then(({data})=>{ |
||||||
|
window.clearInterval(this.timer); |
||||||
|
this.timer = null |
||||||
|
if(data.slzt === '1' ){ |
||||||
|
this.timer = window.setInterval( ()=>{ this.polling() },3000) |
||||||
|
} |
||||||
|
if(data.slzt === '2' ){ |
||||||
|
window.clearInterval(this.timer); |
||||||
|
this.timer = null |
||||||
|
this.$message({ |
||||||
|
message: '当前账号已认证通过', |
||||||
|
type: 'success' |
||||||
|
}); |
||||||
|
this.$nextTick(()=>{ |
||||||
|
this.$refs.qrCodeUrl.innerHTML = ''; |
||||||
|
this.qrcodeShow = false; |
||||||
|
}) |
||||||
|
} |
||||||
|
if(data.slzt === '3' ){ |
||||||
|
this.$message({ |
||||||
|
message: '扫码失败', |
||||||
|
type: 'success' |
||||||
|
}); |
||||||
|
window.clearInterval(this.timer); |
||||||
|
this.timer = null |
||||||
|
} |
||||||
|
}) |
||||||
|
} |
||||||
|
}, |
||||||
|
created() { |
||||||
|
let searchParams = new URLSearchParams(window.location.search); |
||||||
|
this.loginKey.id = searchParams.get('id') |
||||||
|
this.loginKey.key = searchParams.get('key') |
||||||
|
this.$store.commit('SET_AUTH_STATUS',this.loginKey) |
||||||
|
}, |
||||||
|
mounted() { |
||||||
|
if(this.loginKey.id !== '' && this.loginKey.key !== ''){ |
||||||
|
this.getRpaAuthStatus() |
||||||
|
} |
||||||
|
}, |
||||||
|
beforeDestroy(){ |
||||||
|
window.clearInterval(this.timer); |
||||||
|
this.timer = null |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
</script> |
||||||
|
<style scoped lang="scss"> |
||||||
|
.menu_body{ |
||||||
|
::v-deep.el-input--suffix .el-input__inner { |
||||||
|
//height: 30px; |
||||||
|
width: 100%; |
||||||
|
} |
||||||
|
width: 100%; |
||||||
|
height: calc(75vh); |
||||||
|
margin-top: 150px; |
||||||
|
display: flex; |
||||||
|
justify-content: center; |
||||||
|
#accountLogin{ |
||||||
|
width: 400px; |
||||||
|
height: 400px; |
||||||
|
//background-color: #6c5656; |
||||||
|
.menu_body_text{ |
||||||
|
text-align: center; |
||||||
|
font-size: 20px; |
||||||
|
font-weight: 500; |
||||||
|
} |
||||||
|
.form{ |
||||||
|
margin: 12% 0; |
||||||
|
} |
||||||
|
.button{ |
||||||
|
display: flex; |
||||||
|
justify-content: center; |
||||||
|
} |
||||||
|
} |
||||||
|
#authentication{ |
||||||
|
margin-top: -100px; |
||||||
|
width: 500px; |
||||||
|
height: 400px; |
||||||
|
.at_title{ |
||||||
|
text-align: center; |
||||||
|
|
||||||
|
} |
||||||
|
.qrcode{ |
||||||
|
width: 100px; |
||||||
|
height: 100px; |
||||||
|
margin: auto; |
||||||
|
margin-top: 40px; |
||||||
|
} |
||||||
|
.qrcodetext{ |
||||||
|
padding-top: 70px; |
||||||
|
font-size: 12px; |
||||||
|
font-family: PingFangSC-Regular, PingFang SC; |
||||||
|
font-weight: 400; |
||||||
|
color: #666; |
||||||
|
} |
||||||
|
.at_input{ |
||||||
|
margin-top: 40px; |
||||||
|
.at_labe{ |
||||||
|
line-height: 30px; |
||||||
|
width: 120px; |
||||||
|
} |
||||||
|
display: flex; |
||||||
|
height: 40px; |
||||||
|
justify-items: center; |
||||||
|
.select{ |
||||||
|
margin: 0 10px; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
} |
||||||
|
.dialog{ |
||||||
|
|
||||||
|
.dialog_title{ |
||||||
|
padding: 10px 10px 0 10px; |
||||||
|
width: 460px; |
||||||
|
display: flex; |
||||||
|
margin: auto; |
||||||
|
background: #fff4e3; |
||||||
|
border: 1px solid #e6a23c; |
||||||
|
.dialog_text{ |
||||||
|
|
||||||
|
margin-left: 10px; |
||||||
|
width: 450px; |
||||||
|
height: 70px; |
||||||
|
} |
||||||
|
} |
||||||
|
.dialog_body{ |
||||||
|
|
||||||
|
.dialog_body_zh{ |
||||||
|
height: 40px; |
||||||
|
display: flex; |
||||||
|
align-items: center; |
||||||
|
margin: 20px 0 0 25px; |
||||||
|
height: 40px; |
||||||
|
.label{ |
||||||
|
width: 90px; |
||||||
|
} |
||||||
|
.zh{ |
||||||
|
padding-top: 3px; |
||||||
|
} |
||||||
|
} |
||||||
|
.dialog_body_yzm{ |
||||||
|
height: 40px; |
||||||
|
margin: 20px 0 0 25px; |
||||||
|
display: flex; |
||||||
|
align-items: center; |
||||||
|
height: 40px; |
||||||
|
.label{ |
||||||
|
width: 90px; |
||||||
|
} |
||||||
|
.input{ |
||||||
|
margin-right: 20px; |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
} |
||||||
|
.zzr{ |
||||||
|
margin-left: 40px; |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
</style> |
Loading…
Reference in new issue