+ 申请人: {{dataForm.content.applyUserName || '--'}} + 电话:{{dataForm.content.applyUserPhone || '--'}} + 单位:{{dataForm.content.applyUserDeptName || '--'}} +
++ 应用领域:{{dataForm.content.detailsField || '--'}} + 需求类型: {{dataForm.content.detailsType || '--'}} + 需求标题: {{dataForm.content.demandSubject || '--'}} +
++ 需求描述: {{dataForm.content.demandDetails|| '--'}} +
++ 申请附件: {{dataForm.content.enclosure|| '--'}} + +
+{{item.describe}}
+
{{ item.comment }}
@@ -250,6 +249,7 @@
demandComment,
demandCommentPage,
demandCommentDelete,
+ demandCommentApply,
} from '@/api/demandCenter'
import { getUser, getUserInfo } from '@/api/home'
import { getDemandForm } from '@/api/personalCenter'
@@ -293,10 +293,17 @@
createDeptName: user.applyUserDeptName,
comment: myComment.value,
name: user.applyUserName,
- }).then(() => {
- message.success('提交评价成功!')
- myComment.value = ''
- evaluateList()
+ }).then((res) => {
+ console.log(res)
+ if (res.data.code == '0') {
+ demandCommentApply({ id: res.data.data.id }).then((res1) => {
+ if (res1.data.code == '0') {
+ message.success('提交评价成功!')
+ myComment.value = ''
+ evaluateList()
+ }
+ })
+ }
})
}
// const evaluateUpdateStatus = ref(false)
diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue
index 44ebfcd0..6edef0b1 100644
--- a/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue
+++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue
@@ -128,6 +128,7 @@
width: 7.2rem;
color: #fff;
margin-right: 0.8rem;
+ margin-top: -0.3rem;
.top {
display: flex;
align-items: center;
@@ -135,10 +136,11 @@
font-size: 14px;
}
.name {
- // max-width: 330px;
+ display: inline-block;
+ width: 10.2rem;
// overflow: hidden;
// text-overflow: ellipsis;
- white-space: nowrap;
+ // white-space: nowrap;
font-size: 40px;
margin-right: 20px;
}
diff --git a/front/src/views/home/AbilityToApplyFor.vue b/front/src/views/home/AbilityToApplyFor.vue
new file mode 100644
index 00000000..8f2e607b
--- /dev/null
+++ b/front/src/views/home/AbilityToApplyFor.vue
@@ -0,0 +1,125 @@
+
+