增加操作loading
This commit is contained in:
parent
ea5f66b190
commit
4d36f9769f
|
|
@ -142,7 +142,7 @@
|
|||
<view style="width: 48%">
|
||||
<u--input type="text" placeholder="请填写" v-model="detailsParams.remark" clearable />
|
||||
</view>
|
||||
<view style="width: 13%" @tap="getMySceneListData">搜索</view>
|
||||
<view class="search-img" @tap="getMySceneListData"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="my-data-container" v-if="detailsList.length > 0">
|
||||
|
|
@ -730,6 +730,15 @@ export default {
|
|||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
|
||||
.search-img {
|
||||
width: 68rpx;
|
||||
height: 68rpx;
|
||||
margin-right: 10rpx;
|
||||
// margin-left: 30rpx;
|
||||
background: url('../../../static/images/workPlan/search.png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.my-data-content {
|
||||
|
|
|
|||
|
|
@ -1159,7 +1159,8 @@ export default {
|
|||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击'
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await setMonthPlanApi(saveParams)
|
||||
uni.hideLoading()
|
||||
|
|
@ -1554,7 +1555,8 @@ export default {
|
|||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击'
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await setMonthPlanApi(saveParams)
|
||||
uni.hideLoading()
|
||||
|
|
@ -1766,6 +1768,7 @@ export default {
|
|||
}
|
||||
},
|
||||
onAddSubUserInfoNew(name, index) {
|
||||
if (this.currentTime != this.$moment().format('YYYY-MM-DD')) return
|
||||
new Promise((resolve, reject) => {
|
||||
// 创建一个数组用于存储所有的异步请求
|
||||
let promises = []
|
||||
|
|
@ -2018,7 +2021,8 @@ export default {
|
|||
console.log('保存参数', params)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击'
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await addContentJobTicketApi({ list: JSON.stringify(params) })
|
||||
uni.hideLoading()
|
||||
|
|
|
|||
|
|
@ -773,7 +773,7 @@ export default {
|
|||
currentSwiper: 0,
|
||||
projectQueryParams: {
|
||||
planTime: this.$moment().format('YYYY-MM-DD'),
|
||||
type: 6,
|
||||
type: '6',
|
||||
state: ''
|
||||
},
|
||||
projectRange: [
|
||||
|
|
@ -1072,8 +1072,12 @@ export default {
|
|||
state: ''
|
||||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await setMonthPlanProApi(saveParams)
|
||||
uni.hideLoading()
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -1451,8 +1455,12 @@ export default {
|
|||
state: '2'
|
||||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await setMonthPlanProApi(saveParams)
|
||||
uni.hideLoading()
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
this.$refs.popupAuditing.close()
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
v-model="subQueryParams.keyWord"
|
||||
/>
|
||||
</view>
|
||||
<view style="width: 15%" @tap="onOpenPopup()">搜索</view>
|
||||
<view @tap="onOpenPopup()" class="search-img"></view>
|
||||
</view>
|
||||
|
||||
<view class="select-btn">
|
||||
|
|
@ -530,6 +530,15 @@ export default {
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.search-img {
|
||||
width: 48rpx;
|
||||
height: 40rpx;
|
||||
margin-right: 30rpx;
|
||||
// margin-left: 30rpx;
|
||||
background: url('../../../../static/realName/screen.png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.select-btn {
|
||||
margin: 40rpx auto;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -131,8 +131,9 @@
|
|||
</swiper>
|
||||
</view>
|
||||
|
||||
<view class="revoke" v-show="!isView || isView == 'false'">
|
||||
<view @tap="onAuditingComplete" class="auditing-complete">审核完成</view>
|
||||
<view class="revoke" v-show="!isView || isView == 'false'" @tap="onAuditingComplete">
|
||||
审核完成
|
||||
<!-- <view @tap="onAuditingComplete" class="auditing-complete">审核完成</view> -->
|
||||
<!-- <view
|
||||
@tap="showModalFun(item.id)"
|
||||
v-for="item in btnList"
|
||||
|
|
@ -539,7 +540,12 @@ export default {
|
|||
this.getAUditingUserInfoData()
|
||||
this.$refs.popupAuditing.open('center')
|
||||
} else {
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await API(type === 1 ? params : this.params)
|
||||
uni.hideLoading()
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `${tipTitle}成功!`, icon: 'none' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -686,8 +692,13 @@ export default {
|
|||
}
|
||||
|
||||
console.log('saveParams保存参数', params)
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
|
||||
const result = await submitPlanApi(params)
|
||||
uni.hideLoading()
|
||||
|
||||
console.log(result, 'results上报人提交结果')
|
||||
if (result.res == 1) {
|
||||
|
|
@ -725,7 +736,12 @@ export default {
|
|||
user: ''
|
||||
// state: '2'
|
||||
}
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await submitPlanApi(params)
|
||||
uni.hideLoading()
|
||||
console.log(result, 'results上报人提交结果')
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `审核成功`, icon: 'none' })
|
||||
|
|
@ -842,7 +858,7 @@ export default {
|
|||
titleH
|
||||
.boundingClientRect(data => {
|
||||
let pH = that._data.pH
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 48
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 16
|
||||
})
|
||||
.exec()
|
||||
})
|
||||
|
|
@ -867,14 +883,17 @@ export default {
|
|||
}
|
||||
|
||||
.revoke {
|
||||
width: 100%;
|
||||
padding: 12px 0;
|
||||
width: 94%;
|
||||
// padding: 12px 0;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
bottom: 12px;
|
||||
left: 3%;
|
||||
height: 70rpx;
|
||||
border-radius: 16rpx;
|
||||
text-align: center;
|
||||
line-height: 70rpx;
|
||||
color: #fff;
|
||||
background-color: #00337a;
|
||||
// background-color: #fff;
|
||||
|
||||
.auditing-complete {
|
||||
|
|
|
|||
|
|
@ -129,8 +129,9 @@
|
|||
</swiper>
|
||||
</view>
|
||||
|
||||
<view class="revoke" v-show="!isView || isView == 'false'">
|
||||
<view @tap="onAuditingComplete" class="auditing-complete">审核完成</view>
|
||||
<view class="revoke" v-show="!isView || isView == 'false'" @tap="onAuditingComplete">
|
||||
审核完成
|
||||
<!-- <view @tap="onAuditingComplete" class="auditing-complete">审核完成</view> -->
|
||||
<!-- <view
|
||||
@tap="showModalFun(item.id)"
|
||||
v-for="item in btnList"
|
||||
|
|
@ -542,7 +543,12 @@ export default {
|
|||
this.getAUditingUserInfoData()
|
||||
this.$refs.popupAuditing.open('center')
|
||||
} else {
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await API(type === 1 ? params : this.params)
|
||||
uni.hideLoading()
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `${tipTitle}成功!`, icon: 'none' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -689,8 +695,13 @@ export default {
|
|||
}
|
||||
|
||||
console.log('saveParams保存参数', params)
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
|
||||
const result = await submitPlanProApi(params)
|
||||
uni.hideLoading()
|
||||
|
||||
console.log(result, 'results上报人提交结果')
|
||||
if (result.res == 1) {
|
||||
|
|
@ -728,7 +739,12 @@ export default {
|
|||
user: ''
|
||||
// state: '2'
|
||||
}
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await submitPlanProApi(params)
|
||||
uni.hideLoading()
|
||||
console.log(result, 'results上报人提交结果')
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `审核成功`, icon: 'none' })
|
||||
|
|
@ -833,7 +849,7 @@ export default {
|
|||
titleH
|
||||
.boundingClientRect(data => {
|
||||
let pH = that._data.pH
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 48
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 16
|
||||
})
|
||||
.exec()
|
||||
})
|
||||
|
|
@ -858,14 +874,17 @@ export default {
|
|||
}
|
||||
|
||||
.revoke {
|
||||
width: 100%;
|
||||
padding: 12px 0;
|
||||
width: 94%;
|
||||
// padding: 12px 0;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
bottom: 12px;
|
||||
left: 3%;
|
||||
height: 70rpx;
|
||||
border-radius: 16rpx;
|
||||
text-align: center;
|
||||
line-height: 70rpx;
|
||||
color: #fff;
|
||||
background-color: #00337a;
|
||||
// background-color: #fff;
|
||||
|
||||
.auditing-complete {
|
||||
|
|
|
|||
|
|
@ -975,7 +975,13 @@ export default {
|
|||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
|
||||
const result = await setMonthPlanApi(saveParams)
|
||||
uni.hideLoading()
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -1350,8 +1356,13 @@ export default {
|
|||
state: '2'
|
||||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
|
||||
const result = await setMonthPlanApi(saveParams)
|
||||
uni.hideLoading()
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
this.$refs.popupAuditing.close()
|
||||
|
|
|
|||
|
|
@ -750,7 +750,7 @@ export default {
|
|||
currentSwiper: 0,
|
||||
projectQueryParams: {
|
||||
planTime: this.$moment().format('YYYY-MM-DD'),
|
||||
type: 6,
|
||||
type: '6',
|
||||
state: ''
|
||||
},
|
||||
projectRange: [
|
||||
|
|
@ -1016,8 +1016,13 @@ export default {
|
|||
state: '1'
|
||||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
|
||||
const result = await setMonthPlanProApi(saveParams)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -1385,8 +1390,12 @@ export default {
|
|||
state: '2'
|
||||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await setMonthPlanProApi(saveParams)
|
||||
uni.hideLoading()
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
this.$refs.popupAuditing.close()
|
||||
|
|
|
|||
|
|
@ -127,8 +127,9 @@
|
|||
</swiper>
|
||||
</view>
|
||||
|
||||
<view class="revoke" v-show="!isView || isView == 'false'">
|
||||
<view @tap="onAuditingComplete" class="auditing-complete">审核完成</view>
|
||||
<view class="revoke" v-show="!isView || isView == 'false'" @tap="onAuditingComplete">
|
||||
<!-- <view class="auditing-complete"></view> -->
|
||||
审核完成
|
||||
<!-- <view
|
||||
@tap="showModalFun(item.id)"
|
||||
v-for="item in btnList"
|
||||
|
|
@ -545,7 +546,12 @@ export default {
|
|||
this.getAUditingUserInfoData()
|
||||
this.$refs.popupAuditing.open('center')
|
||||
} else {
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await API(type === 1 ? params : this.params)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `${tipTitle}成功!`, icon: 'none' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -692,8 +698,12 @@ export default {
|
|||
}
|
||||
|
||||
console.log('saveParams保存参数', params)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await submitPlanApi(params)
|
||||
uni.hideLoading({})
|
||||
|
||||
console.log(result, 'results上报人提交结果')
|
||||
if (result.res == 1) {
|
||||
|
|
@ -834,7 +844,7 @@ export default {
|
|||
titleH
|
||||
.boundingClientRect(data => {
|
||||
let pH = that._data.pH
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 48
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 16
|
||||
})
|
||||
.exec()
|
||||
})
|
||||
|
|
@ -859,14 +869,17 @@ export default {
|
|||
}
|
||||
|
||||
.revoke {
|
||||
width: 100%;
|
||||
padding: 12px 0;
|
||||
width: 94%;
|
||||
// padding: 12px 0;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
bottom: 12px;
|
||||
left: 3%;
|
||||
height: 70rpx;
|
||||
border-radius: 16rpx;
|
||||
text-align: center;
|
||||
line-height: 70rpx;
|
||||
color: #fff;
|
||||
background-color: #00337a;
|
||||
// background-color: #fff;
|
||||
|
||||
.auditing-complete {
|
||||
|
|
|
|||
|
|
@ -133,8 +133,8 @@
|
|||
</swiper>
|
||||
</view>
|
||||
|
||||
<view class="revoke" v-show="!isView || isView == 'false'">
|
||||
<view @tap="onAuditingComplete" class="auditing-complete">审核完成</view>
|
||||
<view class="revoke" v-show="!isView || isView == 'false'" @tap="onAuditingComplete">
|
||||
审核完成
|
||||
<!-- <view
|
||||
@tap="showModalFun(item.id)"
|
||||
v-for="item in btnList"
|
||||
|
|
@ -499,7 +499,12 @@ export default {
|
|||
this.getAUditingUserInfoData()
|
||||
this.$refs.popupAuditing.open('center')
|
||||
} else {
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await API(type === 1 ? params : this.params)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `${tipTitle}成功!`, icon: 'none' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -643,8 +648,12 @@ export default {
|
|||
}
|
||||
|
||||
console.log('saveParams保存参数', params)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await submitPlanProApi(params)
|
||||
uni.hideLoading()
|
||||
|
||||
console.log(result, 'results上报人提交结果')
|
||||
if (result.res == 1) {
|
||||
|
|
@ -780,7 +789,7 @@ export default {
|
|||
titleH
|
||||
.boundingClientRect(data => {
|
||||
let pH = that._data.pH
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 48
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 16
|
||||
})
|
||||
.exec()
|
||||
})
|
||||
|
|
@ -805,14 +814,17 @@ export default {
|
|||
}
|
||||
|
||||
.revoke {
|
||||
width: 100%;
|
||||
padding: 12px 0;
|
||||
width: 94%;
|
||||
// padding: 12px 0;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
bottom: 12px;
|
||||
left: 3%;
|
||||
height: 70rpx;
|
||||
border-radius: 16rpx;
|
||||
text-align: center;
|
||||
line-height: 70rpx;
|
||||
color: #fff;
|
||||
background-color: #00337a;
|
||||
// background-color: #fff;
|
||||
|
||||
.auditing-complete {
|
||||
|
|
|
|||
|
|
@ -883,7 +883,13 @@ export default {
|
|||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
|
||||
const result = await setMonthPlanApi(saveParams)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
setTimeout(() => {
|
||||
|
|
|
|||
|
|
@ -635,7 +635,7 @@ export default {
|
|||
currentSwiper: 0,
|
||||
projectQueryParams: {
|
||||
planTime: this.$moment().format('YYYY-MM-DD'),
|
||||
type: 3,
|
||||
type: '6',
|
||||
state: ''
|
||||
},
|
||||
projectRange: [
|
||||
|
|
@ -884,7 +884,13 @@ export default {
|
|||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
|
||||
const result = await setMonthPlanProApi(saveParams)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
setTimeout(() => {
|
||||
|
|
|
|||
|
|
@ -365,7 +365,12 @@ export default {
|
|||
const params = {
|
||||
id: JSON.stringify(this.monthDetailsList)
|
||||
}
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await API(type === 1 ? params : this.params)
|
||||
uni.hideLoading({})
|
||||
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `${tipTitle}成功!`, icon: 'none' })
|
||||
|
|
|
|||
|
|
@ -356,7 +356,12 @@ export default {
|
|||
const params = {
|
||||
id: JSON.stringify(this.monthDetailsList)
|
||||
}
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await API(type === 1 ? params : this.params)
|
||||
uni.hideLoading({})
|
||||
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `${tipTitle}成功!`, icon: 'none' })
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@
|
|||
|
||||
<view class="header-search">
|
||||
<view style="width: 28%">
|
||||
<uni-data-select :localdata="range" v-model="searchParams.proType"></uni-data-select>
|
||||
<uni-data-select :localdata="range" v-model="searchParams.proType" :clear="false"></uni-data-select>
|
||||
</view>
|
||||
<view style="width: 49%">
|
||||
<uni-easyinput placeholder="搜索" v-model="searchParams.remark"></uni-easyinput>
|
||||
</view>
|
||||
<view style="width: 18%" @tap="getDayRiskData">搜索</view>
|
||||
<view class="search-img" @tap="getDayRiskData"></view>
|
||||
</view>
|
||||
|
||||
<view class="search-radio">
|
||||
|
|
@ -109,6 +109,15 @@ export default {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.search-img {
|
||||
width: 68rpx;
|
||||
height: 68rpx;
|
||||
margin-right: 10rpx;
|
||||
// margin-left: 30rpx;
|
||||
background: url('../../../static/images/workPlan/search.png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.header-search {
|
||||
margin-bottom: 24rpx;
|
||||
margin: 12rpx;
|
||||
|
|
|
|||
|
|
@ -1140,8 +1140,12 @@ export default {
|
|||
state: ''
|
||||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await setMonthPlanApi(saveParams)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -1516,8 +1520,12 @@ export default {
|
|||
state: '2'
|
||||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await setMonthPlanApi(saveParams)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
this.$refs.popupAuditing.close()
|
||||
|
|
|
|||
|
|
@ -868,7 +868,7 @@ export default {
|
|||
currentSwiper: 0,
|
||||
projectQueryParams: {
|
||||
planTime: this.$moment().format('YYYY-MM-DD'),
|
||||
type: 3,
|
||||
type: '6',
|
||||
state: ''
|
||||
},
|
||||
projectRange: [
|
||||
|
|
@ -1188,8 +1188,12 @@ export default {
|
|||
state: ''
|
||||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await setMonthPlanProApi(saveParams)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -1564,8 +1568,12 @@ export default {
|
|||
state: '2'
|
||||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await setMonthPlanProApi(saveParams)
|
||||
uni.hideLoading()
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
this.$refs.popupAuditing.close()
|
||||
|
|
|
|||
|
|
@ -127,8 +127,9 @@
|
|||
</swiper>
|
||||
</view>
|
||||
|
||||
<view class="revoke" v-show="!isView || isView == 'false'">
|
||||
<view @tap="onAuditingComplete" class="auditing-complete">审核完成</view>
|
||||
<view class="revoke" v-show="!isView || isView == 'false'" @tap="onAuditingComplete">
|
||||
审核完成
|
||||
<!-- <view class="auditing-complete">/view> -->
|
||||
<!-- <view
|
||||
@tap="showModalFun(item.id)"
|
||||
v-for="item in btnList"
|
||||
|
|
@ -557,7 +558,12 @@ export default {
|
|||
this.getAUditingUserInfoData()
|
||||
this.$refs.popupAuditing.open('center')
|
||||
} else {
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await API(type === 1 ? params : this.params)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `${tipTitle}成功!`, icon: 'none' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -704,8 +710,12 @@ export default {
|
|||
}
|
||||
|
||||
console.log('saveParams保存参数', params)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await submitPlanApi(params)
|
||||
uni.hideLoading()
|
||||
|
||||
console.log(result, 'results上报人提交结果')
|
||||
if (result.res == 1) {
|
||||
|
|
@ -846,7 +856,7 @@ export default {
|
|||
titleH
|
||||
.boundingClientRect(data => {
|
||||
let pH = that._data.pH
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 48
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 16
|
||||
})
|
||||
.exec()
|
||||
})
|
||||
|
|
@ -871,19 +881,25 @@ export default {
|
|||
}
|
||||
|
||||
.revoke {
|
||||
width: 100%;
|
||||
padding: 12px 0;
|
||||
width: 94%;
|
||||
// padding: 12px 0;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
bottom: 12px;
|
||||
left: 3%;
|
||||
height: 70rpx;
|
||||
border-radius: 16rpx;
|
||||
text-align: center;
|
||||
line-height: 70rpx;
|
||||
color: #fff;
|
||||
background-color: #00337a;
|
||||
// display: flex;
|
||||
// justify-content: center;
|
||||
// align-items: center;
|
||||
// background-color: #fff;
|
||||
|
||||
.auditing-complete {
|
||||
width: 93%;
|
||||
height: 70rpx;
|
||||
|
||||
margin: 0 auto;
|
||||
border-radius: 16rpx;
|
||||
text-align: center;
|
||||
|
|
|
|||
|
|
@ -587,7 +587,12 @@ export default {
|
|||
this.getAUditingUserInfoData()
|
||||
this.$refs.popupAuditing.open('center')
|
||||
} else {
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await API(type === 1 ? params : this.params)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `${tipTitle}成功!`, icon: 'none' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -735,7 +740,13 @@ export default {
|
|||
|
||||
console.log('saveParams保存参数', params)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
|
||||
const result = await submitPlanProApi(params)
|
||||
uni.hideLoading()
|
||||
|
||||
console.log(result, 'results上报人提交结果')
|
||||
if (result.res == 1) {
|
||||
|
|
|
|||
|
|
@ -1148,7 +1148,13 @@ export default {
|
|||
|
||||
// if (true) return
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
|
||||
const result = await setMonthPlanApi(saveParams)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -1539,7 +1545,13 @@ export default {
|
|||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
|
||||
const result = await setMonthPlanApi(saveParams)
|
||||
uni.hideLoading()
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
this.$refs.popupAuditing.close()
|
||||
|
|
|
|||
|
|
@ -1212,8 +1212,12 @@ export default {
|
|||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
// if (true) return
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await setMonthPlanProApi(saveParams)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -1603,8 +1607,12 @@ export default {
|
|||
state: '2'
|
||||
}
|
||||
console.log('saveParams保存参数', saveParams)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await setMonthPlanProApi(saveParams)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ icon: 'none', title: '保存成功!' })
|
||||
this.$refs.popupAuditing.close()
|
||||
|
|
|
|||
|
|
@ -133,8 +133,9 @@
|
|||
</swiper>
|
||||
</view>
|
||||
|
||||
<view class="revoke" v-show="!isView || isView == 'false'">
|
||||
<view @tap="onAuditingComplete" class="auditing-complete">审核完成</view>
|
||||
<view class="revoke" v-show="!isView || isView == 'false'" @tap="onAuditingComplete">
|
||||
审核完成
|
||||
<!-- <view @tap="onAuditingComplete" class="auditing-complete"></view> -->
|
||||
<!-- <view
|
||||
@tap="showModalFun(item.id)"
|
||||
v-for="item in btnList"
|
||||
|
|
@ -543,7 +544,12 @@ export default {
|
|||
this.getAUditingUserInfoData()
|
||||
this.$refs.popupAuditing.open('center')
|
||||
} else {
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await API(type === 1 ? params : this.params)
|
||||
uni.hideLoading()
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `${tipTitle}成功!`, icon: 'none' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -693,7 +699,12 @@ export default {
|
|||
uni.showLoading({
|
||||
title: '正在提交,请稍后...'
|
||||
})
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await submitPlanApi(params)
|
||||
uni.hideLoading()
|
||||
|
||||
console.log(result, 'results上报人提交结果')
|
||||
if (result.res == 1) {
|
||||
|
|
@ -879,7 +890,7 @@ export default {
|
|||
titleH
|
||||
.boundingClientRect(data => {
|
||||
let pH = that._data.pH
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 48
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 16
|
||||
})
|
||||
.exec()
|
||||
})
|
||||
|
|
@ -905,13 +916,16 @@ export default {
|
|||
|
||||
.revoke {
|
||||
width: 94%;
|
||||
padding: 12px 0;
|
||||
// padding: 12px 0;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
bottom: 12px;
|
||||
left: 3%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 70rpx;
|
||||
border-radius: 16rpx;
|
||||
text-align: center;
|
||||
line-height: 70rpx;
|
||||
color: #fff;
|
||||
background-color: #00337a;
|
||||
// background-color: #fff;
|
||||
|
||||
.auditing-complete {
|
||||
|
|
|
|||
|
|
@ -139,8 +139,9 @@
|
|||
</swiper>
|
||||
</view>
|
||||
|
||||
<view class="revoke" v-show="!isView || isView == 'false'">
|
||||
<view @tap="onAuditingComplete" class="auditing-complete">审核完成</view>
|
||||
<view class="revoke" v-show="!isView || isView == 'false'" @tap="onAuditingComplete">
|
||||
审核完成
|
||||
<!-- <view @tap="onAuditingComplete" class="auditing-complete"></view> -->
|
||||
<!-- <view
|
||||
@tap="showModalFun(item.id)"
|
||||
v-for="item in btnList"
|
||||
|
|
@ -640,7 +641,12 @@ export default {
|
|||
this.getAUditingUserInfoData()
|
||||
this.$refs.popupAuditing.open('center')
|
||||
} else {
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await API(type === 1 ? params : this.params)
|
||||
uni.hideLoading({})
|
||||
if (result.res == 1) {
|
||||
uni.showToast({ title: `${tipTitle}成功!`, icon: 'none' })
|
||||
setTimeout(() => {
|
||||
|
|
@ -787,8 +793,12 @@ export default {
|
|||
}
|
||||
|
||||
console.log('saveParams保存参数', params)
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在提交,请勿重复点击',
|
||||
mask: true
|
||||
})
|
||||
const result = await submitPlanProApi(params)
|
||||
uni.hideLoading({})
|
||||
|
||||
console.log(result, 'results上报人提交结果')
|
||||
if (result.res == 1) {
|
||||
|
|
@ -970,7 +980,7 @@ export default {
|
|||
titleH
|
||||
.boundingClientRect(data => {
|
||||
let pH = that._data.pH
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 48
|
||||
that._data.navHeight = pH - data.top - bottomHeight - 16
|
||||
})
|
||||
.exec()
|
||||
})
|
||||
|
|
@ -995,14 +1005,17 @@ export default {
|
|||
}
|
||||
|
||||
.revoke {
|
||||
width: 100%;
|
||||
padding: 12px 0;
|
||||
width: 94%;
|
||||
// padding: 12px 0;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
bottom: 12px;
|
||||
left: 3%;
|
||||
height: 70rpx;
|
||||
border-radius: 16rpx;
|
||||
text-align: center;
|
||||
line-height: 70rpx;
|
||||
color: #fff;
|
||||
background-color: #00337a;
|
||||
// background-color: #fff;
|
||||
|
||||
.auditing-complete {
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 957 B |
Loading…
Reference in New Issue