|
@@ -19,7 +19,15 @@
|
|
|
:xl="xlcell"
|
|
:xl="xlcell"
|
|
|
>
|
|
>
|
|
|
<el-form-item label="保险公司:" prop="companyId">
|
|
<el-form-item label="保险公司:" prop="companyId">
|
|
|
- <el-select
|
|
|
|
|
|
|
+ <el-cascader
|
|
|
|
|
+ placeholder="请输入保险公司"
|
|
|
|
|
+ :options="options"
|
|
|
|
|
+ :show-all-levels="false"
|
|
|
|
|
+ v-model="pageRequest.companyId"
|
|
|
|
|
+ :props="{value:'id', label: 'name', checkStrictly: true}"
|
|
|
|
|
+ filterable></el-cascader>
|
|
|
|
|
+ <!-- :before-filter="get_tree" -->
|
|
|
|
|
+ <!-- <el-select
|
|
|
v-model="pageRequest.companyId"
|
|
v-model="pageRequest.companyId"
|
|
|
filterable
|
|
filterable
|
|
|
class="widths"
|
|
class="widths"
|
|
@@ -31,7 +39,7 @@
|
|
|
:label="val.name"
|
|
:label="val.name"
|
|
|
:value="val.id"
|
|
:value="val.id"
|
|
|
></el-option>
|
|
></el-option>
|
|
|
- </el-select>
|
|
|
|
|
|
|
+ </el-select> -->
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col
|
|
<el-col
|
|
@@ -473,6 +481,7 @@ export default {
|
|
|
],
|
|
],
|
|
|
startDate: [{ required: true, message: "日期不能为空", trigger: "change" }],
|
|
startDate: [{ required: true, message: "日期不能为空", trigger: "change" }],
|
|
|
},
|
|
},
|
|
|
|
|
+ options:[],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
@@ -480,11 +489,23 @@ export default {
|
|
|
// this.pageRequest.startDate=monthtime[0];
|
|
// this.pageRequest.startDate=monthtime[0];
|
|
|
// this.pageRequest.endDate=monthtime[1];
|
|
// this.pageRequest.endDate=monthtime[1];
|
|
|
// this.dateTime=monthtime;
|
|
// this.dateTime=monthtime;
|
|
|
- this.companyquery(); //公司数据
|
|
|
|
|
|
|
+ // this.companyquery(); //公司数据
|
|
|
this.deptQuery(); //机构数据
|
|
this.deptQuery(); //机构数据
|
|
|
|
|
+ // this.findLeftInsTreeFun()
|
|
|
|
|
+ this.$api.insCompany.findLeftInsTree({name:'',type:1}).then((res) => {
|
|
|
|
|
+ this.options=res.data
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
mounted() {},
|
|
mounted() {},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ // findLeftInsTreeFun(val=''){
|
|
|
|
|
+ // this.$api.insCompany.findLeftInsTree({name:val,type:1}).then((res) => {
|
|
|
|
|
+ // this.options=res.data
|
|
|
|
|
+ // })
|
|
|
|
|
+ // },
|
|
|
|
|
+ // get_tree(val) {
|
|
|
|
|
+ // this.findLeftInsTreeFun(val)
|
|
|
|
|
+ // },
|
|
|
handleTableSettled(ids) {
|
|
handleTableSettled(ids) {
|
|
|
this.plyNoList=ids;
|
|
this.plyNoList=ids;
|
|
|
this.dialogVisible11=true;
|
|
this.dialogVisible11=true;
|
|
@@ -509,6 +530,7 @@ export default {
|
|
|
onSubmit(formName) {
|
|
onSubmit(formName) {
|
|
|
this.$refs[formName].validate((valid) => {
|
|
this.$refs[formName].validate((valid) => {
|
|
|
if (valid) {
|
|
if (valid) {
|
|
|
|
|
+ this.pageRequest.companyId=this.pageRequest.companyId[0]
|
|
|
this.$api.settlement
|
|
this.$api.settlement
|
|
|
.iscompanyTosettledQuery(this.pageRequest)
|
|
.iscompanyTosettledQuery(this.pageRequest)
|
|
|
.then((res) => {
|
|
.then((res) => {
|
|
@@ -624,7 +646,12 @@ export default {
|
|
|
that.$api.settlement
|
|
that.$api.settlement
|
|
|
.iscompanyTosettledQuery(that.pageRequest)
|
|
.iscompanyTosettledQuery(that.pageRequest)
|
|
|
.then((res) => {
|
|
.then((res) => {
|
|
|
- that.pageResult = res.data;
|
|
|
|
|
|
|
+ if(res.code==200){
|
|
|
|
|
+ that.pageResult = res.data;
|
|
|
|
|
+ }
|
|
|
|
|
+ else{
|
|
|
|
|
+ this.$message.error(res.msg)
|
|
|
|
|
+ }
|
|
|
})
|
|
})
|
|
|
.then(data != null ? data.callback : "");
|
|
.then(data != null ? data.callback : "");
|
|
|
},
|
|
},
|