flat: 123
This commit is contained in:
@@ -63,7 +63,7 @@ export const putFileFun = (file, onUploadProgress) => {
|
|||||||
data.append('file', file);
|
data.append('file', file);
|
||||||
|
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/resource/oss/endpoint/put-file',
|
url: '/api/jobslink-api/resource/file/save?bussinessType=11',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
headers: {'Content-Type': 'multipart/form-data'},
|
headers: {'Content-Type': 'multipart/form-data'},
|
||||||
data,
|
data,
|
||||||
|
|||||||
@@ -62,7 +62,8 @@ export default {
|
|||||||
images_upload_handler: function (blobInfo, succFun) {
|
images_upload_handler: function (blobInfo, succFun) {
|
||||||
var file = blobInfo.file ? blobInfo.file : blobInfo.blob()
|
var file = blobInfo.file ? blobInfo.file : blobInfo.blob()
|
||||||
putFileFun(file).then(e => {
|
putFileFun(file).then(e => {
|
||||||
succFun(e.data.data.link)
|
// console.log(e.data.msg)
|
||||||
|
succFun(e.data.msg)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
setup:(ed) => {
|
setup:(ed) => {
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
|
|
||||||
const toolbar = 'code undo redo restoredraft | cut copy paste pastetext | forecolor backcolor bold italic underline strikethrough link anchor | alignleft aligncenter alignright alignjustify outdent indent | \
|
const toolbar = 'code undo redo restoredraft | cut copy paste pastetext | forecolor backcolor bold italic underline strikethrough link anchor | alignleft aligncenter alignright alignjustify outdent indent | \
|
||||||
styleselect formatselect fontselect fontsizeselect | bullist numlist | blockquote subscript superscript removeformat | \
|
styleselect formatselect fontselect fontsizeselect | bullist numlist | blockquote subscript superscript removeformat | \
|
||||||
table image media charmap emoticons hr pagebreak insertdatetime print preview | fullscreen | indent2em axupimgs'
|
table image media charmap emoticons hr pagebreak insertdatetime print preview | fullscreen | indent2em'
|
||||||
|
|
||||||
|
// const toolbar = 'code undo redo restoredraft | cut copy paste pastetext | forecolor backcolor bold italic underline strikethrough link anchor | alignleft aligncenter alignright alignjustify outdent indent | \
|
||||||
|
// styleselect formatselect fontselect fontsizeselect | bullist numlist | blockquote subscript superscript removeformat | \
|
||||||
|
// table image media charmap emoticons hr pagebreak insertdatetime print preview | fullscreen | indent2em axupimgs'
|
||||||
|
|
||||||
export default toolbar
|
export default toolbar
|
||||||
|
|||||||
@@ -128,7 +128,11 @@ export default {
|
|||||||
return data;
|
return data;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {},
|
watch: {
|
||||||
|
value(old, ew) {
|
||||||
|
console.log(old, ew)
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/*技能*/
|
/*技能*/
|
||||||
editSkill(tag) {
|
editSkill(tag) {
|
||||||
|
|||||||
@@ -81,9 +81,17 @@
|
|||||||
<div v-else>暂无简历</div>
|
<div v-else>暂无简历</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<template slot="serveLabels" slot-scope="{ row }">
|
||||||
|
<el-tooltip effect="dark" placement="top">
|
||||||
|
<div slot="content">
|
||||||
|
<div v-for="(item, index) in clipStr(row.serveLabels)" :key="index"><div>{{item}}</div></div>
|
||||||
|
</div>
|
||||||
|
<span>{{ row.serveLabels.length > 20 ? `${row.serveLabels.substring(0, 20)}...` : row.serveLabels}}</span>
|
||||||
|
</el-tooltip>
|
||||||
|
</template>
|
||||||
<!--/自定义列-->
|
<!--/自定义列-->
|
||||||
<template slot="serveLabelsForm">
|
<template slot="serveLabelsForm">
|
||||||
<tag-select v-model="selectedWorkTypes" :prop="{ label: 'name', value: 'name' }" :data="worktypeData">
|
<tag-select v-model="selectLabelNameTypes" :prop="{ label: 'name', value: 'name' }" :data="worktypeData">
|
||||||
</tag-select>
|
</tag-select>
|
||||||
</template>
|
</template>
|
||||||
<!--自定义按钮-->
|
<!--自定义按钮-->
|
||||||
@@ -530,6 +538,7 @@ export default {
|
|||||||
trigger: ["blur"],
|
trigger: ["blur"],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
slot: true,
|
||||||
formslot: true,
|
formslot: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -801,11 +810,11 @@ export default {
|
|||||||
},
|
},
|
||||||
selectLabelNameTypes: {
|
selectLabelNameTypes: {
|
||||||
get() {
|
get() {
|
||||||
if (!this.obj.labelName) {
|
if (!this.obj.serveLabels) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
const result = [];
|
const result = [];
|
||||||
const wt = this.obj.labelName ? this.obj.labelName.split(",") : [];
|
const wt = this.obj.serveLabels ? this.obj.serveLabels.split(",") : [];
|
||||||
wt.forEach((item) => {
|
wt.forEach((item) => {
|
||||||
result.push({ name: item });
|
result.push({ name: item });
|
||||||
});
|
});
|
||||||
@@ -816,7 +825,7 @@ export default {
|
|||||||
val.forEach((item) => {
|
val.forEach((item) => {
|
||||||
arr.push(item.name);
|
arr.push(item.name);
|
||||||
});
|
});
|
||||||
this.obj.labelName = arr.join(",");
|
this.obj.serveLabels = arr.join(",");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
worktypeData() {
|
worktypeData() {
|
||||||
@@ -1443,7 +1452,7 @@ export default {
|
|||||||
(error) => {
|
(error) => {
|
||||||
window.console.log(error);
|
window.console.log(error);
|
||||||
})
|
})
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user