This commit is contained in:
wangweidong 2026-02-12 09:46:13 +08:00
parent 1d6d4980fe
commit 0dafeea372
4 changed files with 9 additions and 8 deletions

View File

@ -435,7 +435,6 @@
margin-left: 5%; margin-left: 5%;
padding: 5rpx; padding: 5rpx;
.contentred-bgc{ .contentred-bgc{
background-color: rgb(240,228,228);
border-radius: 15rpx; border-radius: 15rpx;
color: red; color: red;
padding: 20rpx; padding: 20rpx;

View File

@ -21,7 +21,7 @@
</view> </view>
<view class="contentred-bgc" v-if="alldata.status==`3`"> <view class="contentred-bgc" v-if="alldata.status==`3`">
驳回原因{{alldata.contentred}} 驳回原因{{alldata.content}}
</view> </view>
</view> </view>
<view class="white-content"> <view class="white-content">
@ -655,7 +655,6 @@
margin-left: 5%; margin-left: 5%;
padding: 5rpx; padding: 5rpx;
.contentred-bgc{ .contentred-bgc{
background-color: rgb(240,228,228);
border-radius: 15rpx; border-radius: 15rpx;
color: red; color: red;
padding: 20rpx; padding: 20rpx;

View File

@ -316,7 +316,7 @@
if (data.endTime == '长期') { if (data.endTime == '长期') {
data.endTime = swapLongTerm(data.endTime); data.endTime = swapLongTerm(data.endTime);
} }
if(izSkipRepetVali.value == 'N'){ if(!flag.value){
if(data.optType == 'rz' && data.status == '3' && !data.orgStatus){ if(data.optType == 'rz' && data.status == '3' && !data.orgStatus){
// //
data.status = `1` data.status = `1`
@ -330,8 +330,7 @@
data.status = '1' data.status = '1'
} }
} }
console.log(data.optType,data.status ,data.orgStatus)
uni.setStorageSync("backhuancun", data) uni.setStorageSync("backhuancun", data)
changemessage(uni.getStorageSync('backhuancun'), ukey.value).then(res => { changemessage(uni.getStorageSync('backhuancun'), ukey.value).then(res => {
if (res.success ) { if (res.success ) {
@ -361,10 +360,13 @@
content: '当前无变更,是否提交?', content: '当前无变更,是否提交?',
success: function (res) { success: function (res) {
if (res.confirm) { if (res.confirm) {
flag.value = true;
izSkipRepetVali.value = "Y"; izSkipRepetVali.value = "Y";
ukey.value = `${uni.getStorageSync('openid') || ''}jgbg${String(Date.now()).slice(-5)}${String(Math.floor(Math.random() * 1900) + 100)}` ukey.value = `${uni.getStorageSync('openid') || ''}jgbg${String(Date.now()).slice(-5)}${String(Math.floor(Math.random() * 1900) + 100)}`
next() next()
} else if (res.cancel) { } else if (res.cancel) {
flag.value = true;
ukey.value = `${uni.getStorageSync('openid') || ''}jgbg${String(Date.now()).slice(-5)}${String(Math.floor(Math.random() * 1900) + 100)}`
console.log('用户点击取消'); console.log('用户点击取消');
} }
} }
@ -385,6 +387,7 @@
}) })
} }
} }
const flag = ref(false)
const izSkipRepetVali = ref('N') const izSkipRepetVali = ref('N')
const goBack = () => { const goBack = () => {
if (form.address) { if (form.address) {

View File

@ -1,9 +1,9 @@
// 全局请求封装 // 全局请求封装
// export const base_url = 'http://192.168.2.37:8081/opeapi' // export const base_url = 'http://192.168.2.37:8081/opeapi'
export const base_url = 'https://www.focusnu.com/opeapi' // export const base_url = 'https://www.focusnu.com/opeapi'
export const media_base_url = 'https://www.focusnu.com/media/' export const media_base_url = 'https://www.focusnu.com/media/'
// export const base_url = 'http://192.168.2.24:8081/opeapi' export const base_url = 'http://192.168.2.24:8081/opeapi'
// export const base_url = 'http://192.168.2.27:8081/opeapi' // export const base_url = 'http://192.168.2.27:8081/opeapi'
// 请求超出时间 // 请求超出时间
const timeout = 5000 const timeout = 5000