Merge branch 'master' of gitee.com:darlk/ShengTangMange into develop
This commit is contained in:
@ -105,7 +105,7 @@ public class SysContractServiceImpl implements ISysContractService {
|
|||||||
// String templatePath = "/Users/wonder/Documents/Workspaces/java/RuoYi-Vue/running/pdf/contract.pdf";
|
// String templatePath = "/Users/wonder/Documents/Workspaces/java/RuoYi-Vue/running/pdf/contract.pdf";
|
||||||
// String filePath = "/Users/wonder/Documents/Workspaces/java/RuoYi-Vue/running" + sysContract.getPath();
|
// String filePath = "/Users/wonder/Documents/Workspaces/java/RuoYi-Vue/running" + sysContract.getPath();
|
||||||
String templatePath = "/home/workspace/RuoYi-Vue/running/pdf/contract.pdf";
|
String templatePath = "/home/workspace/RuoYi-Vue/running/pdf/contract.pdf";
|
||||||
String filePath = "/home/www/web/long.busyinn.com" + sysContract.getPath();
|
String filePath = "/home/web/manage.shengtangdiet.com" + sysContract.getPath();
|
||||||
|
|
||||||
PdfReader reader;
|
PdfReader reader;
|
||||||
FileOutputStream out;
|
FileOutputStream out;
|
||||||
|
@ -217,6 +217,7 @@
|
|||||||
submitForm() {
|
submitForm() {
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.form.name = this.form.cusName;
|
||||||
signContract(this.form).then(result => {
|
signContract(this.form).then(result => {
|
||||||
if (result.code === 200) {
|
if (result.code === 200) {
|
||||||
window.location.href = window.location.origin + result.url;
|
window.location.href = window.location.origin + result.url;
|
||||||
|
Reference in New Issue
Block a user