|
|
@@ -164,6 +164,19 @@
|
|
|
},
|
|
|
async submitData() {
|
|
|
var data=JSON.stringify(this.info);
|
|
|
+ if(this.info.dev_kf.length < 30) {
|
|
|
+ this.$message.error("【技术栈】评价最少30字")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(this.info.dev_skill.length < 30) {
|
|
|
+ this.$message.error("【经验/项目经历】评价最少30字")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(this.info.dev_memo.length < 20) {
|
|
|
+ this.$message.error("【整体映像】评价最少20字")
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
let res=await this.$axios.$post('/uapi/cert/invite_comment_add', {id:this.id,sign:this.sign,data:data});
|
|
|
if (res.status === 1) {
|
|
|
this.$message.success('操作成功!')
|