You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

44 lines
966 B

import api from '@/utils/api'
import qs from 'qs'
export default {
getList: (params) => {
return api({
url: '/template/getTemplateList',
method: 'get',
params: params
})
},
deleteModuleFn: (params) => {
return api({
url: '/templateSetting',
method: 'delete',
params,
paramsSerializer: function(params) {
return qs.stringify(params, { indices: false })
}
})
},
deleteSettingFn: (params) => {
console.log(params)
return api({
url: '/templateSetting',
method: 'delete',
params,
paramsSerializer: function(params) {
return qs.stringify(params, { indices: false })
}
})
},
deleteTemplateJyxm: (params) => {
console.log(params)
return api({
url: '/templateJyxm',
method: 'delete',
params,
paramsSerializer: function(params) {
return qs.stringify(params, { indices: false })
}
})
}
}