Commit ac0b51d5 by 潘际乾

OCR识别接口

parent 6fd20162
......@@ -353,7 +353,7 @@ export default {
};
</script>
<style>
<style scoped>
.eContainer-table-block {
margin-top: 15px;
position: relative;
......
......@@ -206,6 +206,9 @@
</template>
</el-table-column>
</el-table>
<div class="file-add" title="导入文件">
<i class="el-icon-plus"></i>
</div>
<el-button slot="reference" @click="addPDF(scope.row.id)">添加</el-button>
</el-popover>
</template>
......@@ -475,4 +478,15 @@ export default {
.addCss {
}
.file-add {
margin-top: 16px;
text-align: center;
font-size: 16px;
cursor: pointer;
border: 1px solid #EBEEF5;
}
.file-add:hover {
color: #5cb6ff;
border: 1px solid #5cb6ff;
}
</style>
\ No newline at end of file
......@@ -68,6 +68,17 @@ module.exports = (options = {}) => ({
pathRewrite: {
'^/gjjs': '/gjjs'
}
},
/**
* ocr智能识别服务
*/
'/ocr/': {
target: 'http://192.168.0.110:5010',
// target: 'http://127.0.0.1:5000',
changeOrigin: true,
pathRewrite: {
'^/ocr': '/'
}
}
},
historyApiFallback: {
......
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