diff --git a/apis/construct/construct.js b/apis/construct/construct.js index 8dd758f..1aecca5 100644 --- a/apis/construct/construct.js +++ b/apis/construct/construct.js @@ -20,5 +20,13 @@ export default{ //党的建设删除 deleteCon(data){ return request.delete(`/SubDev/basepartybuilding/${data}`,data) - } + }, + // 企业信息表单上传 + postCompanyInfo(data){ + return request.post('/SubDev/baseenterprisemanager',data) + }, + // 企业信息修改 + updateInfo(data){ + return request.put(`/SubDev/baseenterprisemanager/${data}`,data) + }, } \ No newline at end of file diff --git a/pages.json b/pages.json index 2d894ef..036ffe5 100644 --- a/pages.json +++ b/pages.json @@ -389,6 +389,30 @@ "navigationBarTitleText" : "人才信息", "enablePullDownRefresh" : false } + }, + { + "path" : "pages/postCompany/postCompany", + "style" : + { + "navigationBarTitleText" : "企业信息表单采集", + "enablePullDownRefresh" : false + } + }, + { + "path" : "pages/my/myCom/myCom", + "style" : + { + "navigationBarTitleText" : "发布企业列表", + "enablePullDownRefresh" : false + } + }, + { + "path" : "pages/my/myComdetail/myComdetail", + "style" : + { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false + } } // { diff --git a/pages/datain/datain.vue b/pages/datain/datain.vue index 66d2c59..9ca9285 100644 --- a/pages/datain/datain.vue +++ b/pages/datain/datain.vue @@ -4,8 +4,8 @@ - - + + 表单设计 @@ -15,6 +15,18 @@ + + + + 企业信息采集 + + + + + + + + @@ -96,6 +108,12 @@ url: '/pages/data/data' }) }, + // 去企业信息表单采集 + toPostCom(){ + uni.navigateTo({ + url:'/pages/postCompany/postCompany' + }) + }, // 去表单填写页面 toForm(item){ // uni.navigateTo({ @@ -107,7 +125,7 @@ this.$u.toast("暂无此页面") } }) - } + }, } } diff --git a/pages/my/my.vue b/pages/my/my.vue index f0e3685..75f912f 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -7,7 +7,7 @@ - + + + + + {{com}} + + + 企业 + + @@ -160,6 +169,21 @@ + + {{it.creatorTime}} + + + + + + + + + + + + + diff --git a/pages/my/myComdetail/myComdetail.vue b/pages/my/myComdetail/myComdetail.vue new file mode 100644 index 0000000..31e01b9 --- /dev/null +++ b/pages/my/myComdetail/myComdetail.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/pages/postCompany/Feedback.scss b/pages/postCompany/Feedback.scss new file mode 100644 index 0000000..8c4297d --- /dev/null +++ b/pages/postCompany/Feedback.scss @@ -0,0 +1,187 @@ +.page{ + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + background-color: #f6f6f6; +} +.titleall-box { + display: flex; + justify-content: space-between; + padding: 40rpx 20rpx 20rpx 0; + .titleall-left { + font-size: 32rpx; + font-weight: bold; + display: flex; + align-items: center; + .titleall-left-line { + width: 14rpx; + height: 36rpx; + border-radius: 0 10rpx 10rpx 0; + background-color: #E60012; + box-shadow: 0 0 10rpx 5rpx #fbdadc; + margin-right: 20rpx; + } + text { + font-size: 28rpx; + color: #999999; + } + } +} +/* 反馈类型 */ +.feedback-type{ + position: relative; + display: flex; + align-items: center; + justify-content: space-between; + width: 94%; + height: 100rpx; + margin: 20rpx auto; + background-color: #FFFFFF; + border-radius: 20rpx; + padding: 0 4%; + .feedback-type-left { + color: #909090; + } + .title{ + display: flex; + align-items: center; + text{ + font-size: 26rpx; + } + } + .picker{ + position: absolute; + width: 100%; + height: 100%; + opacity: 0; + } + .more{ + display: flex; + align-items: center; + text{ + color: #000; + font-size: 34rpx; + } + image { + width: 20rpx; + height: 20rpx; + margin-left: 10rpx; + } + } + .feedback-type-right { + display: flex; + align-items: center; + } +} +.example-body { + padding: 10px; + padding-top: 0; + } + + .custom-image-box { + /* #ifndef APP-NVUE */ + display: flex; + /* #endif */ + flex-direction: row; + justify-content: space-between; + align-items: center; + } + + .text { + font-size: 14px; + color: #333; + } +.segmented-control { + margin-bottom: 15px; + } + + .button-group { + margin-top: 15px; + display: flex; + justify-content: space-around; + } + + .form-item { + display: flex; + align-items: center; + } + + .button { + display: flex; + align-items: center; + height: 35px; + margin-left: 10px; + } +/* 反馈内容 */ +.feedback-data{ + width: 94%; + // height: 600rpx; + margin: 20rpx auto; + background-color: #FFFFFF; + border-radius: 20rpx; + .content{ + padding: 20rpx; + textarea{ + width: 94%; + height: 320rpx; + background-color: #f6f6f6; + border-radius: 20rpx; + padding: 20rpx; + font-size: 26rpx; + color: #222222; + } + } + .voucher-img{ + display: flex; + align-items: center; + padding: 0 20rpx; + height: 240rpx; + margin-top: 20rpx; + .list{ + width: 33%; + height: 100%; + image{ + width: 160rpx; + height: 160rpx; + border-radius: 10rpx; + } + } + } +} + +/* 联系方式 */ +.contact-way{ + display: flex; + align-items: center; + justify-content: center; + width: 94%; + height: 100rpx; + margin: 20rpx auto; + background-color: #FFFFFF; + border-radius: 20rpx; + input{ + width: 100%; + height: 100%; + padding: 0 4%; + font-size: 26rpx; + color: #222222; + } +} + +/* 提交 */ +.submit-btn{ + display: flex; + align-items: center; + justify-content: center; + width: 94%; + height: 80rpx; + margin: 30rpx auto; + background: #E60012; + border-radius: 80rpx; + text{ + color: #FFFFFF; + font-size: 28rpx; + } +} \ No newline at end of file diff --git a/pages/postCompany/postCompany.vue b/pages/postCompany/postCompany.vue new file mode 100644 index 0000000..c5af93d --- /dev/null +++ b/pages/postCompany/postCompany.vue @@ -0,0 +1,482 @@ + + + + + \ No newline at end of file