Commit b516a3bd authored by zhangyanni's avatar zhangyanni

confirm

parent 10e02d29
......@@ -1271,7 +1271,7 @@
}).catch(() => {
});;
});
return false;
}
this.$confirm('您的需求已更改,点击确认该需求会重新提交审核,通过后会更新为最新修改结果,确认将修改的内容提交审核吗?', {
......
......@@ -1353,12 +1353,18 @@
this.ruleForm.requirementEndTime = publicFunc.getDataFormatFunc(this.ruleForm.requirementEndTime,0);
this.ruleForm.companyLabel = this.flagList1?this.flagList1.join(","):"";
if(new Date(this.ruleForm.requirementEndTime+" 00:00:00").getTime()<new Date().getTime()){
this.$alert('需求有效期不能小于当前时间', "提示", {
confirmButtonText: '确定',
callback: action => {
}
});
this.$confirm('需求有效期不能小于当前时间', {
confirmButtonText: '确认',
cancelButtonText: '取消',
closeOnClickModal:false,
closeOnPressEscape:false,
type: '',
customClass: 'deleteConfirm'
}).then(() => {
}).catch(() => {
});;
return false;
}
if (!this.ruleForm.companyLogoUrl) return false;
......
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