|
|
@@ -25,7 +25,7 @@
|
|
|
<a-button type="link" @click="keyupInfoSelect()">身份证件号码检索</a-button>
|
|
|
<a-row>
|
|
|
<a-col :span="8">
|
|
|
- <a-form-model-item label="身份证件号码" prop="userOpenState" v-bind="labelCol2">
|
|
|
+ <a-form-model-item label="身份证件号码" prop="cardNo"v-bind="labelCol2">
|
|
|
|
|
|
<a-radio-group v-model="model.cardNo" button-style="solid" slot-scope="text, record">
|
|
|
<a-input v-model="model.cardNo" placeholder="请输入身份证件号码" @keyup="keyupInfo()" ></a-input>
|
|
|
@@ -53,8 +53,8 @@
|
|
|
|
|
|
<a-row>
|
|
|
<a-col :span="8" >
|
|
|
- <a-form-item label="证件期限(开始日期)" v-bind="labelCol2">
|
|
|
- <j-date :show-time="true" date-format="YYYY-MM-DD" placeholder="请选择开始时间" class="query-group-cust" v-model="model.cardStartTime"></j-date>
|
|
|
+ <a-form-item label="证件期限(开始日期)" v-bind="labelCol2" prop="cardStartTime">
|
|
|
+ <j-date :show-time="true" prop="cardStartTime" date-format="YYYY-MM-DD" placeholder="请选择开始时间" class="query-group-cust" v-model="model.cardStartTime"></j-date>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
|
|
|
@@ -568,10 +568,10 @@ export default {
|
|
|
//校验的规则
|
|
|
rules: {
|
|
|
cardName: [
|
|
|
- { required: true, message: '证件名不可为空', trigger: 'blur' }
|
|
|
+ { required: true, message: '证件名不可为空...', trigger: 'blur' }
|
|
|
],
|
|
|
idCardAddress: [
|
|
|
- { required: true, message: '证件名不可为空', trigger: 'blur' }
|
|
|
+ { required: true, message: '证件名不可为空...', trigger: 'blur' }
|
|
|
]
|
|
|
},
|
|
|
isSizeNumberResults:'',
|
|
|
@@ -609,7 +609,8 @@ export default {
|
|
|
cardEndTime:'',
|
|
|
idCardAddress:'',
|
|
|
wordAddress:'',
|
|
|
- positionInformation:''
|
|
|
+ positionInformation:'',
|
|
|
+ businessAddress:''
|
|
|
},
|
|
|
current: 0,
|
|
|
//步骤条
|
|
|
@@ -740,6 +741,78 @@ export default {
|
|
|
|
|
|
/**下一步骤*/
|
|
|
nextSteps() {
|
|
|
+ if (this.current===0){
|
|
|
+ const newDatas = [];
|
|
|
+ let message = '';
|
|
|
+ if (this.model.cardNo==='' || this.model.cardNo===null){
|
|
|
+ newDatas.push(h('p', null, '<身份证件号码> 不可为空... '))
|
|
|
+
|
|
|
+ }
|
|
|
+ if (this.model.cardName==='' || this.model.cardName===null){
|
|
|
+ newDatas.push(h('p', null, '<身份证件姓名> 不可为空... '))
|
|
|
+
|
|
|
+ }
|
|
|
+ if (this.model.idCardAddress==='' || this.model.idCardAddress===null){
|
|
|
+ newDatas.push(h('p', null, '<身份证件地址> 不可为空...... '))
|
|
|
+ message=message+ '<身份证件地址> 不可为空... '+<br/>
|
|
|
+ }
|
|
|
+ if (this.model.cardStartTime===''|| this.model.cardStartTime===null){
|
|
|
+ newDatas.push(h('p', null, '<身份证件开始时间> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.cardEndTime==='' || this.model.cardEndTime===null){
|
|
|
+ newDatas.push(h('p', null, '<身份证件截止日期> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.phone==='' ||this.model.phone===null){
|
|
|
+ newDatas.push(h('p', null, '<拨测联系电话> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.address===''|| this.model.address===null){
|
|
|
+ newDatas.push(h('p', null, '<联电归属地> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.useLife==='' || this.model.useLife===null){
|
|
|
+ newDatas.push(h('p', null, '<号码使用年限> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.phonePurpose==='' || this.model.phonePurpose===null){
|
|
|
+ newDatas.push(h('p', null, '<号码使用用途> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.idCardAddress==='' ||this.model.idCardAddress=== null){
|
|
|
+ newDatas.push(h('p', null, '<证件地址(到村/小区)> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.currentAddress==='' || this.model.currentAddress===null){
|
|
|
+ newDatas.push(h('p', null, '<现住地址(到村/小区)> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.operator==='' || this.model.operator===null){
|
|
|
+ newDatas.push(h('p', null, '<客户现用号码> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.operatorType==='' || this.model.operatorType===null){
|
|
|
+ newDatas.push(h('p', null, '<运营商类型> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.calltestResults==='' ||this.model.calltestResults===null){
|
|
|
+ newDatas.push(h('p', null, '<拨测结果> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.positionInformation==='' || this.model.positionInformation===null){
|
|
|
+ newDatas.push(h('p', null, '<位置信息> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.wordAddress===''|| this.model.wordAddress===null){
|
|
|
+ newDatas.push(h('p', null, '<工作地址> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (this.model.businessAddress===''|| this.model.businessAddress===null){
|
|
|
+ newDatas.push(h('p', null, '<营业厅地址> 不可为空... '))
|
|
|
+ }
|
|
|
+ if (newDatas.length!==0){
|
|
|
+ this.$confirm({
|
|
|
+ title: "入网提示卡页签有未输入值...",
|
|
|
+ content: h('div', null, newDatas),
|
|
|
+ // message: h('div', null, newDatas),
|
|
|
+ onOk: function () {
|
|
|
+
|
|
|
+ },
|
|
|
+ onCancel:function (){
|
|
|
+
|
|
|
+ }
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
if (this.current < this.steps.length) {
|
|
|
this.current = this.current + 1;
|
|
|
}
|
|
|
@@ -828,17 +901,22 @@ export default {
|
|
|
let id = that.model.id;
|
|
|
let i=1 ;
|
|
|
let dataMessage ='';
|
|
|
+ const h = this.$createElement
|
|
|
+ const newDatas = [];
|
|
|
+
|
|
|
if(data["calltestResults"]==='1' || data["calltestResults"] ==='2'){
|
|
|
- dataMessage =dataMessage + i++ +'、该用户拨测号码关停 请确认风险 。 ';
|
|
|
+ newDatas.push(h('p', null, i++ +'、该用户拨测号码关停 请确认风险 。 '))
|
|
|
+
|
|
|
}if(this.isSizeNumberResults==='is' ){
|
|
|
- dataMessage =dataMessage +i++ +' 、该用户有多个不友好研判结果 请确认风险 。 ';
|
|
|
+ newDatas.push(h('p', null, i++ +' 、该用户有多个不友好研判结果 请确认风险 。 '))
|
|
|
+
|
|
|
}else{
|
|
|
- dataMessage =" 暂无风险提示 请继续。 "
|
|
|
+ newDatas.push(h('p', null, i++ +' 暂无风险提示 请继续。 '))
|
|
|
}
|
|
|
|
|
|
this.$confirm({
|
|
|
title: "确认是否继续提交",
|
|
|
- content: dataMessage,
|
|
|
+ content: h('div', null, newDatas),
|
|
|
onOk: function () {
|
|
|
if (id == null){
|
|
|
postAction("/businessReminderCard/add", data).then((res) => {
|