Commit ac0b51d5 by 潘际乾

OCR识别接口

parent 6fd20162
...@@ -353,7 +353,7 @@ export default { ...@@ -353,7 +353,7 @@ export default {
}; };
</script> </script>
<style> <style scoped>
.eContainer-table-block { .eContainer-table-block {
margin-top: 15px; margin-top: 15px;
position: relative; position: relative;
......
...@@ -206,6 +206,9 @@ ...@@ -206,6 +206,9 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </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-button slot="reference" @click="addPDF(scope.row.id)">添加</el-button>
</el-popover> </el-popover>
</template> </template>
...@@ -475,4 +478,15 @@ export default { ...@@ -475,4 +478,15 @@ export default {
.addCss { .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> </style>
\ No newline at end of file
...@@ -68,6 +68,17 @@ module.exports = (options = {}) => ({ ...@@ -68,6 +68,17 @@ module.exports = (options = {}) => ({
pathRewrite: { pathRewrite: {
'^/gjjs': '/gjjs' '^/gjjs': '/gjjs'
} }
},
/**
* ocr智能识别服务
*/
'/ocr/': {
target: 'http://192.168.0.110:5010',
// target: 'http://127.0.0.1:5000',
changeOrigin: true,
pathRewrite: {
'^/ocr': '/'
}
} }
}, },
historyApiFallback: { 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