This commit is contained in:
shijing 2022-05-07 15:01:46 +08:00
parent 6be9f81064
commit 46c08d9e2f
3 changed files with 14 additions and 4 deletions

View File

@ -245,7 +245,7 @@
that.img = new Image();
that.img.crossOrigin = 'anonymous';
let value = imag[0].field_value?imag[0].field_value:imag[0].draw_template;
that.img = value;
that.img = 'http://49.232.14.174:2222/'+value;
setTimeout(function(){
that.canvasInit();
},500);

View File

@ -329,8 +329,8 @@
});
that.img = new Image();
that.img.crossOrigin = '';
that.img = imag[0].field_value;
that.originImg = imag[0].origin_value;
that.img = 'http://49.232.14.174:2222/'+imag[0].field_value;
that.originImg = 'http://49.232.14.174:2222/' + imag[0].origin_value;
listJudge.forEach(item => {
let obj = new Object();
obj = item;

View File

@ -61,6 +61,8 @@
>
<template slot-scope="scope">{{ scope.row.step_.name }}</template>
</el-table-column>
<el-table-column label="创建时间" prop="create_time">
</el-table-column>
<el-table-column align="center" label="操作" width="220px">
<template slot-scope="scope">
<el-link
@ -175,6 +177,8 @@
>
<template slot-scope="scope">{{ scope.row.step_.name }}</template>
</el-table-column>
<el-table-column label="创建时间" prop="create_time">
</el-table-column>
<el-table-column align="center" label="操作" width="220px">
<template slot-scope="scope">
<el-link
@ -271,6 +275,8 @@
<span v-else>{{scope.row.create_by_.username}}</span>
</template>
</el-table-column>
<el-table-column label="创建时间" prop="create_time">
</el-table-column>
<el-table-column align="center" label="操作" width="220px">
<template slot-scope="scope">
<el-link
@ -367,6 +373,8 @@
<span v-else>{{scope.row.create_by_.username}}</span>
</template>
</el-table-column>
<el-table-column label="创建时间" prop="create_time">
</el-table-column>
<el-table-column align="center" label="操作" width="220px">
<template slot-scope="scope">
<el-link
@ -431,6 +439,8 @@
>
<template slot-scope="scope">{{ scope.row.step_.name }}</template>
</el-table-column>
<el-table-column label="创建时间" prop="create_time">
</el-table-column>
<el-table-column align="center" label="操作" width="220px">
<template slot-scope="scope">
<el-link
@ -769,7 +779,7 @@
import Pagination from "@/components/Pagination"; // secondary package based on el-pagination
// import {saveAs} from "file-saver";
// import htmlDocx from "html-docx-js/dist/html-docx";
import htmlToPdf from './../../utils/htmlToPdf';
//import htmlToPdf from './../../utils/htmlToPdf';
const defaultetestitem = {};
export default {