Commit 727ba436 authored by zhangyanni's avatar zhangyanni

a

parent fdba87a3
......@@ -1260,6 +1260,30 @@ i {
height: 40px;
}
/*alert狂*/
.alertDialog.el-message-box{
width: 500px;
min-height: 190px;
}
.alertDialog.el-message-box .el-message-box__content{
text-align: center;
font-size: 16px;
margin: 20px 50px 0;
}
.alertDialog.el-message-box .el-button{
width: 130px;
height: 40px;
}
.alertDialog.el-message-box .el-message-box__btns{
text-align: center;
margin: 10px 0;
height: 40px;
display: flex;
justify-content: center;
}
/* 表格头部 */
.projectTable2.el-table{
font-size: 14px;
......
......@@ -479,6 +479,7 @@
api.getIndustryAxios(params).then((res)=>{
if(res.code==0){
that.industryInvolvedOptions =res.result;
this.getCompanyInfoFunc();
}else{
that.$message.error(res.msg);
}
......@@ -698,7 +699,6 @@
this.getCompanyScale();
this.getIndustryList(0);
this.getAddressDataFunc(-1,1);
this.getCompanyInfoFunc();
}
}
</script>
......
......@@ -1009,6 +1009,7 @@
if (!item.childrenList) item.childrenList = [];
that.industryOptions.push(item)
})
this.getRequireDetailInfoFunc();
} else {
that.$message.error(res.msg);
}
......@@ -1260,17 +1261,13 @@
that.ruleForm.requirementEndTime = publicFunc.getDataFormatFunc(that.ruleForm.requirementEndTime, 0);
that.ruleForm.targetLabel = this.flagList1 ? this.flagList1.join(",") : "";
if(new Date(this.ruleForm.requirementEndTime+" 23:59:59").getTime()<new Date().getTime()){
this.$confirm('需求有效期不能小于当前时间', {
this.$alert('需求有效期不能小于当前时间', {
confirmButtonText: '确认',
cancelButtonText: '取消',
closeOnClickModal:false,
closeOnPressEscape:false,
type: '',
customClass: 'deleteConfirm'
}).then(() => {
}).catch(() => {
center:true,
customClass: 'alertDialog',
callback: action => {
}
});
return false;
}
......@@ -1354,7 +1351,6 @@
this.getIndustryList(0);
this.getTargetIndustryList(0);
this.getAddressDataFunc(-1, 1);
this.getRequireDetailInfoFunc();
}
}
</script>
......
......@@ -1102,6 +1102,7 @@
if(!item.childrenList) item.childrenList = [];
that.industryOptions.push(item)
})
this.getRequireDetailInfoFunc();
}else{
that.$message.error(res.msg);
}
......@@ -1353,18 +1354,14 @@
this.ruleForm.requirementEndTime = publicFunc.getDataFormatFunc(this.ruleForm.requirementEndTime,0);
this.ruleForm.companyLabel = this.flagList1?this.flagList1.join(","):"";
if(new Date(this.ruleForm.requirementEndTime+" 23:59:59").getTime()<new Date().getTime()){
this.$confirm('需求有效期不能小于当前时间', {
this.$alert('需求有效期不能小于当前时间', {
confirmButtonText: '确认',
cancelButtonText: '取消',
closeOnClickModal:false,
closeOnPressEscape:false,
type: '',
customClass: 'deleteConfirm'
}).then(() => {
center:true,
customClass: 'alertDialog',
callback: action => {
}).catch(() => {
});;
}
});
return false;
}
if (!this.ruleForm.companyLogoUrl) return false;
......@@ -1438,11 +1435,10 @@
},
mounted() {
this.getCompanyScale();
this.getAddressDataFunc(-1, 1);
this.getCompanyWay();
this.getIndustryList(0);
this.getTargetIndustryList(0);
this.getAddressDataFunc(-1, 1);
this.getRequireDetailInfoFunc();
}
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment