kun 19/10/16 18:12
This commit is contained in:
@@ -2,4 +2,4 @@
|
|||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
|
|
||||||
# base api
|
# base api
|
||||||
VUE_APP_BASE_API = 'http://chaoyang.yulongcode.com/api/'
|
VUE_APP_BASE_API = 'http://api.cyteam.org.cn/'
|
||||||
@@ -26,126 +26,6 @@
|
|||||||
<span v-if="index === 0" class="span1">注:组织名称将用于用户登录</span>
|
<span v-if="index === 0" class="span1">注:组织名称将用于用户登录</span>
|
||||||
</label>
|
</label>
|
||||||
</template>
|
</template>
|
||||||
<!-- 请输入密码 -->
|
|
||||||
<!-- <label>
|
|
||||||
<span class="two">
|
|
||||||
<span class="iconfont icon-suo"></span>
|
|
||||||
<span class="iconfont icon-vertical_line"></span>
|
|
||||||
</span>
|
|
||||||
<input class="input" type="password" placeholder="请输入密码" v-model="fieldsName.password" />
|
|
||||||
</label>-->
|
|
||||||
<!-- 请再次输入密码 -->
|
|
||||||
<!-- <label>
|
|
||||||
<span class="two">
|
|
||||||
<span class="iconfont icon-suo"></span>
|
|
||||||
<span class="iconfont icon-vertical_line"></span>
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
class="input"
|
|
||||||
type="password"
|
|
||||||
placeholder="请再次输入密码"
|
|
||||||
v-model="fieldsName.confirm_password"
|
|
||||||
/>
|
|
||||||
</label>-->
|
|
||||||
<!-- 请输入统一社会信用代码 -->
|
|
||||||
<!-- <label>
|
|
||||||
<span class="two">
|
|
||||||
<img :src="imgUrl.yy" alt style="width:20px;height:20px;margin-top:0px;" />
|
|
||||||
<span class="iconfont icon-vertical_line"></span>
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
class="input"
|
|
||||||
type="password"
|
|
||||||
placeholder="请输入统一社会信用代码"
|
|
||||||
v-model="fieldsName.credit_code"
|
|
||||||
/>
|
|
||||||
</label>-->
|
|
||||||
<!-- 请输入法人代表 -->
|
|
||||||
<!-- <label>
|
|
||||||
<span class="two">
|
|
||||||
<span class="iconfont icon-fuzeren"></span>
|
|
||||||
<span class="iconfont icon-vertical_line"></span>
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
class="input"
|
|
||||||
type="text"
|
|
||||||
placeholder="请输入法人代表"
|
|
||||||
v-model="fieldsName.legal_representative"
|
|
||||||
/>
|
|
||||||
</label>-->
|
|
||||||
<!-- 请输入单位属性 -->
|
|
||||||
<!-- <label>
|
|
||||||
<span class="two">
|
|
||||||
<span class="iconfont icon-icon-test"></span>
|
|
||||||
<span class="iconfont icon-vertical_line"></span>
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
class="input"
|
|
||||||
type="text"
|
|
||||||
placeholder="请输入单位属性"
|
|
||||||
v-model="fieldsName.unit_attribute"
|
|
||||||
/>
|
|
||||||
</label>-->
|
|
||||||
<!-- 请输入业务主管单位名称 -->
|
|
||||||
<!-- <label>
|
|
||||||
<span class="two">
|
|
||||||
<span class="iconfont icon-zhuzhuangtu"></span>
|
|
||||||
<span class="iconfont icon-vertical_line"></span>
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
class="input"
|
|
||||||
type="text"
|
|
||||||
placeholder="请输入业务主管单位名称"
|
|
||||||
v-model="fieldsName.entity_name"
|
|
||||||
/>
|
|
||||||
</label>-->
|
|
||||||
<!-- 请输入负责人姓名 -->
|
|
||||||
<!-- <label>
|
|
||||||
<span class="two">
|
|
||||||
<span class="iconfont icon-renxiang-"></span>
|
|
||||||
<span class="iconfont icon-vertical_line"></span>
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
class="input"
|
|
||||||
type="text"
|
|
||||||
placeholder="请输入负责人姓名"
|
|
||||||
v-model="fieldsName.charge_name"
|
|
||||||
/>
|
|
||||||
</label>-->
|
|
||||||
<!-- 请输入负责人职务 -->
|
|
||||||
<!-- <label>
|
|
||||||
<span class="two">
|
|
||||||
<span class="iconfont icon-lingdai"></span>
|
|
||||||
<span class="iconfont icon-vertical_line"></span>
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
class="input"
|
|
||||||
type="text"
|
|
||||||
placeholder="请输入负责人职务"
|
|
||||||
v-model="fieldsName.charge_position"
|
|
||||||
/>
|
|
||||||
</label>-->
|
|
||||||
<!-- 请输入负责人电话 -->
|
|
||||||
<!-- <label>
|
|
||||||
<span class="two">
|
|
||||||
<span class="iconfont icon-dianhua"></span>
|
|
||||||
<span class="iconfont icon-vertical_line"></span>
|
|
||||||
</span>
|
|
||||||
<input
|
|
||||||
class="input"
|
|
||||||
type="tel"
|
|
||||||
placeholder="请输入负责人电话"
|
|
||||||
v-model="fieldsName.charge_phone"
|
|
||||||
/>
|
|
||||||
</label>-->
|
|
||||||
<!-- 管理平台协 -->
|
|
||||||
<!-- <label class="label">
|
|
||||||
<input class="checkout" type="checkbox" v-model="agre" />
|
|
||||||
<span class="span2">
|
|
||||||
我已阅读并接受
|
|
||||||
<span class="span3">《管理平台协议》</span>
|
|
||||||
</span>
|
|
||||||
</label>-->
|
|
||||||
<label class="s" @click="submit()">
|
<label class="s" @click="submit()">
|
||||||
<input type="submit" class="sub" value="立即注册" />
|
<input type="submit" class="sub" value="立即注册" />
|
||||||
</label>
|
</label>
|
||||||
@@ -189,7 +69,6 @@ export default {
|
|||||||
object: _this.obj
|
object: _this.obj
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res)
|
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
alert(res.data.data.msg)
|
alert(res.data.data.msg)
|
||||||
_this.$router.push({
|
_this.$router.push({
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<header-nav :index_num="index_num"></header-nav>
|
<header-nav :index_num="index_num"></header-nav>
|
||||||
<div id="box">
|
<div id="box">
|
||||||
<template v-if="bgData.info.length > 0">
|
<template v-if="cd > 0">
|
||||||
<div id="news" v-for="(info,index) in bgData.info" :key="index" @click="$jParams('newsDetails',{id:info.id,type:getType})">
|
<div id="news" v-for="(info,index) in bgData.info" :key="index" @click="$jParams('newsDetails',{id:info.id,type:getType})">
|
||||||
<div class="news-box">
|
<div class="news-box">
|
||||||
<img :src="info.cover ? info.cover : moren" />
|
<img :src="info.cover ? info.cover : moren" />
|
||||||
@@ -60,7 +60,8 @@ export default {
|
|||||||
currentPage: 1,/** 当前页数 */
|
currentPage: 1,/** 当前页数 */
|
||||||
totalCount: 1,/** 总页数 */
|
totalCount: 1,/** 总页数 */
|
||||||
bgData: [],
|
bgData: [],
|
||||||
getType: null
|
getType: null,
|
||||||
|
cd:Number
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
@@ -78,6 +79,7 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.data.data.code === 200) {
|
if (res.data.data.code === 200) {
|
||||||
_this.bgData = res.data.data.data
|
_this.bgData = res.data.data.data
|
||||||
|
_this.cd = _this.bgData.info.length
|
||||||
_this.totalCount = _this.bgData.allPage
|
_this.totalCount = _this.bgData.allPage
|
||||||
} else {
|
} else {
|
||||||
_this.$message.error('请求数据有问题!')
|
_this.$message.error('请求数据有问题!')
|
||||||
|
|||||||
@@ -404,7 +404,6 @@ export default {
|
|||||||
_this.is_value = true
|
_this.is_value = true
|
||||||
}
|
}
|
||||||
_this.bgData = res.data.data
|
_this.bgData = res.data.data
|
||||||
console.log(_this.bgData)
|
|
||||||
} else {
|
} else {
|
||||||
_this.$message.error('请求数据有问题!')
|
_this.$message.error('请求数据有问题!')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,7 +66,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.data.data.code === 200) {
|
if (res.data.data.code === 200) {
|
||||||
console.log(res.data.data)
|
|
||||||
} else {
|
} else {
|
||||||
_this.$message.error('请求数据有问题!')
|
_this.$message.error('请求数据有问题!')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -98,7 +98,7 @@
|
|||||||
class="list"
|
class="list"
|
||||||
v-for="(item,index) in bgData.info"
|
v-for="(item,index) in bgData.info"
|
||||||
:key="index"
|
:key="index"
|
||||||
@click="$jump('schedule')"
|
@click="$jParams('schedule',{id:item.id})"
|
||||||
>
|
>
|
||||||
<div class="div">
|
<div class="div">
|
||||||
<div class="bb">
|
<div class="bb">
|
||||||
|
|||||||
@@ -268,8 +268,6 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
_this.bgValue = res.data.data
|
_this.bgValue = res.data.data
|
||||||
|
|
||||||
console.log(_this.bgValue)
|
|
||||||
_this.cd = _this.bgValue.announcement.length
|
_this.cd = _this.bgValue.announcement.length
|
||||||
} else {
|
} else {
|
||||||
_this.$message.error('请求数据有问题!')
|
_this.$message.error('请求数据有问题!')
|
||||||
|
|||||||
@@ -283,7 +283,6 @@ export default {
|
|||||||
if (res.data.data.code === 200) {
|
if (res.data.data.code === 200) {
|
||||||
_this.zData = res.data.data.data.ProjectDetails
|
_this.zData = res.data.data.data.ProjectDetails
|
||||||
_this.zDate = res.data.data.data.ProjectReview
|
_this.zDate = res.data.data.data.ProjectReview
|
||||||
console.log(res.data.data.data)
|
|
||||||
} else {
|
} else {
|
||||||
alert('请求失败!')
|
alert('请求失败!')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ module.exports = {
|
|||||||
hotOnly: false,
|
hotOnly: false,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/url/': {
|
'/url/': {
|
||||||
target: 'http://chaoyang.yulongcode.com/api/',
|
target: 'http://api.cyteam.org.cn/',
|
||||||
ws: false,
|
ws: false,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|||||||
Reference in New Issue
Block a user