|
@@ -14,11 +14,23 @@
|
|
要resetFields起作用,必须配置:model和prop
|
|
要resetFields起作用,必须配置:model和prop
|
|
-->
|
|
-->
|
|
<el-form ref="queryForm" :model="queryModel" inline class="demo-form-inline">
|
|
<el-form ref="queryForm" :model="queryModel" inline class="demo-form-inline">
|
|
- <el-form-item label="险种" prop="companyId">
|
|
|
|
- <el-input type="text" size="mini" v-model="queryModel.companyId"></el-input>
|
|
|
|
|
|
+ <el-form-item label="险种信息" prop="definitionId">
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="queryModel.definitionId"
|
|
|
|
+ filterable
|
|
|
|
+ placeholder="请选择"
|
|
|
|
+ style="width:300px"
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="result in queryResult"
|
|
|
|
+ :key="result.id"
|
|
|
|
+ :label="result.name"
|
|
|
|
+ :value="result.id"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="投保人名称" prop="companyId">
|
|
|
|
- <el-input type="text" size="mini" v-model="queryModel.companyId"></el-input>
|
|
|
|
|
|
+ <el-form-item label="投保人姓名" prop="insuredName">
|
|
|
|
+ <el-input type="text" size="mini" v-model="queryModel.insuredName"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<!-- <el-form-item label="投保期间" prop="companyId">
|
|
<!-- <el-form-item label="投保期间" prop="companyId">
|
|
<el-input type="text" size="mini" v-model="queryModel.companyId"></el-input>
|
|
<el-input type="text" size="mini" v-model="queryModel.companyId"></el-input>
|
|
@@ -97,6 +109,7 @@ import Constant from "@/constant";
|
|
import firstDetails from "./insuranceFirst-firstDetails";
|
|
import firstDetails from "./insuranceFirst-firstDetails";
|
|
import insuranceApplicationApi from "@/api/business/insuranceApplication";
|
|
import insuranceApplicationApi from "@/api/business/insuranceApplication";
|
|
import approvalApi from "@/api/business/approval";
|
|
import approvalApi from "@/api/business/approval";
|
|
|
|
+import insuranceDefinitionApi from "@/api/base/insuranceDefinition";
|
|
import NProgress from "nprogress"; // progress bar
|
|
import NProgress from "nprogress"; // progress bar
|
|
import "nprogress/nprogress.css"; // progress bar style
|
|
import "nprogress/nprogress.css"; // progress bar style
|
|
|
|
|
|
@@ -130,7 +143,8 @@ export default {
|
|
showModal: false,
|
|
showModal: false,
|
|
modalTitle: "",
|
|
modalTitle: "",
|
|
businessKey: "",
|
|
businessKey: "",
|
|
- tabStatus: ""
|
|
|
|
|
|
+ tabStatus: "",
|
|
|
|
+ queryResult: []
|
|
};
|
|
};
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -289,7 +303,10 @@ export default {
|
|
},
|
|
},
|
|
mounted: function() {
|
|
mounted: function() {
|
|
this.changePage(1);
|
|
this.changePage(1);
|
|
- }
|
|
|
|
|
|
+ insuranceDefinitionApi.list().then(response => {
|
|
|
|
+ var jsonData = response.data;
|
|
|
|
+ this.queryResult = jsonData.data;
|
|
|
|
+ }); }
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|