bdd1588d by yuanbo

抽取sysSqywmbsz.js,修改所有引用文件

1 parent d2bcb2fa
/*
* @Description: 申请业务模板设置
* @Autor: renchao
* @LastEditTime: 2023-05-16 16:02:32
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* @description: 其他及附记模板-列表详情
* @param {*} data
* @author: renchao
*/
export function sysSqywmbszSearch (data) {
return request({
url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/search',
method: 'post',
data
})
}
/**
* @description: 其他及附记模板-读取明细
* @param {*} id
* @author: renchao
*/
export function getSysSqywmbszDetailById (id) {
return request({
url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id=' + id,
method: 'get'
})
}
/**
* @description: 其他及附记模板-修改申请业务模板设置
* @param {*} data
* @author: renchao
*/
export function updateSysSqywmbsz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/updateSysSqywmbsz',
method: 'put',
data
})
}
......@@ -8,43 +8,6 @@ import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* @description: 其他及附记模板-列表详情
* @param {*} data
* @author: renchao
*/
export function sysSqywmbszSearch (data) {
return request({
url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/search',
method: 'post',
data
})
}
/**
* @description: 其他及附记模板-读取明细
* @param {*} id
* @author: renchao
*/
export function getSysSqywmbszDetailById (id) {
return request({
url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id=' + id,
method: 'get'
})
}
/**
* @description: 其他及附记模板-修改申请业务模板设置
* @param {*} data
* @author: renchao
*/
export function updateSysSqywmbsz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/updateSysSqywmbsz',
method: 'put',
data
})
}
/**
* @description: 新增系统通知
* @param {*} data
* @author: renchao
......
......@@ -117,7 +117,7 @@
</template>
<script>
import { updateSysSqywmbsz, getSysSqywmbszDetailById } from '@/api/system'
import { updateSysSqywmbsz, getSysSqywmbszDetailById } from '@/api/sysSqywmbsz'
export default {
props: {
formData: {
......
......@@ -32,7 +32,7 @@
</template>
<script>
import { mapGetters } from 'vuex'
import { sysSqywmbszSearch } from '@/api/system'
import { sysSqywmbszSearch } from '@/api/sysSqywmbsz'
import table from "@/utils/mixin/table"
import { datas, sendThis } from "./qtjfjmb"
export default {
......