123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451 |
- import qs from "qs"
- import request from '@/utils/request'
- export function getFlowInfoPage(params) {
- return request({
- url: '/tofly-flow/tfprocessconfigl/page',
- method: 'get',
- params,
- paramsSerializer: params => {
- return qs.stringify(params, { indices: false })
- }
- })
- }
- export function copyFlowInfo(data) {
- return request({
- url: '/tofly-flow/tfprocessconfigl/copysave',
- method: 'post',
- data
- })
- }
- export function addFlowInfo(data) {
- return request({
- url: '/tofly-flow/tfprocessconfigl',
- method: 'post',
- data
- })
- }
- export function deleteFlowInfo(params) {
- return request({
- url: '/tofly-flow/tfprocessconfigl/' + params.id,
- method: 'DELETE',
- params
- })
- }
- export function getFlowInfoById(params) {
- return request({
- url: '/tofly-flow/tfprocessconfigl/configByIdAnd',
- method: 'get',
- params
- })
- }
- export function getFlowPageByProcessId(params) {
- return request({
- url: '/tofly-flow/tfprocessl/page',
- method: 'get',
- params
- })
- }
- export function getFlowInfoByLabelId(params) {
- return request({
- url: '/tofly-flow/tfprocessconfigl/configNameInfos',
- method: 'get',
- params
- })
- }
- export function getCodeInfo(params) {
- return request({
- url: '/tofly-auth/sysDict',
- method: 'get',
- params
- })
- }
- export function getCodeInfoAll(params) {
- return request({
- url: '/tofly-auth/sysDict/allList',
- method: 'get',
- params
- })
- }
- export function addFlow(data) {
- return request({
- url: '/tofly-flow/tfprocessl',
- method: 'post',
- file: true,
- data
- })
- }
- export function getProcesssById(params) {
- return request({
- url: '/tofly-flow/tfprocessl/' + params.id,
- method: 'get',
- params
- })
- }
- export function deleteFlow(params) {
- return request({
- url: '/tofly-flow/tfprocessl/' + params.id,
- method: 'delete'
-
- })
- }
- export function addNodeFlow(data) {
- return request({
- url: '/tofly-flow/tfprocessnodel',
- method: 'post',
- file: true,
- data
- })
- }
- export function getFlowPage(seachInfo) {
- const data = seachInfo.dto
- const searchStr = '?current=' + seachInfo.current + '&size=' + seachInfo.size
- return request({
- url: '/tofly-flow/tfprocesssqlp/datas' + searchStr,
- method: 'post',
- data
- })
- }
- export function getFlowById(params) {
- return request({
- url: '/tofly-flow/tfprocessl/' + params.id,
- method: 'get',
- params
- })
- }
- export function getAllRegion(params) {
- return request({
- url: '/tofly-flow/tfregionp/tree',
- method: 'get',
- params
- })
- }
- export function getFlowNodeInfo(data) {
-
-
- return request({
- url: '/tofly-flow/tfprocesssqlp/datas',
- method: 'post',
- data
- })
- }
- export function getLabelFlowInfo(params) {
- return request({
- url: '/tofly-flow/tfprocessnodel/nodeList',
- method: 'get',
- params
- })
- }
- export function getHandleUser(params) {
- return request({
- url: '/tofly-flow/tfnowhandlel/handleUser',
- method: 'get',
- params
- })
- }
- export function getTurnSoild(params) {
- return request({
- url: '/tofly-flow/tftransferfixedassetsw/page',
- method: 'get',
- params
- })
- }
- export function getTurnSoildById(params) {
- return request({
- url: '/tofly-flow/tftransferfixedassetsw/' + params.id,
- method: 'get',
- params
- })
- }
- export function addTurnSoild(data) {
- return request({
- url: '/tofly-flow/tftransferfixedassetsw',
- method: 'post',
- data
- })
- }
- export function updateTurnSoild(data) {
- return request({
- url: '/tofly-flow/tftransferfixedassetsw',
- method: 'put',
- data
- })
- }
- export function deleteTurnSoild(params) {
- return request({
- url: '/tofly-flow/tftransferfixedassetsw/deleteByIds',
- method: 'delete',
- params
- })
- }
- export function getChargeCode(data) {
- return request({
- url: '/tofly-flow/qrcodepay/primaryScan',
- method: 'post',
- data
- })
- }
- export function getChargeResult(params) {
- return request({
- url: '/tofly-flow/paytradew/page',
- method: 'GET',
- params
- })
- }
- export function getAppResult(params) {
- return request({
- url: '/tofly-auth/sysApp/upload/app',
- method: 'get',
- params
- })
- }
- export function getSignAndApply(params) {
- return request({
- url: '/tofly-flow/report/signAndApply',
- method: 'get',
- params
- })
- }
- export function signAndApplyExport(params) {
- return request({
- url: '/tofly-flow/report/signAndApplyExport',
- responseType: "blob",
- method: 'get',
- params
- })
- }
- export function getIndoorRenovationReport(params) {
- return request({
- url: '/tofly-flow/tfprojectbasew/indoorRenovationReport',
- method: 'get',
- params
- })
- }
- export function ExIndoorReport(params) {
- return request({
- url: '/tofly-flow/tfprojectbasew/indoorRenovationReport',
- responseType: "blob",
- method: 'get',
- params
- })
- }
- export function getDispatchCount(params) {
- return request({
- url: '/tofly-flow/report/dispatchCount',
- method: 'get',
- params
- })
- }
- export function dispatchCountExport(params) {
- return request({
- url: '/tofly-flow/report/dispatchCountExport',
- responseType: "blob",
- method: 'get',
- params
- })
- }
- export function getNotInProjectCount(params) {
- return request({
- url: '/tofly-flow/report/notInProjectCount',
- method: 'get',
- params
- })
- }
- export function notInProjectCountExport(params) {
- return request({
- url: '/tofly-flow/report/notInProjectCountExport',
- responseType: "blob",
- method: 'get',
- params
- })
- }
- export function getNotInPreIncome(params) {
- return request({
- url: '/tofly-flow/report/preIncome',
- method: 'get',
- params
- })
- }
- export function notInPreIncomeExport(params) {
- return request({
- url: '/tofly-flow/report/preIncomeExport',
- responseType: "blob",
- method: 'get',
- params
- })
- }
- export function getSettlement(params) {
- return request({
- url: '/tofly-flow/report/settlement',
- method: 'get',
- params
- })
- }
- export function notInSettlementExport(params) {
- return request({
- url: '/tofly-flow/report/settlementExport',
- responseType: "blob",
- method: 'get',
- params
- })
- }
- export function getHasCharge(params) {
- return request({
- url: '/tofly-flow/report/hasCharge',
- method: 'get',
- params
- })
- }
- export function hasChargeExport(params) {
- return request({
- url: '/tofly-flow/report/hasChargeExport',
- responseType: "blob",
- method: 'get',
- params
- })
- }
- export function getAcceptCount(params) {
- return request({
- url: '/tofly-flow/report/acceptCount',
- method: 'get',
- params
- })
- }
- export function acceptCountExport(params) {
- return request({
- url: '/tofly-flow/report/acceptCountExport',
- responseType: "blob",
- method: 'get',
- params
- })
- }
- export function getCompleteCount(params) {
- return request({
- url: '/tofly-flow/report/completeCount',
- method: 'get',
- params
- })
- }
- export function completeCountExport(params) {
- return request({
- url: '/tofly-flow/report/completeCountExport',
- responseType: "blob",
- method: 'get',
- params
- })
- }
- export function getAllRoundCount(params) {
- return request({
- url: '/tofly-flow/report/allRoundCount',
- method: 'get',
- params
- })
- }
- export function allRoundCountExport(params) {
- return request({
- url: '/tofly-flow/report/allRoundCountExport',
- responseType: "blob",
- method: 'get',
- params
- })
- }
|