tmp
This commit is contained in:
@@ -66,6 +66,16 @@
|
||||
<el-form-item label="中职毕业证">
|
||||
<el-button type="primary" size="mini" icon="el-icon-download" @click="downloadDiploma">下载毕业证
|
||||
</el-button>
|
||||
|
||||
<el-button type="primary" size="mini" icon="el-icon-view" @click="lookBiye">预览毕业证
|
||||
</el-button>
|
||||
|
||||
<el-dialog :visible.sync="lookBiyeV" :destroy-on-close="true" append-to-body>
|
||||
<span slot="title">中职毕业证预览</span>
|
||||
<iframe v-if="lookBiyeUrl" :src="lookBiyeUrl" style="width: 100%; height: 80vh;"
|
||||
frameborder="0"></iframe>
|
||||
</el-dialog>
|
||||
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-button v-print="printContent">打印</el-button>
|
||||
@@ -182,12 +192,23 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
lookBiyeV: false,
|
||||
lookBiyeUrl: ''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
lookBiye() {
|
||||
const isAbsoluteUrl = this.lookForm.diplomaCertificate.startsWith('http');
|
||||
const pdfUrl = isAbsoluteUrl
|
||||
? this.lookForm.diplomaCertificate
|
||||
: `${this.baseurl}${this.lookForm.diplomaCertificate}`;
|
||||
this.lookBiyeUrl = pdfUrl;
|
||||
this.lookBiyeV = true;
|
||||
},
|
||||
getFileName(path) {
|
||||
if (!path) return '';
|
||||
return path.split('/').pop();
|
||||
|
||||
@@ -66,6 +66,15 @@
|
||||
<el-form-item label="中职毕业证">
|
||||
<el-button type="primary" size="mini" icon="el-icon-download" @click="downloadDiploma">下载毕业证
|
||||
</el-button>
|
||||
|
||||
<el-button type="primary" size="mini" icon="el-icon-view" @click="lookBiye">预览毕业证
|
||||
</el-button>
|
||||
|
||||
<el-dialog :visible.sync="lookBiyeV" :destroy-on-close="true" append-to-body>
|
||||
<span slot="title">中职毕业证预览</span>
|
||||
<iframe v-if="lookBiyeUrl" :src="lookBiyeUrl" style="width: 100%; height: 80vh;"
|
||||
frameborder="0"></iframe>
|
||||
</el-dialog>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-button v-print="printContent">打印</el-button>
|
||||
@@ -181,12 +190,23 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
lookBiyeV: false,
|
||||
lookBiyeUrl: ''
|
||||
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
lookBiye() {
|
||||
const isAbsoluteUrl = this.lookForm.diplomaCertificate.startsWith('http');
|
||||
const pdfUrl = isAbsoluteUrl
|
||||
? this.lookForm.diplomaCertificate
|
||||
: `${this.baseurl}${this.lookForm.diplomaCertificate}`;
|
||||
this.lookBiyeUrl = pdfUrl;
|
||||
this.lookBiyeV = true;
|
||||
},
|
||||
getFileName(path) {
|
||||
if (!path) return '';
|
||||
return path.split('/').pop();
|
||||
|
||||
@@ -64,6 +64,15 @@
|
||||
<el-form-item label="中职毕业证">
|
||||
<el-button type="primary" size="mini" icon="el-icon-download" @click="downloadDiploma">下载毕业证
|
||||
</el-button>
|
||||
|
||||
<el-button type="primary" size="mini" icon="el-icon-view" @click="lookBiye">预览毕业证
|
||||
</el-button>
|
||||
|
||||
<el-dialog :visible.sync="lookBiyeV" :destroy-on-close="true" append-to-body>
|
||||
<span slot="title">中职毕业证预览</span>
|
||||
<iframe v-if="lookBiyeUrl" :src="lookBiyeUrl" style="width: 100%; height: 80vh;"
|
||||
frameborder="0"></iframe>
|
||||
</el-dialog>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-button v-print="printContent">打印</el-button>
|
||||
@@ -179,12 +188,22 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
lookBiyeV: false,
|
||||
lookBiyeUrl: ''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
lookBiye() {
|
||||
const isAbsoluteUrl = this.lookForm.diplomaCertificate.startsWith('http');
|
||||
const pdfUrl = isAbsoluteUrl
|
||||
? this.lookForm.diplomaCertificate
|
||||
: `${this.baseurl}${this.lookForm.diplomaCertificate}`;
|
||||
this.lookBiyeUrl = pdfUrl;
|
||||
this.lookBiyeV = true;
|
||||
},
|
||||
getFileName(path) {
|
||||
if (!path) return '';
|
||||
return path.split('/').pop();
|
||||
|
||||
@@ -61,6 +61,16 @@
|
||||
<el-form-item label="中职毕业证">
|
||||
<el-button type="primary" size="mini" icon="el-icon-download" @click="downloadDiploma">下载毕业证
|
||||
</el-button>
|
||||
|
||||
<el-button type="primary" size="mini" icon="el-icon-view" @click="lookBiye">预览毕业证
|
||||
</el-button>
|
||||
|
||||
<el-dialog :visible.sync="lookBiyeV" :destroy-on-close="true" append-to-body>
|
||||
<span slot="title">中职毕业证预览</span>
|
||||
<iframe v-if="lookBiyeUrl" :src="lookBiyeUrl" style="width: 100%; height: 80vh;"
|
||||
frameborder="0"></iframe>
|
||||
</el-dialog>
|
||||
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-form label-width="200px" size="mini" class="lookForm">
|
||||
@@ -294,6 +304,9 @@ export default {
|
||||
|
||||
editForm: {},
|
||||
editV: false,
|
||||
|
||||
lookBiyeV: false,
|
||||
lookBiyeUrl: ''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -301,6 +314,15 @@ export default {
|
||||
this.getOwnSign();
|
||||
},
|
||||
methods: {
|
||||
lookBiye() {
|
||||
const isAbsoluteUrl = this.lookForm.diplomaCertificate.startsWith('http');
|
||||
const pdfUrl = isAbsoluteUrl
|
||||
? this.lookForm.diplomaCertificate
|
||||
: `${this.baseurl}${this.lookForm.diplomaCertificate}`;
|
||||
this.lookBiyeUrl = pdfUrl;
|
||||
this.lookBiyeV = true;
|
||||
},
|
||||
|
||||
changeApplyReason(v) {
|
||||
if (v != "1.监测对象家庭学生(脱贫不稳定家庭学生、边缘易致贫家庭学生、突发严重困难家庭学生):") {
|
||||
this.editForm.applyReason1 = "";
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<el-button type="primary" size="mini" icon="el-icon-download" @click="downloadDiploma">下载毕业证
|
||||
</el-button>
|
||||
|
||||
<el-button type="primary" size="mini" icon="el-icon-download" @click="lookBiye">预览毕业证
|
||||
<el-button type="primary" size="mini" icon="el-icon-view" @click="lookBiye">预览毕业证
|
||||
</el-button>
|
||||
|
||||
<el-dialog :visible.sync="lookBiyeV" :destroy-on-close="true" append-to-body>
|
||||
|
||||
@@ -70,6 +70,14 @@
|
||||
<el-form-item label="中职毕业证">
|
||||
<el-button type="primary" size="mini" icon="el-icon-download" @click="downloadDiploma">下载毕业证
|
||||
</el-button>
|
||||
<el-button type="primary" size="mini" icon="el-icon-view" @click="lookBiye">预览毕业证
|
||||
</el-button>
|
||||
|
||||
<el-dialog :visible.sync="lookBiyeV" :destroy-on-close="true" append-to-body>
|
||||
<span slot="title">中职毕业证预览</span>
|
||||
<iframe v-if="lookBiyeUrl" :src="lookBiyeUrl" style="width: 100%; height: 80vh;"
|
||||
frameborder="0"></iframe>
|
||||
</el-dialog>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-form label-width="200px" size="mini" class="lookForm">
|
||||
@@ -220,6 +228,9 @@ export default {
|
||||
manyCmt: "",
|
||||
manyRes: null,
|
||||
manySign: "",
|
||||
|
||||
lookBiyeV: false,
|
||||
lookBiyeUrl: ''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -227,10 +238,18 @@ export default {
|
||||
this.getOwnSign();
|
||||
},
|
||||
methods: {
|
||||
lookBiye() {
|
||||
const isAbsoluteUrl = this.lookForm.diplomaCertificate.startsWith('http');
|
||||
const pdfUrl = isAbsoluteUrl
|
||||
? this.lookForm.diplomaCertificate
|
||||
: `${this.baseurl}${this.lookForm.diplomaCertificate}`;
|
||||
this.lookBiyeUrl = pdfUrl;
|
||||
this.lookBiyeV = true;
|
||||
},
|
||||
getFileName(path) {
|
||||
if (!path) return '';
|
||||
return path.split('/').pop();
|
||||
},
|
||||
if (!path) return '';
|
||||
return path.split('/').pop();
|
||||
},
|
||||
downloadDiploma() {
|
||||
if (!this.lookForm.diplomaCertificate) return;
|
||||
const isAbsoluteUrl = this.lookForm.diplomaCertificate.startsWith('http');
|
||||
|
||||
@@ -66,6 +66,15 @@
|
||||
<el-form-item label="中职毕业证">
|
||||
<el-button type="primary" size="mini" icon="el-icon-download" @click="downloadDiploma">下载毕业证
|
||||
</el-button>
|
||||
|
||||
<el-button type="primary" size="mini" icon="el-icon-view" @click="lookBiye">预览毕业证
|
||||
</el-button>
|
||||
|
||||
<el-dialog :visible.sync="lookBiyeV" :destroy-on-close="true" append-to-body>
|
||||
<span slot="title">中职毕业证预览</span>
|
||||
<iframe v-if="lookBiyeUrl" :src="lookBiyeUrl" style="width: 100%; height: 80vh;"
|
||||
frameborder="0"></iframe>
|
||||
</el-dialog>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-form label-width="200px" size="mini" class="lookForm">
|
||||
@@ -216,6 +225,9 @@ export default {
|
||||
manyCmt: "",
|
||||
manyRes: null,
|
||||
manySign: "",
|
||||
|
||||
lookBiyeV: false,
|
||||
lookBiyeUrl: ''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -223,6 +235,14 @@ export default {
|
||||
this.getOwnSign();
|
||||
},
|
||||
methods: {
|
||||
lookBiye() {
|
||||
const isAbsoluteUrl = this.lookForm.diplomaCertificate.startsWith('http');
|
||||
const pdfUrl = isAbsoluteUrl
|
||||
? this.lookForm.diplomaCertificate
|
||||
: `${this.baseurl}${this.lookForm.diplomaCertificate}`;
|
||||
this.lookBiyeUrl = pdfUrl;
|
||||
this.lookBiyeV = true;
|
||||
},
|
||||
getFileName(path) {
|
||||
if (!path) return '';
|
||||
return path.split('/').pop();
|
||||
|
||||
Reference in New Issue
Block a user