Commit fcc40b68 authored by 芮自成's avatar 芮自成

代码合并

parents 4ae21520 c5921380
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<link rel='icon' href='<%= BASE_URL %>favicon.ico'> <link rel='icon' href='<%= BASE_URL %>favicon.ico'>
<title><%= htmlWebpackPlugin.options.title %></title> <title><%= htmlWebpackPlugin.options.title %></title>
<!-- 3.3.4/vconsole.min.js --> <!-- 3.3.4/vconsole.min.js -->
<!-- <script src='https://beta-copd-img.yiboshi.com/20241106/1730860078278931285.js'></script> --> <script src='https://beta-copd-img.yiboshi.com/20241106/1730860078278931285.js'></script>
</head> </head>
<body> <body>
<noscript> <noscript>
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
</body> </body>
<script> <script>
// var vConsole =new VConsole(); var vConsole =new VConsole();
// console.log('Hello world'); // console.log('Hello world');
</script> </script>
</html> </html>
...@@ -34,6 +34,7 @@ export function fetchBase({ ...@@ -34,6 +34,7 @@ export function fetchBase({
backHome() backHome()
return return
} }
let bodys = {...body, source: 2}
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
if (loading) { if (loading) {
loadingList++ loadingList++
...@@ -43,7 +44,7 @@ export function fetchBase({ ...@@ -43,7 +44,7 @@ export function fetchBase({
method: method, method: method,
url: `${url}`, url: `${url}`,
params: params, params: params,
data: body, data: bodys,
headers: { headers: {
'Authorization': `${token}`, 'Authorization': `${token}`,
'Content-Type': contentType 'Content-Type': contentType
......
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
...deathRecordForm ...deathRecordForm
} }
saveResidentsDeath(params).then(res => { saveResidentsDeath(params).then(res => {
this.$message.success('新增成功') this.store.onRefreshMark()
this.$router.back() this.$router.back()
}) })
......
This diff is collapsed.
...@@ -30,12 +30,12 @@ module.exports = defineConfig({ ...@@ -30,12 +30,12 @@ module.exports = defineConfig({
} }
}, },
'/chronic-admin': { '/chronic-admin': {
target: 'https://beta-tumour.zmnyjk.com', // target: 'https://beta-tumour.zmnyjk.com',
// target: 'http://192.168.1.125:8900', target: 'http://192.168.1.126:8900',
changOrigin: true, changOrigin: true,
pathRewrite: { pathRewrite: {
// '^/chronic-admin': '/' '^/chronic-admin': '/'
'^/chronic-admin': '/chronic-admin' // '^/chronic-admin': '/chronic-admin'
} }
}, },
'/chronic-resident': { '/chronic-resident': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment