新增商品临期授权模块
This commit is contained in:
parent
02e7ac596e
commit
8621206925
@ -35,7 +35,7 @@
|
|||||||
uni.previewImage({urls:[_this.fileItem.path]})
|
uni.previewImage({urls:[_this.fileItem.path]})
|
||||||
}else{
|
}else{
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title:"正在下载,请稍后"
|
title:"正在下载中..."
|
||||||
})
|
})
|
||||||
uni.downloadFile({
|
uni.downloadFile({
|
||||||
url:_this.fileItem.path,
|
url:_this.fileItem.path,
|
||||||
|
|||||||
104
pages.json
104
pages.json
@ -29,27 +29,24 @@
|
|||||||
// "navigationBarTitleText": "视频回放"
|
// "navigationBarTitleText": "视频回放"
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
,{
|
, {
|
||||||
"path" : "pages/authorityApproval/index",
|
"path": "pages/authorityApproval/index",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": "权限审批",
|
||||||
"navigationBarTitleText": "权限审批",
|
"enablePullDownRefresh": true
|
||||||
"enablePullDownRefresh": true
|
|
||||||
|
}
|
||||||
}
|
|
||||||
|
}, {
|
||||||
}
|
"path": "pages/authorityApproval/detail",
|
||||||
,{
|
"style": {
|
||||||
"path" : "pages/authorityApproval/detail",
|
"navigationBarTitleText": "权限审批",
|
||||||
"style" :
|
"enablePullDownRefresh": false
|
||||||
{
|
|
||||||
"navigationBarTitleText": "权限审批",
|
}
|
||||||
"enablePullDownRefresh": false
|
|
||||||
|
}
|
||||||
}
|
],
|
||||||
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"subPackages": [
|
"subPackages": [
|
||||||
// {
|
// {
|
||||||
// "root": "pages/additionalFeatures",
|
// "root": "pages/additionalFeatures",
|
||||||
@ -70,29 +67,27 @@
|
|||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
"root": "pages/auditingPop",
|
"root": "pages/auditingPop",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
"path": "jointlySign",
|
||||||
"path": "jointlySign",
|
"style": {
|
||||||
"style": {
|
"navigationBarTitleText": "会签"
|
||||||
"navigationBarTitleText": "会签"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "transfer",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "移交"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "toExamine",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "审核"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "reject",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "驳回"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
}, {
|
||||||
|
"path": "transfer",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "移交"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "toExamine",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "审核"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "reject",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "驳回"
|
||||||
|
}
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/operatingStatements",
|
"root": "pages/operatingStatements",
|
||||||
@ -318,7 +313,7 @@
|
|||||||
"root": "pages/everdayRenven",
|
"root": "pages/everdayRenven",
|
||||||
"pages": [{
|
"pages": [{
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
// "navigationStyle":"custom",
|
// "navigationStyle":"custom",
|
||||||
// "navigationBarTextStyle":"white",
|
// "navigationBarTextStyle":"white",
|
||||||
@ -454,14 +449,33 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "expenseDetail",
|
"path": "expenseDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "财务审批"
|
"navigationBarTitleText": "财务审批"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"root": "pages/commodity_temp",
|
||||||
|
"pages": [{
|
||||||
|
"path": "index",
|
||||||
|
"style": {
|
||||||
|
"enablePullDownRefresh": true,
|
||||||
|
"navigationBarTitleText": "资质审批"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "detail",
|
||||||
|
"style": {
|
||||||
|
"enablePullDownRefresh": true,
|
||||||
|
"navigationBarTitleText": "资质审批"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
|||||||
@ -33,6 +33,15 @@
|
|||||||
<filesUnit v-for="(file,i) in baseData.FileList" :fileItem="file" :key="i"></filesUnit>
|
<filesUnit v-for="(file,i) in baseData.FileList" :fileItem="file" :key="i"></filesUnit>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="file-body" v-if="baseData.QualificationList && baseData.QualificationList.length>0">
|
||||||
|
<div class="uni-flex base-body" style="align-items: center;">
|
||||||
|
<i class="ico ico-fj"></i>
|
||||||
|
<span class="item-title">资质文件</span>
|
||||||
|
</div>
|
||||||
|
<div class="imgBox">
|
||||||
|
<filesUnit v-for="(file,i) in baseData.QualificationList" :fileItem="file" :key="i"></filesUnit>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<view class="button-box" v-if="baseData.USER_ID==users.UserId">
|
<view class="button-box" v-if="baseData.USER_ID==users.UserId">
|
||||||
<span @tap="showPop(4000)">
|
<span @tap="showPop(4000)">
|
||||||
<image src="/static/images/yj-btn.png" mode="aspectFit"></image> 移交
|
<image src="/static/images/yj-btn.png" mode="aspectFit"></image> 移交
|
||||||
@ -243,17 +252,24 @@
|
|||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
let _data = rs.Data
|
let _data = rs.Data
|
||||||
_this.baseData = _data
|
_this.baseData = _data
|
||||||
|
// 解析附件信息
|
||||||
if (_data.FileList) {
|
if (_data.FileList) {
|
||||||
|
|
||||||
_data.FileList.map(v => {
|
_data.FileList.map(v => {
|
||||||
let name = v.ATTACHMENT_URL.split('.')
|
let name = v.ATTACHMENT_URL.split('.')
|
||||||
|
|
||||||
v.type = name[name.length - 1]
|
v.type = name[name.length - 1]
|
||||||
v.name = v.ATTACHMENT_DESC
|
v.name = v.ATTACHMENT_DESC
|
||||||
v.path = v.ATTACHMENT_URL
|
v.path = v.ATTACHMENT_URL
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 解析资质文件信息
|
||||||
|
if (_data.QualificationList) {
|
||||||
|
_data.QualificationList.map(v => {
|
||||||
|
let name = v.IMAGE_URL.split('.')
|
||||||
|
v.type = name[name.length - 1]
|
||||||
|
v.name = v.IMAGE_TITLE
|
||||||
|
v.path = v.IMAGE_URL
|
||||||
|
})
|
||||||
|
}
|
||||||
_this.getChange()
|
_this.getChange()
|
||||||
_this.$forceUpdate()
|
_this.$forceUpdate()
|
||||||
|
|
||||||
|
|||||||
122
pages/commodity_temp/components/listUnit.vue
Normal file
122
pages/commodity_temp/components/listUnit.vue
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
<template>
|
||||||
|
<view class="card cardBorder" @tap='goDetail' v-if="item">
|
||||||
|
<!-- 卡片第一行数据 -->
|
||||||
|
<view class="uni-flex jc-between">
|
||||||
|
<!-- 左侧 -->
|
||||||
|
<!-- 商品名称 -->
|
||||||
|
<p class="contentName">{{item.COMMODITY_NAME}}</p>
|
||||||
|
<!-- 右侧 -->
|
||||||
|
<!-- 有效状态 -->
|
||||||
|
<p class="other-coast">{{state[item.COMMODITY_TEMP_STATE]}}</p>
|
||||||
|
</view>
|
||||||
|
<!-- 卡片第一行角标 -->
|
||||||
|
<view class="content-index" style="background-color:#FB8B56">{{i+1}}</view>
|
||||||
|
<!-- 卡片第二行数据 -->
|
||||||
|
<view style="line-height: 1;">
|
||||||
|
<!-- 服务区名称 -->
|
||||||
|
<p class="content-type-text">{{item.SERVERPART_NAME}}</p>
|
||||||
|
</view>
|
||||||
|
<!-- 卡片第三行数据 -->
|
||||||
|
<view class="uni-flex content-box-cashpay">
|
||||||
|
<!-- 中间 -->
|
||||||
|
<!-- 资质到期时间 -->
|
||||||
|
<p class="titleStyle">{{item.QUALIFICATION_DATE}}</p>
|
||||||
|
</view>
|
||||||
|
<!-- 分割线 -->
|
||||||
|
<view class="bb1"></view>
|
||||||
|
<!-- 卡片第四行第一项数据 -->
|
||||||
|
<!-- 操作人员 -->
|
||||||
|
<view class="cellBetweenStyle" v-if="item.STAFF_NAME">
|
||||||
|
<view class="cellLeftStyle">
|
||||||
|
<!-- 圆点 -->
|
||||||
|
<p class="G-icon A-icon"></p>
|
||||||
|
<span class="content-span">{{item.STAFF_NAME}}</span>
|
||||||
|
</view>
|
||||||
|
<!-- 卡片第四行第一项右侧数据 -->
|
||||||
|
<text class="content-span lh15">{{STATISTICS_DATE}}</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {//这里存放接收到的父级数据
|
||||||
|
item: {
|
||||||
|
type: Object,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
|
i: {
|
||||||
|
type: Number,
|
||||||
|
required: true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
data() {//这里存放组件私有数据
|
||||||
|
return {
|
||||||
|
state:{
|
||||||
|
0:"无效",
|
||||||
|
1:"待延期",
|
||||||
|
2:"已延期"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {},
|
||||||
|
methods: {//方法集合
|
||||||
|
goDetail() {
|
||||||
|
this.$emit('goDetail', this.item)
|
||||||
|
},
|
||||||
|
dateEmpty(v) {
|
||||||
|
return this.$util.cutDate(v, 'YYYY/MM/DD')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- 注意:style样式增加scoped私有属性标记后,组件样式不能在引用的地方进行修改 -->
|
||||||
|
<style scoped>
|
||||||
|
@import url('/common/css/listUnit.css');
|
||||||
|
|
||||||
|
.cardBorder {//卡片边框颜色
|
||||||
|
box-shadow: 0 0px 6rpx #E2E2E2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.titleStyle {//主信息标签
|
||||||
|
margin-right: 10rpx;
|
||||||
|
font-size: 36rpx;
|
||||||
|
color: #111;
|
||||||
|
font-family: Bahnschrift Regular;
|
||||||
|
}
|
||||||
|
|
||||||
|
.typeText {
|
||||||
|
padding: 0 10rpx;
|
||||||
|
margin-right: 16rpx;
|
||||||
|
margin-top: 40rpx;
|
||||||
|
position: absolute;
|
||||||
|
right: 0rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.other-coast {//标签渐变背景色
|
||||||
|
color: #D1A271;
|
||||||
|
background: linear-gradient(to top, #EBDDCF, #FCFBF8);
|
||||||
|
border-radius: 6rpx;
|
||||||
|
font-size: 24rpx;
|
||||||
|
padding: 0 10rpx;
|
||||||
|
height: 40rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cellLeftStyle{//标签左侧对齐
|
||||||
|
line-height: 45rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap : wrap;
|
||||||
|
align-items: center; //上下对齐
|
||||||
|
justify-content: flex-start; //左侧对齐
|
||||||
|
}
|
||||||
|
|
||||||
|
.cellBetweenStyle {//标签两侧对齐
|
||||||
|
line-height: 45rpx;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap : wrap;
|
||||||
|
align-items: center; //上下对齐
|
||||||
|
justify-content: space-between; //两侧对齐
|
||||||
|
}
|
||||||
|
</style>
|
||||||
248
pages/commodity_temp/detail.vue
Normal file
248
pages/commodity_temp/detail.vue
Normal file
@ -0,0 +1,248 @@
|
|||||||
|
<template>
|
||||||
|
<view class="page-body">
|
||||||
|
<!-- 顶部信息卡片 -->
|
||||||
|
<view class="card-header">
|
||||||
|
<!-- 顶部信息卡片第一行 -->
|
||||||
|
<h3>{{dataDetail.SHOPNAME }}</h3>
|
||||||
|
<!-- 顶部信息卡片第二行 -->
|
||||||
|
<view class="uni-flex ai-center jc-between fs12">
|
||||||
|
<!-- 左侧 -->
|
||||||
|
<span>{{dataDetail.QUALIFICATION_DATE }}</span>
|
||||||
|
<!-- 右侧 -->
|
||||||
|
<span>商品名称:{{dataDetail.COMMODITY_NAME}}</span>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 详情信息 -->
|
||||||
|
<view class="modle-title">
|
||||||
|
<h2>商品资质</h2>
|
||||||
|
</view>
|
||||||
|
<!-- 详情信息卡片 -->
|
||||||
|
<view class="content-detail-box main-card ino-flex ai-center uni-column">
|
||||||
|
<!-- 商品类型名称 -->
|
||||||
|
<!-- 单列样式 -->
|
||||||
|
<view class="cellTopStyle">
|
||||||
|
<span class="fourth-name">商品类型:</span>
|
||||||
|
<span>{{dataDetail.COMMODITY_TYPENAME||''}}</span>
|
||||||
|
</view>
|
||||||
|
<!-- 商品名称 -->
|
||||||
|
<!-- 单列样式 -->
|
||||||
|
<!-- <view class="cellTopStyle">
|
||||||
|
<span class="fourth-name">商品名称:</span>
|
||||||
|
<span>{{dataDetail.COMMODITY_NAME||''}}</span>
|
||||||
|
</view> -->
|
||||||
|
<!-- 商品条码 -->
|
||||||
|
<!-- 单列样式 -->
|
||||||
|
<view class="cellTopStyle">
|
||||||
|
<span class="fourth-name">商品条码:</span>
|
||||||
|
<span>{{dataDetail.COMMODITY_BARCODE||''}}</span>
|
||||||
|
</view>
|
||||||
|
<!-- 服务区名称 -->
|
||||||
|
<!-- 单列样式 -->
|
||||||
|
<view class="cellTopStyle">
|
||||||
|
<span class="fourth-name">服务区名:</span>
|
||||||
|
<span>{{dataDetail.SERVERPART_NAME||''}}</span>
|
||||||
|
</view>
|
||||||
|
<!-- 商品业态 -->
|
||||||
|
<!-- 单列样式 -->
|
||||||
|
<view class="cellTopStyle">
|
||||||
|
<span class="fourth-name">商品业态:</span>
|
||||||
|
<span>{{dataDetail.BUSINESSTYPE||''}}</span>
|
||||||
|
</view>
|
||||||
|
<!-- 资质到期时间 -->
|
||||||
|
<!-- 单列样式 -->
|
||||||
|
<view class="cellTopStyle">
|
||||||
|
<span class="fourth-name">资质到期时间:</span>
|
||||||
|
<span>{{dataDetail.QUALIFICATION_DATE||''}}</span>
|
||||||
|
</view>
|
||||||
|
<!-- 资质延期时间 -->
|
||||||
|
<!-- 单列样式 -->
|
||||||
|
<view class="cellTopStyle">
|
||||||
|
<span class="fourth-name">资质延期时间:</span>
|
||||||
|
<span>{{dataDetail.QUALIFICATION_DELAYDATE||''}}</span>
|
||||||
|
</view>
|
||||||
|
<!-- 统计日期 -->
|
||||||
|
<!-- 单列样式 -->
|
||||||
|
<view class="cellTopStyle">
|
||||||
|
<span class="fourth-name">统计日期:</span>
|
||||||
|
<span>{{dataDetail.STATISTICS_DATE||''}}</span>
|
||||||
|
</view>
|
||||||
|
<!-- 操作人员 -->
|
||||||
|
<!-- 单列样式 -->
|
||||||
|
<view class="cellTopStyle">
|
||||||
|
<span class="fourth-name">延期人员:</span>
|
||||||
|
<span>{{dataDetail.STAFF_NAME||''}}</span>
|
||||||
|
</view>
|
||||||
|
<!-- 有效状态 -->
|
||||||
|
<!-- 单列样式 -->
|
||||||
|
<view class="cellTopStyle">
|
||||||
|
<span class="fourth-name">延期状态:</span>
|
||||||
|
<span>{{state[dataDetail.COMMODITY_TEMP_STATE]||''}}</span>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="main-card ino-flex ai-center uni-column button-sp-area">
|
||||||
|
<button type="primary" plain="true" :loading="loading" :disabled="disabled" @click="Synchro(dataDetail)">临时延期3天</button>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {mapGetters,mapMutations} from 'vuex'
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
pageData: {
|
||||||
|
type: null,
|
||||||
|
id: null
|
||||||
|
},
|
||||||
|
loading: true,
|
||||||
|
dataDetail: {},
|
||||||
|
state:{
|
||||||
|
0:"无效",
|
||||||
|
1:"待延期",
|
||||||
|
2:"已延期"
|
||||||
|
},
|
||||||
|
disabled:false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed:{
|
||||||
|
...mapGetters({
|
||||||
|
'user':'getUser',
|
||||||
|
})
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
...mapMutations(['shouldReLoadingList']),
|
||||||
|
/**
|
||||||
|
* 调用接口获取数据详情
|
||||||
|
*
|
||||||
|
* Api接口地址:EShangApiMain/BusinessMan/Getcommodity_tempDetail
|
||||||
|
*/
|
||||||
|
getDetail(option) {
|
||||||
|
this.$request.$webGet("EShangApiMain/BusinessMan/Getcommodity_tempDetail",{
|
||||||
|
//这里设置接口参数
|
||||||
|
COMMODITY_TEMPId: option.COMMODITY_TEMP_ID,
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
uni.hideLoading()
|
||||||
|
this.loading = false
|
||||||
|
if (res.Result_Code !== 100) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.dataDetail = res.Result_Data
|
||||||
|
let delayDate = res.Result_Data.QUALIFICATION_DELAYDATE
|
||||||
|
let qualificationDate = res.Result_Data.QUALIFICATION_DATE
|
||||||
|
let datediff = this.$util.DateDiff(delayDate,qualificationDate)
|
||||||
|
console.log(datediff)
|
||||||
|
if (datediff >=9 ){
|
||||||
|
this.disabled = true
|
||||||
|
}else{
|
||||||
|
this.disabled = false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
Synchro(item){
|
||||||
|
this.loading = true
|
||||||
|
//获取当前到期日期
|
||||||
|
let delayDate = item.QUALIFICATION_DELAYDATE||item.QUALIFICATION_DATE
|
||||||
|
//设置延期
|
||||||
|
item.QUALIFICATION_DELAYDATE = this.$util.cutDate(delayDate,"YYYY/MM/DD",3)
|
||||||
|
item.COMMODITY_TEMP_STATE = 2
|
||||||
|
item.STAFF_ID = this.user.UserId
|
||||||
|
item.STAFF_NAME = this.user.UserName
|
||||||
|
item.OPERATE_DATE = this.$util.cutDate(new Date(),"YYYY/MM/DDThh:mm:ss",0)
|
||||||
|
//同步数据到云端
|
||||||
|
this.$request.$webPost("EShangApiMain/BusinessMan/SynchroCOMMODITY_TEMP",item)
|
||||||
|
.then(res => {
|
||||||
|
uni.hideLoading()
|
||||||
|
this.loading = false
|
||||||
|
if (res.Result_Code !== 100) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.dataDetail = res.Result_Data
|
||||||
|
let delayDate = res.Result_Data.QUALIFICATION_DELAYDATE
|
||||||
|
let qualificationDate = res.Result_Data.QUALIFICATION_DATE
|
||||||
|
let datediff = this.$util.DateDiff(delayDate,qualificationDate)
|
||||||
|
console.log(datediff)
|
||||||
|
if (datediff >=9 ){
|
||||||
|
this.disabled = true
|
||||||
|
}else{
|
||||||
|
this.disabled = false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad(option) {
|
||||||
|
uni.showLoading()
|
||||||
|
this.pageData = option
|
||||||
|
this.loading = true
|
||||||
|
this.getDetail(option)
|
||||||
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.page-body {
|
||||||
|
min-height: 100%;
|
||||||
|
padding: 40rpx 25rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-bottom: 196rpx;
|
||||||
|
}
|
||||||
|
.card-header {
|
||||||
|
border-radius: 10rpx;
|
||||||
|
width: 700rpx;
|
||||||
|
background: linear-gradient(to right, #8998bb 0%, #a9b5d2 100%);
|
||||||
|
color: #FFFFFF;
|
||||||
|
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: flex;
|
||||||
|
align-items: center; //上下对齐
|
||||||
|
justify-content: space-between; //两端对齐
|
||||||
|
}
|
||||||
|
.fourth-name {
|
||||||
|
min-width: 120rpx;
|
||||||
|
max-width: 185rpx;
|
||||||
|
color: #ADB2BF;
|
||||||
|
font-size: 26rpx;
|
||||||
|
}
|
||||||
|
.modle-title {
|
||||||
|
color: #000;
|
||||||
|
padding: 36rpx 30rpx 24rpx 30rpx;
|
||||||
|
font-size: 26rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modle-title h2 {
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
.content-detail-box {
|
||||||
|
margin: 0 26rpx 22rpx 26rpx;
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 8rpx;
|
||||||
|
box-shadow: 0rpx 2rpx 8rpx 0rpx rgba(231, 231, 231, 0.67);
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
padding: 10rpx 30rpx 16rpx 30rpx;
|
||||||
|
font-size: 26rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content-detail-box span {
|
||||||
|
font-size: 26rpx;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
471
pages/commodity_temp/index.vue
Normal file
471
pages/commodity_temp/index.vue
Normal file
@ -0,0 +1,471 @@
|
|||||||
|
<template>
|
||||||
|
<view class="content">
|
||||||
|
<!-- 顶部筛选菜单 -->
|
||||||
|
<view class="uni-flex ai-center screen-box menu-list">
|
||||||
|
<view class="menu" v-for="(item,index) in menuList" :key="index" @click="handleClick(item)">
|
||||||
|
<view class="menu-image round" style="height:75rpx;width:75rpx;padding: 18rpx;"
|
||||||
|
:style="activeType==item.id ? 'background:#f0f7fe;' : 'background:#f6f7f8;'">
|
||||||
|
<image :src="activeType==item.id? item.active: item.src" mode="aspectFit" style="height:100%;">
|
||||||
|
</image>
|
||||||
|
</view>
|
||||||
|
<view class="menuName" :style="activeType==item.id ? 'color:#5B96E9' :'color:#808D97'">{{item.name}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 数据卡片列表 -->
|
||||||
|
<view v-if="pageList.length>0">
|
||||||
|
<list-unit v-for="(item,index) in pageList" :key="index" :item="item" :i="index" @goDetail="goDetail">
|
||||||
|
</list-unit>
|
||||||
|
</view>
|
||||||
|
<!-- 无数据时的页面显示 -->
|
||||||
|
<view v-else-if="pageData.isLoading===false">
|
||||||
|
<noFound :nodata="pageList.length>0 ? false : true" :text="searchTime[1]+'无数据,'">
|
||||||
|
<text name="other">请选择其它日期进行查询。</text>
|
||||||
|
</noFound>
|
||||||
|
</view>
|
||||||
|
<!-- 底部提示 -->
|
||||||
|
<view class="load-more" v-if="pageList.length>0">
|
||||||
|
<text>{{!pageData.isEnd ? '正在加载,请稍后...':'——— 我是有底线的 ———'}}</text>
|
||||||
|
</view>
|
||||||
|
<!-- 更多筛选的弹窗 -->
|
||||||
|
<UniPop :show="showPop" @hidePopup="closePop" type="bottom" @touchmove.prevent round="true">
|
||||||
|
<view class="padding-bottom">
|
||||||
|
<view class="moduleTitle">服务区名称</view>
|
||||||
|
<view class="uni-flex align-center screen-box"
|
||||||
|
style="justify-content: space-between; margin: 0 120rpx;">
|
||||||
|
<picker class="title-clock" mode="selector" @change="pickerChange" :value="pickerIndex"
|
||||||
|
range-key="label" :range="severpartList">
|
||||||
|
<view class="box-center-title">{{severpartList[pickerIndex].label}}</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
<!-- 日期选项 -->
|
||||||
|
<view class="moduleTitle">{{popData.dateName}}</view>
|
||||||
|
<!-- 固定日期选项 -->
|
||||||
|
<view class="uni-flex align-center">
|
||||||
|
<view v-for="(d,index) in popData.dateList" :key="index" @click="selectDate(index,d.value)"
|
||||||
|
class="tag-item" :class="{'actived':dateIndex==index}">{{d.name}}</view>
|
||||||
|
</view>
|
||||||
|
<!-- 自定义日期选项 -->
|
||||||
|
<view class="uni-flex align-center screen-box" style="justify-content: space-between; margin: 0 120rpx;"
|
||||||
|
v-if="popData.dateList[dateIndex].value==0">
|
||||||
|
<picker mode="date" @change="bindDateChange($event,1)" :value="searchTime[1]"
|
||||||
|
:end="pageData.endDate" start="2019/12/01" class="screen-unit">
|
||||||
|
<text>{{searchTime[1]}}</text>
|
||||||
|
<!-- <image src="/static/images/tab_down.png" mode="aspectFit"></image> -->
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
<view class="popbtn" @click="reloadList">确定</view>
|
||||||
|
</view>
|
||||||
|
</UniPop>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {
|
||||||
|
mapState,
|
||||||
|
mapGetters,
|
||||||
|
mapMutations
|
||||||
|
} from 'vuex'
|
||||||
|
//列表卡片组件
|
||||||
|
import ListUnit from "./components/listUnit.vue"
|
||||||
|
//弹窗组件
|
||||||
|
import UniPop from '@/components/uni-popup.vue'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: { //import引入的组件需要注入到对象中才能使用
|
||||||
|
ListUnit,
|
||||||
|
UniPop
|
||||||
|
},
|
||||||
|
|
||||||
|
data() { //这里存放数据
|
||||||
|
let stime = this.$util.cutDate(new Date(), 'YYYY-MM-DD', -6)
|
||||||
|
let etime = this.$util.cutDate(new Date(), 'YYYY-MM-DD')
|
||||||
|
return {
|
||||||
|
activeType: 0, //选中的延期类型
|
||||||
|
selectTypeIndex: 0, //选中的稽查类型
|
||||||
|
dateIndex: 0, //选中的日期标签
|
||||||
|
showPop: false,
|
||||||
|
searchTime: [stime, etime],
|
||||||
|
pageData: {
|
||||||
|
pageIndex: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
isEnd: false,
|
||||||
|
isLoading: true,
|
||||||
|
endDate: etime
|
||||||
|
},
|
||||||
|
optionData: null,
|
||||||
|
severpartList: [],
|
||||||
|
pickerIndex: 0,
|
||||||
|
menuList: [{ //列表头部菜单选项标签
|
||||||
|
name: '全部',
|
||||||
|
src: '../../../../../static/images/expense/type/yifq.png',
|
||||||
|
active: '../../../../../static/images/expense/type/yifqz.png',
|
||||||
|
id: 0
|
||||||
|
}, {
|
||||||
|
name: '待延期',
|
||||||
|
src: '../../../../../static/images/expense/type/shenp.png',
|
||||||
|
active: '../../../../../static/images/expense/type/shenpz.png',
|
||||||
|
id: 1
|
||||||
|
}, {
|
||||||
|
name: '已延期',
|
||||||
|
src: '../../../../../static/images/expense/type/yichl.png',
|
||||||
|
active: '../../../../../static/images/expense/type/yichlz.png',
|
||||||
|
id: 2
|
||||||
|
}, {
|
||||||
|
name: '更多筛选',
|
||||||
|
src: '../../../../../static/images/expense/type/shaix.png',
|
||||||
|
active: '../../../../../static/images/expense/type/shaixz.png',
|
||||||
|
id: 99
|
||||||
|
}, ],
|
||||||
|
popData: {
|
||||||
|
//更多选项中卡片颜色
|
||||||
|
colors: ['#5B96E9', '#F0A038', '#5B96E9', '#57BAAE', '#D9675C', '#5B96E9', '#57BAAE'],
|
||||||
|
//更多选项中日期选项名称
|
||||||
|
dateName: "日期",
|
||||||
|
//更多选项中日期选项数据源
|
||||||
|
dateList: [ //更多选项中的日期标签
|
||||||
|
{
|
||||||
|
name: '自定义',
|
||||||
|
value: 0
|
||||||
|
},
|
||||||
|
],
|
||||||
|
typeName: "类型",
|
||||||
|
selectList: [{ //更多选项中的类型标签
|
||||||
|
name: '全部',
|
||||||
|
src: '../../../../../static/images/expense/type/qb.png',
|
||||||
|
typeId: 0
|
||||||
|
}, {
|
||||||
|
name: '类型1',
|
||||||
|
src: '../../../../../static/images/expense/type/fksp.png',
|
||||||
|
typeId: 1
|
||||||
|
}, {
|
||||||
|
name: '类型2',
|
||||||
|
src: '../../../../../static/images/expense/type/fksp.png',
|
||||||
|
typeId: 2
|
||||||
|
}, {
|
||||||
|
name: '类型3',
|
||||||
|
src: '../../../../../static/images/expense/type/fksp.png',
|
||||||
|
typeId: 3
|
||||||
|
}, {
|
||||||
|
name: '类型4',
|
||||||
|
src: '../../../../../static/images/expense/type/fksp.png',
|
||||||
|
typeId: 4
|
||||||
|
}],
|
||||||
|
},
|
||||||
|
pageList: [],
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
computed: { //监听属性 类似于data概念
|
||||||
|
...mapGetters({
|
||||||
|
reloading: 'shouldReLoadingList'
|
||||||
|
}),
|
||||||
|
...mapState({
|
||||||
|
user: (state) => {
|
||||||
|
return state.userData
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
methods: { //方法集合
|
||||||
|
...mapMutations(['shouldReLoadingList']),
|
||||||
|
selectDate(dayIndex, days) {
|
||||||
|
this.dateIndex = dayIndex
|
||||||
|
if (days > 0) {
|
||||||
|
this.searchTime[0] = this.$util.cutDate(new Date(), 'YYYY-MM-DD', (-1 * days))
|
||||||
|
this.searchTime[1] = this.$util.cutDate(new Date(), 'YYYY-MM-DD')
|
||||||
|
}
|
||||||
|
// this.$forceUpdate()
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日期缓存刷新
|
||||||
|
* @param {Object} e
|
||||||
|
* @param {Object} index
|
||||||
|
*/
|
||||||
|
bindDateChange(e, index) {
|
||||||
|
this.searchTime[index] = e.detail.value
|
||||||
|
this.$forceUpdate()
|
||||||
|
},
|
||||||
|
pickerChange(e) {
|
||||||
|
this.pickerIndex = e.detail.value
|
||||||
|
this.pageData.pageIndex = 1
|
||||||
|
// this.getList()
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* 查询数据稽查数据
|
||||||
|
*/
|
||||||
|
searchList() {
|
||||||
|
uni.showLoading({
|
||||||
|
title: '正在加载'
|
||||||
|
})
|
||||||
|
this.pageData.isLoading = true
|
||||||
|
this.pageData.isEnd = false
|
||||||
|
this.pageData.pageIndex = 1
|
||||||
|
this.getList()
|
||||||
|
uni.pageScrollTo({
|
||||||
|
scrollTop: 0,
|
||||||
|
duration: 300
|
||||||
|
})
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* 调用接口获取
|
||||||
|
*
|
||||||
|
* Api接口地址:EShangApiMain/BusinessMan/Getcommodity_tempList
|
||||||
|
*/
|
||||||
|
getList() {
|
||||||
|
this.$request.$webPost("EShangApiMain/BusinessMan/Getcommodity_tempList", {
|
||||||
|
QueryType: 0, //这里设置查询方式,0:模糊查询;1:精准查询
|
||||||
|
SearchParameter: {
|
||||||
|
//这里设置查询参数条件
|
||||||
|
SERVERPART_ID: this.optionData && this.optionData.serverpartid ?
|
||||||
|
this.optionData.serverpartid : this.severpartList[this.pickerIndex].value,
|
||||||
|
STATISTICS_DATE: this.optionData && this.optionData.statisticsdate ?
|
||||||
|
this.optionData.statisticsdate : this.searchTime[1],
|
||||||
|
COMMODITY_TEMP_STATE: this.activeType && this.activeType.COMMODITY_TEMP_STATE ? this.activeType.COMMODITY_TEMP_STATE : ''
|
||||||
|
},
|
||||||
|
pageIndex: this.pageData.pageIndex,
|
||||||
|
pageSize: this.pageData.pageSize,
|
||||||
|
}).then(res => {
|
||||||
|
if (!res.Result_Code || res.Result_Code != 100) {
|
||||||
|
this.pageData.isLoading = false
|
||||||
|
this.pageList = []
|
||||||
|
} else {
|
||||||
|
//筛选数据(请根据实际业务修改)
|
||||||
|
let list = res.Result_Data.List.filter(p => {
|
||||||
|
if (this.activeType == 1) {
|
||||||
|
return p.COMMODITY_TEMP_STATE == 1
|
||||||
|
} else if (this.activeType == 2) {
|
||||||
|
return p.COMMODITY_TEMP_STATE == 2
|
||||||
|
} else {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
if (list.length > 0) {
|
||||||
|
if (this.pageData.pageIndex == 1) {
|
||||||
|
this.pageList = list
|
||||||
|
} else {
|
||||||
|
this.pageList = [...this.pageList, ...list]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (list.length < this.pageData.pageSize) { // 返回条数小于每页条数
|
||||||
|
this.pageData.isEnd = true
|
||||||
|
}
|
||||||
|
this.$forceUpdate()
|
||||||
|
}
|
||||||
|
uni.hideLoading()
|
||||||
|
let _this = this
|
||||||
|
setTimeout(function() {
|
||||||
|
_this.pageData.isLoading = false
|
||||||
|
}, 500)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* 加载下一页
|
||||||
|
*/
|
||||||
|
loadMore() {
|
||||||
|
if (!this.pageData.isEnd) {
|
||||||
|
this.pageData.pageIndex += 1
|
||||||
|
this.getList()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* 绑定信息卡片点击跳转页面
|
||||||
|
* @param {Object} item
|
||||||
|
*/
|
||||||
|
goDetail(item) {
|
||||||
|
this.$util.toNextRoute('navigateTo', '/pages/commodity_temp/detail?COMMODITY_TEMP_ID=' + item.COMMODITY_TEMP_ID)
|
||||||
|
},
|
||||||
|
reloadList() {
|
||||||
|
this.showPop = false
|
||||||
|
this.pageData.pageIndex = 1
|
||||||
|
uni.showLoading({
|
||||||
|
title: '正在加载'
|
||||||
|
})
|
||||||
|
this.pageData.isLoading = true
|
||||||
|
this.pageData.isEnd = false
|
||||||
|
this.pageList = []
|
||||||
|
this.getList()
|
||||||
|
this.$forceUpdate()
|
||||||
|
},
|
||||||
|
closePop() {
|
||||||
|
this.showPop = false
|
||||||
|
},
|
||||||
|
handleClick(item) { //顶部菜单标签点击事件
|
||||||
|
if (item.id == 99) { //标签 id=99 代表点击了更多筛选
|
||||||
|
this.showPop = true
|
||||||
|
} else {
|
||||||
|
this.activeType = item.id
|
||||||
|
this.reloadList()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
bindPartChange(item) {
|
||||||
|
this.selectTypeIndex = item.typeId
|
||||||
|
},
|
||||||
|
//服务区列表
|
||||||
|
getSeverpart() {
|
||||||
|
const _this = this
|
||||||
|
this.$request.$webGet('EShangApiMain/Logging/GetPassportInfoById', {
|
||||||
|
UserIdEncrypted: this.user.UserIdEncrypted
|
||||||
|
}).then(res => {
|
||||||
|
if (!res.Result_Code || res.Result_Code != '100') {
|
||||||
|
_this.severpartList = []
|
||||||
|
} else {
|
||||||
|
this.$request.$webGet('EShangApiMain/BaseInfo/GetServerpartDDL', {
|
||||||
|
ServerpartCodes: res.Result_Data.CityAuthority,
|
||||||
|
ServerpartType: 1000,
|
||||||
|
StatisticsType: '1000,2000'
|
||||||
|
}).then(res => {
|
||||||
|
_this.severpartList = res.Result_Data.List
|
||||||
|
this.getList()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
onPullDownRefresh() {
|
||||||
|
uni.showLoading({
|
||||||
|
title: '正在加载'
|
||||||
|
})
|
||||||
|
this.pageData.pageIndex = 1
|
||||||
|
this.pageData.isLoading = true
|
||||||
|
this.pageData.isEnd = false
|
||||||
|
this.getList()
|
||||||
|
setTimeout(function() {
|
||||||
|
uni.stopPullDownRefresh()
|
||||||
|
}, 1000)
|
||||||
|
},
|
||||||
|
//页面滑动到底部
|
||||||
|
onReachBottom() {
|
||||||
|
//加载下一页数据
|
||||||
|
this.loadMore()
|
||||||
|
},
|
||||||
|
//页面打开
|
||||||
|
onShow() {
|
||||||
|
let _this = this
|
||||||
|
if (this.reloading) {
|
||||||
|
uni.showLoading({
|
||||||
|
title: '正在加载'
|
||||||
|
})
|
||||||
|
this.pageData.isLoading = true
|
||||||
|
this.pageData.pageIndex = 1
|
||||||
|
this.pageData.isEnd = false
|
||||||
|
this.getList()
|
||||||
|
this.shouldReLoadingList(false)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//页面加载
|
||||||
|
onLoad(option) {
|
||||||
|
uni.showLoading({
|
||||||
|
title: '正在加载'
|
||||||
|
})
|
||||||
|
this.optionData = option
|
||||||
|
this.pageData.isLoading = true
|
||||||
|
this.getSeverpart()
|
||||||
|
},
|
||||||
|
//页面关闭
|
||||||
|
onUnload() {
|
||||||
|
this.$util.addUserBehavior()
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.menu-list {
|
||||||
|
//顶部菜单样式
|
||||||
|
width: 100%;
|
||||||
|
background-color: #fff;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.moduleTitle {
|
||||||
|
text-align: left;
|
||||||
|
margin: 16rpx 0 0 24rpx;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 30rpx;
|
||||||
|
padding: 24rpx 0 12rpx 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.popbtn {
|
||||||
|
width: 639rpx;
|
||||||
|
height: 80rpx;
|
||||||
|
line-height: 80rpx;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 28rpx;
|
||||||
|
background: #5b96e9;
|
||||||
|
border-radius: 8rpx;
|
||||||
|
margin: 48rpx auto 24rpx auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-box {
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 0 0rpx;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-box .screen-unit {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
width: auto;
|
||||||
|
padding: 0 0rpx;
|
||||||
|
line-height: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-box text {
|
||||||
|
line-height: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag-item {
|
||||||
|
width: 150rpx;
|
||||||
|
height: 66rpx;
|
||||||
|
background: #ffffff;
|
||||||
|
border: 1rpx solid #efefef;
|
||||||
|
border-radius: 8rpx;
|
||||||
|
color: #808D97;
|
||||||
|
font-size: 24rpx;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 64rpx;
|
||||||
|
margin: 24rpx 0 24rpx 24rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag-item.actived {
|
||||||
|
background: #e8f3fd;
|
||||||
|
border: 1rpx solid #e8f3fd;
|
||||||
|
color: #4D95F0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.padding-bottom {
|
||||||
|
padding-bottom: 24rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.round {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu {
|
||||||
|
text-align: center;
|
||||||
|
min-width: 185rpx;
|
||||||
|
padding: 24rpx 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menuName {
|
||||||
|
color: #120E2B;
|
||||||
|
font-size: 24rpx;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 16rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-image {
|
||||||
|
padding: 12rpx 8rpx;
|
||||||
|
height: 80rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 0 auto;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-image image {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -1,186 +1,192 @@
|
|||||||
const yewu = [{
|
const yewu = [{
|
||||||
"name": "财务审批",
|
"name": "财务审批",
|
||||||
"id": "1a2907bd-c2f5-4ef9-9ead-70496650ace6",
|
"id": "1a2907bd-c2f5-4ef9-9ead-70496650ace6",
|
||||||
"modelName": "FinancialApproval",
|
"modelName": "FinancialApproval",
|
||||||
"imagePath": "/static/images/index/cwsp.png",
|
"imagePath": "/static/images/index/cwsp.png",
|
||||||
"noImagePath": "/static/images/index/cwsp-no.png",
|
"noImagePath": "/static/images/index/cwsp-no.png",
|
||||||
"homeUrl": "/pages/expenseApproval/expenseApproval"
|
"homeUrl": "/pages/expenseApproval/expenseApproval"
|
||||||
|
}, {
|
||||||
|
"name": "招标投标",
|
||||||
|
"id": "916cdbb5-f05b-4624-b6c4-9f111d4389fc",
|
||||||
|
"modelName": "Tender",
|
||||||
|
"imagePath": "/static/images/index/zbtb.png",
|
||||||
|
"noImagePath": "/static/images/index/zbtb-no.png",
|
||||||
|
"homeUrl": "/pages/tender/tender"
|
||||||
|
}, {
|
||||||
|
"name": "服务区报销",
|
||||||
|
"id": "8fea5036-d67e-476e-9e56-5f379ba6ae18",
|
||||||
|
"modelName": "ServerPartFinancialApproval",
|
||||||
|
"imagePath": "/static/images/index/fwqbx.png",
|
||||||
|
"noImagePath": "/static/images/index/fwqbx-no.png",
|
||||||
|
"homeUrl": "/pages/serviceAreaReimbursement/serviceAreaReimbursement"
|
||||||
|
}, {
|
||||||
|
"name": "合同审批",
|
||||||
|
"id": "ac661db4-1af1-4732-88db-76bc05eec335",
|
||||||
|
"modelName": "ServerPartCompactApproval",
|
||||||
|
"imagePath": "/static/images/index/htsp.png",
|
||||||
|
"noImagePath": "/static/images/index/htsp-no.png",
|
||||||
|
"homeUrl": "/pages/contract/contract"
|
||||||
|
}];
|
||||||
|
const work = [{
|
||||||
|
"name": "公文阅办",
|
||||||
|
"id": "2580cb9f-ad2c-4d0b-b478-0be52eaf6ef6",
|
||||||
|
"modelName": "Publicity",
|
||||||
|
"imagePath": "/static/images/index/gwyb.png",
|
||||||
|
"noImagePath": "/static/images/index/gwyb-no.png",
|
||||||
|
"homeUrl": "/pages/officialDocManagement/officialDocManagement"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "阳光公示",
|
||||||
|
"id": "c870b1bc-95c8-473d-81c8-8596eb793bd4",
|
||||||
|
"modelName": "Publicity",
|
||||||
|
"imagePath": "/static/images/index/publicity.png",
|
||||||
|
"noImagePath": "/static/images/index/publicity-no.png",
|
||||||
|
"homeUrl": "/pages/publicity/publicity"
|
||||||
}, {
|
}, {
|
||||||
"name": "招标投标",
|
"name": "请假加班",
|
||||||
"id": "916cdbb5-f05b-4624-b6c4-9f111d4389fc",
|
"id": "1ceeaa5c-d11e-4dcd-8d33-0c3df4cd4937",
|
||||||
"modelName": "Tender",
|
"modelName": "Publicity",
|
||||||
"imagePath": "/static/images/index/zbtb.png",
|
"imagePath": "/static/images/index/qjjb.png",
|
||||||
"noImagePath": "/static/images/index/zbtb-no.png",
|
"noImagePath": "/static/images/index/qjjb-no.png",
|
||||||
"homeUrl": "/pages/tender/tender"
|
"homeUrl": "/pages/askForLeave/askForLeave"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "安全问答",
|
||||||
|
"id": "5733dfdd-29f6-4233-9ff0-6f077d80d778",
|
||||||
|
"modelName": "Questionnaire",
|
||||||
|
"imagePath": "/static/images/index/aqwd.png",
|
||||||
|
"noImagePath": "/static/images/index/aqwd-no.png",
|
||||||
|
"homeUrl": "/pages/webview/webview?name=questionnaire"
|
||||||
|
},
|
||||||
|
// {
|
||||||
|
// "name": "考勤打卡",
|
||||||
|
// "id": "ff04b551-c382-4638-a947-f95c42387ada",
|
||||||
|
// "modelName": "positionPunching",
|
||||||
|
// "imagePath": "/static/images/index/kqdk.png",
|
||||||
|
// "noImagePath": "/static/images/index/kqdk-no.png",
|
||||||
|
// "homeUrl": "/pages/additionalFeatures/positionPunching"
|
||||||
|
// }
|
||||||
|
];
|
||||||
|
const scene = [{
|
||||||
|
"name": "扫一扫",
|
||||||
|
"id": "1",
|
||||||
|
"modelName": "",
|
||||||
|
"imagePath": "/static/images/index/saoyisao.png",
|
||||||
|
"noImagePath": "/static/images/index/saoyisao-no.png",
|
||||||
|
"homeUrl": ""
|
||||||
}, {
|
}, {
|
||||||
"name": "服务区报销",
|
"name": "走动式管理",
|
||||||
"id": "8fea5036-d67e-476e-9e56-5f379ba6ae18",
|
"id": "c26c1620-2149-4b3d-ac2e-07e0c0494042",
|
||||||
"modelName": "ServerPartFinancialApproval",
|
"modelName": "Mbwa",
|
||||||
"imagePath": "/static/images/index/fwqbx.png",
|
"imagePath": "/static/images/index/zdsgl.png",
|
||||||
"noImagePath": "/static/images/index/fwqbx-no.png",
|
"noImagePath": "/static/images/index/zdsgl-no.png",
|
||||||
"homeUrl": "/pages/serviceAreaReimbursement/serviceAreaReimbursement"
|
"homeUrl": "/pages/mbwa/mbwa"
|
||||||
}, {
|
}, {
|
||||||
"name": "合同审批",
|
"name": "投诉建议",
|
||||||
"id": "ac661db4-1af1-4732-88db-76bc05eec335",
|
"id": "d405ae13-3388-41c0-a5f6-d11194d0a943",
|
||||||
"modelName": "ServerPartCompactApproval",
|
"modelName": "Suggestion",
|
||||||
"imagePath": "/static/images/index/htsp.png",
|
"imagePath": "/static/images/index/tsjy.png",
|
||||||
"noImagePath": "/static/images/index/htsp-no.png",
|
"noImagePath": "/static/images/index/tsjy-no.png",
|
||||||
"homeUrl": "/pages/contract/contract"
|
"homeUrl": "/pages/suggestion/suggestion"
|
||||||
}];
|
},
|
||||||
const work = [{
|
{
|
||||||
"name": "公文阅办",
|
"name": "收银稽核",
|
||||||
"id": "2580cb9f-ad2c-4d0b-b478-0be52eaf6ef6",
|
"id": "ebd8cae4-d36d-4ea0-a7e9-61e566bf9e24",
|
||||||
"modelName": "Publicity",
|
"modelName": "cashAudit",
|
||||||
"imagePath": "/static/images/index/gwyb.png",
|
"imagePath": "/static/images/index/syjh.png",
|
||||||
"noImagePath": "/static/images/index/gwyb-no.png",
|
"noImagePath": "/static/images/index/syjh-no.png",
|
||||||
"homeUrl": "/pages/officialDocManagement/officialDocManagement"
|
"homeUrl": "/pages/cashAudit/list"
|
||||||
},
|
}, {
|
||||||
{
|
"name": "设备巡检",
|
||||||
"name": "阳光公示",
|
"id": "",
|
||||||
"id": "c870b1bc-95c8-473d-81c8-8596eb793bd4",
|
"modelName": "",
|
||||||
"modelName": "Publicity",
|
"imagePath": "/static/images/index/sbxj.png",
|
||||||
"imagePath": "/static/images/index/publicity.png",
|
"noImagePath": "/static/images/index/sbxj-no.png",
|
||||||
"noImagePath": "/static/images/index/publicity-no.png",
|
"homeUrl": ""
|
||||||
"homeUrl": "/pages/publicity/publicity"
|
},
|
||||||
}, {
|
{
|
||||||
"name": "请假加班",
|
"name": "物业管理",
|
||||||
"id": "1ceeaa5c-d11e-4dcd-8d33-0c3df4cd4937",
|
"id": "",
|
||||||
"modelName": "Publicity",
|
"modelName": "",
|
||||||
"imagePath": "/static/images/index/qjjb.png",
|
"imagePath": "/static/images/index/wygl.png",
|
||||||
"noImagePath": "/static/images/index/qjjb-no.png",
|
"noImagePath": "/static/images/index/wygl-no.png",
|
||||||
"homeUrl": "/pages/askForLeave/askForLeave"
|
"homeUrl": ""
|
||||||
},
|
},
|
||||||
{
|
]
|
||||||
"name": "安全问答",
|
const management = [{
|
||||||
"id": "5733dfdd-29f6-4233-9ff0-6f077d80d778",
|
"name": "每日营收",
|
||||||
"modelName": "Questionnaire",
|
"id": "74934d31-385a-4eed-80bb-9c9ed7da29b5",
|
||||||
"imagePath": "/static/images/index/aqwd.png",
|
"modelName": "EverdayRenven",
|
||||||
"noImagePath": "/static/images/index/aqwd-no.png",
|
"imagePath": "/static/images/index/mrys.png",
|
||||||
"homeUrl": "/pages/webview/webview?name=questionnaire"
|
"noImagePath": "/static/images/index/mrys-no.png",
|
||||||
},
|
"homeUrl": "/pages/everdayRenven/index"
|
||||||
// {
|
},
|
||||||
// "name": "考勤打卡",
|
{
|
||||||
// "id": "ff04b551-c382-4638-a947-f95c42387ada",
|
"name": "日结校验",
|
||||||
// "modelName": "positionPunching",
|
"id": "b0b63a75-56c9-4f1d-aacb-a26e62b47e3e",
|
||||||
// "imagePath": "/static/images/index/kqdk.png",
|
"modelName": "DataValidation",
|
||||||
// "noImagePath": "/static/images/index/kqdk-no.png",
|
"imagePath": "/static/images/index/sjjy.png",
|
||||||
// "homeUrl": "/pages/additionalFeatures/positionPunching"
|
"noImagePath": "/static/images/index/sjjy-no.png",
|
||||||
// }
|
"homeUrl": "/pages/dataSummary/dataSummary"
|
||||||
];
|
},
|
||||||
const scene = [{
|
{
|
||||||
"name": "扫一扫",
|
"name": "商品审批",
|
||||||
"id": "1",
|
"id": "056b29d7-4721-47ee-ad25-660814e1f3a9",
|
||||||
"modelName": "",
|
"modelName": "CommodityApproval",
|
||||||
"imagePath": "/static/images/index/saoyisao.png",
|
"imagePath": "/static/images/index/spsp.png",
|
||||||
"noImagePath": "/static/images/index/saoyisao-no.png",
|
"noImagePath": "/static/images/index/spsp-no.png",
|
||||||
"homeUrl": ""
|
"homeUrl": "/pages/businessApproval/businessApproval"
|
||||||
},{
|
},
|
||||||
"name": "走动式管理",
|
{
|
||||||
"id": "c26c1620-2149-4b3d-ac2e-07e0c0494042",
|
"name": "招商审批",
|
||||||
"modelName": "Mbwa",
|
"id": "2290e96d-c6d7-4dde-b5b7-e699b615ff2f",
|
||||||
"imagePath": "/static/images/index/zdsgl.png",
|
"modelName": "Mnangement",
|
||||||
"noImagePath": "/static/images/index/zdsgl-no.png",
|
"imagePath": "/static/images/index/zsgl.png",
|
||||||
"homeUrl": "/pages/mbwa/mbwa"
|
"noImagePath": "/static/images/index/zsgl-no.png",
|
||||||
}, {
|
"homeUrl": "/pages/investment/investment"
|
||||||
"name": "投诉建议",
|
}, {
|
||||||
"id": "d405ae13-3388-41c0-a5f6-d11194d0a943",
|
"name": "经营报表",
|
||||||
"modelName": "Suggestion",
|
"id": "4a34e1d4-47c9-4c06-8e8e-f38c6bd9450b",
|
||||||
"imagePath": "/static/images/index/tsjy.png",
|
"modelName": "operatingStatements",
|
||||||
"noImagePath": "/static/images/index/tsjy-no.png",
|
"imagePath": "/static/images/index/jybb.png",
|
||||||
"homeUrl": "/pages/suggestion/suggestion"
|
"noImagePath": "/static/images/index/jybb-no.png",
|
||||||
},
|
"homeUrl": "/pages/operatingStatements/index"
|
||||||
{
|
},
|
||||||
"name": "收银稽核",
|
{
|
||||||
"id": "ebd8cae4-d36d-4ea0-a7e9-61e566bf9e24",
|
"name": "商业BI",
|
||||||
"modelName": "cashAudit",
|
"id": "9125e837-1961-4d92-bdc1-2200260d9643",
|
||||||
"imagePath": "/static/images/index/syjh.png",
|
"modelName": "AnnualData",
|
||||||
"noImagePath": "/static/images/index/syjh-no.png",
|
"imagePath": "/static/images/index/ndsj.png",
|
||||||
"homeUrl": "/pages/cashAudit/list"
|
"noImagePath": "/static/images/index/ndsj-no.png",
|
||||||
}, {
|
"homeUrl": "/pages/webview/webview?src=https://eshangtech.com/questionnarie/business"
|
||||||
"name": "设备巡检",
|
}, {
|
||||||
"id": "",
|
"name": "权限审批",
|
||||||
"modelName": "",
|
"id": "c802a38f-3bbd-4db0-89b6-34e404c8d8cc",
|
||||||
"imagePath": "/static/images/index/sbxj.png",
|
"modelName": "authorityApproval",
|
||||||
"noImagePath": "/static/images/index/sbxj-no.png",
|
"imagePath": "/static/images/index/qxsp.png",
|
||||||
"homeUrl": ""
|
"noImagePath": "/static/images/index/qxsp-no.png",
|
||||||
},
|
"homeUrl": "/pages/authorityApproval/index"
|
||||||
{
|
}, {
|
||||||
"name": "物业管理",
|
"name": "资质审批",
|
||||||
"id": "",
|
"id": "d0bc5a4d-c509-4b22-ba2b-01ae675852d6",
|
||||||
"modelName": "",
|
"modelName": "commodity_temp",
|
||||||
"imagePath": "/static/images/index/wygl.png",
|
"imagePath": "/static/images/index/qxsp.png",
|
||||||
"noImagePath": "/static/images/index/wygl-no.png",
|
"noImagePath": "/static/images/index/qxsp-no.png",
|
||||||
"homeUrl": ""
|
"homeUrl": "/pages/commodity_temp/index"
|
||||||
},
|
}
|
||||||
]
|
]
|
||||||
const management = [{
|
export default [{
|
||||||
"name": "每日营收",
|
name: '综合办公',
|
||||||
"id": "74934d31-385a-4eed-80bb-9c9ed7da29b5",
|
list: work
|
||||||
"modelName": "EverdayRenven",
|
}, {
|
||||||
"imagePath": "/static/images/index/mrys.png",
|
name: '业务审批',
|
||||||
"noImagePath": "/static/images/index/mrys-no.png",
|
list: yewu
|
||||||
"homeUrl": "/pages/everdayRenven/index"
|
},
|
||||||
},
|
{
|
||||||
{
|
name: '现场管理',
|
||||||
"name": "日结校验",
|
list: scene
|
||||||
"id": "b0b63a75-56c9-4f1d-aacb-a26e62b47e3e",
|
}, {
|
||||||
"modelName": "DataValidation",
|
name: '商业经营',
|
||||||
"imagePath": "/static/images/index/sjjy.png",
|
list: management
|
||||||
"noImagePath": "/static/images/index/sjjy-no.png",
|
}
|
||||||
"homeUrl": "/pages/dataSummary/dataSummary"
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "商品审批",
|
|
||||||
"id": "056b29d7-4721-47ee-ad25-660814e1f3a9",
|
|
||||||
"modelName": "CommodityApproval",
|
|
||||||
"imagePath": "/static/images/index/spsp.png",
|
|
||||||
"noImagePath": "/static/images/index/spsp-no.png",
|
|
||||||
"homeUrl": "/pages/businessApproval/businessApproval"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "招商审批",
|
|
||||||
"id": "2290e96d-c6d7-4dde-b5b7-e699b615ff2f",
|
|
||||||
"modelName": "Mnangement",
|
|
||||||
"imagePath": "/static/images/index/zsgl.png",
|
|
||||||
"noImagePath": "/static/images/index/zsgl-no.png",
|
|
||||||
"homeUrl": "/pages/investment/investment"
|
|
||||||
},{
|
|
||||||
"name": "经营报表",
|
|
||||||
"id": "4a34e1d4-47c9-4c06-8e8e-f38c6bd9450b",
|
|
||||||
"modelName": "operatingStatements",
|
|
||||||
"imagePath": "/static/images/index/jybb.png",
|
|
||||||
"noImagePath": "/static/images/index/jybb-no.png",
|
|
||||||
"homeUrl": "/pages/operatingStatements/index"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "商业BI",
|
|
||||||
"id": "9125e837-1961-4d92-bdc1-2200260d9643",
|
|
||||||
"modelName": "AnnualData",
|
|
||||||
"imagePath": "/static/images/index/ndsj.png",
|
|
||||||
"noImagePath": "/static/images/index/ndsj-no.png",
|
|
||||||
"homeUrl": "/pages/webview/webview?src=https://eshangtech.com/questionnarie/business"
|
|
||||||
},{
|
|
||||||
"name": "权限审批",
|
|
||||||
"id": "c802a38f-3bbd-4db0-89b6-34e404c8d8cc",
|
|
||||||
"modelName": "authorityApproval",
|
|
||||||
"imagePath": "/static/images/index/qxsp.png",
|
|
||||||
"noImagePath": "/static/images/index/qxsp-no.png",
|
|
||||||
"homeUrl": "/pages/authorityApproval/index"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
export default [
|
|
||||||
{
|
|
||||||
name: '综合办公',
|
|
||||||
list: work
|
|
||||||
},{
|
|
||||||
name: '业务审批',
|
|
||||||
list:yewu
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '现场管理',
|
|
||||||
list:scene
|
|
||||||
},{
|
|
||||||
name: '商业经营',
|
|
||||||
list:management
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user