|
|
@ -120,7 +120,7 @@ |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="3"> |
|
|
<el-col :span="3"> |
|
|
<el-form-item label="籍贯" prop="birthPlaceId" label-width="50px"> |
|
|
<el-form-item label="籍贯" prop="birthPlaceId" label-width="50px"> |
|
|
<el-select v-model="form.birthPlaceId" placeholder="请选择" filterable clearable |
|
|
|
|
|
|
|
|
<el-select v-model="form.birthPlaceId" placeholder="请选择" filterable clearable |
|
|
:style="'width:' + Math.floor((window.pageWidth - 630) / 8) + 'px;'" size="small"> |
|
|
:style="'width:' + Math.floor((window.pageWidth - 630) / 8) + 'px;'" size="small"> |
|
|
<el-option v-for="item in dict.birthPlace" :key="item.id" :label="item.displayName" |
|
|
<el-option v-for="item in dict.birthPlace" :key="item.id" :label="item.displayName" |
|
|
:value="item.id" /> |
|
|
:value="item.id" /> |
|
|
@ -157,8 +157,9 @@ |
|
|
<el-col :span="3"> |
|
|
<el-col :span="3"> |
|
|
<el-form-item label="民族" prop="nationId" label-width="50px"> |
|
|
<el-form-item label="民族" prop="nationId" label-width="50px"> |
|
|
<el-select v-model="form.nationId" placeholder="请选择" filterable clearable |
|
|
<el-select v-model="form.nationId" placeholder="请选择" filterable clearable |
|
|
|
|
|
default-first-option :filter-method="filterMethod" |
|
|
:style="'width:' + Math.floor((window.pageWidth - 630) / 8) + 'px;'" size="small"> |
|
|
:style="'width:' + Math.floor((window.pageWidth - 630) / 8) + 'px;'" size="small"> |
|
|
<el-option v-for="item in dict.nation" :key="item.id" :label="item.displayName" :value="item.id" /> |
|
|
|
|
|
|
|
|
<el-option v-for="item in nation" :key="item.id" :label="item.displayName" :value="item.id" /> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
@ -638,6 +639,7 @@ export default { |
|
|
prAsbGroup: 0, //触发分组更换 |
|
|
prAsbGroup: 0, //触发分组更换 |
|
|
prAsbPackage: 0, //触发套餐更换 |
|
|
prAsbPackage: 0, //触发套餐更换 |
|
|
}, |
|
|
}, |
|
|
|
|
|
nation:[], // |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -765,6 +767,7 @@ export default { |
|
|
getapi("/api/app/nation/in-filter").then((res) => { |
|
|
getapi("/api/app/nation/in-filter").then((res) => { |
|
|
if (res.code != -1) { |
|
|
if (res.code != -1) { |
|
|
this.dict.nation = res.data; |
|
|
this.dict.nation = res.data; |
|
|
|
|
|
this.nation = deepCopy(res.data) |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
@ -832,6 +835,23 @@ export default { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//快速选择组合项目时,调整可按拼间简码及简称查找 |
|
|
|
|
|
filterMethod(keyWords) { |
|
|
|
|
|
//console.log('filterMethod',this.asbItemQuick) |
|
|
|
|
|
if (keyWords) { |
|
|
|
|
|
this.nation = []; |
|
|
|
|
|
this.dict.nation.forEach(item => { |
|
|
|
|
|
if (item.displayName.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1 |
|
|
|
|
|
|| item.simpleCode.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1) { |
|
|
|
|
|
this.nation.push(item); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} else { |
|
|
|
|
|
this.nation = deepCopy(this.dict.nation); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
//选择单位 |
|
|
//选择单位 |
|
|
async changeCustomerOrgId(v) { |
|
|
async changeCustomerOrgId(v) { |
|
|
// console.log('changeCustomerOrgId',v) |
|
|
// console.log('changeCustomerOrgId',v) |
|
|
|