|
|
@@ -11,8 +11,64 @@
|
|
|
<a-step v-for="item in steps" :key="item.title" :title="item.title"/>
|
|
|
</a-steps>
|
|
|
</a-card>
|
|
|
+ <!--身份信息-->
|
|
|
+ <a-card style="margin-bottom:10px" v-if="current==0">
|
|
|
+ <div>
|
|
|
+ <a-form-model
|
|
|
+ ref="form"
|
|
|
+ :label-col="labelCol"
|
|
|
+ :wrapper-col="wrapperCol"
|
|
|
+ :model="model"
|
|
|
+ :rules="rules"
|
|
|
+ >
|
|
|
+ <div>
|
|
|
+ <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-radio-group v-model="model.cardNo" button-style="solid" slot-scope="text, record">
|
|
|
+ <a-input v-model="model.cardNo" placeholder="请输入身份证件号码" @keyup="keyupInfo()" ></a-input>
|
|
|
+ </a-radio-group>
|
|
|
+ </a-form-model-item>
|
|
|
+
|
|
|
+ </a-col>
|
|
|
+
|
|
|
+ <a-col :span="8">
|
|
|
+ <a-form-model-item label="身份证姓名" v-bind="labelCol2" prop="cardName" >
|
|
|
+ <a-radio-group v-model="model.cardName" button-style="solid" >
|
|
|
+ <a-input v-model="model.cardName" placeholder="身份证姓名" :rules="rules.cardName" ></a-input>
|
|
|
+ </a-radio-group>
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="8">
|
|
|
+ <a-form-model-item label="证件住址" prop="idCardAddress" v-bind="labelCol2">
|
|
|
+ <a-radio-group v-model="model.idCardAddress" button-style="solid">
|
|
|
+ <a-input v-model="model.idCardAddress" placeholder="请输入证件住址"></a-input>
|
|
|
+ </a-radio-group>
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
|
|
|
|
|
|
+ <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>
|
|
|
+ </a-col>
|
|
|
+
|
|
|
+ <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.cardEndTime"></j-date>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </a-form-model>
|
|
|
+ </div>
|
|
|
+ </a-card>
|
|
|
<!-- 入网信息登记表单-->
|
|
|
<a-card style="margin-bottom:10px" v-if="current==0">
|
|
|
<div>
|
|
|
@@ -24,8 +80,8 @@
|
|
|
:rules="rules"
|
|
|
>
|
|
|
<div>
|
|
|
- <a-divider orientation="left">填写营业厅入网提示卡
|
|
|
- </a-divider>
|
|
|
+<!-- <a-divider orientation="left">填写营业厅入网提示卡-->
|
|
|
+<!-- </a-divider>-->
|
|
|
<a-row>
|
|
|
<a-col :span="8">
|
|
|
<a-form-model-item label="拨测联系电话" prop="userOpenState" v-bind="labelCol2">
|
|
|
@@ -282,6 +338,7 @@
|
|
|
</div>
|
|
|
</a-card>
|
|
|
|
|
|
+
|
|
|
<a-card style="margin-bottom:10px" v-if="current==2">
|
|
|
<div>
|
|
|
<a-form-model
|
|
|
@@ -307,62 +364,7 @@
|
|
|
</div>
|
|
|
</a-card>
|
|
|
|
|
|
- <!--身份信息-->
|
|
|
- <a-card style="margin-bottom:10px" v-if="current==0">
|
|
|
- <div>
|
|
|
- <a-form-model
|
|
|
- ref="form"
|
|
|
- :label-col="labelCol"
|
|
|
- :wrapper-col="wrapperCol"
|
|
|
- :model="model"
|
|
|
- :rules="rules"
|
|
|
- >
|
|
|
- <div>
|
|
|
- <a-divider orientation="left">身份信息
|
|
|
- </a-divider>
|
|
|
- <a-row>
|
|
|
- <a-col :span="8">
|
|
|
- <a-form-model-item label="身份证件号码" prop="userOpenState" 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="keyupTest( )" ></a-input>
|
|
|
- </a-radio-group>
|
|
|
- </a-form-model-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="8">
|
|
|
- <a-form-model-item label="身份证姓名" prop="userOpenState" v-bind="labelCol2">
|
|
|
- <a-radio-group v-model="model.cardName" button-style="solid" v-decorator ="rules.cardName">
|
|
|
- <a-input v-model="model.cardName" placeholder="身份证姓名" ></a-input>
|
|
|
- </a-radio-group>
|
|
|
- </a-form-model-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="8">
|
|
|
- <a-form-model-item label="证件住址" prop="userOpenState" v-bind="labelCol2">
|
|
|
- <a-radio-group v-model="model.idCardAddress" button-style="solid">
|
|
|
- <a-input v-model="model.idCardAddress" placeholder="请输入证件住址"></a-input>
|
|
|
- </a-radio-group>
|
|
|
- </a-form-model-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
-
|
|
|
-
|
|
|
- <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>
|
|
|
- </a-col>
|
|
|
-
|
|
|
- <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.cardEndTime"></j-date>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
|
|
|
- </div>
|
|
|
- </a-form-model>
|
|
|
- </div>
|
|
|
- </a-card>
|
|
|
|
|
|
<!--附加信息-->
|
|
|
<a-card style="margin-bottom:10px" v-if="current==0">
|
|
|
@@ -375,8 +377,8 @@
|
|
|
:rules="rules"
|
|
|
>
|
|
|
<div>
|
|
|
- <a-divider orientation="left">附加信息
|
|
|
- </a-divider>
|
|
|
+<!-- <a-divider orientation="left">附加信息-->
|
|
|
+<!-- </a-divider>-->
|
|
|
<a-row>
|
|
|
<a-col :span="8">
|
|
|
<a-form-model-item label="位置信息" prop="userOpenState" v-bind="labelCol2">
|
|
|
@@ -428,21 +430,24 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import Popup from './PopupSubTable.vue';
|
|
|
import {httpAction, postAction, getAction} from "@api/manage";
|
|
|
import {JeecgListMixin} from '@/mixins/JeecgListMixin'
|
|
|
export default {
|
|
|
name: "registration",
|
|
|
- inject: ['closeCurrent'],
|
|
|
+
|
|
|
mixins: [JeecgListMixin],
|
|
|
data() {
|
|
|
return {
|
|
|
addIng: false,
|
|
|
url: {
|
|
|
+ "list":"",
|
|
|
"add": "/businessReminderCard/add",
|
|
|
"editById": "/businessReminderCard/editById",
|
|
|
"queryById": "/businessReminderCard/queryById",
|
|
|
"queryByCardNo": "/businessReminderCard/queryByCardNo",
|
|
|
},
|
|
|
+
|
|
|
labelCol: {span: 2},
|
|
|
wrapperCol: {span: 23},
|
|
|
// 1列
|
|
|
@@ -559,14 +564,43 @@ export default {
|
|
|
span: 16
|
|
|
}
|
|
|
},
|
|
|
- //表单验证
|
|
|
+
|
|
|
+ //校验的规则
|
|
|
rules: {
|
|
|
cardName: [
|
|
|
- {required: true, message: '证件名不可为空'},
|
|
|
+ { required: true, message: '证件名不可为空', trigger: 'blur' }
|
|
|
],
|
|
|
+ idCardAddress: [
|
|
|
+ { required: true, message: '证件名不可为空', trigger: 'blur' }
|
|
|
+ ]
|
|
|
},
|
|
|
+ isSizeNumberResults:'',
|
|
|
//表单信息
|
|
|
model: {
|
|
|
+ isShutDownNote:'',
|
|
|
+ isShutDown:'',
|
|
|
+ isRefundNote:'',
|
|
|
+ isRefund:'',
|
|
|
+ isUseToNote:'',
|
|
|
+ isUseTo:'',
|
|
|
+ isBroadbandNote:'',
|
|
|
+ isBroadband:'',
|
|
|
+ isDxNumberNote:'',
|
|
|
+ isDxNumber:'',
|
|
|
+ calltestResults:'',
|
|
|
+ operatorType:'',
|
|
|
+ operator:'',
|
|
|
+ currentAddress:'',
|
|
|
+ phonePurpose:'',
|
|
|
+ useLife:'',
|
|
|
+ address:'',
|
|
|
+ isNewly:'',
|
|
|
+ isNewlyNote:'',
|
|
|
+ isChannel:'',
|
|
|
+ isChannelNote:'',
|
|
|
+ isInvolvingFraud:'',
|
|
|
+ isInvolvingFraudNote:'',
|
|
|
+ numberResults:'',
|
|
|
id: null,
|
|
|
phone:null,
|
|
|
cardNo:'',
|
|
|
@@ -597,16 +631,21 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.model.id = this.$route.query.id;
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
mounted() {
|
|
|
this.queryById();
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
-
|
|
|
-
|
|
|
- keyupTest( ){
|
|
|
-
|
|
|
+ keyupInfoSelect(){
|
|
|
+ if (this.model.cardNo===''){
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.$router.push({ path: '/network/PopupSub', query:{cardNo:this.model.cardNo}});
|
|
|
+ },
|
|
|
+ keyupInfo(){
|
|
|
//身份证输入查询
|
|
|
if (this.model.cardNo.length ===15 || this.model.cardNo.length ===18){
|
|
|
let that = this;
|
|
|
@@ -616,18 +655,68 @@ export default {
|
|
|
getAction(that.url.queryByCardNo, data).then((res) => {
|
|
|
if (res.success) {
|
|
|
let result = res.result;
|
|
|
+ let view =this.model;
|
|
|
if (result != null) {
|
|
|
- for (var i in result) {
|
|
|
- this.model.cardName =result[i]["cardName"];
|
|
|
- this.model.cardStartTime =result[i]["cardStartTime"];
|
|
|
- this.model.cardEndTime =result[i]["cardEndTime"];
|
|
|
- this.model.idCardAddress =result[i]["idCardAddress"];
|
|
|
+ for (var i in result) {
|
|
|
+ Object.keys(view).forEach(function(key){
|
|
|
+ view[key]=result[i][key];
|
|
|
+ })
|
|
|
+ this.isSizeNumberResults =result[i]["isSizeNumberResults"];
|
|
|
+
|
|
|
+ //this.model.cardName =result[i]["cardName"];
|
|
|
+ // this.model.cardStartTime =result[i]["cardStartTime"];
|
|
|
+ // this.model.cardEndTime =result[i]["cardEndTime"];
|
|
|
+ // this.model.idCardAddress =result[i]["idCardAddress"];
|
|
|
+ //
|
|
|
+ // this.model.isShutDownNote =result[i]["isShutDownNote"];
|
|
|
+ // this.mode.isShutDown =result[i]["isShutDown"];
|
|
|
+ // this.mode.isRefundNote =result[i]["isRefundNote"];
|
|
|
+ // this.mode.isRefund =result[i]["isRefund"];
|
|
|
+ // this.mode.isUseToNote =result[i]["isUseToNote"];
|
|
|
+ // this.mode.isUseTo =result[i]["isUseTo"];
|
|
|
+ // this.mode.isBroadbandNote =result[i]["isBroadbandNote"];
|
|
|
+ // this.mode.isBroadband =result[i]["isBroadband"];
|
|
|
+ // this.mode.isDxNumberNote =result[i]["isDxNumberNote"];
|
|
|
+ // this.mode.isDxNumber =result[i]["isDxNumber"];
|
|
|
+ // this.mode.calltestResults =result[i]["calltestResults"];
|
|
|
+ // this.mode.operatorType =result[i]["operatorType"];
|
|
|
+ // this.mode.operator =result[i]["operator"];
|
|
|
+ // this.mode.currentAddress =result[i]["currentAddress"];
|
|
|
+ // this.mode.phonePurpose =result[i]["phonePurpose"];
|
|
|
+ // this.mode.useLife =result[i]["useLife"];
|
|
|
+ // this.mode.address =result[i]["address"];
|
|
|
+ // this.mode.isNewly =result[i]["isNewly"];
|
|
|
+ // this.mode.isNewlyNote =result[i]["isNewlyNote"];
|
|
|
+ // this.mode.isChannel =result[i]["isChannel"];
|
|
|
+ // this.mode.isChannelNote =result[i]["isChannelNote"];
|
|
|
+ // this.mode.isInvolvingFraud =result[i]["isInvolvingFraud"];
|
|
|
+ // this.mode.isInvolvingFraudNote=result[i]["isInvolvingFraudNote"];
|
|
|
+ // this.mode.numberResults=result[i]["numberResults"];
|
|
|
+ // this.mode.id=result[i]["id"];
|
|
|
+ // this.mode.phone=result[i]["phone"];
|
|
|
+ // this.mode.wordAddress=result[i]["wordAddress"];
|
|
|
+ // this.mode.positionInformation=result[i]["positionInformation"];
|
|
|
+ }
|
|
|
+ if (result[i]["isSizeNumberResults"]==='is'){
|
|
|
+ this.$confirm({
|
|
|
+ title: "确认是否继续...",
|
|
|
+ content: '',
|
|
|
+ onOk: function () {
|
|
|
+
|
|
|
+ },
|
|
|
+ onCancel:function (){
|
|
|
+ Object.keys(view).forEach(function(key){
|
|
|
+ view[key]='';
|
|
|
+ })
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
// this.$refs.modalDetail.detail( );
|
|
|
// this.$refs.modalDetail.title = "详情";
|
|
|
}
|
|
|
})
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -736,35 +825,50 @@ export default {
|
|
|
|
|
|
|
|
|
};
|
|
|
-
|
|
|
let id = that.model.id;
|
|
|
- if (id == null){
|
|
|
- postAction(this.url.add, data).then((res) => {
|
|
|
- if (res.success) {
|
|
|
- that.clearModel()
|
|
|
- this.$message.success("提交成功", 7);
|
|
|
- that.addIng == true
|
|
|
- } else {
|
|
|
- this.$message.error("提交失败");
|
|
|
- that.addIng == true;
|
|
|
- }
|
|
|
- })
|
|
|
- }else {
|
|
|
- postAction(this.url.editById, data).then((res) => {
|
|
|
- if (res.success) {
|
|
|
- that.clearModel()
|
|
|
- this.$message.success("修改成功", 7);
|
|
|
- that.addIng == true
|
|
|
- this.$router.go(-1);
|
|
|
- this.closeCurrent();
|
|
|
- } else {
|
|
|
- this.$message.error("修改失败");
|
|
|
- that.addIng == true;
|
|
|
- }
|
|
|
- })
|
|
|
-
|
|
|
+ let i=1 ;
|
|
|
+ let dataMessage ='';
|
|
|
+ if(data["calltestResults"]==='1' || data["calltestResults"] ==='2'){
|
|
|
+ dataMessage =dataMessage + i++ +'、该用户拨测号码关停 请确认风险 。 ';
|
|
|
+ }if(this.isSizeNumberResults==='is' ){
|
|
|
+ dataMessage =dataMessage +i++ +' 、该用户有多个不友好研判结果 请确认风险 。 ';
|
|
|
+ }else{
|
|
|
+ dataMessage =" 暂无风险提示 请继续。 "
|
|
|
}
|
|
|
|
|
|
+ this.$confirm({
|
|
|
+ title: "确认是否继续提交",
|
|
|
+ content: dataMessage,
|
|
|
+ onOk: function () {
|
|
|
+ if (id == null){
|
|
|
+ postAction("/businessReminderCard/add", data).then((res) => {
|
|
|
+ if (res.success) {
|
|
|
+ that.clearModel()
|
|
|
+ that.$message.success("提交成功", 7);
|
|
|
+ that.addIng == true
|
|
|
+ } else {
|
|
|
+ that.$message.error("提交失败");
|
|
|
+ that.addIng == true;
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }else {
|
|
|
+ postAction("/businessReminderCard/editById", data).then((res) => {
|
|
|
+ if (res.success) {
|
|
|
+ that.clearModel()
|
|
|
+ this.$message.success("修改成功", 7);
|
|
|
+ that.addIng == true
|
|
|
+ this.$router.go(-1);
|
|
|
+ this.closeCurrent();
|
|
|
+ } else {
|
|
|
+ this.$message.error("修改失败");
|
|
|
+ that.addIng == true;
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
},
|
|
|
/**充值表单*/
|
|
|
clearModel() {
|