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.
|
|
|
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: qs.stringify(params)
|
|
|
|
})
|
|
|
|
},
|
|
|
|
deleteSettingFn: (params) => {
|
|
|
|
console.log(params)
|
|
|
|
return api({
|
|
|
|
url: '/templateSetting',
|
|
|
|
method: 'delete',
|
|
|
|
params: qs.stringify(params)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|