update
@ -167,6 +167,42 @@ function addUserBehavior(obj) {
|
||||
根据关键字获取相应的枚举选项,文档见 https://api.eshangtech.com/EShangApiMain/swagger/ui/index#!/FrameWork/FrameWork_GetFieldEnumByField
|
||||
params:{FieldExplainField,FieldEnumStatus}
|
||||
*/
|
||||
|
||||
// 记录用户行为的方法 每个页面的onUnload里面要调用
|
||||
function addUserBehaviorNew(obj) {
|
||||
|
||||
var pages = getCurrentPages() // 获取加载的页面
|
||||
let len = pages.length
|
||||
if (len) {
|
||||
var currentPage = pages[len - 1] // 获取当前页面的对象
|
||||
var nowRoute = '/' + currentPage.route // 当前页面url
|
||||
if (obj) {
|
||||
obj.outtoRoute = (obj.outtoRoute === '' || obj.outtoRoute) ? obj.outtoRoute : nowRoute
|
||||
obj.intoRoute = obj.intoRoute ? obj.intoRoute.split('?')[0] : ''
|
||||
} else {
|
||||
obj = {}
|
||||
obj.outtoRoute = nowRoute
|
||||
obj.intoRoute = len > 1 ? '/' + pages[len - 2].route : '/pages/index/index'
|
||||
}
|
||||
}
|
||||
obj.visitChannels = store.state.visitChannels
|
||||
let userDate = store.state.userData
|
||||
console.log('userDate123',userDate)
|
||||
let req = {
|
||||
userName:userDate.UserName,
|
||||
phoneNumber:userDate.Membership_Phone,
|
||||
userId:userDate.UserId ? userDate.UserId:'',
|
||||
wechatAppId:'wx4fb5da2b8d9e0e43',
|
||||
intoRoute:obj.intoRoute,
|
||||
outtoRoute:obj.outtoRoute,
|
||||
visitChannels:obj.visitChannels,
|
||||
behaviorRecordDesc:''
|
||||
}
|
||||
console.log('req',req)
|
||||
request.$webGet('CommercialApi/UserBehavior/AddUserBehavior',req).then(() => {
|
||||
|
||||
})
|
||||
}
|
||||
async function getFieldEnumByField(params) {
|
||||
if (!params.FieldExplainField) return null
|
||||
// 缓存了上次请求的数据 如果字段一致 则直接返回缓存数据 否则请求
|
||||
@ -203,6 +239,7 @@ export default {
|
||||
changeStringToDate,
|
||||
toNextRoute,
|
||||
addUserBehavior,
|
||||
addUserBehaviorNew,
|
||||
getFieldEnumByField, // 获取枚举参数
|
||||
// calculateDistance,
|
||||
// bMapToQQMap,
|
||||
|
||||
@ -412,7 +412,9 @@
|
||||
{
|
||||
"path": "detail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "分润比例切换"
|
||||
"navigationBarTitleText": "分润比例切换",
|
||||
"navigationStyle": "custom",
|
||||
"disableScroll": true
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@ -53,6 +53,7 @@
|
||||
proStatus: {
|
||||
1000: '待受理',
|
||||
2000: '待办理',
|
||||
2010: '待办理',
|
||||
3000: '已否决',
|
||||
// 4000: '已移交',
|
||||
9000: '已通过'
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card">
|
||||
<view class="card" v-if="data.PendState===0">
|
||||
<view class="row jc-between" style="padding-top: 0;">
|
||||
<view style="color: #2f93e7;">审批意见</view>
|
||||
<text v-if="data.APPOVED_DATE" style="color:#878F94">{{$util.cutDate( data.APPOVED_DATE,'YYYY/MM/DD hh:ss')}}</text>
|
||||
@ -49,7 +49,7 @@
|
||||
placeholder-style="color:#969EA4;line-height:2;padding-top:10rpx;"
|
||||
auto-height
|
||||
@blur="changeReason"
|
||||
v-if="data.PERMISSIONAPPLY_STATE===2000"
|
||||
v-if="data.PERMISSIONAPPLY_STATE===2000 || data.PERMISSIONAPPLY_STATE===2010"
|
||||
auto-focus
|
||||
></textarea>
|
||||
<template v-else>
|
||||
@ -57,7 +57,28 @@
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
<view class="button-box" v-if="data.PERMISSIONAPPLY_STATE===2000">
|
||||
<!-- v-if="data.PendState===0"-->
|
||||
</view>
|
||||
|
||||
<view class="card" v-if="data.approveList && data.approveList.length>0">
|
||||
<view class="approvalList">
|
||||
<view class="approvalItem" v-for="(item,index) in data.approveList" :ket="index">
|
||||
<view class="top">
|
||||
<view class="topLeft">
|
||||
<image class="stateIcon" :src="item.APPLYAPPROVE_TYPE===2000?'/static/images/right-ico.png':item.APPLYAPPROVE_TYPE===9999?'/static/images/wrong-ico.png':''"/>
|
||||
<text class="stateName">{{`【${item.APPLYAPPROVE_NAME}】`}}</text>
|
||||
</view>
|
||||
|
||||
<view class="topRight">{{item.STAFF_NAME}}: {{item.APPLYAPPROVE_INFO}}</view>
|
||||
</view>
|
||||
<view class="bottom">{{item.APPLYAPPROVE_DATE}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="card" style="margin-bottom: 20px" v-if="data.PendState===0">
|
||||
<view class="button-box">
|
||||
<span @tap="cancelApproval"><image src="@/static/images/bh-btn.png" mode="aspectFit"></image>否决</span>
|
||||
<span @click="savaShops"><image src="@/static/images/sh-btn.png" mode="aspectFit"></image>同意</span>
|
||||
</view>
|
||||
@ -77,7 +98,6 @@
|
||||
props: {
|
||||
data: {
|
||||
type: Object,
|
||||
|
||||
},
|
||||
businessId: {
|
||||
type: String,
|
||||
@ -105,8 +125,8 @@
|
||||
|
||||
return this.approvalData && this.approvalData.ShopModifyList ? this.approvalData.ShopModifyList[0] :null
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
showPopupBottom: false,
|
||||
@ -125,7 +145,14 @@
|
||||
,
|
||||
|
||||
1000: '运营中'
|
||||
},
|
||||
isState2010:false,
|
||||
}
|
||||
},
|
||||
watch:{
|
||||
data(newVal,oldVal){
|
||||
console.log('newVal',newVal)
|
||||
console.log('oldVal',oldVal)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@ -172,6 +199,7 @@
|
||||
})
|
||||
},
|
||||
savaShops() {
|
||||
console.log('PERMISSIONAPPLY_STATE',this.data.PERMISSIONAPPLY_STATE)
|
||||
let _this = this
|
||||
|
||||
if(_this.isloading) return
|
||||
@ -179,20 +207,32 @@
|
||||
title:'正在提交'
|
||||
})
|
||||
_this.isloading = true
|
||||
let flag = false
|
||||
if (this.data.PERMISSIONAPPLY_STATE===2000){
|
||||
flag = true
|
||||
}
|
||||
const permissionApplyModel = {
|
||||
...this.data,
|
||||
APPOVED_NAME: this.user.Membership_Name,
|
||||
APPOVED_INFO: this.approvalReason ||'通过',
|
||||
APPOVED_ID: this.user.UserId,
|
||||
PERMISSIONAPPLY_STATE: 9000,
|
||||
PERMISSIONAPPLY_STATE: this.data.PERMISSIONAPPLY_STATE===2000?2010:9000,
|
||||
APPOVED_DATE: new Date()
|
||||
}
|
||||
console.log('req',permissionApplyModel)
|
||||
this.$request.$webPost('/EShangApiMain/BusinessProcess/ApprovedMerchantApply',{
|
||||
PermissionApplyModel: permissionApplyModel,
|
||||
ShopModifyList: this.approvalData.ShopModifyList
|
||||
}).then(res=>{
|
||||
uni.hideLoading()
|
||||
_this.isloading=false
|
||||
if (res.Result_Code===100){
|
||||
if (flag){
|
||||
_this.isState2010 = true
|
||||
}
|
||||
}
|
||||
console.log('res',res)
|
||||
|
||||
if(res.Result_Code!==100) {
|
||||
uni.showModal({
|
||||
title: '温馨提示',
|
||||
@ -319,6 +359,40 @@
|
||||
min-height: 97rpx;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
.approvalList{
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
.approvalItem{
|
||||
width: 100%;
|
||||
.top{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.topLeft{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.stateIcon{
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
.stateName{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
.bottom{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.uni-icon-arrowright {
|
||||
color: #969EA4;
|
||||
font-size: 24rpx;
|
||||
|
||||
@ -51,6 +51,7 @@
|
||||
return
|
||||
}
|
||||
_this.approvalInfo = res.Result_Data
|
||||
console.log('approvalInfo',res.Result_Data)
|
||||
if ( ['4','8'].indexOf(_this.pageData.type)>-1) {
|
||||
_this.$nextTick(()=>{
|
||||
|
||||
@ -82,6 +83,7 @@
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
console.log('option',option)
|
||||
uni.showLoading()
|
||||
this.pageData = option
|
||||
this.loading = true
|
||||
|
||||
@ -38,8 +38,7 @@
|
||||
size="60"
|
||||
:nameStyle="selectTypeIndex==item.typeId ? 'color:'+(colors[index]? colors[index]: colors[index-colors.length]) : 'color:#120E2B'"
|
||||
:imageBoxStyle="'background:'+(colors[index]? colors[index]: colors[index-colors.length])+';height:74rpx;width:74rpx;border-radius:20rpx;line-height:74rpx;'"
|
||||
@handleClick="bindPartChange"
|
||||
>
|
||||
@handleClick="bindPartChange">
|
||||
</MenuItem>
|
||||
</view>
|
||||
<view class="popbtn" @click="reloadList">确定</view>
|
||||
@ -55,7 +54,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
activeType: 2000, // 数据审批状态 2000 待审批,3000 未通过, 9000 已通过
|
||||
activeType: '2000,2010', // 数据审批状态 2000 待审批,3000 未通过, 9000 已通过
|
||||
selectTypeIndex: '4,7,8',
|
||||
showPop: false,
|
||||
pageData: {
|
||||
@ -70,7 +69,7 @@
|
||||
name: '待审批',
|
||||
src: '../../../../../static/images/expense/type/shenp.png',
|
||||
active: '../../../../../static/images/expense/type/shenpz.png',
|
||||
id: 2000
|
||||
id: '2000,2010'
|
||||
},{
|
||||
name: '已处理',
|
||||
src: '../../../../../static/images/expense/type/yichl.png',
|
||||
@ -158,7 +157,7 @@
|
||||
BusinessProcessState: _this.activeType,
|
||||
// SortStr: 'BusinessProcess_State,BusinessProcess_StartDate desc'
|
||||
}).then(res => {
|
||||
|
||||
console.log('res',res)
|
||||
uni.hideLoading()
|
||||
if (res.Result_Code !== 100) {
|
||||
_this.pageData.loading=false
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
:key="item.id"
|
||||
:item ="item"
|
||||
:doCout="toDoMsg ? toDoMsg[item.id] : 0"
|
||||
:active="1"
|
||||
:active="item.id=='d5a9e3ef-3699-448f-abcc-819179df60bd' || menus[item.id]==1 || this.membershipType === 9999"
|
||||
@handleClick="toPage"
|
||||
|
||||
></menuItem>
|
||||
@ -214,15 +214,15 @@
|
||||
title: ' 温馨提示',
|
||||
content: '该模块正在开发,尽请期待',
|
||||
})
|
||||
// } else if (_this.menus && (_this.menus[item.id] == 1 ||
|
||||
// this.user.Membership_Type === 9999)) { // 记录用户访问业务事件
|
||||
} else {
|
||||
} else if (_this.menus && (_this.menus[item.id] == 1 ||
|
||||
this.user.Membership_Type === 9999)) { // 记录用户访问业务事件
|
||||
// } else {
|
||||
this.$util.toNextRoute('navigateTo', item.homeUrl)
|
||||
// } else if (this.user.Membership_Type !== 9999) {
|
||||
// uni.showToast({
|
||||
// title: '您没有该模块权限',
|
||||
// icon: 'none'
|
||||
// })
|
||||
} else if (this.user.Membership_Type !== 9999) {
|
||||
uni.showToast({
|
||||
title: '您没有该模块权限',
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
},
|
||||
toPage(item) {
|
||||
|
||||
@ -1,46 +1,71 @@
|
||||
<template>
|
||||
<view class="page-body" >
|
||||
<!-- 顶部信息卡片 -->
|
||||
<view class="card-header">
|
||||
<!-- 顶部信息卡片第一行 -->
|
||||
<view style="display: flex;align-items: center;justify-content: space-between">
|
||||
<h3 style="padding-bottom: 0">{{dataDetail.SERVERPARTSHOP_NAME}}</h3>
|
||||
<span style="font-size: 15px">{{dataDetail.BUSINESS_TYPE===1000?'合作经营':dataDetail.BUSINESS_TYPE===2000?'固定租金':''}}</span>
|
||||
<!-- <image class="bg" src="https://eshangtech.com/ShopICO/yxcl/projectWarning/bg.svg"></image>-->
|
||||
<view class="header" :style="{height: menu.bottom + 'px' }">
|
||||
<image @click="handleBack" class="allowLeft" :style="{top: menu.top +((menu.height - 24) / 2) + 'px'}" src="https://eshangtech.com/ShopICO/ahyd-BID/examine/leftArrowWhite.svg"></image>
|
||||
</view>
|
||||
<!-- 顶部信息卡片第二行 -->
|
||||
<view style="text-align: right">
|
||||
<!-- 左侧 -->
|
||||
<span style="font-size: 15px">{{dataDetail.SERVERPART_NAME}}</span>
|
||||
<p class="title">分润比例切换</p>
|
||||
<view class="main">
|
||||
<view class="detail">
|
||||
<view class="type">{{dataDetail.BUSINESS_TYPE===1000?'合作经营':dataDetail.BUSINESS_TYPE===2000?'固定租金':''}}</view>
|
||||
<view class="top">
|
||||
<view class="left">
|
||||
<image class="logo" :src="dataDetail.BUSINESSPROJECT_ICO?dataDetail.BUSINESSPROJECT_ICO:'https://eshangtech.com/ShopICO/yxcl/projectWarning/defaultImg.svg'"></image>
|
||||
</view>
|
||||
<view class="right">
|
||||
<p class="detailTitle">{{dataDetail.SERVERPARTSHOP_NAME}}</p>
|
||||
<view class="fixed" >
|
||||
<image class="serviceFixed" src="https://eshangtech.com/ShopICO/yxcl/projectWarning/position.svg"></image>
|
||||
<span class="service">{{dataDetail.SERVERPART_NAME}}</span>
|
||||
</view>
|
||||
|
||||
<view class="content-detail-box main-card ino-flex ai-center uni-column" style="margin-top: 12px">
|
||||
<view class="cellTopStyle" >
|
||||
<view class="other">
|
||||
<view class="item">
|
||||
<span class="fourth-name" style="font-size: 16px;">合同期限:</span>
|
||||
<span class="fourth-value" >{{dataDetail.STARTDATE}} - {{dataDetail.ENDDATE}}</span>
|
||||
<image class="icon" src="https://eshangtech.com/ShopICO/yxcl/projectWarning/user.svg"></image>
|
||||
<span class="value">{{dataDetail.COOPMERCHANTS_LINKMAN || '-'}}</span>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cellTopStyle" >
|
||||
<view class="item">
|
||||
<span class="fourth-name" style="font-size: 16px;">保底租金:</span>
|
||||
<span class="fourth-value" ><span class="unit" v-if="dataDetail.MINTURNOVER">¥</span>{{dataDetail.MINTURNOVER?dataDetail.MINTURNOVER:''}}</span>
|
||||
<image class="icon" src="https://eshangtech.com/ShopICO/yxcl/projectWarning/phone.svg"></image>
|
||||
<span class="value">{{dataDetail.COOPMERCHANTS_MOBILEPHONE || '-'}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom">
|
||||
<view class="message">
|
||||
<image class="icon" src="https://eshangtech.com/ShopICO/yxcl/projectWarning/money.svg"></image>
|
||||
<span class="text">保底租金</span>
|
||||
<span class="money">{{dataDetail.MINTURNOVER || '-'}}</span>
|
||||
</view>
|
||||
<view class="message" style="margin-bottom: 0">
|
||||
<image class="icon" src="https://eshangtech.com/ShopICO/yxcl/projectWarning/date.svg"></image>
|
||||
<span class="text">合同期限</span>
|
||||
<span class="money">{{dataDetail.STARTDATE || '-'}} - {{dataDetail.ENDDATE || '-'}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="content">
|
||||
<p class="text">本项目驿达累计分润已达¥<span style="font-size: 18px;color: orangered">{{ dataDetail.ROYALTY_PRICE }}</span>,
|
||||
<span v-if="dataDetail.EXPIREDAYS">预计<span style="font-size: 22px;color: orangered">{{ dataDetail.EXPIREDAYS }}</span>天后完成保底!</span>
|
||||
<span v-if="!dataDetail.EXPIREDAYS" ><span style="font-size: 18px;color: orangered">已完成</span>保底!</span></p>
|
||||
<p class="text">是否依合同将分润比例进行切换:驿达<span style="font-size: 18px;color: orangered">{{YDValue}}%</span>,商家<span style="font-size: 18px;color: orangered">{{SJValue}}%</span>?</p>
|
||||
<view class="contain">
|
||||
<image class="img" style="width: 32px;height: 32px" src="https://eshangtech.com/ShopICO/yxcl/projectWarning/question.svg"></image>
|
||||
<view>
|
||||
<view class="text">
|
||||
本项目驿达累计分润已达<span class="strong"><span clsas="strong" style="font-size: 14px">¥</span>{{ dataDetail.ROYALTY_PRICE|| '-' }}</span>,<br/>
|
||||
<span v-if="dataDetail.EXPIREDAYS!==0">预计<span class="strong">{{ dataDetail.EXPIREDAYS|| '-' }}</span>后完成</span>
|
||||
<span v-if="dataDetail.EXPIREDAYS===0" class="strong">已完成</span>保底!
|
||||
</view>
|
||||
|
||||
<p class="showText" v-if="dataDetail.PROJECTWARNING_STATE===2000">{{dataDetail.PROJECTWARNING_DESC}}</p>
|
||||
|
||||
<view class="position" v-if="dataDetail.DealMark===0" >
|
||||
<button class="change" type="primary" @click="handleChange">切换比例</button>
|
||||
<button class="noChange" type="primary" @click="handleNoChange">暂不切换</button>
|
||||
<view class="text" :style="{marginBottom: dataDetail.PROJECTWARNING_STATE===2000?'8px':'0px'}">
|
||||
是否依合同将分润比例进行切换:<br/> 驿达<span class="strong">{{YDValue|| '-'}}%</span>,
|
||||
商家<span class="strong">{{SJValue|| '-'}}%</span>?
|
||||
</view>
|
||||
<view class="text" v-if="dataDetail.PROJECTWARNING_STATE===2000">
|
||||
{{desc[0]}}<br/><span class="strong" style="font-size: 14px">({{time}})</span>,<br/>
|
||||
{{desc[1]}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottomBtn" v-if="dataDetail.DealMark===0">
|
||||
<button class="btn change" @click="handleChange">切换比例</button>
|
||||
<button class="btn" @click="handleNoChange">暂不切换</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@ -56,22 +81,44 @@ export default {
|
||||
useDate:{},
|
||||
YDValue:'',// 驿达的值
|
||||
SJValue:'',// 商家的值
|
||||
statusBarHeight:'',
|
||||
menu:'',
|
||||
time:'',// 详情给的备注的时间
|
||||
desc:[],// 详情给的备注
|
||||
type:true,// 是否从推送进
|
||||
}
|
||||
},
|
||||
onLoad(query){
|
||||
// 获取手机参数对页面进行适配
|
||||
let systemInfo = uni.getSystemInfoSync()
|
||||
this.statusBarHeight = Number(systemInfo.statusBarHeight)
|
||||
this.menu = uni.getMenuButtonBoundingClientRect()
|
||||
console.log('this.menu',this.menu)
|
||||
this.PROJECTWARNING_ID = query.id
|
||||
this.handleGetDetail()
|
||||
this.useDate = Store.state.userData
|
||||
console.log('this.useDate',this.useDate)
|
||||
|
||||
if (query.type==='no'){
|
||||
this.type = false
|
||||
}
|
||||
},
|
||||
//页面关闭
|
||||
onUnload() {
|
||||
// 记录用户行为
|
||||
this.$util.addUserBehaviorNew()
|
||||
},
|
||||
methods:{
|
||||
// 拿到详细数据
|
||||
handleGetDetail(){
|
||||
uni.showLoading({
|
||||
title:'正在加载'
|
||||
})
|
||||
this.$request.$webGet('EShangApiMain/BusinessProject/GetPROJECTWARNINGDetail',{
|
||||
PROJECTWARNINGId:this.PROJECTWARNING_ID
|
||||
}).then(res=>{
|
||||
uni.hideLoading()
|
||||
this.dataDetail = res.Result_Data
|
||||
console.log('this.dataDetail',this.dataDetail)
|
||||
// 金额加上千分号
|
||||
for (let key in this.dataDetail){
|
||||
if (key==='REVENUEDAILY_AMOUNT' || key==='REVENUE_AMOUNT' || key==='ROYALTY_PRICE' || key==='SUBROYALTY_PRICE' || key==='TICKET_FEE' || key==='MINTURNOVER'){
|
||||
@ -80,7 +127,13 @@ export default {
|
||||
}
|
||||
this.YDValue = this.dataDetail.MerchantRatio.split(':')[0]
|
||||
this.SJValue = this.dataDetail.MerchantRatio.split(':')[1]
|
||||
// this.dataDetail.SERVERPART_NAME = this.dataDetail.SERVERPART_NAME.split('服务区')[0]
|
||||
if (this.dataDetail.PROJECTWARNING_DESC){
|
||||
this.time = this.dataDetail.PROJECTWARNING_DESC.split('【')[1].split('】')[0]
|
||||
this.desc[0] = this.dataDetail.PROJECTWARNING_DESC.split('【')[0]
|
||||
this.desc[1] = this.dataDetail.PROJECTWARNING_DESC.split('【')[1].split(',')[1]
|
||||
}
|
||||
console.log('this.time',this.time)
|
||||
console.log('this.desc',this.desc)
|
||||
})
|
||||
},
|
||||
handleInput(e){
|
||||
@ -88,6 +141,9 @@ export default {
|
||||
},
|
||||
// 暂不切换比例
|
||||
handleNoChange(){
|
||||
uni.showLoading({
|
||||
title:'正在加载'
|
||||
})
|
||||
this.$request.$webGet('EShangApiMain/BusinessProject/ApproveProinst',{
|
||||
BusinessId: this.PROJECTWARNING_ID, // 预警记录内码
|
||||
StaffId:this.useDate.UserId,// 操作人内码
|
||||
@ -95,16 +151,22 @@ export default {
|
||||
SwitchRate:this.dataDetail.ROYALTY_RATE * 100,// 切换比例
|
||||
ApproveState:'9999',// 审批状态
|
||||
}).then(res=>{
|
||||
console.log('res')
|
||||
uni.hideLoading()
|
||||
uni.showToast({
|
||||
title: res.Result_Desc,
|
||||
icon: 'none'
|
||||
})
|
||||
this.handleGetDetail()
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
})
|
||||
},
|
||||
// 切换比例
|
||||
handleChange(){
|
||||
uni.showLoading({
|
||||
title:'正在加载'
|
||||
})
|
||||
this.$request.$webGet('EShangApiMain/BusinessProject/ApproveProinst',{
|
||||
BusinessId: this.PROJECTWARNING_ID, // 预警记录内码
|
||||
StaffId:this.useDate.UserId,// 操作人内码
|
||||
@ -112,6 +174,7 @@ export default {
|
||||
SwitchRate:this.dataDetail.ROYALTY_CRATE,// 切换比例
|
||||
ApproveState:this.dataDetail.PROJECTWARNING_STATE===1000?'2000':'9000',// 审批状态
|
||||
}).then(res=>{
|
||||
uni.hideLoading()
|
||||
if (this.dataDetail.PROJECTWARNING_STATE===1000){
|
||||
this.$util.toNextRoute('redirectTo', `/pages/projectWarning/index`)
|
||||
}
|
||||
@ -122,127 +185,248 @@ export default {
|
||||
})
|
||||
this.handleGetDetail()
|
||||
})
|
||||
},
|
||||
handleBack(){
|
||||
if (this.type){
|
||||
uni.redirectTo({
|
||||
url: '/pages/projectWarning/index'
|
||||
});
|
||||
}else{
|
||||
uni.navigateBack({
|
||||
delta:1
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
<style scoped lang="scss">
|
||||
@import '/static/public/font/stylesheet.css';
|
||||
.page-body {
|
||||
min-height: 100%;
|
||||
padding: 40rpx 25rpx;
|
||||
background-color: #fff;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 196rpx;
|
||||
}
|
||||
.card-header {
|
||||
border-radius: 10rpx;
|
||||
background: linear-gradient(to right, #8998bb 0%, #a9b5d2 100%);
|
||||
color: #FFFFFF;
|
||||
background-image: url("https://eshangtech.com/ShopICO/yxcl/projectWarning/bg.svg");
|
||||
background-size: cover;
|
||||
//position: relative;
|
||||
//.bg{
|
||||
// width: 100%;
|
||||
// height: 100%;
|
||||
// position: absolute;
|
||||
// top: 0;left: 0;
|
||||
// z-index: 1;
|
||||
//}
|
||||
.header{
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
padding: 24rpx 16rpx;
|
||||
}
|
||||
|
||||
.card-header h3 {
|
||||
padding-bottom: 10rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.card-header .fs12>text {
|
||||
font-size: 24rpx;
|
||||
|
||||
}
|
||||
.cellTopStyle {
|
||||
line-height: 45rpx;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
.cellTopStyle .item{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cellTopStyle .item .fourth-value{
|
||||
display: inline-block;
|
||||
width: 200px;
|
||||
text-align: left;
|
||||
font-size: 16px;
|
||||
}
|
||||
.showText{
|
||||
font-size: 13px;
|
||||
text-indent: 2rem;
|
||||
}
|
||||
.content{
|
||||
margin-top: 12px;
|
||||
}
|
||||
.content .text{
|
||||
font-size: 13px;
|
||||
text-indent: 2rem;
|
||||
}
|
||||
.cellTopStyle .noSpace{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.fourth-name {
|
||||
min-width: 120rpx;
|
||||
max-width: 185rpx;
|
||||
color: #ADB2BF;
|
||||
font-size: 16px;
|
||||
}
|
||||
.position{
|
||||
position: fixed;
|
||||
width: calc(100% - 24px);
|
||||
bottom: 44px;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.position .change{
|
||||
width: 48%;
|
||||
height: 44px;
|
||||
border-radius: 22px;
|
||||
line-height: 44px;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
|
||||
}
|
||||
.position .noChange{
|
||||
width: 48%;
|
||||
height: 44px;
|
||||
border-radius: 22px;
|
||||
line-height: 44px;
|
||||
text-align: center;
|
||||
background: linear-gradient( to right ,#8998bb 0%, #8a99bc 100%);
|
||||
font-size: 13px;
|
||||
|
||||
}
|
||||
|
||||
.modle-title {
|
||||
color: #000;
|
||||
padding: 14px 15px 10px 0;
|
||||
font-size: 26rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: bolder;
|
||||
}
|
||||
.content-detail-box {
|
||||
background: #f8f9fa;
|
||||
border-radius: 8rpx;
|
||||
overflow: hidden;
|
||||
padding: 0 16px;
|
||||
position: relative;
|
||||
padding: 10rpx 30rpx 16rpx 30rpx;
|
||||
font-size: 26rpx;
|
||||
margin-top: 0;
|
||||
z-index:222;
|
||||
.allowLeft{
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
left: 16px;
|
||||
}
|
||||
}
|
||||
.title{
|
||||
font-size: 28px;
|
||||
font-family: Alimama ShuHeiTi;
|
||||
color: #160002;
|
||||
line-height: 39px;
|
||||
margin: 18px 0 16px 16px;
|
||||
background: linear-gradient(180deg, #C25E18 30%, #8C4917 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
.main{
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0 16px 92px;
|
||||
.detail{
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background: linear-gradient(314deg, #FFFCF3 0%, #FFF0E6 20%, #FFF9F5 51%, #FFF8E7 73%, #FFF6EE 100%);
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
position: relative;
|
||||
.type{
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 16px;
|
||||
background: linear-gradient(270deg, #F8D792 0%, #FFE6B2 50%, #FBC13B 100%);
|
||||
border-radius: 10px 0 0 2px;
|
||||
padding:2px 8px;
|
||||
font-size: 14px;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
color: #604128;
|
||||
line-height: 20px;
|
||||
}
|
||||
.top{
|
||||
width: 100%;
|
||||
height: 168rpx;
|
||||
display: flex;
|
||||
.left{
|
||||
width: 168rpx;
|
||||
height: 168rpx;
|
||||
margin-right: 12px;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
.logo{
|
||||
width: 168rpx;
|
||||
height: 168rpx;
|
||||
}
|
||||
}
|
||||
.right{
|
||||
//display: flex;
|
||||
//flex-direction: column;
|
||||
//justify-content: space-between;
|
||||
//align-items: flex-start;
|
||||
.detailTitle{
|
||||
font-size: 36rpx;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #160002;
|
||||
margin-bottom: 12rpx;
|
||||
line-height: 56rpx;
|
||||
}
|
||||
.fixed{
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
padding: 1px 4px;
|
||||
box-sizing: border-box;
|
||||
background: rgba(252, 186, 118, 0.2);
|
||||
border-radius: 4px;
|
||||
display: inline-block;
|
||||
margin-bottom: 12rpx;
|
||||
.serviceFixed{
|
||||
width: 20rpx;
|
||||
height: 24rpx;
|
||||
margin-right: 8rpx;
|
||||
line-height: 24px;
|
||||
}
|
||||
.service{
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #6C492A;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
}
|
||||
.other{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.item{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 16px;
|
||||
.icon{
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
.value{
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #160002;
|
||||
line-height: 40rpx;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.bottom{
|
||||
margin-top: 24px;
|
||||
.message{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
.icon{
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.text{
|
||||
font-size: 14px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #786B6C;
|
||||
line-height: 20px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.money{
|
||||
font-size: 14px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #7D5632;
|
||||
line-height: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.contain{
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
padding: 16px;
|
||||
margin-top: 16px;
|
||||
display: flex;
|
||||
.img{
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
.text{
|
||||
margin-left: 8px;
|
||||
font-size: 14px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #160002;
|
||||
line-height: 24px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.strong{
|
||||
font-size: 18px;
|
||||
color: rgba(125, 86, 50, 1);
|
||||
font-weight: 600;
|
||||
margin-left: 4px;
|
||||
}
|
||||
}
|
||||
.bottomBtn{
|
||||
width: 100%;
|
||||
height: 92px;
|
||||
box-sizing: border-box;
|
||||
padding: 8px 16px 0;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.btn{
|
||||
width: calc((100% - 16px)/2);
|
||||
height: 41px;
|
||||
background: rgba(125, 86, 50, 0.1);
|
||||
border-radius: 4px;
|
||||
font-size: 16px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #6D5F5E;
|
||||
opacity: 0.6;
|
||||
}
|
||||
.change{
|
||||
background: #7D5632;
|
||||
color: #FEFFFF;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content-detail-box span {
|
||||
font-size: 26rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -68,12 +68,12 @@ export default {
|
||||
active: '/static/images/expense/type/yifqz.png',
|
||||
id: 0
|
||||
}, {
|
||||
name: '待延期',
|
||||
name: '待切换',
|
||||
src: '/static/images/expense/type/shenp.png',
|
||||
active: '/static/images/expense/type/shenpz.png',
|
||||
id: 1
|
||||
}, {
|
||||
name: '已延期',
|
||||
name: '已切换',
|
||||
src: '/static/images/expense/type/yichl.png',
|
||||
active: '/static/images/expense/type/yichlz.png',
|
||||
id: 2
|
||||
@ -114,10 +114,10 @@ export default {
|
||||
if(query){
|
||||
this.pushInto = true
|
||||
}
|
||||
this.getSeverpart()
|
||||
},
|
||||
onShow(){
|
||||
this.pageData.pageIndex = 1
|
||||
this.getSeverpart()
|
||||
this.handleGetList()
|
||||
},
|
||||
onReachBottom () {
|
||||
@ -126,6 +126,10 @@ export default {
|
||||
this.handleGetList()
|
||||
}
|
||||
},
|
||||
//页面关闭
|
||||
onUnload() {
|
||||
this.$util.addUserBehaviorNew()
|
||||
},
|
||||
methods:{
|
||||
...mapMutations(['shouldReLoadingList']),
|
||||
// 拿到列表数据
|
||||
@ -290,7 +294,7 @@ export default {
|
||||
}
|
||||
},
|
||||
goDetail(item){
|
||||
this.$util.toNextRoute('navigateTo', `/pages/projectWarning/detail?id=${item.PROJECTWARNING_ID}`)
|
||||
this.$util.toNextRoute('navigateTo', `/pages/projectWarning/detail?id=${item.PROJECTWARNING_ID}&type=no`)
|
||||
},
|
||||
closePop(){
|
||||
this.showPop = false
|
||||
|
||||
BIN
static/images/projectWarning/bg.png
Normal file
|
After Width: | Height: | Size: 174 KiB |
12
static/images/projectWarning/date.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>切换比例/联系人备份_3@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="分润比例切换0522" transform="translate(-1040.000000, -70.000000)" fill-rule="nonzero">
|
||||
<g id="编组" transform="translate(1040.000000, 70.000000)">
|
||||
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M13.75,2.875 L11.125,2.875 L11.125,1.875 C11.125,1.80625 11.06875,1.75 11,1.75 L10.125,1.75 C10.05625,1.75 10,1.80625 10,1.875 L10,2.875 L6,2.875 L6,1.875 C6,1.80625 5.94375,1.75 5.875,1.75 L5,1.75 C4.93125,1.75 4.875,1.80625 4.875,1.875 L4.875,2.875 L2.25,2.875 C1.9734375,2.875 1.75,3.0984375 1.75,3.375 L1.75,13.75 C1.75,14.0265625 1.9734375,14.25 2.25,14.25 L13.75,14.25 C14.0265625,14.25 14.25,14.0265625 14.25,13.75 L14.25,3.375 C14.25,3.0984375 14.0265625,2.875 13.75,2.875 Z M13.125,13.125 L2.875,13.125 L2.875,7.1875 L13.125,7.1875 L13.125,13.125 Z M2.875,6.125 L2.875,4 L4.875,4 L4.875,4.75 C4.875,4.81875 4.93125,4.875 5,4.875 L5.875,4.875 C5.94375,4.875 6,4.81875 6,4.75 L6,4 L10,4 L10,4.75 C10,4.81875 10.05625,4.875 10.125,4.875 L11,4.875 C11.06875,4.875 11.125,4.81875 11.125,4.75 L11.125,4 L13.125,4 L13.125,6.125 L2.875,6.125 Z" id="形状" fill="#6C492A" opacity="0.600000024"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
15
static/images/projectWarning/defaultImg.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="84px" height="84px" viewBox="0 0 84 84" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>切换比例/默认品牌logo@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="分润比例切换0522" transform="translate(-1120.000000, -70.000000)">
|
||||
<g id="商品默认图" transform="translate(1120.000000, 70.000000)">
|
||||
<rect id="矩形" fill="#FEFFFF" x="0" y="0" width="84" height="84" rx="8"></rect>
|
||||
<path d="M57.4961509,37.7442263 L67.8905996,53.3358994 C68.809657,54.7144855 68.4371354,56.5770935 67.0585493,57.4961509 C66.5657468,57.8246859 65.9867237,58 65.3944487,58 L44.6055513,58 C42.948697,58 41.6055513,56.6568542 41.6055513,55 C41.6055513,54.407725 41.7808654,53.828702 42.1094004,53.3358994 L52.5038491,37.7442263 C53.4229065,36.3656403 55.2855145,35.9931187 56.6641006,36.912176 C56.9936575,37.1318806 57.2764463,37.4146695 57.4961509,37.7442263 Z" id="三角形" fill="#FFD1A2"></path>
|
||||
<circle id="椭圆形" fill="#FFD1A2" cx="66" cy="26" r="5"></circle>
|
||||
<path d="M36.5081437,29.8219333 L51.9510826,53.3540307 C52.8601264,54.7392402 52.4741178,56.5991 51.0889082,57.5081437 C50.5999274,57.8290374 50.0278107,58 49.4429389,58 L18.5570611,58 C16.9002069,58 15.5570611,56.6568542 15.5570611,55 C15.5570611,54.4151282 15.7280237,53.8430115 16.0489174,53.3540307 L31.4918563,29.8219333 C32.4009,28.4367238 34.2607598,28.0507151 35.6459693,28.9597589 C35.9893492,29.185102 36.2828007,29.4785534 36.5081437,29.8219333 Z" id="三角形备份" fill="#FFD1A2"></path>
|
||||
<path d="M47.0625513,45.9055637 L51.9510826,53.3540307 C52.8601264,54.7392402 52.4741178,56.5991 51.0889082,57.5081437 C50.5999274,57.8290374 50.0278107,58 49.4429389,58 L44.6055513,58 C42.948697,58 41.6055513,56.6568542 41.6055513,55 C41.6055513,54.407725 41.7808654,53.828702 42.1094004,53.3358994 L47.0625513,45.9055637 Z" id="形状结合" fill="#2C3032" style="mix-blend-mode: soft-light;"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
12
static/images/projectWarning/money.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>切换比例/联系人备份_2@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="分润比例切换0522" transform="translate(-1008.000000, -70.000000)" fill-rule="nonzero">
|
||||
<g id="money-collect" transform="translate(1008.000000, 70.000000)">
|
||||
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M14.2421875,10.9484375 C14.21875,10.8828125 14.146875,10.85 14.08125,10.8734375 L13.125,11.221875 L13.125,2.8125 C13.125,2.225 12.65,1.75 12.0625,1.75 L3.9375,1.75 C3.35,1.75 2.875,2.225 2.875,2.8125 L2.875,11.221875 L1.9171875,10.8734375 C1.903125,10.86875 1.8890625,10.865625 1.875,10.865625 C1.80625,10.865625 1.75,10.921875 1.75,10.990625 L1.75,11.921875 C1.75,11.9734375 1.7828125,12.0203125 1.8328125,12.0390625 L7.828125,14.2203125 C7.9390625,14.2609375 8.059375,14.2609375 8.1703125,14.2203125 L14.1671875,12.040625 C14.2171875,12.021875 14.25,11.975 14.25,11.9234375 L14.25,10.9921875 C14.25,10.9765625 14.246875,10.9625 14.2421875,10.9484375 Z M8,13.0859375 L4,11.63125 L4,2.875 L12,2.875 L12,11.63125 L8,13.0859375 Z M10.321875,4.875 L9.4703125,4.875 C9.4234375,4.875 9.3796875,4.9015625 9.359375,4.94375 L8.0359375,7.58125 L7.984375,7.58125 L6.6609375,4.94375 C6.6390625,4.9015625 6.596875,4.875 6.55,4.875 L5.6796875,4.875 C5.659375,4.875 5.6390625,4.8796875 5.6203125,4.890625 C5.559375,4.9234375 5.5375,5 5.5703125,5.059375 L7.19375,8.053125 L6.303125,8.053125 C6.234375,8.053125 6.178125,8.109375 6.178125,8.178125 L6.178125,8.6015625 C6.178125,8.6703125 6.234375,8.7265625 6.303125,8.7265625 L7.490625,8.7265625 L7.490625,9.3359375 L6.303125,9.3359375 C6.234375,9.3359375 6.178125,9.3921875 6.178125,9.4609375 L6.178125,9.884375 C6.178125,9.953125 6.234375,10.009375 6.303125,10.009375 L7.490625,10.009375 L7.490625,11 C7.490625,11.06875 7.546875,11.125 7.615625,11.125 L8.3953125,11.125 C8.4640625,11.125 8.5203125,11.06875 8.5203125,11 L8.5203125,10.0078125 L9.7125,10.0078125 C9.78125,10.0078125 9.8375,9.9515625 9.8375,9.8828125 L9.8375,9.459375 C9.8375,9.390625 9.78125,9.334375 9.7125,9.334375 L8.5203125,9.334375 L8.5203125,8.725 L9.7125,8.725 C9.78125,8.725 9.8375,8.66875 9.8375,8.6 L9.8375,8.1765625 C9.8375,8.1078125 9.78125,8.0515625 9.7125,8.0515625 L8.8125,8.0515625 L10.4328125,5.0578125 C10.4421875,5.0390625 10.4484375,5.01875 10.4484375,4.9984375 C10.446875,4.93125 10.390625,4.875 10.321875,4.875 Z" id="形状" fill="#6C492A" opacity="0.600000024"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
12
static/images/projectWarning/phone.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>切换比例/联系人备份@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="分润比例切换0522" transform="translate(-976.000000, -70.000000)" fill-rule="nonzero">
|
||||
<g id="phone" transform="translate(976.000000, 70.000000)">
|
||||
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M13.7046875,3.7296875 L12.040625,2.0671875 C11.8375,1.8640625 11.565625,1.75 11.278125,1.75 C10.990625,1.75 10.71875,1.8625 10.515625,2.0671875 L8.7234375,3.85625 C8.5203125,4.059375 8.40625,4.3328125 8.40625,4.6203125 C8.40625,4.909375 8.51875,5.1796875 8.7234375,5.384375 L10.1234375,6.7859375 C9.8015625,7.5328125 9.3484375,8.2015625 8.7734375,8.775 C8.2,9.3515625 7.5296875,9.80625 6.7859375,10.128125 L5.3859375,8.7265625 C5.1828125,8.5234375 4.9109375,8.409375 4.6234375,8.409375 C4.334375,8.409375 4.0640625,8.521875 3.8609375,8.7265625 L2.0671875,10.515625 C1.8640625,10.71875 1.75,10.9921875 1.75,11.2796875 C1.75,11.56875 1.8625,11.8390625 2.0671875,12.04375 L3.7296875,13.70625 C4.0765625,14.053125 4.5546875,14.2515625 5.0453125,14.2515625 C5.146875,14.2515625 5.2453125,14.24375 5.3453125,14.2265625 C7.4140625,13.8859375 9.4671875,12.784375 11.125,11.128125 C12.78125,9.46875 13.88125,7.415625 14.225,5.3453125 C14.3234375,4.7578125 14.1265625,4.153125 13.7046875,3.7296875 Z M13.1171875,5.159375 C12.8125,7.0015625 11.821875,8.8390625 10.3296875,10.33125 C8.8375,11.8234375 7.0015625,12.8140625 5.159375,13.11875 C4.928125,13.1578125 4.690625,13.0796875 4.521875,12.9125 L2.8890625,11.2796875 L4.6203125,9.546875 L6.4921875,11.421875 L6.50625,11.4359375 L6.84375,11.3109375 C8.9171875,10.546875 10.5453125,8.91875 11.3078125,6.8453125 L11.4328125,6.5078125 L9.5453125,4.621875 L11.2765625,2.8890625 L12.909375,4.521875 C13.078125,4.690625 13.15625,4.928125 13.1171875,5.159375 Z" id="形状" fill="#6C492A" opacity="0.600000024"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
13
static/images/projectWarning/position.svg
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>考核图标/地点@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.300000012">
|
||||
<g id="分润比例切换0522" transform="translate(-916.000000, -70.000000)" fill="#6C492A" fill-rule="nonzero">
|
||||
<g id="考核图标/地点" transform="translate(907.000000, 58.000000)">
|
||||
<g id="形状结合" transform="translate(9.000000, 12.000000)">
|
||||
<path d="M6,0 C8.76142375,0 11,2.23857625 11,5 C11,6.84094917 9.33333333,9.1742825 6,12 C2.66666667,9.1742825 1,6.84094917 1,5 C1,2.23857625 3.23857625,0 6,0 Z M6,3 C4.8954305,3 4,3.8954305 4,5 C4,6.1045695 4.8954305,7 6,7 C7.1045695,7 8,6.1045695 8,5 C8,3.8954305 7.1045695,3 6,3 Z"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1000 B |
19
static/images/projectWarning/question.svg
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>切换比例/问题@2x</title>
|
||||
<defs>
|
||||
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
|
||||
<stop stop-color="#814C1D" offset="0%"></stop>
|
||||
<stop stop-color="#FEBE79" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="分润比例切换0522" transform="translate(-1072.000000, -70.000000)">
|
||||
<g id="编组" transform="translate(1072.000000, 70.000000)">
|
||||
<rect id="矩形" fill="url(#linearGradient-1)" x="0" y="0" width="32" height="32" rx="4"></rect>
|
||||
<path d="M14,11 L17,11 L17,11 L17,16 C17,17.1045695 17.8954305,18 19,18 L25,18 L25,18 L25,20 C25,21.1045695 24.1045695,22 23,22 L16,22 L16,22 L13.7071068,24.2928932 C13.3165825,24.6834175 12.6834175,24.6834175 12.2928932,24.2928932 C12.1053568,24.1053568 12,23.8510029 12,23.5857864 L12,13 C12,11.8954305 12.8954305,11 14,11 Z" id="矩形备份-57" fill="#FFFFFF" opacity="0.400000006" transform="translate(18.500000, 18.500000) scale(-1, 1) translate(-18.500000, -18.500000) "></path>
|
||||
<path d="M20,6 C21.1045695,6 22,6.8954305 22,8 L22,17 C22,18.1045695 21.1045695,19 20,19 L11,19 L8.70710678,21.2928932 C8.31658249,21.6834175 7.68341751,21.6834175 7.29289322,21.2928932 C7.10535684,21.1053568 7,20.8510029 7,20.5857864 L7,8 C7,6.8954305 7.8954305,6 9,6 L20,6 Z M14.264,15.188 C14,15.188 13.784,15.272 13.616,15.44 C13.424,15.608 13.34,15.824 13.34,16.088 C13.34,16.352 13.424,16.568 13.616,16.736 C13.784,16.904 14,17 14.264,17 C14.528,17 14.744,16.916 14.936,16.748 C15.104,16.58 15.2,16.352 15.2,16.088 C15.2,15.824 15.104,15.608 14.936,15.44 C14.756,15.272 14.528,15.188 14.264,15.188 Z M14.48,8.264 C13.592,8.264 12.896,8.516 12.38,9.02 C11.852,9.524 11.6,10.22 11.6,11.108 L12.968,11.108 C12.968,10.592 13.064,10.196 13.268,9.92 C13.508,9.596 13.88,9.44 14.396,9.44 C14.804,9.44 15.128,9.548 15.356,9.776 C15.572,10.004 15.692,10.316 15.692,10.712 C15.692,11.012 15.584,11.3 15.368,11.564 L15.224,11.732 C14.444,12.428 13.976,12.932 13.82,13.256 C13.652,13.58 13.58,13.976 13.58,14.432 L13.58,14.6 L14.96,14.6 L14.96,14.432 C14.96,14.144 15.02,13.88 15.14,13.64 C15.248,13.424 15.404,13.22 15.62,13.052 C16.196,12.548 16.544,12.224 16.652,12.104 C16.94,11.72 17.096,11.228 17.096,10.628 C17.096,9.896 16.856,9.32 16.376,8.9 C15.896,8.468 15.26,8.264 14.48,8.264 Z" id="形状结合" fill="#FFFFFF"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
12
static/images/projectWarning/user.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>切换比例/联系人@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="分润比例切换0522" transform="translate(-944.000000, -70.000000)" fill-rule="nonzero">
|
||||
<g id="user" transform="translate(944.000000, 70.000000)">
|
||||
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M13.4140625,11.93125 C13.11875,11.23125 12.69375,10.603125 12.1546875,10.0640625 C11.615625,9.525 10.9875,9.1015625 10.2875,8.8046875 C10.28125,8.8015625 10.275,8.8 10.26875,8.796875 C11.2421875,8.09375 11.875,6.9484375 11.875,5.65625 C11.875,3.515625 10.140625,1.78125 8,1.78125 C5.859375,1.78125 4.125,3.515625 4.125,5.65625 C4.125,6.9484375 4.7578125,8.09375 5.73125,8.7984375 C5.725,8.8015625 5.71875,8.803125 5.7125,8.80625 C5.0125,9.1015625 4.384375,9.525 3.8453125,10.065625 C3.30625,10.6046875 2.8828125,11.2328125 2.5859375,11.9328125 C2.2953125,12.6171875 2.140625,13.34375 2.12496822,14.090625 C2.1234375,14.1609375 2.1796875,14.21875 2.25,14.21875 L3.1875,14.21875 C3.25625,14.21875 3.3109375,14.1640625 3.3125,14.096875 C3.34375,12.890625 3.828125,11.7609375 4.684375,10.9046875 C5.5703125,10.01875 6.746875,9.53125 8,9.53125 C9.253125,9.53125 10.4296875,10.01875 11.315625,10.9046875 C12.171875,11.7609375 12.65625,12.890625 12.6875,14.096875 C12.6890625,14.165625 12.74375,14.21875 12.8125,14.21875 L13.75,14.21875 C13.8203125,14.21875 13.8765625,14.1609375 13.8750318,14.090625 C13.859375,13.34375 13.7046875,12.6171875 13.4140625,11.93125 Z M8,8.34375 C7.2828125,8.34375 6.6078125,8.0640625 6.1,7.55625 C5.5921875,7.0484375 5.3125,6.3734375 5.3125,5.65625 C5.3125,4.9390625 5.5921875,4.2640625 6.1,3.75625 C6.6078125,3.2484375 7.2828125,2.96875 8,2.96875 C8.7171875,2.96875 9.3921875,3.2484375 9.9,3.75625 C10.4078125,4.2640625 10.6875,4.9390625 10.6875,5.65625 C10.6875,6.3734375 10.4078125,7.0484375 9.9,7.55625 C9.3921875,8.0640625 8.7171875,8.34375 8,8.34375 Z" id="形状" fill="#6C492A" opacity="0.600000024"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
BIN
static/public/font/AlimamaShuHeiTi-Bold.ttf
Normal file
10
static/public/font/stylesheet.css
Normal file
19
util/api.js
@ -11,7 +11,6 @@ const publicOptions = (() => { // 获取本机的信息
|
||||
})()
|
||||
|
||||
|
||||
|
||||
export default {
|
||||
/**
|
||||
* 自定义post,get函数,返回Promise
|
||||
@ -36,8 +35,22 @@ export default {
|
||||
|
||||
data.memberShipId = !data.memberShipId ? (Store.state.userData.Membership_Id || '') :
|
||||
data.memberShipId // ||'3255' 1170386 1125717 //
|
||||
|
||||
|
||||
// ModuleGuid:"60ee4604-0830-4056-931d-d1f7e111810c,1d46081b-6ff8-44d5-9205-31c72bdb4328",
|
||||
let str = ''
|
||||
if (Store.state.userData.AuthorityInfo['1d46081b-6ff8-44d5-9205-31c72bdb4328']===1){
|
||||
str ='1d46081b-6ff8-44d5-9205-31c72bdb4328'
|
||||
}
|
||||
if (Store.state.userData.AuthorityInfo['60ee4604-0830-4056-931d-d1f7e111810c']===1){
|
||||
if (str===''){
|
||||
str = '60ee4604-0830-4056-931d-d1f7e111810c'
|
||||
}else{
|
||||
str +=',60ee4604-0830-4056-931d-d1f7e111810c'
|
||||
}
|
||||
}
|
||||
if (str===''){
|
||||
str = 0
|
||||
}
|
||||
data.ModuleGuid = str
|
||||
let requstOptions = {
|
||||
url: url,
|
||||
data: data,
|
||||
|
||||