123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- import request from '@/utils/request'
- export function fetchAllFlowModelFolder(params) {
- return request({
- url: '/sys/flowmodelfolder/',
- method: 'get',
- params
- })
- }
- export function fetchAllFlowModel(params) {
- return request({
- url: '/sys/flowmodel/',
- method: 'get',
- params
- })
- }
- export function fetchFlowModelById(id) {
- return request({
- url: '/sys/flowmodel/' + id + '/',
- method: 'get'
- })
- }
- export function createFlowModel(data) {
- return request({
- url: '/sys/flowmodel/',
- method: 'post',
- data
- })
- }
- export function deleteFlowModel(id) {
- return request({
- url: '/sys/flowmodel/' + id + '/',
- method: 'delete'
- })
- }
- export function updateFlowModel(data, id) {
- return request({
- url: '/sys/flowmodel/' + id + '/',
- method: 'put',
- data
- })
- }
- export function createFlowModelFolder(data) {
- return request({
- url: '/sys/flowmodelfolder/',
- method: 'post',
- data
- })
- }
- export function deleteFlowModelFolder(id) {
- return request({
- url: '/sys/flowmodelfolder/' + id + '/',
- method: 'delete'
- })
- }
- export function updateFlowModelFolder(data, id) {
- return request({
- url: '/sys/flowmodelfolder/' + id + '/',
- method: 'put',
- data
- })
- }
- export function fetchAllFlowModelFolderAndDocument(params) {
- return request({
- url: '/sys/get_model_folder_tree/',
- method: 'get',
- params
- })
- }
- export function fetchFlowModelProduct(params) {
- return request({
- url: '/sys/bind_product_category/',
- method: 'get',
- params
- })
- }
- export function fetchFlowModelDocumentType(params) {
- return request({
- url: '/sys/bind_documenttype/',
- method: 'get',
- params
- })
- }
- export function fetchFlowModelBillType(params) {
- return request({
- url: '/sys/billtype_list/',
- method: 'get',
- params
- })
- }
- export function createFlowModelBindingCategory(data) {
- return request({
- url: '/sys/flowmodel_type/',
- method: 'post',
- data
- })
- }
- export function updateBindingCategory(data, id) {
- return request({
- url: '/sys/flowmodel_type/' + id + '/',
- method: 'put',
- data
- })
- }
- export function fetchProductCategoryById(params) {
- return request({
- url: '/sys/get_product_category/',
- method: 'get',
- params
- })
- }
- export function fetchTypeModelFolderPath(params) {
- return request({
- url: '/sys/get_type_model_folder_path/',
- method: 'get',
- params
- })
- }
- export function fetchFlowModelHistory(params) {
- return request({
- url: '/flow/model/',
- method: 'get',
- params
- })
- }
|