diff --git a/api/company.js b/api/company.js index 8791c34..a1f397c 100644 --- a/api/company.js +++ b/api/company.js @@ -44,4 +44,20 @@ export const accountMonthList = (data) => oahttp.get('/account_log/company_year_ /** * 人员详情 */ -export const accountDateList = (data) => oahttp.get('/account_log/company_lists', data) \ No newline at end of file +export const accountDateList = (data) => oahttp.get('/account_log/company_lists', data) + +/** + * 发起合同 + */ +export const initiateContract = (data) => oahttp.post('/company/initiate_contract', data) + +/** + * 生成合同 + */ +export const Draftingcontracts = (data) => oahttp.post('/company/Draftingcontracts', data) + +/** + * 发送短信 + */ +export const postsms = (data) => oahttp.post('/company/postsms', data) + diff --git a/components/company/company.vue b/components/company/company.vue index c4594e0..d959022 100644 --- a/components/company/company.vue +++ b/components/company/company.vue @@ -25,7 +25,7 @@ - + 电子合同 diff --git a/subpkg/companySign/companySign.vue b/subpkg/companySign/companySign.vue index f6e6010..b6d2fff 100644 --- a/subpkg/companySign/companySign.vue +++ b/subpkg/companySign/companySign.vue @@ -1,33 +1,265 @@ + .card { + padding-top: 0; + margin: 28rpx; + padding: 28rpx; + background-color: #fff; + border-radius: 14rpx; + + .contract_box { + display: flex; + justify-content: space-between; + + .left { + display: flex; + + .contract_img { + width: 102rpx; + height: 102rpx; + background: #F5F5F5; + border-radius: 14rpx 14rpx 14rpx 14rpx; + margin-right: 21rpx; + } + + .text { + display: flex; + flex-direction: column; + justify-content: space-between; + + .name { + font-size: 32rpx; + ; + font-weight: 500; + color: rgba(0, 0, 0, 0.8); + line-height: 35rpx; + } + + .nickname { + margin-right: 35rpx; + } + + text { + height: 39rpx; + font-size: 28rpx; + font-weight: 400; + color: #666666; + line-height: 35rpx; + } + } + } + + .right { + font-size: 28rpx; + font-weight: 500; + color: #3274F9; + line-height: 35rpx; + display: flex; + justify-content: center; + align-items: center; + + .icon { + width: 35rpx; + height: 39rpx; + background-color: #3274F9; + opacity: 1; + margin-right: 10rpx + } + } + + } + + .send { + padding-top: 28rpx; + } + + .send_btn { + width: 100%; + height: 84rpx; + background: $theme-oa-color; + border-radius: 42rpx 42rpx 42rpx 42rpx; + color: #fff; + line-height: 80rpx; + text-align: center; + } + + .tips_center { + background-color: #666; + color: #eee; + } + } + + .btn { + margin: 0 auto; + margin-top: 32rpx; + // margin-bottom: 40rpx; + width: 694rpx; + height: 84rpx; + background: $theme-oa-color; + border-radius: 42rpx 42rpx 42rpx 42rpx; + color: #fff; + line-height: 80rpx; + text-align: center; + } + + .tips_center { + background-color: #666; + color: #eee; + } + } + \ No newline at end of file