flat: 123
This commit is contained in:
@@ -96,14 +96,14 @@
|
||||
</template>
|
||||
<template slot="policyFileUrlForm">
|
||||
<div class="policyFileUrlWrapper">
|
||||
<div class="uploadWrapperAb"><avue-upload :action="action" :propsHttp="propsHttp"
|
||||
<div class="uploadWrapperAb"><avue-upload :action="'/api/jobslink-api/resource/file/save'" :propsHttp="propsHttp"
|
||||
v-model="form"></avue-upload></div>
|
||||
<avue-input disabled v-model="policyFileUrl" placeholder="点击上传文件"></avue-input>
|
||||
</div>
|
||||
</template>
|
||||
<template slot="guidelineFileUrlForm">
|
||||
<div class="policyFileUrlWrapper">
|
||||
<div class="uploadWrapperAb"><avue-upload :action="action" :propsHttp="propsHttp"
|
||||
<div class="uploadWrapperAb"><avue-upload :action="'/api/jobslink-api/resource/file/save'" :propsHttp="propsHttp"
|
||||
v-model="form"></avue-upload></div>
|
||||
<avue-input disabled v-model="guidelineFileUrl" placeholder="点击上传文件"></avue-input>
|
||||
</div>
|
||||
@@ -862,7 +862,7 @@ export default {
|
||||
},
|
||||
/*新增人才*/
|
||||
rowSave(row, done) {
|
||||
console.log(row, this.policyContent, '000000000000000000000');
|
||||
console.log(this.form);
|
||||
debugger
|
||||
add({
|
||||
// groupId: row.groupId,
|
||||
@@ -882,7 +882,9 @@ export default {
|
||||
// status: row.status,
|
||||
// issuingNumber: row.issuingNumber,
|
||||
...row,
|
||||
labelName: this.selectedWorkTypes.join(','),
|
||||
guidelineFileUrl: row.guidelineFileUrl.join(','),
|
||||
policyFileUrl: row.policyFileUrl.join(','),
|
||||
labelName: this.selectedWorkTypes.map((item) => item.name).join(','),
|
||||
policyContent: this.policyContent,
|
||||
guidelineContent: this.guidelineContent
|
||||
}).then(
|
||||
@@ -1144,7 +1146,10 @@ export default {
|
||||
})
|
||||
const data = res.data.data;
|
||||
this.page.total = data.total;
|
||||
this.data = data.records;
|
||||
console.log('records', data.records)
|
||||
this.data = data.records.map((item) => ({
|
||||
...item, guidelineFileUrl: item.guidelineFileUrl.split(','), policyFileUrl: item.policyFileUrl.split(',')
|
||||
}));
|
||||
this.loading = false;
|
||||
this.selectionClear();
|
||||
});
|
||||
|
||||
@@ -24,9 +24,9 @@ module.exports = {
|
||||
proxy: {
|
||||
"/api": {
|
||||
// target: 'http://localhost:8000', // 本地服务接口地址
|
||||
target: "http://39.98.184.58:8000", // 阿里云后台地址
|
||||
// target: "http://39.98.184.58:8000", // 阿里云后台地址
|
||||
// target: "http://192.168.3.108:8000", // 本地
|
||||
// target: 'http://192.168.3.111:8000',
|
||||
target: 'http://192.168.3.111:8000',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
|
||||
Reference in New Issue
Block a user