|
@@ -99,6 +99,10 @@
|
|
<span v-if="row.status=='60'">
|
|
<span v-if="row.status=='60'">
|
|
<el-button size="mini" type="primary" @click="openIssued(row)">处理</el-button>
|
|
<el-button size="mini" type="primary" @click="openIssued(row)">处理</el-button>
|
|
</span>
|
|
</span>
|
|
|
|
+ <span v-if="row.status > '60' ">
|
|
|
|
+   
|
|
|
|
+ <el-button size="mini" type="success" @click="openPolicyFile(row)">查看投保单</el-button>
|
|
|
|
+ </span>
|
|
<!-- <el-button size="mini" @click="handleDelete(row)">退回理由</el-button>
|
|
<!-- <el-button size="mini" @click="handleDelete(row)">退回理由</el-button>
|
|
<el-button size="mini" @click="handleDelete(row)">投保历史信息</el-button>-->
|
|
<el-button size="mini" @click="handleDelete(row)">投保历史信息</el-button>-->
|
|
</template>
|
|
</template>
|
|
@@ -309,6 +313,23 @@ export default {
|
|
handleClick(tab, event) {
|
|
handleClick(tab, event) {
|
|
this.tabStatus = tab.name;
|
|
this.tabStatus = tab.name;
|
|
this.changePage(1);
|
|
this.changePage(1);
|
|
|
|
+ },
|
|
|
|
+ openPolicyFile(record) {
|
|
|
|
+ var formData = new FormData();
|
|
|
|
+ formData.append("applicationId", record.id);
|
|
|
|
+ insuranceApplicationApi
|
|
|
|
+ .insureDetail(formData)
|
|
|
|
+ .then(function(response) {
|
|
|
|
+ var jsonData = response.data;
|
|
|
|
+ self.loading = false;
|
|
|
|
+ if (jsonData.result) {
|
|
|
|
+ var insureData = jsonData.data;
|
|
|
|
+ var policyFile = insureData.insurancePolicy.insurancePolicyFile;
|
|
|
|
+ window.open(policyFile);
|
|
|
|
+ } else {
|
|
|
|
+ self.$message.error(jsonData.message + "");
|
|
|
|
+ }
|
|
|
|
+ });
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted: function() {
|
|
mounted: function() {
|