更新其他任务
This commit is contained in:
parent
cacb0063bd
commit
682e891c5d
@ -30,3 +30,8 @@ export const taskAddTricycleCoordinate = (data) => oahttp.post('/task/add_tricyc
|
||||
* 任务:入股详情
|
||||
*/
|
||||
export const taskShareholder = (data) => oahttp.post('/task/shareholder', data)
|
||||
|
||||
/**
|
||||
* 任务:三轮车详情
|
||||
*/
|
||||
export const taskOtherTaskDetail = (data) => oahttp.get('/task/other_task_detail', data)
|
||||
|
@ -2,8 +2,8 @@ let httpApiThree;
|
||||
let httpApi; // 总域名
|
||||
let httpApiTwo; // 物流系统域名
|
||||
|
||||
// const env = 'dev'; // 开发
|
||||
const env = 'prod'; // 生产
|
||||
const env = 'dev'; // 开发
|
||||
// const env = 'prod'; // 生产
|
||||
// const env = 'prew'; // 预上线
|
||||
|
||||
switch (env) {
|
||||
|
@ -33,6 +33,9 @@
|
||||
import {
|
||||
upLoadImage
|
||||
} from "@/api/file.js"
|
||||
import {
|
||||
taskOtherTaskDetail
|
||||
} from "@/api/task.js"
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -45,6 +48,7 @@
|
||||
},
|
||||
onLoad(options) {
|
||||
this.task_id = options.task_id;
|
||||
this.initDetail();
|
||||
},
|
||||
computed:{
|
||||
// 占位长度
|
||||
@ -53,6 +57,11 @@
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
initDetail(){
|
||||
taskOtherTaskDetail({id: this.task_id}).then((res)=>{
|
||||
this.formData = res.data;
|
||||
})
|
||||
},
|
||||
chooseFile(){
|
||||
uni.chooseImage({
|
||||
sizeType: ['compressed'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user