更新
This commit is contained in:
parent
e50d7ed0e7
commit
d89aca52ac
9
App.vue
9
App.vue
@ -2,6 +2,15 @@
|
|||||||
export default {
|
export default {
|
||||||
onLaunch: function() {
|
onLaunch: function() {
|
||||||
console.log('App Launch')
|
console.log('App Launch')
|
||||||
|
try{
|
||||||
|
if(!this.$store.state.app.token)uni.redirectTo({
|
||||||
|
url: '/pages/oaLogin/oaLogin'
|
||||||
|
})
|
||||||
|
}catch(e){
|
||||||
|
uni.redirectTo({
|
||||||
|
url: '/pages/oaLogin/oaLogin'
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onShow: function() {
|
onShow: function() {
|
||||||
console.log('App Show')
|
console.log('App Show')
|
||||||
|
@ -69,7 +69,8 @@
|
|||||||
<view class="card">
|
<view class="card">
|
||||||
<view class="one">
|
<view class="one">
|
||||||
<view class="linkman">
|
<view class="linkman">
|
||||||
<view style="height: 30rpx;width: 6rpx;background-color: #3175f9;border-radius: 3rpx;margin-right: 8rpx;"></view>
|
<view style="height: 30rpx;width: 6rpx;background-color: #3175f9;border-radius: 3rpx;margin-right: 8rpx;">
|
||||||
|
</view>
|
||||||
主要联系人
|
主要联系人
|
||||||
</view>
|
</view>
|
||||||
<view class="info">
|
<view class="info">
|
||||||
@ -83,7 +84,9 @@
|
|||||||
<view class="one" v-for="(other, index) in company.other_contacts" :key="index">
|
<view class="one" v-for="(other, index) in company.other_contacts" :key="index">
|
||||||
<block v-if="other.name!=''">
|
<block v-if="other.name!=''">
|
||||||
<view class="linkman">
|
<view class="linkman">
|
||||||
<view style="height: 30rpx;width: 6rpx;background-color: #3175f9;border-radius: 3rpx;margin-right: 8rpx;"></view>
|
<view
|
||||||
|
style="height: 30rpx;width: 6rpx;background-color: #3175f9;border-radius: 3rpx;margin-right: 8rpx;">
|
||||||
|
</view>
|
||||||
其他联系人
|
其他联系人
|
||||||
</view>
|
</view>
|
||||||
<view class="info">
|
<view class="info">
|
||||||
@ -104,25 +107,27 @@
|
|||||||
<view class="title">资质信息</view>
|
<view class="title">资质信息</view>
|
||||||
<view class="image_box" style="background-color: #fff;border-radius: 7px 7px 7px 7px;">
|
<view class="image_box" style="background-color: #fff;border-radius: 7px 7px 7px 7px;">
|
||||||
<u--image class="image" @click="priview(company.qualification.business_license)"
|
<u--image class="image" @click="priview(company.qualification.business_license)"
|
||||||
:src="company.qualification.business_license" v-if="company.qualification.business_license" :lazy-load="true">
|
:src="company.qualification.business_license" v-if="company.qualification.business_license"
|
||||||
<template v-slot:loading>
|
:lazy-load="true">
|
||||||
<u-loading-icon color="#333"></u-loading-icon>
|
<template v-slot:loading>
|
||||||
</template>
|
<u-loading-icon color="#333"></u-loading-icon>
|
||||||
|
</template>
|
||||||
</u--image>
|
</u--image>
|
||||||
<u--image class="image" @click="priview(company.qualification.business_licenseB)"
|
<u--image class="image" @click="priview(company.qualification.business_licenseB)"
|
||||||
:src="company.qualification.business_licenseB" v-if="company.qualification.business_licenseB" :lazy-load="true">
|
:src="company.qualification.business_licenseB" v-if="company.qualification.business_licenseB"
|
||||||
|
:lazy-load="true">
|
||||||
<template v-slot:loading>
|
<template v-slot:loading>
|
||||||
<u-loading-icon color="#333"></u-loading-icon>
|
<u-loading-icon color="#333"></u-loading-icon>
|
||||||
</template>
|
</template>
|
||||||
</u--image>
|
</u--image>
|
||||||
<u--image class="image" @click="priview(company.qualification.bank_account)"
|
<u--image class="image" v-for="item in company.qualification.bank_account" :key="item" @click="priview(item)"
|
||||||
:src="company.qualification.bank_account" v-if="company.qualification.bank_account" :lazy-load="true">
|
:src="item" v-if="company.qualification.bank_account" :lazy-load="true">
|
||||||
<template v-slot:loading>
|
<template v-slot:loading>
|
||||||
<u-loading-icon color="#333"></u-loading-icon>
|
<u-loading-icon color="#333"></u-loading-icon>
|
||||||
</template>
|
</template>
|
||||||
</u--image>
|
</u--image>
|
||||||
<u--image class="image" @click="priview(company.qualification.bank_accountB)"
|
<u--image class="image" v-for="item in company.qualification.bank_accountB" :key="item" @click="priview(item)"
|
||||||
:src="company.qualification.bank_accountB" v-if="company.qualification.bank_accountB" :lazy-load="true">
|
:src="item" v-if="company.qualification.bank_accountB" :lazy-load="true">
|
||||||
<template v-slot:loading>
|
<template v-slot:loading>
|
||||||
<u-loading-icon color="#333"></u-loading-icon>
|
<u-loading-icon color="#333"></u-loading-icon>
|
||||||
</template>
|
</template>
|
||||||
@ -189,6 +194,13 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
this.company = res.data.company;
|
this.company = res.data.company;
|
||||||
|
try{
|
||||||
|
if(Array.isArray(JSON.parse(this.company.qualification.bank_account))){
|
||||||
|
this.company.qualification.bank_account = JSON.parse(this.company.qualification.bank_account)
|
||||||
|
}
|
||||||
|
}catch(e){
|
||||||
|
|
||||||
|
}
|
||||||
uni.$emit('companyInfo', this.company); //发送全局事件
|
uni.$emit('companyInfo', this.company); //发送全局事件
|
||||||
this.user = res.data.user;
|
this.user = res.data.user;
|
||||||
this.contract = res.data.contract;
|
this.contract = res.data.contract;
|
||||||
@ -223,11 +235,11 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
copyPhone(str="", type="号码"){
|
copyPhone(str = "", type = "号码") {
|
||||||
if(str) uni.setClipboardData({
|
if (str) uni.setClipboardData({
|
||||||
data:str+"",
|
data: str + "",
|
||||||
success: (e) => {
|
success: (e) => {
|
||||||
Toast(type+'已复制')
|
Toast(type + '已复制')
|
||||||
},
|
},
|
||||||
fail: (e) => {
|
fail: (e) => {
|
||||||
Toast('复制失败')
|
Toast('复制失败')
|
||||||
@ -309,14 +321,15 @@
|
|||||||
color: #666666FF;
|
color: #666666FF;
|
||||||
margin-top: 32rpx;
|
margin-top: 32rpx;
|
||||||
|
|
||||||
.left{
|
.left {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.location {
|
.location {
|
||||||
margin-left: 8rpx;
|
margin-left: 8rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.one {
|
.one {
|
||||||
@ -411,7 +424,8 @@
|
|||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-bottom: 28rpx;
|
margin-bottom: 28rpx;
|
||||||
image{
|
|
||||||
|
image {
|
||||||
width: 650rpx;
|
width: 650rpx;
|
||||||
height: 455rpx;
|
height: 455rpx;
|
||||||
background-color: #7f7f7f;
|
background-color: #7f7f7f;
|
||||||
|
889
pages.json
889
pages.json
@ -1,483 +1,484 @@
|
|||||||
{
|
{
|
||||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||||
{
|
|
||||||
"path": "pages/oaLogin/oaLogin",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "登录",
|
|
||||||
"app-plus": {
|
|
||||||
"titleNView": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
{
|
||||||
{
|
"path": "pages/oaHome/oaHome",
|
||||||
"path": "pages/oaHome/oaHome",
|
"style": {
|
||||||
"style": {
|
"navigationBarTitleText": "首页",
|
||||||
"navigationBarTitleText": "首页",
|
"enablePullDownRefresh": true,
|
||||||
"enablePullDownRefresh": true,
|
"app-plus": {
|
||||||
"app-plus": {
|
"titleNView": false
|
||||||
"titleNView": false
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
},
|
{
|
||||||
{
|
"path": "pages/oaLogin/oaLogin",
|
||||||
"path": "pages/business/business",
|
"style": {
|
||||||
"style": {
|
"navigationBarTitleText": "登录",
|
||||||
"navigationBarTitleText": "商机信息",
|
"app-plus": {
|
||||||
"enablePullDownRefresh": false,
|
"titleNView": false
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
}
|
||||||
"navigationBarTextStyle": "white"
|
}
|
||||||
}
|
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/business/business",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "uni-app",
|
"navigationBarTitleText": "商机信息",
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
}
|
"navigationBarTextStyle": "white"
|
||||||
},
|
}
|
||||||
{
|
|
||||||
"path": "pages/oaExamine/oaExamine",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "审批",
|
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
|
||||||
"navigationBarTextStyle": "white"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/oaTask/oaTask",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "今日任务",
|
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
|
||||||
"navigationBarTextStyle": "white"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/oaMy/oaMy",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "我的",
|
|
||||||
"app-plus": {
|
|
||||||
"titleNView": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "pages/oaManager/oaManager",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "片区经理",
|
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
|
||||||
"navigationBarTextStyle": "white"
|
|
||||||
}
|
|
||||||
|
|
||||||
}, {
|
},
|
||||||
"path": "pages/oaNews/oaNews",
|
{
|
||||||
"style": {
|
"path": "pages/index/index",
|
||||||
"navigationBarTitleText": "公告详情",
|
"style": {
|
||||||
"enablePullDownRefresh": false,
|
"navigationBarTitleText": "uni-app",
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/oaExamine/oaExamine",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "审批",
|
||||||
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
|
"navigationBarTextStyle": "white"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/oaTask/oaTask",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "今日任务",
|
||||||
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
|
"navigationBarTextStyle": "white"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/oaMy/oaMy",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "我的",
|
||||||
|
"app-plus": {
|
||||||
|
"titleNView": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "pages/oaManager/oaManager",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "片区经理",
|
||||||
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
|
"navigationBarTextStyle": "white"
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}, {
|
||||||
],
|
"path": "pages/oaNews/oaNews",
|
||||||
"subPackages": [{
|
"style": {
|
||||||
"root": "pages/views",
|
"navigationBarTitleText": "公告详情",
|
||||||
"name": "views",
|
"enablePullDownRefresh": false,
|
||||||
"pages": [{
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"path": "application",
|
"navigationBarTextStyle": "white"
|
||||||
"style": {
|
}
|
||||||
"navigationBarTitleText": "地图首页",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "new_task",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "新建任务",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "com_approve",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "通用审批",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "personal_center",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "个人中心1",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
|
|
||||||
}, {
|
}
|
||||||
"path": "task_details",
|
],
|
||||||
"style": {
|
"subPackages": [{
|
||||||
"navigationBarTitleText": "",
|
"root": "pages/views",
|
||||||
"enablePullDownRefresh": false
|
"name": "views",
|
||||||
}
|
"pages": [{
|
||||||
|
"path": "application",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "地图首页",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "new_task",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "新建任务",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "com_approve",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "通用审批",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "personal_center",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "个人中心1",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "personal_center_two",
|
"path": "task_details",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "个人中心2",
|
"navigationBarTitleText": "",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "public_document",
|
"path": "personal_center_two",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "公司公示文档",
|
"navigationBarTitleText": "个人中心2",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
}
|
||||||
"navigationBarTextStyle": "white"
|
|
||||||
}
|
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "leave_request",
|
"path": "public_document",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "请假申请",
|
"navigationBarTitleText": "公司公示文档",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}, {
|
||||||
]
|
"path": "leave_request",
|
||||||
}, {
|
"style": {
|
||||||
"root": "subpkg",
|
"navigationBarTitleText": "请假申请",
|
||||||
"name": "subpkg",
|
"enablePullDownRefresh": false,
|
||||||
"pages": [{
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"path": "personnel/personnel",
|
"navigationBarTextStyle": "white"
|
||||||
"style": {
|
}
|
||||||
"navigationBarTitleText": "人员管理",
|
|
||||||
"enablePullDownRefresh": true,
|
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
|
||||||
"navigationBarTextStyle": "white"
|
|
||||||
}
|
|
||||||
|
|
||||||
}, {
|
}
|
||||||
"path": "finance/finance",
|
]
|
||||||
"style": {
|
}, {
|
||||||
"navigationBarTitleText": "财务管理",
|
"root": "subpkg",
|
||||||
"enablePullDownRefresh": false,
|
"name": "subpkg",
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"pages": [{
|
||||||
"navigationBarTextStyle": "white"
|
"path": "personnel/personnel",
|
||||||
}
|
"style": {
|
||||||
|
"navigationBarTitleText": "人员管理",
|
||||||
|
"enablePullDownRefresh": true,
|
||||||
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
|
"navigationBarTextStyle": "white"
|
||||||
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "topUp/topUp",
|
"path": "finance/finance",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "账户充值",
|
"navigationBarTitleText": "财务管理",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white",
|
"navigationBarTextStyle": "white"
|
||||||
"app-plus": {
|
}
|
||||||
"titleNView": {
|
|
||||||
"buttons": [{
|
|
||||||
"color": "#fff",
|
|
||||||
"text": "充值记录",
|
|
||||||
"fontSize": "15",
|
|
||||||
"width": "90"
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "contract/contract",
|
"path": "topUp/topUp",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "合同管理",
|
"navigationBarTitleText": "账户充值",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white",
|
||||||
}
|
"app-plus": {
|
||||||
|
"titleNView": {
|
||||||
|
"buttons": [{
|
||||||
|
"color": "#fff",
|
||||||
|
"text": "充值记录",
|
||||||
|
"fontSize": "15",
|
||||||
|
"width": "90"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "contractDetail/contractDetail",
|
"path": "contract/contract",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "合同详情",
|
"navigationBarTitleText": "合同管理",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "pdfView/pdfView",
|
"path": "contractDetail/contractDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "合同内容",
|
"navigationBarTitleText": "合同详情",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "companyInfo/companyInfo",
|
"path": "pdfView/pdfView",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "公司信息",
|
"navigationBarTitleText": "合同内容",
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "companySign/companySign",
|
"path": "companyInfo/companyInfo",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "签约公司详情",
|
"navigationBarTitleText": "公司信息",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "personnelDetails/personnelDetails",
|
"path": "companySign/companySign",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "人员详细信息",
|
"navigationBarTitleText": "签约公司详情",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "orderDetail/orderDetail",
|
"path": "personnelDetails/personnelDetails",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "流水详情",
|
"navigationBarTitleText": "人员详细信息",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "withdrawDeposit/withdrawDeposit",
|
"path": "orderDetail/orderDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "提现余额",
|
"navigationBarTitleText": "流水详情",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white",
|
"navigationBarTextStyle": "white"
|
||||||
"app-plus": {
|
}
|
||||||
"titleNView": {
|
|
||||||
"buttons": [{
|
|
||||||
"color": "#fff",
|
|
||||||
"text": "提现记录",
|
|
||||||
"fontSize": "15",
|
|
||||||
"width": "90"
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "withdrawList/withdrawList",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "提现记录",
|
|
||||||
"enablePullDownRefresh": false,
|
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
|
||||||
"navigationBarTextStyle": "white"
|
|
||||||
}
|
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "noticeList/noticeList",
|
"path": "withdrawDeposit/withdrawDeposit",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "公告列表",
|
"navigationBarTitleText": "提现余额",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white",
|
||||||
}
|
"app-plus": {
|
||||||
|
"titleNView": {
|
||||||
|
"buttons": [{
|
||||||
|
"color": "#fff",
|
||||||
|
"text": "提现记录",
|
||||||
|
"fontSize": "15",
|
||||||
|
"width": "90"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "withdrawList/withdrawList",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "提现记录",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
|
"navigationBarTextStyle": "white"
|
||||||
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "topUpList/topUpList",
|
"path": "noticeList/noticeList",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "充值记录",
|
"navigationBarTitleText": "公告列表",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "companyAdmin/companyAdmin",
|
"path": "topUpList/topUpList",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "公司管理",
|
"navigationBarTitleText": "充值记录",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "newPersonnel/newPersonnel",
|
"path": "companyAdmin/companyAdmin",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "新增人员",
|
"navigationBarTitleText": "公司管理",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "archives/archives",
|
"path": "newPersonnel/newPersonnel",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "档案管理",
|
"navigationBarTitleText": "新增人员",
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "newArchives/newArchives",
|
"path": "archives/archives",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "信息登记",
|
"navigationBarTitleText": "档案管理",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "updateArchives/updateArchives",
|
"path": "newArchives/newArchives",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "信息更新",
|
"navigationBarTitleText": "信息登记",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "fixedAssets/fixedAssets",
|
"path": "updateArchives/updateArchives",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "固定资产",
|
"navigationBarTitleText": "信息更新",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "taskAdmin/taskAdmin",
|
"path": "fixedAssets/fixedAssets",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "任务管理",
|
"navigationBarTitleText": "固定资产",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "archivesDetail/archivesDetail",
|
"path": "taskAdmin/taskAdmin",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "档案详情",
|
"navigationBarTitleText": "任务管理",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "captain/captain",
|
"path": "archivesDetail/archivesDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "队长列表",
|
"navigationBarTitleText": "档案详情",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "companyFinance/companyFinance",
|
"path": "captain/captain",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "公司财务",
|
"navigationBarTitleText": "队长列表",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "companyUnsign/companyUnsign",
|
"path": "companyFinance/companyFinance",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "未签约公司列表",
|
"navigationBarTitleText": "公司财务",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "submit/submit",
|
"path": "companyUnsign/companyUnsign",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "提交审核",
|
"navigationBarTitleText": "未签约公司列表",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "dispatching/dispatching",
|
"path": "submit/submit",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "任务:宣传配送",
|
"navigationBarTitleText": "提交审核",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "blockTransaction/blockTransaction",
|
"path": "dispatching/dispatching",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "任务:片区交易",
|
"navigationBarTitleText": "任务:宣传配送",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "fileTask/fileTask",
|
"path": "blockTransaction/blockTransaction",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "任务:档案更新",
|
"navigationBarTitleText": "任务:片区交易",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#3175f9",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
}]
|
}, {
|
||||||
}],
|
"path": "fileTask/fileTask",
|
||||||
"globalStyle": {
|
"style": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTitleText": "任务:档案更新",
|
||||||
"navigationBarTitleText": "uni-app",
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#F8F8F8",
|
"navigationBarBackgroundColor": "#3175f9",
|
||||||
"backgroundColor": "#F8F8F8"
|
"navigationBarTextStyle": "white"
|
||||||
},
|
}
|
||||||
"tabBar": {
|
|
||||||
"color": "#282828",
|
}]
|
||||||
"selectedColor": "#3175f9",
|
}],
|
||||||
"borderStyle": "white",
|
"globalStyle": {
|
||||||
"backgroundColor": "#ffffff",
|
"navigationBarTextStyle": "black",
|
||||||
"list": [{
|
"navigationBarTitleText": "uni-app",
|
||||||
"pagePath": "pages/oaHome/oaHome",
|
"navigationBarBackgroundColor": "#F8F8F8",
|
||||||
"text": "首页",
|
"backgroundColor": "#F8F8F8"
|
||||||
"iconPath": "/static/tabs-icon/home.png",
|
},
|
||||||
"selectedIconPath": "/static/tabs-icon/home-a.png"
|
"tabBar": {
|
||||||
},
|
"color": "#282828",
|
||||||
{
|
"selectedColor": "#3175f9",
|
||||||
"pagePath": "pages/oaExamine/oaExamine",
|
"borderStyle": "white",
|
||||||
"text": "审批",
|
"backgroundColor": "#ffffff",
|
||||||
"iconPath": "/static/tabs-icon/Task.png",
|
"list": [{
|
||||||
"selectedIconPath": "/static/tabs-icon/Task-a.png"
|
"pagePath": "pages/oaHome/oaHome",
|
||||||
},
|
"text": "首页",
|
||||||
{
|
"iconPath": "/static/tabs-icon/home.png",
|
||||||
"pagePath": "pages/oaTask/oaTask",
|
"selectedIconPath": "/static/tabs-icon/home-a.png"
|
||||||
"text": "任务",
|
},
|
||||||
"iconPath": "/static/tabs-icon/approval.png",
|
{
|
||||||
"selectedIconPath": "/static/tabs-icon/approval-a.png"
|
"pagePath": "pages/oaExamine/oaExamine",
|
||||||
},
|
"text": "审批",
|
||||||
// {
|
"iconPath": "/static/tabs-icon/Task.png",
|
||||||
// "pagePath": "pages/oaManager/oaManager",
|
"selectedIconPath": "/static/tabs-icon/Task-a.png"
|
||||||
// "text": "片区经理",
|
},
|
||||||
// "iconPath": "/static/tabs-icon/manager.png",
|
{
|
||||||
// "selectedIconPath": "/static/tabs-icon/manager-a.png"
|
"pagePath": "pages/oaTask/oaTask",
|
||||||
// },
|
"text": "任务",
|
||||||
{
|
"iconPath": "/static/tabs-icon/approval.png",
|
||||||
"pagePath": "pages/business/business",
|
"selectedIconPath": "/static/tabs-icon/approval-a.png"
|
||||||
"text": "商机",
|
},
|
||||||
"iconPath": "/static/tabs-icon/manager.png",
|
// {
|
||||||
"selectedIconPath": "/static/tabs-icon/manager-a.png"
|
// "pagePath": "pages/oaManager/oaManager",
|
||||||
},
|
// "text": "片区经理",
|
||||||
{
|
// "iconPath": "/static/tabs-icon/manager.png",
|
||||||
"pagePath": "pages/oaMy/oaMy",
|
// "selectedIconPath": "/static/tabs-icon/manager-a.png"
|
||||||
"text": "我的",
|
// },
|
||||||
"iconPath": "/static/tabs-icon/my.png",
|
{
|
||||||
"selectedIconPath": "/static/tabs-icon/my-a.png"
|
"pagePath": "pages/business/business",
|
||||||
}
|
"text": "商机",
|
||||||
]
|
"iconPath": "/static/tabs-icon/manager.png",
|
||||||
},
|
"selectedIconPath": "/static/tabs-icon/manager-a.png"
|
||||||
"uniIdRouter": {}
|
},
|
||||||
|
{
|
||||||
|
"pagePath": "pages/oaMy/oaMy",
|
||||||
|
"text": "我的",
|
||||||
|
"iconPath": "/static/tabs-icon/my.png",
|
||||||
|
"selectedIconPath": "/static/tabs-icon/my-a.png"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"uniIdRouter": {}
|
||||||
}
|
}
|
@ -337,7 +337,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
// background-color: $theme-oa-color;
|
// background-color: $theme-oa-color;
|
||||||
margin-bottom: 133.33rpx;
|
margin-bottom: 133.33rpx;
|
||||||
background-image: url('../../static/img/home/head-bg.png');
|
background-image: url('../../static/img/home/home_bg.png');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="my">
|
<view class="my">
|
||||||
<view class="head_box">
|
<view class="head_box">
|
||||||
<image class="head_img" src="../../static/img/home/head-bg.png"></image>
|
<!-- <image class="head_img" src="../../static/img/home/head-bg.png"></image> -->
|
||||||
<!-- #ifdef APP-PLUS||H5 -->
|
<!-- #ifdef APP-PLUS||H5 -->
|
||||||
<view style="height: var(--status-bar-height);"></view>
|
<view style="height: var(--status-bar-height);"></view>
|
||||||
<view style="height: 100rpx"></view>
|
<view style="height: 100rpx"></view>
|
||||||
@ -34,10 +34,10 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="$store.state.app.token" class="compile" @click="naviTo()">
|
<!-- <view v-if="$store.state.app.token" class="compile" @click="naviTo()">
|
||||||
<view class="iconfont icon-bianji"></view>
|
<view class="iconfont icon-bianji"></view>
|
||||||
<!-- <view class="">编辑</view> -->
|
<view class="">编辑</view>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="assess">
|
<view class="assess">
|
||||||
<view class="ass_cent flex_a_c_j_sb">
|
<view class="ass_cent flex_a_c_j_sb">
|
||||||
@ -173,15 +173,18 @@
|
|||||||
width: 100vw;
|
width: 100vw;
|
||||||
padding-top: 30rpx;
|
padding-top: 30rpx;
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 30rpx;
|
||||||
|
background-image: url('../../static/img/home/my_bg.png');
|
||||||
|
background-size: 100% 100%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
|
||||||
.head_img {
|
// .head_img {
|
||||||
position: absolute;
|
// position: absolute;
|
||||||
// z-index: -1;
|
// // z-index: -1;
|
||||||
width: 100%;
|
// width: 100%;
|
||||||
height: 100%;
|
// height: 100%;
|
||||||
top: 0;
|
// top: 0;
|
||||||
left: 0;
|
// left: 0;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -208,13 +211,13 @@
|
|||||||
|
|
||||||
.personage {
|
.personage {
|
||||||
// position: relative;
|
// position: relative;
|
||||||
padding: 42.11rpx 0 28.07rpx 0;
|
padding-bottom: 28rpx;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
// background-color: #fff;
|
// background-color: #fff;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
width: 694.74rpx;
|
width: 694rpx;
|
||||||
margin-left: 50%;
|
margin-left: 50%;
|
||||||
transform: translate(-50%, -43.86rpx);
|
transform: translate(-50%, -31.58rpx);
|
||||||
|
|
||||||
.name_work {
|
.name_work {
|
||||||
margin-left: 31.58rpx;
|
margin-left: 31.58rpx;
|
||||||
|
BIN
static/img/home/home_bg.png
Normal file
BIN
static/img/home/home_bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 195 KiB |
BIN
static/img/home/my_bg.png
Normal file
BIN
static/img/home/my_bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 226 KiB |
@ -256,9 +256,11 @@
|
|||||||
.btn {
|
.btn {
|
||||||
font-size: 25rpx;
|
font-size: 25rpx;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
min-width: 80rpx;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="">
|
<view class="">
|
||||||
<company :id="id" type="company"></company>
|
<company :id="id" type="company"></company>
|
||||||
<view class="need_contract" v-if="!company.contract||!company.contract.status">
|
<view class="need_contract" v-if="!company.contract||!company.contract.status||!company.company.is_contract">
|
||||||
<picker v-if="!company.contract" :range="contractTypeList" range-key="name" @change="changeType">
|
<view class="title">电子合同</view>
|
||||||
|
<picker v-if="company.contract&&company.contract.check_status==0||!company.contract" :range="contractTypeList" range-key="name" @change="changeType">
|
||||||
<button class="btn">生成合同</button>
|
<button class="btn">生成合同</button>
|
||||||
<!-- <mybtn text="生成合同" position="false"></mybtn> -->
|
<!-- <mybtn text="生成合同" position="false"></mybtn> -->
|
||||||
</picker>
|
</picker>
|
||||||
@ -103,20 +104,29 @@
|
|||||||
},
|
},
|
||||||
// 生成合同
|
// 生成合同
|
||||||
async createContract(data) {
|
async createContract(data) {
|
||||||
|
uni.showLoading({
|
||||||
|
title:'合同生成中',
|
||||||
|
mask: true
|
||||||
|
})
|
||||||
let res = await initiateContract({
|
let res = await initiateContract({
|
||||||
party_b: data.party_b,
|
party_b: data.party_b,
|
||||||
contract_type: data.contract_type,
|
contract_type: data.contract_type,
|
||||||
type: data.type
|
type: data.type
|
||||||
})
|
})
|
||||||
Toast(res.msg || '合同已生成')
|
// Toast(res.msg || '合同已生成')
|
||||||
this.initCompany();
|
this.initCompany();
|
||||||
|
uni.hideLoading()
|
||||||
},
|
},
|
||||||
// 发送合同
|
// 发送合同
|
||||||
async addContract(data) {
|
async addContract(data) {
|
||||||
|
uni.showLoading({
|
||||||
|
title:'合同发送中',
|
||||||
|
mask: true
|
||||||
|
})
|
||||||
let res = await Draftingcontracts({
|
let res = await Draftingcontracts({
|
||||||
id: this.id
|
id: this.id
|
||||||
});
|
});
|
||||||
Toast('合同已发送');
|
// Toast('合同已发送');
|
||||||
this.initCompany();
|
this.initCompany();
|
||||||
if (this.userInfo.contract.check_status == 3) {
|
if (this.userInfo.contract.check_status == 3) {
|
||||||
this.timerCount = 60;
|
this.timerCount = 60;
|
||||||
@ -128,6 +138,7 @@
|
|||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
uni.hideLoading();
|
||||||
this.naviTo('/subpkg/submit/submit');
|
this.naviTo('/subpkg/submit/submit');
|
||||||
},
|
},
|
||||||
// 发送短信
|
// 发送短信
|
||||||
@ -164,6 +175,13 @@
|
|||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.need_contract {
|
.need_contract {
|
||||||
padding-bottom: 30rpx;
|
padding-bottom: 30rpx;
|
||||||
|
.title{
|
||||||
|
font-size: 35rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #333333;
|
||||||
|
margin-bottom: 21rpx;
|
||||||
|
margin-left: 28rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
|
@ -163,9 +163,11 @@ export default {
|
|||||||
.btn {
|
.btn {
|
||||||
font-size: 25rpx;
|
font-size: 25rpx;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
min-width: 80rpx;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<picker v-if="!userInfo.is_contract&&!userInfo.contract" :range="contractTypeList" range-key="name"
|
<picker v-if="!userInfo.is_contract&&!userInfo.contract||(userInfo.contract&&userInfo.contract.check_status==0)" :range="contractTypeList" range-key="name"
|
||||||
@change="changeType">
|
@change="changeType">
|
||||||
<button class="btn">生成合同</button>
|
<button class="btn">生成合同</button>
|
||||||
</picker>
|
</picker>
|
||||||
@ -290,20 +290,29 @@
|
|||||||
},
|
},
|
||||||
// 生成合同
|
// 生成合同
|
||||||
async createContract(data) {
|
async createContract(data) {
|
||||||
|
uni.showLoading({
|
||||||
|
title:'合同生成中',
|
||||||
|
mask: true
|
||||||
|
})
|
||||||
let res = await userInitiateContract({
|
let res = await userInitiateContract({
|
||||||
party_b: data.party_b,
|
party_b: data.party_b,
|
||||||
contract_type: data.contract_type,
|
contract_type: data.contract_type,
|
||||||
type: data.type
|
type: data.type
|
||||||
})
|
})
|
||||||
Toast('合同已生成')
|
// Toast('合同已生成');
|
||||||
this.loadUserDetail();
|
this.loadUserDetail();
|
||||||
|
uni.hideLoading();
|
||||||
},
|
},
|
||||||
// 发送合同
|
// 发送合同
|
||||||
async addContract(data) {
|
async addContract(data) {
|
||||||
|
uni.showLoading({
|
||||||
|
title:'合同发送中',
|
||||||
|
mask: true
|
||||||
|
})
|
||||||
let res = await userDraftingcontracts({
|
let res = await userDraftingcontracts({
|
||||||
id: this.userInfo.id
|
id: this.userInfo.id
|
||||||
});
|
});
|
||||||
Toast('合同已发送');
|
// Toast('合同已发送');
|
||||||
this.loadUserDetail();
|
this.loadUserDetail();
|
||||||
if (this.userInfo.contract.check_status == 3) {
|
if (this.userInfo.contract.check_status == 3) {
|
||||||
this.timerCount = 60;
|
this.timerCount = 60;
|
||||||
@ -315,6 +324,7 @@
|
|||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
uni.hideLoading();
|
||||||
this.naviTo('/subpkg/submit/submit');
|
this.naviTo('/subpkg/submit/submit');
|
||||||
},
|
},
|
||||||
// 发送短信
|
// 发送短信
|
||||||
|
Loading…
x
Reference in New Issue
Block a user