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