f391b4a8 by 杨炀

Merge commit '4037b935'

# Conflicts:
#	level/addApply.vue
#	personalVip/addVip.vue
2 parents e4576d59 4037b935
<script>
import {
h5Login
getInfo
} from '@/common/login.js';
import * as api from '@/common/api.js';
import config from '@/config.js';
......@@ -13,19 +13,16 @@ export default {
firstload = true
this.globalData.baseUrl_api = config.baseUrl_api;
if(loginUrl.indexOf( options.path)==-1){
if(loginUrl.indexOf(options.path)==-1){
let userName = uni.getStorageSync('userName')
if (userName) {
h5Login(userName)
.then(() => {
getInfo().then(() => {
this.globalData.isLogin = true;
let firstLoadCallback = getApp().firstLoadCallback;
if (firstLoadCallback) {
firstLoadCallback();
}
})
.catch(() => {
}).catch(() => {
uni.redirectTo({
url: '/login/login'
})
......
......@@ -87,6 +87,7 @@ function getInfo() {
// uni.setStorageSync('perId', personInfo.perId||-1)
app.globalData.deptType = user.dept.deptType
app.globalData.genFlag = user.dept.genFlag
user.dept.deptType = '3'
switch (user.dept.deptType) {
case '1': // 中跆协
app.globalData.userType = '1'
......@@ -136,5 +137,6 @@ export {
loginByPhone,
groupMemberRegister,
getMyOwnMemberInfo,
logout
logout,
getInfo
}
......
import config from '@/config.js'
import {
h5LoginAuto
} from './login'
import _ from 'lodash'
const excludeUrls = ['login/login', 'login/register']
const excludeUrls = ['getMemberCountInfo', 'getInfo']
// 获取Token
function getToken() {
......@@ -68,7 +66,7 @@ const request = function(req) {
const data = res.data || {}
if (data.code === 0 || data.code === 200 || data.pageData?.code === 200) {
resolve(data)
} else if (req.url.indexOf('getMemberCountInfo') > -1) {
} else if (_.some(excludeUrls, (url) => req.url.indexOf(url) > -1)) {
resolve(data)
} else {
// if (!excludeUrls.includes(req.url)) {
......@@ -90,26 +88,26 @@ const request = function(req) {
// }
// 登录超时
if (data.code === 60002 || data.code === 60001) {
uni.redirectTo({
url: '/login/login'
})
} else if (data.code === 401) {
h5LoginAuto()
.then(() => {
uni.hideLoading()
uni.redirectTo({
url: getCurrentPages()[getCurrentPages()
.length - 1].$page.fullPath
})
})
.catch(() => {
uni.showToast({
title: '服务异常,请稍后重试',
icon: 'none'
})
})
}
// if (data.code === 60002 || data.code === 60001) {
// uni.redirectTo({
// url: '/login/login'
// })
// } else if (data.code === 401) {
// h5LoginAuto()
// .then(() => {
// uni.hideLoading()
// uni.redirectTo({
// url: getCurrentPages()[getCurrentPages()
// .length - 1].$page.fullPath
// })
// })
// .catch(() => {
// uni.showToast({
// title: '服务异常,请稍后重试',
// icon: 'none'
// })
// })
// }
reject(res)
}
......
......@@ -5,9 +5,9 @@
// staging 会员系统
// const baseUrl_api = "http://22yidpjzjifv.ngrok.xiaomiqiu123.top/stage-api/";
// const baseUrl_api = "http://123.60.96.243/stage-api/";
// const baseUrl_api = 'http://192.168.1.11:8787'
const baseUrl_api = 'http://192.168.1.98:8787'
// const baseUrl_api = 'https://ztx.itechtop.cn/stage-api'
const baseUrl_api = 'https://tkcn.19wk.cn:8443/stage-api'
// const baseUrl_api = 'https://tkcn.19wk.cn:8443/stage-api'
// const baseUrl_api = 'https://newsystem.taekwondo.org.cn/stage-api'
export default {
......
......@@ -91,36 +91,36 @@
<image mode="aspectFit" src="/static/nodata.png"></image>
<text>暂无数据</text>
</view>
<!-- <view v-if="userType=='2'" class="block-btn-box">
<!-- <view v-if="userType=='2'" class="block-btn-box">
<button @click="goMerge" class="btn-red-kx">前往合并 > </button>
</view> -->
</view>
</template>
<script setup>
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
onMounted,
ref
} from 'vue'
import {
} from 'vue'
import {
onLoad
} from '@dcloudio/uni-app'
const app = getApp();
const queryParams = ref({
} from '@dcloudio/uni-app'
const app = getApp();
const queryParams = ref({
// pageNum: 1,
// pageSize: 10
auditStatus: '0'
})
const navs = ref(['审核中', '审核通过', '审核拒绝', '撤回'])
const current = ref()
const list = ref([])
const total = ref(0)
const deptType = ref('')
const userType = ref('')
const totalCost = ref(0)
onLoad(() => {
})
const navs = ref(['审核中', '审核通过', '审核拒绝', '撤回'])
const current = ref()
const list = ref([])
const total = ref(0)
const deptType = ref('')
const userType = ref('')
const totalCost = ref(0)
onLoad(() => {
if (app.globalData.isLogin) {
init()
} else {
......@@ -129,22 +129,22 @@
init()
};
}
})
})
function init() {
function init() {
deptType.value = app.globalData.deptType
userType.value = app.globalData.userType
console.log(userType.value)
// console.log(userType.value)
getList()
}
}
function onClickItem(e) {
function onClickItem(e) {
console.log(e)
queryParams.value.auditStatus = e.currentIndex
getList()
}
}
function getList() {
function getList() {
uni.showLoading({
title: '加载中'
})
......@@ -167,9 +167,9 @@
})
total.value = res.total
})
}
}
function audit(recordId, flag) {
function audit(recordId, flag) {
if (flag == '0') {
// 拒绝
// 弹出框填写理由
......@@ -201,9 +201,9 @@
}
})
}
}
}
function doApproval(recordId, flag, reason) {
function doApproval(recordId, flag, reason) {
var obj = {
flag: flag,
reason: reason || '',
......@@ -218,9 +218,9 @@
})
getList()
})
}
}
function goDetail(item) {
function goDetail(item) {
const auditLog = encodeURIComponent(JSON.stringify(item.auditLog))
const form = encodeURIComponent(JSON.stringify(item))
......@@ -237,23 +237,23 @@
url: path
});
}
}
}
function goMerge() {
function goMerge() {
let path = `/group/apply/merge`
uni.redirectTo({
url: path
});
}
}
function goMergeUp() {
function goMergeUp() {
let path = `/group/apply/mergeUp`
uni.redirectTo({
url: path
});
}
}
function sendBack(row) {
function sendBack(row) {
uni.showModal({
title: '提示',
content: `确定撤回${row.content.certName}吗`,
......@@ -273,7 +273,7 @@
}
}
})
}
}
</script>
<style scoped>
......
......@@ -54,29 +54,29 @@
</template>
<script setup>
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
onMounted,
ref
} from 'vue'
import {
} from 'vue'
import {
onLoad
} from '@dcloudio/uni-app'
const app = getApp();
const queryParams = ref({
} from '@dcloudio/uni-app'
const app = getApp();
const queryParams = ref({
// pageNum: 1,
// pageSize: 10
mergeFlag: 100,
statusFlag: '101'
})
const navs = ref(['待提交','审核中', '审核通过', '审核拒绝', '已撤回'])
const current = ref()
const list = ref([])
const total = ref(0)
const deptType = ref('')
const userType = ref('')
onLoad(() => {
})
const navs = ref(['待提交','审核中', '审核通过', '审核拒绝', '已撤回'])
const current = ref()
const list = ref([])
const total = ref(0)
const deptType = ref('')
const userType = ref('')
onLoad(() => {
if (app.globalData.isLogin) {
init()
} else {
......@@ -85,16 +85,16 @@
init()
};
}
})
})
function init() {
function init() {
deptType.value = app.globalData.deptType
userType.value = app.globalData.userType
console.log(userType.value)
// console.log(userType.value)
getList()
}
}
function onClickItem(e) {
function onClickItem(e) {
console.log(e)
switch(e.currentIndex){
case 0:
......@@ -114,9 +114,9 @@
break;
}
getList()
}
}
function getList() {
function getList() {
uni.showLoading({
title:'加载中'
})
......@@ -153,9 +153,9 @@
})
total.value = res.total
})
}
}
function handleAudit(item){
function handleAudit(item){
uni.showModal({
title: '提示',
content: `确定提交${item.content.certName}吗`,
......@@ -174,9 +174,9 @@
}
}
})
}
}
function goDetail(item) {
function goDetail(item) {
const form = encodeURIComponent(JSON.stringify(item))
// 查看
let path = `/group/apply/mergeUpDetail?&form=${form}`
......@@ -184,20 +184,20 @@
url: path
});
}
function goMerge(){
}
function goMerge(){
let path = `/group/apply/merge`
uni.redirectTo({
url: path
});
}
function goApply(){
}
function goApply(){
let path = `/group/apply/applyList`
uni.redirectTo({
url: path
});
}
function sendBack(row){
}
function sendBack(row){
uni.showModal({
title: '提示',
content: `确定撤回${row.content.certName}吗`,
......@@ -217,8 +217,8 @@
}
}
})
}
function resolution(row){
}
function resolution(row){
uni.showModal({
title: '提示',
content: `确定拆分${row.content.certName}吗`,
......@@ -235,7 +235,7 @@
}
}
})
}
}
</script>
<style scoped>
......
......@@ -80,28 +80,28 @@
</template>
<script setup>
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
onMounted,
ref
} from 'vue'
import {
} from 'vue'
import {
onLoad
} from '@dcloudio/uni-app'
const app = getApp();
const list = ref([])
const queryParams = ref({})
const totalCost = ref(0)
const deptType = ref('')
const UpPop = ref(null)
const form = ref({
} from '@dcloudio/uni-app'
const app = getApp();
const list = ref([])
const queryParams = ref({})
const totalCost = ref(0)
const deptType = ref('')
const UpPop = ref(null)
const form = ref({
docId: '',
payTime: '',
url: '',
remark: ''
})
onLoad(() => {
})
onLoad(() => {
if (app.globalData.isLogin) {
init()
} else {
......@@ -110,14 +110,14 @@
init()
};
}
})
})
function init() {
function init() {
deptType.value = app.globalData.deptType
getList()
}
}
function getList() {
function getList() {
if (queryParams.value.settle == 1) {
queryParams.value.settleFlag = undefined
queryParams.value.payFlag = undefined
......@@ -131,19 +131,22 @@
totalCost.value = totalCost.value + (item.allPrice * 1)
})
})
}
}
function handleUpdate(item) {
function handleUpdate(item) {
form.value.docId = item.docId
if (item.payEvidence) {
form.value.url = item.payEvidence
}
UpPop.value.open()
}
let selectFileValue = {}
}
let selectFileValue = {}
function selectFile(e) {
function selectFile(e) {
let file = e.tempFiles[0]
if(!file){
return
}
api.uploadFile(e).then(data => {
selectFileValue = {
url: data.msg,
......@@ -153,17 +156,17 @@
form.value.url = JSON.stringify([selectFileValue])
});
}
}
function fileProgress(e) {
function fileProgress(e) {
console.log('progress:' + e)
}
}
function delSupplementFile(index) {
function delSupplementFile(index) {
selectFileValue = {}
}
}
function uploadSure() {
function uploadSure() {
console.log(form.value)
if(!form.value.payTime){
uni.showToast({
......@@ -188,16 +191,16 @@
})
getList()
})
}
}
function goDetail(item) {
function goDetail(item) {
//详情
console.log(item.docId)
let path = `/group/feeBillDetail?docId=${item.docId}`
uni.navigateTo({
url: path
});
}
}
</script>
<style scoped lang="scss">
......
......@@ -123,34 +123,34 @@
</template>
<script setup>
import {
import {
ref
} from 'vue'
import {
} from 'vue'
import {
onLoad,
onShow
} from '@dcloudio/uni-app'
import * as api from '@/common/api.js'
import config from '/config.js'
const queryParams = ref({})
const query = ref({})
const total = ref(0)
const list = ref([])
const popup = ref(null)
const choseStudent = ref(null)
const studentList = ref([])
const type = ref('')
const form = ref({})
onLoad((option) => {
} from '@dcloudio/uni-app'
import * as api from '@/common/api.js'
import config from '/config.js'
const queryParams = ref({})
const query = ref({})
const total = ref(0)
const list = ref([])
const popup = ref(null)
const choseStudent = ref(null)
const studentList = ref([])
const type = ref('')
const form = ref({})
onLoad((option) => {
if (option.rangeId) {
queryParams.value.rangeId = option.rangeId
getList()
}
})
onShow(() => {})
})
onShow(() => {})
function getList() {
function getList() {
uni.showLoading({
title: '加载中'
})
......@@ -162,16 +162,16 @@
total.value = res.total
uni.hideLoading()
})
}
}
function handleChange(a, b) {
function handleChange(a, b) {
type.value = b
form.value = a
console.log(form.value.newName)
popup.value.open()
}
}
function handleDelete(row) {
function handleDelete(row) {
uni.showModal({
content: `确认删除${row.newName}`,
success: function(res) {
......@@ -185,9 +185,9 @@
}
}
})
}
}
function chooseOnline() {
function chooseOnline() {
uni.showLoading({
title: '加载中',
icon: 'none'
......@@ -199,8 +199,8 @@
choseStudent.value.open()
})
}
function getSonList(){
}
function getSonList(){
uni.showLoading({
title: '加载中',
icon: 'none'
......@@ -210,17 +210,17 @@
studentList.value = res.data.rows
uni.hideLoading()
})
}
}
function checkThis(n) {
function checkThis(n) {
if (n.checked) {
n.checked = false
} else {
n.checked = true
}
}
}
function handleImport() {
function handleImport() {
var arr = []
for (var n of studentList.value) {
if (n.checked) {
......@@ -235,9 +235,9 @@
choseStudent.value.close()
getList()
})
}
}
function submitForm(type) {
function submitForm(type) {
api.groupChangeEditMod({
id: form.value.id,
newName: form.value.newName
......@@ -248,9 +248,9 @@
})
getList()
})
}
}
function commitFN() {
function commitFN() {
const flag = list.value.some(item => {
if (!item.fileUrl) {
uni.showToast({
......@@ -278,13 +278,15 @@
}
}
})
}
let selectFileValue = {}
}
let selectFileValue = {}
function selectFile(row, e) {
console.log(row, e)
function selectFile(row, e) {
form.value = row
let file = e.tempFiles[0]
if(!file){
return
}
api.uploadFile(e).then(data => {
selectFileValue = {
url: data.msg,
......@@ -304,12 +306,12 @@
getList()
})
});
}
}
function delSupplementFile(row) {
function delSupplementFile(row) {
selectFileValue = {}
row.fileUrl = []
}
}
</script>
<style scoped lang="scss">
.searchbar {
......
......@@ -75,6 +75,7 @@
考试级别
<!-- <text style="padding: 15rpx 0;">{{ szToHz(n.levelNew) }}</text> -->
<view @click="changeLevelfather(n)">
<uni-data-select v-model="n.levelNew" :localdata="levelArr"
@change="changeLevel"></uni-data-select>
</view>
......@@ -84,7 +85,8 @@
<view style="width: 30%;">
是否通过
<view>
<uni-data-select :clear="false" v-model="n.isPass" :localdata="range"></uni-data-select>
<uni-data-select :clear="false" v-model="n.isPass"
:localdata="range"></uni-data-select>
</view>
</view>
</view>
......@@ -196,7 +198,7 @@
const tablePersonInfo = ref({})
const transcript = ref([])
const studentQuery = ref({
name:''
name: ''
})
const levelArr = ref([{
value: '10',
......@@ -415,7 +417,7 @@
memId: memberInfo.memId,
examId: form.value.examId,
examType: form.value.type,
name:studentQuery.value.name
name: studentQuery.value.name
}
api.chooseStudentsList(obj).then(response => {
studentList.value = response.rows
......@@ -528,9 +530,11 @@
function changeLevelfather(row) {
nowRow = row
api.jiDropDownBox({perId: row.perId}).then(res=>{
api.jiDropDownBox({
perId: row.perId
}).then(res => {
console.log(res.data)
for(var l of res.data){
for (var l of res.data) {
l.text = l.name
l.disabled = l.status
}
......@@ -539,6 +543,7 @@
})
}
function changeLevel(e) {
console.log(e)
if (e !== nowRow.levelRecommend) {
......@@ -618,7 +623,10 @@
let selectFileValue = {}
function selectFile(e) {
console.log(e)
let file = e.tempFiles[0]
if (!file) {
return
}
for (const n in e.tempFiles) {
api.uploadFileList(e.tempFilePaths[n]).then(data => {
console.log(data)
......
......@@ -66,26 +66,26 @@
</template>
<script setup>
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
onMounted,
ref
} from 'vue'
import {
} from 'vue'
import {
onLoad
} from '@dcloudio/uni-app'
const app = getApp();
const list = ref([])
const deptType = ref('')
const UpPop = ref(null)
const form = ref({
} from '@dcloudio/uni-app'
const app = getApp();
const list = ref([])
const deptType = ref('')
const UpPop = ref(null)
const form = ref({
docId:'',
payTime:'',
url:'',
remark:''
})
onLoad((option) => {
})
onLoad((option) => {
if (app.globalData.isLogin) {
init()
} else {
......@@ -94,26 +94,29 @@
init()
};
}
})
})
function init() {
function init() {
deptType.value = app.globalData.deptType
getList()
}
}
function getList() {
function getList() {
api.getFeeBillList().then(res => {
list.value = res.rows
})
}
}
function handleUpdate(item) {
function handleUpdate(item) {
form.value.docId = item.docId
UpPop.value.open()
}
let selectFileValue = {}
function selectFile(e) {
}
let selectFileValue = {}
function selectFile(e) {
let file = e.tempFiles[0]
if(!file){
return
}
api.uploadFile(e).then(data => {
selectFileValue = {
url: data.msg,
......@@ -123,14 +126,14 @@
form.value.url=JSON.stringify([selectFileValue])
});
}
function fileProgress(e) {
}
function fileProgress(e) {
console.log('progress:'+ e)
}
function delSupplementFile(index) {
}
function delSupplementFile(index) {
selectFileValue = {}
}
function uploadSure(){
}
function uploadSure(){
console.log(form.value)
api.commitPaymentVoucher(form.value).then(res=>{
UpPop.value.close()
......@@ -141,15 +144,15 @@
})
getList()
})
}
function goDetail(item) {
}
function goDetail(item) {
//详情
console.log(item.docId)
let path = `/personalVip/feeBillDetail?docId=${item.docId}`
uni.navigateTo({
url: path
});
}
}
</script>
<style scoped lang="scss">
......
......@@ -72,65 +72,68 @@
</template>
<script setup>
import {
import {
onLoad
} from '@dcloudio/uni-app';
import {
} from '@dcloudio/uni-app';
import {
ref
} from 'vue'
import config from '@/config.js'
import {
} from 'vue'
import config from '@/config.js'
import {
getCodeImg,
getSmsCode,
pcLogin,
loginByPhone
} from '@/common/login.js'
} from '@/common/login.js'
const isActive = ref(0)
const agree = ref(false)
const isRember = ref(true)
const codeUrl = ref(null)
const inputstyle = ref({
const isActive = ref(0)
const agree = ref(false)
const isRember = ref(true)
const codeUrl = ref(null)
const inputstyle = ref({
borderColor: 'transparent',
fontSize: '30rpx'
})
const form = ref({
})
const form = ref({
username: null,
password: null,
code: null,
uuid: null
})
const form2 = ref({
})
const form2 = ref({
telNo: null,
captcha: null,
code: null,
uuid: null
})
const countDown = ref({
})
const countDown = ref({
start: false,
second: 60
})
})
const app = getApp()
const app = getApp()
onLoad(() => {
onLoad(() => {
getCode()
if(uni.showShareMenu){
uni.showShareMenu({
withShareTicket: true,
menus: ['shareAppMessage', 'shareTimeline']
});
})
}
})
function changeActive(n) {
function changeActive(n) {
isActive.value = n
}
}
function changeAgree(item) {
function changeAgree(item) {
item = !item
}
}
function login() {
function login() {
if (isActive.value == 0) {
if (!form.value.username) {
uni.showToast({
......@@ -156,7 +159,6 @@
pcLogin(form.value)
.then((res) => {
app.globalData.isLogin = true
uni.redirectTo({
url: '/pages/index/index'
......@@ -187,25 +189,25 @@
})
})
}
}
}
function goRegister() {
function goRegister() {
const path = '/login/register'
uni.navigateTo({
url: path
})
}
}
function getCode() {
function getCode() {
getCodeImg().then((res) => {
codeUrl.value = 'data:image/gif;base64,' + res.data.img
form.value.uuid = res.data.uuid
form2.value.uuid = res.data.uuid
})
}
}
// 发送短信验证码
function getCaptchaSms() {
// 发送短信验证码
function getCaptchaSms() {
if (!form2.value.telNo) {
uni.showToast({
title: '手机号不能为空',
......@@ -232,13 +234,13 @@
})
countDown.value.start = true
}).catch(getCode)
}
}
function timeup() {
function timeup() {
countDown.value.start = false
countDown.value.second = 60
getCode()
}
}
</script>
<style scoped lang="scss">
......
......@@ -75,32 +75,32 @@
</template>
<script setup>
import * as api from '@/common/api.js'
import config from '@/config.js'
import _ from 'lodash'
import {
import * as api from '@/common/api.js'
import config from '@/config.js'
import _ from 'lodash'
import {
onMounted,
ref
} from 'vue'
import {
} from 'vue'
import {
onLoad
} from '@dcloudio/uni-app'
const app = getApp();
const list = ref([])
const queryParams = ref({
} from '@dcloudio/uni-app'
const app = getApp();
const list = ref([])
const queryParams = ref({
type: '1'
})
const totalCost = ref(0)
const deptType = ref('')
const UpPop = ref(null)
const selectFileValue = ref({})
const form = ref({
})
const totalCost = ref(0)
const deptType = ref('')
const UpPop = ref(null)
const selectFileValue = ref({})
const form = ref({
docId: '',
payTime: '',
payCert: '',
remark: ''
})
onLoad((option) => {
})
onLoad((option) => {
queryParams.value.type = option.type
console.log(option.type)
if (option.type == 2) {
......@@ -121,14 +121,14 @@
init()
};
}
})
})
function init() {
function init() {
deptType.value = app.globalData.deptType
getList()
}
}
function getList() {
function getList() {
uni.showLoading({
title: '加载中'
})
......@@ -140,9 +140,9 @@
totalCost.value += (info.totalAmount * 1)
})
})
}
}
function handleUpdate(item) {
function handleUpdate(item) {
form.value.payId = item.payId
if (item.payCert) {
form.value.payCert = item.payCert
......@@ -155,10 +155,13 @@
form.value.remarks = item.remarks
}
UpPop.value.open()
}
}
function selectFile(e) {
function selectFile(e) {
let file = e.tempFiles[0]
if(!file){
return
}
api.uploadFile(e).then(data => {
selectFileValue.value = {
url: data.msg,
......@@ -168,17 +171,17 @@
form.value.payCert = JSON.stringify([selectFileValue.value])
});
}
}
function fileProgress(e) {
function fileProgress(e) {
console.log('progress:' + e)
}
}
function delSupplementFile(index) {
function delSupplementFile(index) {
selectFileValue.value = {}
}
}
function uploadSure() {
function uploadSure() {
console.log(form.value)
if (!form.value.payTime) {
uni.showToast({
......@@ -203,16 +206,16 @@
title: '操作成功'
})
})
}
}
function goDetail(item) {
function goDetail(item) {
//详情
const form = encodeURIComponent(JSON.stringify(item))
let path = `/pages/exam/paymentDetail?form=${form}&type=${queryParams.value.type}`
uni.navigateTo({
url: path
});
}
}
</script>
<style scoped lang="scss">
......
......@@ -253,34 +253,34 @@
</template>
<script setup>
import * as api from '@/common/api.js';
import * as loginServer from '@/common/login.js';
import config from '@/config.js'
import {
import * as api from '@/common/api.js';
import * as loginServer from '@/common/login.js';
import config from '@/config.js'
import {
onLoad,
onShow,
onReady,
onPullDownRefresh
} from '@dcloudio/uni-app';
import {
} from '@dcloudio/uni-app';
import {
ref,
getCurrentInstance
} from 'vue';
} from 'vue';
const {
const {
proxy
} = getCurrentInstance()
const app = getApp();
const userType = ref('1')
const memberInfo = ref({})
} = getCurrentInstance()
const app = getApp();
const userType = ref('1')
const memberInfo = ref({})
let proId;
const svId = ref(null);
const numData = ref({});
let proId;
const svId = ref(null);
const numData = ref({});
const messageList = ref([])
onShow(() => {
const messageList = ref([])
onShow(() => {
if (app.globalData.isLogin) {
init()
} else {
......@@ -288,20 +288,22 @@
init()
};
}
})
onLoad(option => {
})
onLoad(option => {
if (option.scene) {
proId = decodeURIComponent(option.scene);
} else {
proId = option.proId;
}
if(uni.showShareMenu){
uni.showShareMenu({
withShareTicket: true,
menus: ['shareAppMessage', 'shareTimeline']
});
});
}
});
function loginOut() {
function loginOut() {
uni.showModal({
content: `确认退出吗?`,
success: function(res) {
......@@ -315,9 +317,9 @@
}
}
})
}
}
function goPath(path) {
function goPath(path) {
if (app.globalData.authenticationStatus == '5') {
if (app.globalData.genFlag == 1) {
uni.showModal({
......@@ -350,16 +352,16 @@
url: path
});
}
}
function init() {
function init() {
uni.showLoading({
title: '加载中'
});
loginServer.getMyOwnMemberInfo().then(res => {
userType.value = app.globalData.userType
memberInfo.value = app.globalData.memberInfo
console.log(userType.value, app.globalData.authenticationStatus)
// console.log(userType.value, app.globalData.authenticationStatus)
if (app.globalData.authenticationStatus == '5') {
if (app.globalData.genFlag == 1) {
uni.showModal({
......@@ -412,9 +414,9 @@
api.getRemindCount().then(res => {
numData.value = res.data
})
}
}
function getMes() {
function getMes() {
uni.showLoading({
title: '加载中'
});
......@@ -470,9 +472,9 @@
messageList.value = res.rows
uni.hideLoading();
})
}
}
function readMessage(item) {
function readMessage(item) {
uni.navigateTo({
url: item.path
});
......@@ -481,7 +483,7 @@
}).then(res => {
item.readFlag = '1'
})
}
}
</script>
<style scope lang="scss">
.page {
......
......@@ -54,7 +54,7 @@
<text class="text-danger">*需上传证件照等有效资料</text>
</view>
</view>
<!-- <view>
<!-- <view>
<label>开始日期:</label>
{{ n.oldBeginTime?.slice(0,10) }}
<text class="text-primary" @click="handleChange(n,'newBeginTime')">变更 </text>
......@@ -163,31 +163,31 @@
</template>
<script setup>
import {
import {
ref
} from 'vue'
import {
} from 'vue'
import {
onLoad,
onShow
} from '@dcloudio/uni-app'
import * as api from '@/common/api.js'
import config from '/config.js'
const queryParams = ref({})
const total = ref(0)
const list = ref([])
const popup = ref(null)
const choseStudent = ref(null)
const studentList = ref([])
const type = ref('')
const form = ref({})
const sexs = ref([{
} from '@dcloudio/uni-app'
import * as api from '@/common/api.js'
import config from '/config.js'
const queryParams = ref({})
const total = ref(0)
const list = ref([])
const popup = ref(null)
const choseStudent = ref(null)
const studentList = ref([])
const type = ref('')
const form = ref({})
const sexs = ref([{
text: '男',
value: '0'
}, {
}, {
text: '女',
value: '1'
}])
const cardType = ref([{
}])
const cardType = ref([{
text: '身份证',
value: '0'
},
......@@ -211,8 +211,8 @@
text: '户口本',
value: '5'
}
])
const cardType1 = ref([{
])
const cardType1 = ref([{
text: '身份证',
value: '0'
},
......@@ -228,16 +228,16 @@
text: '户口本',
value: '5'
}
])
onLoad((option) => {
])
onLoad((option) => {
if (option.rangeId) {
queryParams.value.rangeId = option.rangeId
getList()
}
})
onShow(() => {})
})
onShow(() => {})
function getList() {
function getList() {
uni.showLoading({
title: '加载中'
})
......@@ -249,16 +249,16 @@
total.value = res.total
uni.hideLoading()
})
}
}
function handleChange(a, b) {
function handleChange(a, b) {
type.value = b
form.value = a
console.log(form.value.newName)
popup.value.open()
}
}
function handleDelete(row) {
function handleDelete(row) {
uni.showModal({
content: `确认删除会员${row.newName}`,
success: function(res) {
......@@ -272,9 +272,9 @@
}
}
})
}
}
function chooseOnline() {
function chooseOnline() {
uni.showLoading({
title: '加载中',
icon: 'none'
......@@ -289,17 +289,17 @@
uni.hideLoading()
choseStudent.value.open()
})
}
}
function checkThis(n) {
function checkThis(n) {
if (n.checked) {
n.checked = false
} else {
n.checked = true
}
}
}
function handleImport() {
function handleImport() {
var arr = []
for (var n of studentList.value) {
if (n.checked) {
......@@ -314,9 +314,9 @@
choseStudent.value.close()
getList()
})
}
}
function submitForm(type) {
function submitForm(type) {
if (type == 'newIdcCode' && form.value.newIdcType == 0) {
// 验证身份证
const pattern =
......@@ -346,9 +346,9 @@
})
getList()
})
}
}
function commitFN() {
function commitFN() {
const flag = list.value.some(item => {
if (!item.fileUrl) {
uni.showToast({
......@@ -376,13 +376,15 @@
}
}
})
}
let selectFileValue = {}
}
let selectFileValue = {}
function selectFile(row, e) {
console.log(row, e)
function selectFile(row, e) {
form.value = row
let file = e.tempFiles[0]
if(!file){
return
}
api.uploadFile(e).then(data => {
selectFileValue = {
url: data.msg,
......@@ -408,12 +410,12 @@
getList()
})
});
}
}
function delSupplementFile(row) {
function delSupplementFile(row) {
selectFileValue = {}
row.fileUrl = []
}
}
</script>
<style scoped lang="scss">
......
......@@ -100,23 +100,23 @@
</template>
<script setup>
import {
import {
ref
} from 'vue'
import {
} from 'vue'
import {
onLoad,
onShow
} from '@dcloudio/uni-app'
import {
} from '@dcloudio/uni-app'
import {
szToHz
} from '@/common/utils.js'
import * as api from '@/common/api.js'
const inputstyle = ref({
} from '@/common/utils.js'
import * as api from '@/common/api.js'
const inputstyle = ref({
borderColor: '#fff',
fontSize: '30rpx'
})
const placeholderStyle = ref('text-align: right;font-size:30rpx')
const levelArr = ref([{
})
const placeholderStyle = ref('text-align: right;font-size:30rpx')
const levelArr = ref([{
text: '九级',
value: '9'
},
......@@ -152,8 +152,8 @@
text: '一级',
value: '1'
}
])
const reasonArr = ref([{
])
const reasonArr = ref([{
text: '报错级位',
value: '1'
},
......@@ -165,9 +165,9 @@
text: '其它',
value: '3'
}
])
])
const idcTypeListno2 = ref([
const idcTypeListno2 = ref([
{
value: '0',
text: "身份证"
......@@ -184,8 +184,8 @@
value: '5',
text: "户口本"
}
])
const idcTypeList = ref([{
])
const idcTypeList = ref([{
value: '0',
text: "身份证"
},
......@@ -209,31 +209,31 @@
value: '5',
text: "户口本"
}
])
const baseFormData = ref({
])
const baseFormData = ref({
idcType: '0'
})
const list = ref([])
const levelList = ref([])
const total = ref(0)
const flag = ref(true)
const popup = ref(null)
const queryParams = ref({
})
const list = ref([])
const levelList = ref([])
const total = ref(0)
const flag = ref(true)
const popup = ref(null)
const queryParams = ref({
rangeId: ''
})
onLoad((option) => {
})
onLoad((option) => {
if (option.rangeId) {
baseFormData.value.rangeId = option.rangeId
queryParams.value.rangeId = option.rangeId
}
})
onShow(() => {
})
onShow(() => {
if (queryParams.value.rangeId != '') {
getList()
}
})
// 查询会员
function selectMember() {
})
// 查询会员
function selectMember() {
if (!baseFormData.value.idcCode) {
uni.showToast({
title: '请输入证件号',
......@@ -255,9 +255,9 @@
levelList.value = res.data
popup.value.open()
})
}
}
function submitForm() {
function submitForm() {
if (!baseFormData.value.name) {
uni.showToast({
title: '请输入姓名',
......@@ -297,9 +297,9 @@
baseFormData.value.name = ''
getList()
})
}
}
function getList() {
function getList() {
uni.showLoading({
title: '加载中'
})
......@@ -314,9 +314,9 @@
total.value = Response.total
uni.hideLoading()
})
}
}
function commitFN() {
function commitFN() {
const flag = list.value.some(item => {
if (!item.fileUrl && !item.reason) {
uni.showToast({
......@@ -334,9 +334,9 @@
})
uni.navigateBack()
})
}
}
function handleAdd(row) {
function handleAdd(row) {
api.addLevelList({
perId: row.perId,
techId: row.techId,
......@@ -346,12 +346,14 @@
getList()
popup.value.close()
})
}
let selectFileValue = {}
}
let selectFileValue = {}
function selectFile(row, e) {
console.log(row, e)
function selectFile(row, e) {
let file = e.tempFiles[0]
if(!file){
return
}
api.uploadFile(e).then(data => {
selectFileValue = {
url: data.msg,
......@@ -367,14 +369,14 @@
getList()
})
});
}
}
function delSupplementFile(row) {
function delSupplementFile(row) {
selectFileValue = {}
row.fileUrl = []
}
}
function reasonFN(row, e) {
function reasonFN(row, e) {
console.log(row, e)
api.addLevelModToRange({
reason: e,
......@@ -382,18 +384,18 @@
}).then(res => {
getList()
})
}
}
function editJIFN(row, e) {
function editJIFN(row, e) {
api.editNewJi({
modId: row.id,
NewJi: e
}).then(res => {
getList()
})
}
}
function handleDelete(row) {
function handleDelete(row) {
uni.showModal({
title: '提示',
content: `确定删除${row.perName}吗?`,
......@@ -407,7 +409,7 @@
})
}
})
}
}
</script>
<style scoped lang="scss">
......
......@@ -12,8 +12,8 @@
</uni-forms-item>
<uni-forms-item label="证件类型" required name="idcType">
<uni-data-select v-model="baseFormData.idcType" style="width: 300rpx;"
@change="changeIdcType" :clearable="false"
:disabled="current === 0" :localdata="idcTypeList"></uni-data-select>
@change="changeIdcType" :clearable="false" :disabled="current === 0"
:localdata="idcTypeList"></uni-data-select>
</uni-forms-item>
<uni-forms-item label="证件照" required v-show="current === 1">
<view class="upCard">
......@@ -44,7 +44,7 @@
</uni-forms-item>
<uni-forms-item label="出生日期" required name="birth">
{{baseFormData.birth?.slice(0,10)}}
<!-- <uni-datetime-picker type="date" placeholder="YYYY-MM-DD" :border='false'
<!-- <uni-datetime-picker type="date" placeholder="YYYY-MM-DD" :border='false'
:clear-icon="false" v-model="baseFormData.birth" /> -->
</uni-forms-item>
<uni-forms-item label="联系方式" name="phone">
......@@ -52,6 +52,7 @@
v-model="baseFormData.phone" placeholder="请输入联系方式" />
</uni-forms-item>
<uni-forms-item label="所在地区">
<uni-data-picker class="fixUniFormItemStyle" v-model="baseFormData.cityId"
:localdata="regionsList" popup-title="请选择所在地区"></uni-data-picker>
......@@ -198,7 +199,7 @@
current.value = 1
baseFormData.value.sourceFlag = 1
baseFormData.value.idcType = option.idcType || 0
if(baseFormData.value.idcType == '3'){
if (baseFormData.value.idcType == '3') {
disabledName.value = false
} else {
disabledName.value = true
......@@ -218,7 +219,6 @@
if (current.value != e.currentIndex) {
current.value = e.currentIndex
}
cardObj.value = {}
photoArr.value = {}
if (current.value == 0) {
......@@ -237,12 +237,17 @@
}
}
function changeAgree(item) {
agree.value = !item
}
//身份证识别
function upIdCardImgFront(e) {
let file = e.tempFiles[0]
if (!file) {
return
}
uni.showLoading({
title: '加载中'
});
......@@ -252,7 +257,7 @@
// formData.append('pic', e.tempFiles[0].file)
api.carUrl(e.tempFilePaths[0], baseFormData.value.idcType).then(res => {
console.log(res)
if(res.data){
if (res.data) {
baseFormData.value.sex = res.data.sex
baseFormData.value.birth = res.data.birth
baseFormData.value.idcCode = res.data.code
......@@ -283,6 +288,9 @@
function upPhoto(e) {
const tempFilePaths = e.tempFilePaths;
const imgUrl = tempFilePaths[0]
if (!imgUrl) {
return
}
wx.cropImage({
src: imgUrl,
cropScale: '4:5',
......@@ -302,6 +310,7 @@
}
function delimgFont(n) {
photoArr.value = {}
cardObj.value = {}
......@@ -313,11 +322,13 @@
};
}
function delPhoto(n) {
photoArr.value = {};
baseFormData.value.photo = '';
}
function getExtractInfo(obj) {
//如果老会员
uni.showLoading({
......@@ -363,13 +374,13 @@
} else {
uni.hideLoading()
// 新会员
if(res.data.sex){
if (res.data.sex) {
baseFormData.value.sex = res.data.sex
baseFormData.value.birth = res.data.birth
}
if(baseFormData.value.idcType != 3&&current.value==1){
if (baseFormData.value.idcType != 3 && current.value == 1) {
disabledName.value = true
}else{
} else {
disabledName.value = false
}
return
......@@ -377,6 +388,7 @@
})
}
function giveBirthDay() {
// 判断身份证正确性/赋值生日
if (baseFormData.value.idcType == 0) {
......@@ -432,15 +444,18 @@
}
}
function openpopup() {
popup.value.open()
}
function closepopup() {
agree.value = true
popup.value.close()
}
function changeIdcType(e) {
console.log(e)
// 切换证件照类型把当前页面数据清空
......@@ -454,6 +469,7 @@
}
}
function goSubmit() {
if (!agree.value) {
uni.showToast({
......@@ -486,7 +502,7 @@
})
return
}
if ( baseFormData.value.idcType == 3 ) {
if (baseFormData.value.idcType == 3) {
//转换为大写并判断位数12
baseFormData.value.idcCode = baseFormData.value.idcCode.toUpperCase()
// var regex = /^[a-zA-Z]/
......@@ -546,12 +562,13 @@
</script>
<style lang="scss" scoped>
:deep(.uni-forms-item__content){
:deep(.uni-forms-item__content) {
display: flex;
align-items: center;
justify-content: flex-end;
}
:deep(.segmented-control) {
height: 100rpx;
}
......
......@@ -60,36 +60,36 @@
<image mode="aspectFit" src="/static/nodata.png"></image>
<text>暂无数据</text>
</view>
<!-- <view v-if="userType=='2'" class="block-btn-box">
<!-- <view v-if="userType=='2'" class="block-btn-box">
<button @click="goMerge" class="btn-red-kx">前往合并 > </button>
</view> -->
</view>
</template>
<script setup>
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
onMounted,
ref
} from 'vue'
import {
} from 'vue'
import {
onShow
} from '@dcloudio/uni-app'
const app = getApp();
const queryParams = ref({
} from '@dcloudio/uni-app'
const app = getApp();
const queryParams = ref({
// pageNum: 1,
// pageSize: 10
auditStatus: '0'
})
const navs = ref(['待审核', '审核通过', '审核拒绝', '撤回'])
const current = ref(0)
const list = ref([])
const statistical = ref({})
const total = ref(0)
const deptType = ref('')
const userType = ref('')
onShow(() => {
})
const navs = ref(['待审核', '审核通过', '审核拒绝', '撤回'])
const current = ref(0)
const list = ref([])
const statistical = ref({})
const total = ref(0)
const deptType = ref('')
const userType = ref('')
onShow(() => {
if (app.globalData.isLogin) {
init()
} else {
......@@ -97,21 +97,21 @@
init()
};
}
})
})
function init() {
function init() {
userType.value = app.globalData.userType
deptType.value = app.globalData.deptType
getList()
}
}
function onClickItem(e) {
function onClickItem(e) {
console.log(e)
queryParams.value.auditStatus = e.currentIndex
getList()
}
}
function getList() {
function getList() {
uni.showLoading({
title: `加载中`
})
......@@ -137,7 +137,7 @@
total.value = res.total
uni.hideLoading()
})
}
}
function handleDelete(row){
uni.showModal({
title: '提示',
......@@ -154,7 +154,7 @@ function handleDelete(row){
}
})
}
function audit(recordId, flag) {
function audit(recordId, flag) {
if (flag == '0') {
// 拒绝
// 弹出框填写理由
......@@ -186,9 +186,9 @@ function handleDelete(row){
}
})
}
}
}
function doApproval(recordId, flag, reason) {
function doApproval(recordId, flag, reason) {
var obj = {
flag: flag,
reason: reason || '',
......@@ -203,11 +203,11 @@ function handleDelete(row){
})
getList()
})
}
}
function goDetail(item) {
function goDetail(item) {
const form = encodeURIComponent(JSON.stringify(item))
console.log(userType.value)
// console.log(userType.value)
let path =
`/personalVip/auditDetail?form=${form}`
......@@ -216,20 +216,20 @@ function handleDelete(row){
});
}
}
function goMerge() {
function goMerge() {
let path = `/personalVip/sheng/merge`
uni.redirectTo({
url: path
});
}
function goMergeUp() {
}
function goMergeUp() {
let path = `/personalVip/sheng/mergeUp`
uni.redirectTo({
url: path
});
}
}
</script>
<style>
......
......@@ -70,32 +70,32 @@
</template>
<script setup>
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
onMounted,
ref
} from 'vue'
import {
} from 'vue'
import {
onLoad
} from '@dcloudio/uni-app'
const app = getApp();
const queryParams = ref({
} from '@dcloudio/uni-app'
const app = getApp();
const queryParams = ref({
pageNum: 1,
pageSize: 6
// mergeFlag: 0,
// auditStatus: ''
})
const wfId = ref('')
const form = ref([])
const list = ref([])
const id = ref('')
const feelList = ref([])
const total = ref(0)
const totalYear = ref(0)
const userType = ref('')
const statistical = ref({})
onLoad((option) => {
})
const wfId = ref('')
const form = ref([])
const list = ref([])
const id = ref('')
const feelList = ref([])
const total = ref(0)
const totalYear = ref(0)
const userType = ref('')
const statistical = ref({})
onLoad((option) => {
console.log(option)
if (app.globalData.isLogin) {
init(option)
......@@ -105,9 +105,9 @@
};
}
})
})
function init(option) {
function init(option) {
// wfId.value = option.wfId
// queryParams.value.auditStatus = option.auditStatus
if ('form' in option) {
......@@ -117,13 +117,13 @@
console.log(form.value)
userType.value = app.globalData.userType
getForm()
}
}
function getForm() {
function getForm() {
uni.showLoading({
title: '加载中'
})
console.log(userType.value)
// console.log(userType.value)
api.getDetailPersonList(queryParams.value).then(res => {
uni.hideLoading()
......@@ -132,17 +132,17 @@
getFillList(list.value[0]?.rangeId)
})
}
// 审核记录
function getFillList(id) {
}
// 审核记录
function getFillList(id) {
if (id)
api.getHistoryByRelateId(id).then(res => {
feelList.value = res.data
uni.hideLoading()
})
}
}
function audit(recordId, flag) {
function audit(recordId, flag) {
if (flag == '0') {
// 拒绝
// 弹出框填写理由
......@@ -174,9 +174,9 @@
}
})
}
}
}
function doApproval(recordId, flag, reason) {
function doApproval(recordId, flag, reason) {
var obj = {
flag: flag,
reason: reason || '',
......@@ -191,24 +191,24 @@
})
uni.navigateBack()
})
}
}
function changeList() {
function changeList() {
}
}
function goMoreList() {
function goMoreList() {
let path = `/personalVip/payPersonList?recordId=${queryParams.value.recordId}`
uni.navigateTo({
url: path
});
}
}
function handleInfo(n) {
function handleInfo(n) {
uni.navigateTo({
url: `/personalVip/detail?perId=${n.perId}`
})
}
}
</script>
<style scoped lang="scss">
......
......@@ -50,25 +50,25 @@
</view>
<view class="fixedBottom"><button class="btn-red" @click="goSubmit">确 定</button></view>
</view>
</view>
</template>
<script setup>
import {
import {
onMounted,
ref
} from 'vue'
import {
} from 'vue'
import {
onLoad
} from '@dcloudio/uni-app';
import * as api from '@/common/api.js'
const perId = ref()
const regionsList = ref([])
const baseFormData = ref({
} from '@dcloudio/uni-app';
import * as api from '@/common/api.js'
const perId = ref()
const regionsList = ref([])
const baseFormData = ref({
sex: '0',
idcType: '0'
})
const idcTypeList = ref([{
})
const idcTypeList = ref([{
value: '0',
text: "身份证"
},
......@@ -80,20 +80,20 @@
value: '3',
text: "外国护照"
}
])
const sexs = ref([{
])
const sexs = ref([{
text: '女',
value: '0'
}, {
}, {
text: '男',
value: '1'
}])
const placeholderStyle = ref('text-align: right;font-size:30rpx')
const inputstyle = ref({
}])
const placeholderStyle = ref('text-align: right;font-size:30rpx')
const inputstyle = ref({
borderColor: '#fff',
fontSize: '30rpx'
})
const imageStylesTx = ref({
})
const imageStylesTx = ref({
width: '210rpx',
height: '280rpx',
background: {
......@@ -102,45 +102,50 @@
border: {
radius: '2px'
}
});
onLoad((option)=>{
});
onLoad((option)=>{
})
onMounted(() => {
})
onMounted(() => {
getRegionsList()
})
})
function getRegionsList() {
function getRegionsList() {
api.regionsList().then(res => {
regionsList.value = res.data
})
}
function upPhoto(e) {
let file = e.tempFiles[0]
if(!file){
return
}
function upPhoto(e) {
// api.uploadImg(e).then(data => {
// baseFormData.value.photo = data.data;
// });
}
}
function delimgFont(n) {
function delimgFont(n) {
baseFormData.value.card = '';
}
}
function delPhoto(n) {
function delPhoto(n) {
baseFormData.value.photo = '';
}
}
function goSubmit() {
function goSubmit() {
}
}
function getUserInfo() {
function getUserInfo() {
api.getInfo(perId.value).then(res=>{
forms.value = res.data
if (forms.areaAssName)forms.ancestorNameList = forms.value.ancestorNameList.join(',').replaceAll(',', '/')
})
}
}
</script>
<style lang="scss" scoped>
......
......@@ -67,26 +67,26 @@
</template>
<script setup>
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
onMounted,
ref
} from 'vue'
import {
} from 'vue'
import {
onShow
} from '@dcloudio/uni-app'
const app = getApp();
const list = ref([])
const deptType = ref('')
const UpPop = ref(null)
const form = ref({
} from '@dcloudio/uni-app'
const app = getApp();
const list = ref([])
const deptType = ref('')
const UpPop = ref(null)
const form = ref({
docId:'',
payTime:'',
url:'',
remark:''
})
onShow(() => {
})
onShow(() => {
if (app.globalData.isLogin) {
init()
} else {
......@@ -94,26 +94,29 @@
init()
};
}
})
})
function init() {
function init() {
deptType.value = app.globalData.deptType
getList()
}
}
function getList() {
function getList() {
api.getFeeBillList().then(res => {
list.value = res.rows
})
}
}
function handleUpdate(item) {
function handleUpdate(item) {
form.value.docId = item.docId
UpPop.value.open()
}
let selectFileValue = {}
function selectFile(e) {
}
let selectFileValue = {}
function selectFile(e) {
let file = e.tempFiles[0]
if(!file){
return
}
api.uploadFile(e).then(data => {
selectFileValue = {
url: data.msg,
......@@ -123,14 +126,14 @@
form.value.url=JSON.stringify([selectFileValue])
});
}
function fileProgress(e) {
}
function fileProgress(e) {
console.log('progress:'+ e)
}
function delSupplementFile(index) {
}
function delSupplementFile(index) {
selectFileValue = {}
}
function uploadSure(){
}
function uploadSure(){
console.log(form.value)
api.commitPaymentVoucher(form.value).then(res=>{
UpPop.value.close()
......@@ -141,15 +144,15 @@
})
getList()
})
}
function goDetail(item) {
}
function goDetail(item) {
//详情
console.log(item.docId)
let path = `/personalVip/feeBillDetail?docId=${item.docId}`
uni.navigateTo({
url: path
});
}
}
</script>
<style scoped lang="scss">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!