更新
This commit is contained in:
parent
569bcab21d
commit
06d50a4a75
@ -39,4 +39,9 @@ export const categoryBusinessList = (data) => oahttp.get('/CategoryBusiness/list
|
||||
/**
|
||||
* 字典列表
|
||||
*/
|
||||
export const dictDataLists = (data) => oahttp.get('/common/dict_data_lists', data)
|
||||
export const dictDataLists = (data) => oahttp.get('/common/dict_data_lists', data)
|
||||
|
||||
/**
|
||||
* 字典列表: 按数据值取
|
||||
*/
|
||||
export const dictDataListsTypeValue = (data) => oahttp.get('/common/dict_data_lists_by_type_value', data)
|
@ -14,6 +14,7 @@
|
||||
<script>
|
||||
import { Toast } from "../../libs/uniApi";
|
||||
import { serviceTaskDetails } from "@/api/task.js"
|
||||
import { dictDataListsTypeValue } from "@/api/oaPbulic.js"
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -26,7 +27,7 @@
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
options.task_id?this.taskInfo.task_id=options.task_id:null;
|
||||
options.task_id?this.taskInfo.id=options.task_id:null;
|
||||
this.initTask();
|
||||
},
|
||||
onShow() {},
|
||||
@ -35,8 +36,11 @@
|
||||
let res = await serviceTaskDetails({
|
||||
id: this.taskInfo.id
|
||||
});
|
||||
console.log(res);
|
||||
this.taskInfo = res.data;
|
||||
let dict = await dictDataListsTypeValue({
|
||||
type_value: 'town_task_type'
|
||||
})
|
||||
console.log(dict);
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -74,7 +74,7 @@
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
options.task_id?this.taskInfo.task_id=options.task_id:null;
|
||||
options.task_id?this.taskInfo.id=options.task_id:null;
|
||||
this.initTask();
|
||||
},
|
||||
onShow() {},
|
||||
|
Loading…
x
Reference in New Issue
Block a user