![]()
@@ -60,7 +60,8 @@ export default {
currentPage: 1,/** 当前页数 */
totalCount: 1,/** 总页数 */
bgData: [],
- getType: null
+ getType: null,
+ cd:Number
};
},
computed: {},
@@ -78,6 +79,7 @@ export default {
}).then(res => {
if (res.data.data.code === 200) {
_this.bgData = res.data.data.data
+ _this.cd = _this.bgData.info.length
_this.totalCount = _this.bgData.allPage
} else {
_this.$message.error('请求数据有问题!')
diff --git a/src/views/personal/Apply.vue b/src/views/personal/Apply.vue
index 556bd46..8d70654 100644
--- a/src/views/personal/Apply.vue
+++ b/src/views/personal/Apply.vue
@@ -404,7 +404,6 @@ export default {
_this.is_value = true
}
_this.bgData = res.data.data
- console.log(_this.bgData)
} else {
_this.$message.error('请求数据有问题!')
}
diff --git a/src/views/personal/Collection.vue b/src/views/personal/Collection.vue
index d46dd5d..c3c6872 100644
--- a/src/views/personal/Collection.vue
+++ b/src/views/personal/Collection.vue
@@ -66,7 +66,6 @@ export default {
}
}).then(res => {
if (res.data.data.code === 200) {
- console.log(res.data.data)
} else {
_this.$message.error('请求数据有问题!')
}
diff --git a/src/views/personal/Declare.vue b/src/views/personal/Declare.vue
index 2bd8285..37713a9 100644
--- a/src/views/personal/Declare.vue
+++ b/src/views/personal/Declare.vue
@@ -98,7 +98,7 @@
class="list"
v-for="(item,index) in bgData.info"
:key="index"
- @click="$jump('schedule')"
+ @click="$jParams('schedule',{id:item.id})"
>
diff --git a/src/views/project/Project.vue b/src/views/project/Project.vue
index fbb55da..c9206d5 100644
--- a/src/views/project/Project.vue
+++ b/src/views/project/Project.vue
@@ -268,8 +268,6 @@ export default {
}).then(res => {
if (res.data.code === 200) {
_this.bgValue = res.data.data
-
- console.log(_this.bgValue)
_this.cd = _this.bgValue.announcement.length
} else {
_this.$message.error('请求数据有问题!')
diff --git a/src/views/project/Schedule.vue b/src/views/project/Schedule.vue
index 00eec03..c00447d 100644
--- a/src/views/project/Schedule.vue
+++ b/src/views/project/Schedule.vue
@@ -283,7 +283,6 @@ export default {
if (res.data.data.code === 200) {
_this.zData = res.data.data.data.ProjectDetails
_this.zDate = res.data.data.data.ProjectReview
- console.log(res.data.data.data)
} else {
alert('请求失败!')
}
diff --git a/vue.config.js b/vue.config.js
index d63911b..18a4bcb 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -12,7 +12,7 @@ module.exports = {
hotOnly: false,
proxy: {
'/url/': {
- target: 'http://chaoyang.yulongcode.com/api/',
+ target: 'http://api.cyteam.org.cn/',
ws: false,
changeOrigin: true,
pathRewrite: {