|
|
@@ -2915,8 +2915,8 @@
|
|
|
<el-table-column v-if="contributingState" :width="100" prop="riskCode" label="特约险种"
|
|
|
align="center"></el-table-column>
|
|
|
<el-table-column prop="clauseName" label="特约名称" align="center"></el-table-column>
|
|
|
- <el-table-column prop="replaceContent" label="特约内容" align="center"></el-table-column>
|
|
|
- <!-- <el-table-column prop="clauseContent" label="特约内容">
|
|
|
+ <!-- <el-table-column prop="replaceContent" label="特约内容" align="center"></el-table-column> -->
|
|
|
+ <el-table-column prop="clauseContent" label="特约内容">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input @blur="hideInput" size="small" type="textarea" :ref="scope.row.index + ',' + scope.column.index"
|
|
|
v-model="scope.row.clauseContent" v-if="scope.row.index + ',' + scope.column.index == currentCell &&
|
|
|
@@ -2924,7 +2924,7 @@
|
|
|
"></el-input>
|
|
|
<span v-else>{{ scope.row.clauseContent }}</span>
|
|
|
</template>
|
|
|
- </el-table-column> -->
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button size="small" @click="hbsubmitdialogVisible = false">取 消</el-button>
|
|
|
@@ -7725,8 +7725,8 @@ export default {
|
|
|
this.contributingLoading = true;
|
|
|
this.contributingState = true;
|
|
|
this.hbsubmitdialogVisible = true;
|
|
|
- this.getClauseData(id, index)
|
|
|
- return
|
|
|
+ // this.getClauseData(id, index)
|
|
|
+ // return
|
|
|
this.$api.letter
|
|
|
.guorenqueryClauseData({ agreementId: id })
|
|
|
.then((res) => {
|
|
|
@@ -10606,35 +10606,35 @@ export default {
|
|
|
this.hbsubmitdialogVisible = true;
|
|
|
this.contributingState = false;
|
|
|
if (data.namesimple == "紫金财险") {
|
|
|
- this.getClauseData(this.companyId, index)
|
|
|
- // this.$api.letter
|
|
|
- // .zijinqueryClauseData({ companyId: this.companyId })
|
|
|
- // .then((res) => {
|
|
|
- // this.zijinengageListData = res.data;
|
|
|
- // });
|
|
|
+ // this.getClauseData(this.companyId, index)
|
|
|
+ this.$api.letter
|
|
|
+ .zijinqueryClauseData({ companyId: this.companyId })
|
|
|
+ .then((res) => {
|
|
|
+ this.zijinengageListData = res.data;
|
|
|
+ });
|
|
|
}
|
|
|
if (data.namesimple == "华泰财险") {
|
|
|
this.zijinengageList = [];
|
|
|
- this.getClauseData(this.companyId, index)
|
|
|
- // this.$api.letter
|
|
|
- // .huataiqueryClauseData({ companyId: this.companyId })
|
|
|
- // .then((res) => {
|
|
|
- // res.data.forEach((val) => {
|
|
|
- // val.clauseCode = val.engageCode;
|
|
|
- // val.clauseName = val.engageTitle;
|
|
|
- // val.clauseContent = val.engageDetail;
|
|
|
- // val.clauses = val.engageDetail;
|
|
|
- // });
|
|
|
- // this.zijinengageListData = res.data;
|
|
|
- // this.zijinengageListData.forEach((val) => {
|
|
|
- // this.$nextTick(() => {
|
|
|
- // if (val.optType == "2") {
|
|
|
- // this.zijinengageList.push(val);
|
|
|
- // this.$refs.expandTablePro.toggleRowSelection(val, true);
|
|
|
- // }
|
|
|
- // });
|
|
|
- // });
|
|
|
- // });
|
|
|
+ // this.getClauseData(this.companyId, index)
|
|
|
+ this.$api.letter
|
|
|
+ .huataiqueryClauseData({ companyId: this.companyId })
|
|
|
+ .then((res) => {
|
|
|
+ res.data.forEach((val) => {
|
|
|
+ val.clauseCode = val.engageCode;
|
|
|
+ val.clauseName = val.engageTitle;
|
|
|
+ val.clauseContent = val.engageDetail;
|
|
|
+ val.clauses = val.engageDetail;
|
|
|
+ });
|
|
|
+ this.zijinengageListData = res.data;
|
|
|
+ this.zijinengageListData.forEach((val) => {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ if (val.optType == "2") {
|
|
|
+ this.zijinengageList.push(val);
|
|
|
+ this.$refs.expandTablePro.toggleRowSelection(val, true);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ });
|
|
|
} else {
|
|
|
this.zijinengageListData = [];
|
|
|
}
|