27592
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<u-loadmore :status="loadingStatus" :margin-top="30" :margin-bottom="30" color="#999" font-size="26" />
|
||||
<!-- <u-loadmore :status="loadingStatus" :margin-top="30" :margin-bottom="30" color="#999" font-size="26" /> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -24,7 +24,7 @@ export default {
|
||||
subTitle: '',
|
||||
current: 0,
|
||||
list: [],
|
||||
loadingStatus: 'loadmore',
|
||||
// loadingStatus: 'loadmore',
|
||||
}
|
||||
},
|
||||
|
||||
@@ -38,7 +38,7 @@ export default {
|
||||
|
||||
methods: {
|
||||
getList() {
|
||||
this.loadingStatus = 'loading'
|
||||
// this.loadingStatus = 'loading'
|
||||
this.$instance
|
||||
.post(`/app/approval-process-def/list-xcx?processType=2`, null, {
|
||||
params: {
|
||||
@@ -48,10 +48,10 @@ export default {
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code === 0) {
|
||||
if (!res.data.records.length) {
|
||||
this.loadingStatus = 'nomore'
|
||||
return false
|
||||
}
|
||||
// if (!res.data.records.length) {
|
||||
// this.loadingStatus = 'nomore'
|
||||
// return false
|
||||
// }
|
||||
|
||||
const data = res.data.records.map((item) => {
|
||||
return item
|
||||
@@ -60,11 +60,11 @@ export default {
|
||||
|
||||
this.list.push(...data)
|
||||
this.current = this.current + 1
|
||||
this.loadingStatus = 'loadmore'
|
||||
// this.loadingStatus = 'loadmore'
|
||||
|
||||
if (this.list.length < 10) {
|
||||
this.loadingStatus = 'nomore'
|
||||
}
|
||||
// if (this.list.length < 10) {
|
||||
// this.loadingStatus = 'nomore'
|
||||
// }
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -214,7 +214,7 @@ export default {
|
||||
filePath: res,
|
||||
encoding: 'base64',
|
||||
success: (res) => {
|
||||
this.$loading()
|
||||
// this.$loading()
|
||||
this.$instance
|
||||
.post(`/app/syssignaccount/xcx-draw-sign?openId=${this.user.openId}`, res.data, {
|
||||
headers: {
|
||||
@@ -268,10 +268,10 @@ export default {
|
||||
},
|
||||
|
||||
getInfo(id) {
|
||||
this.$loading()
|
||||
// this.$loading()
|
||||
this.$instance.post(`/app/approval-process-def/info-id?id=${id}`).then((res) => {
|
||||
if (res.code === 0) {
|
||||
this.$hideLoading()
|
||||
// this.$hideLoading()
|
||||
this.info = res.data
|
||||
uni.setNavigationBarTitle({
|
||||
title: res.data.processName,
|
||||
@@ -380,7 +380,7 @@ export default {
|
||||
sourceType: ['album', 'camera'],
|
||||
success: (res) => {
|
||||
const path = res.tempFilePaths[0]
|
||||
this.$loading()
|
||||
// this.$loading()
|
||||
uni.uploadFile({
|
||||
url: this.$instance.baseURL + '/admin/file/add',
|
||||
filePath: path,
|
||||
@@ -400,7 +400,7 @@ export default {
|
||||
}
|
||||
},
|
||||
complete: () => {
|
||||
this.$hideLoading()
|
||||
// this.$hideLoading()
|
||||
},
|
||||
})
|
||||
},
|
||||
@@ -486,7 +486,7 @@ export default {
|
||||
let tableInfo = this.info.tableInfo
|
||||
tableInfo.tableFieldInfos = list
|
||||
|
||||
this.$loading()
|
||||
// this.$loading()
|
||||
this.$instance
|
||||
.post(`/app/approv-alapply-info/add`, {
|
||||
processNodeList,
|
||||
@@ -503,11 +503,11 @@ export default {
|
||||
url: `./serviceResult?title=${this.info.processName}`,
|
||||
})
|
||||
} else {
|
||||
this.$hideLoading()
|
||||
// this.$hideLoading()
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
this.$hideLoading()
|
||||
// this.$hideLoading()
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<u-loadmore :status="loadingStatus" :margin-top="30" :margin-bottom="30" color="#999" font-size="26" />
|
||||
<!-- <u-loadmore :status="loadingStatus" :margin-top="30" :margin-bottom="30" color="#999" font-size="26" /> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -23,7 +23,7 @@ export default {
|
||||
subTitle: '',
|
||||
current: 0,
|
||||
list: [],
|
||||
loadingStatus: 'loadmore',
|
||||
// loadingStatus: 'loadmore',
|
||||
}
|
||||
},
|
||||
|
||||
@@ -37,7 +37,7 @@ export default {
|
||||
|
||||
methods: {
|
||||
getList() {
|
||||
this.loadingStatus = 'loading'
|
||||
// this.loadingStatus = 'loading'
|
||||
this.$instance
|
||||
.post(`/app/approval-process-def/list-xcx?processType=0`, null, {
|
||||
params: {
|
||||
@@ -48,10 +48,10 @@ export default {
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code === 0) {
|
||||
if (!res.data.records.length) {
|
||||
this.loadingStatus = 'nomore'
|
||||
return false
|
||||
}
|
||||
// if (!res.data.records.length) {
|
||||
// this.loadingStatus = 'nomore'
|
||||
// return false
|
||||
// }
|
||||
|
||||
const data = res.data.records.map((item) => {
|
||||
return item
|
||||
@@ -60,11 +60,11 @@ export default {
|
||||
|
||||
this.list.push(...data)
|
||||
this.current = this.current + 1
|
||||
this.loadingStatus = 'loadmore'
|
||||
// this.loadingStatus = 'loadmore'
|
||||
|
||||
if (this.list.length < 10) {
|
||||
this.loadingStatus = 'nomore'
|
||||
}
|
||||
// if (this.list.length < 10) {
|
||||
// this.loadingStatus = 'nomore'
|
||||
// }
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<!-- <u-parse className="articalContent" :html="content"></u-parse> -->
|
||||
</div>
|
||||
<div class="service-btn" v-if="processType != 2" @click="toSubmit">我已阅读并同意</div>
|
||||
<!-- <AiLogin ref="login"></AiLogin> -->
|
||||
<AiLogin ref="login"></AiLogin>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user