diff --git a/back/src/views/modules/putOnTheShelf/components/special.vue b/back/src/views/modules/putOnTheShelf/components/special.vue index db1157f0..0333e984 100644 --- a/back/src/views/modules/putOnTheShelf/components/special.vue +++ b/back/src/views/modules/putOnTheShelf/components/special.vue @@ -104,8 +104,17 @@ export default { }) if (flag) { const obj = {} + let sfFlag = false + list.forEach((item) => { if (item.type === 'input2') { + sfFlag = this.data.filter( + (val) => val.type === this.numType + )[0] + if (sfFlag) { + this.$message.warning('已添加过该类型!') + return + } obj[item.field] = item.note1 + (this.numType === '一次性买断' @@ -121,7 +130,10 @@ export default { obj[item.field] = item.note1 } }) - this.data.push(obj) + if (!sfFlag) { + this.data.push(obj) + } + // this.data.push(obj) this.$emit('changeInfoList', { attrType: title, attrValue: JSON.stringify(this.data), diff --git a/front/src/views/personalCenter/components/addApplication.vue b/front/src/views/personalCenter/components/addApplication.vue index 581d5c5b..b334b1bd 100644 --- a/front/src/views/personalCenter/components/addApplication.vue +++ b/front/src/views/personalCenter/components/addApplication.vue @@ -9,38 +9,83 @@
申请人信息
- +
- - + + - - + + - - + +
需求信息
- - + + - - + + 基础设施 数据资源 组件服务 @@ -49,14 +94,35 @@ - + + + + + + " + v-model:value="formName.demandDetails" + /> - - - + + + " + > 文件上传 @@ -93,7 +172,8 @@ - + " + type="primary" + html-type="cancle" + @click="signOut" + > 退出申请 - + " + type="primary" + html-type="submit" + @click="processStartHandle()" + > 提交申请 @@ -129,7 +218,7 @@

您已成功申请{{ - formName.demandSubject || '' + formName.demandSubject || '' }},请耐心等待审批结果,结果会第一时间通知您!

@@ -140,219 +229,236 @@