|
|
@@ -96,7 +96,7 @@
|
|
|
<div style="height: 10px;background: #f5f5f5"></div>
|
|
|
<div style="margin: 10px;font-weight: bold;font-size: 16px">{{$t(`客户签字`)}}</div>
|
|
|
<div class="drawer__panel" style="margin-bottom: 0 !important;">
|
|
|
- <signature :sa_workorder_confirmationid="sa_workorder_confirmationid" :sa_workorderid="sa_workorderid"></signature>
|
|
|
+ <signature ref="signatureRef" :sa_workorder_confirmationid="sa_workorder_confirmationid" :sa_workorderid="sa_workorderid"></signature>
|
|
|
</div>
|
|
|
<div class="fixed__btn__panel">
|
|
|
<el-button
|
|
|
@@ -200,6 +200,10 @@ export default {
|
|
|
this.dataInfo = res.data
|
|
|
this.setInputData()
|
|
|
this.drawerVisible = true
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.$refs.signatureRef.getField()
|
|
|
+ })
|
|
|
+
|
|
|
},
|
|
|
setInputData() {
|
|
|
let that = this
|
|
|
@@ -297,10 +301,12 @@ export default {
|
|
|
let ownerid = '&ownerid=' + data.sa_workorder_confirmationid
|
|
|
let action = '&action=1'
|
|
|
let urlNew = http + token + parentid + ownerid + action
|
|
|
- if (result.length == 0)
|
|
|
- window.open(urlNew);
|
|
|
- window.open(result[result.length - 1].url, "_self");
|
|
|
+ // if (result.length == 0)
|
|
|
+ // window.open(urlNew);
|
|
|
+ // window.open(result[result.length - 1].url, "_self");
|
|
|
// this.$refs.checkBillRef.listData()
|
|
|
+
|
|
|
+ window.open(urlNew);
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|