作者 王智

Merge branch 'master' into volun

... ... @@ -61,7 +61,7 @@ Page({
}
let params = {
page: that.data.currentTab
type_id: that.data.currentTab
}
console.log(params)
... ... @@ -71,7 +71,6 @@ Page({
list: res
})
}).catch((err) => {
})
},
... ...
... ... @@ -78,12 +78,20 @@ Page({
}
var num=that.data.list.length;
var answer=new Object;
for(var i=0;i<num;i++){
answer[that.data.list[i].id]=that.data.list[i].choose;
}
var answer_str=JSON.stringify(answer);
console.log(answer);
console.log(answer_str);
console.log(params)
let params = {
class_id: that.data.id,
answer_info:answer_str
}
console.log(params)
app.post(url, params, head).then((res) => {
if (that.data.answers == '') {
... ...
{
"description": "项目配置文件",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": false,
"es6": true,
"enhance": false,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": true,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": true,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": false,
"useApiHook": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": []
},
"compileType": "miniprogram",
"libVersion": "2.8.3",
"appid": "wx7a3bf4e0796c070a",
"projectname": "zhiyuanzhe",
"cloudfunctionTemplateRoot": "",
"watchOptions": {
"ignore": []
},
"debugOptions": {
"hidedInDevtools": []
},
"scripts": {},
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"plugin": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"gamePlugin": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": [
{
"id": 0,
"name": "工作计划表",
"pathName": "pages/word_report/word_report",
"query": "id=17&status=1",
"scene": null
},
{
"id": -1,
"name": "pages/myteam/myteam",
"pathName": "pages/myteam/myteam",
"query": "",
"scene": null
},
{
"id": 2,
"name": "我的培训",
"pathName": "pages/mytrain/mytrain",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/Online_regulations/Online_regulations",
"pathName": "pages/Online_regulations/Online_regulations",
"query": "",
"scene": null
},
{
"id": 4,
"name": "学习内容",
"pathName": "pages/getStudycontent/getStudycontent",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/apply/apply",
"pathName": "pages/apply/apply",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/Volunteer_detail/Volunteer_detail",
"pathName": "pages/Volunteer_detail/Volunteer_detail",
"query": "",
"scene": null
},
{
"id": 7,
"name": "志愿回馈",
"pathName": "pages/myfeedback/myfeedback",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/myaddress/myaddress",
"pathName": "pages/myaddress/myaddress",
"query": "",
"scene": null
},
{
"id": 9,
"name": "志愿动态",
"pathName": "pages/Volunteer_dynamic/Volunteer_dynamic",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/guanlitiaoli/guanlitiaoli",
"pathName": "pages/guanlitiaoli/guanlitiaoli",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/mycertificate/mycertificate",
"pathName": "pages/mycertificate/mycertificate",
"query": "",
"scene": null
},
{
"id": 12,
"name": "申请加入",
"pathName": "pages/Volunteer_group/active/active",
"query": "",
"scene": null
},
{
"id": -1,
"name": "志愿团队",
"pathName": "pages/Volunteer_group/Volunteer_group",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的地址列表",
"pathName": "pages/myaddress/myaddress",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的收货地址",
"pathName": "pages/myaddcompile/myaddcompile",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的团队",
"pathName": "pages/myteam/myteam",
"query": "",
"scene": null
},
{
"id": 18,
"name": "商品详情",
"pathName": "pages/myfeedback/myfeedback_active/myfeedback_active",
"query": "",
"scene": null
},
{
"id": -1,
"name": "积分兑换",
"pathName": "pages/myfeedback/myfeedback_duihuan/myfeedback_duihuan",
"query": "",
"scene": null
},
{
"id": -1,
"name": "光荣排行",
"pathName": "pages/guangrongpaihang/guangrongpaihang",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的活动",
"pathName": "pages/myactivity/myactivity",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/myactivity/myactivity_active/myactivity_active",
"pathName": "pages/myactivity/myactivity_active/myactivity_active",
"query": "",
"scene": null
},
{
"id": -1,
"name": "答题详情",
"pathName": "pages/getStudycontent/answer/answer",
"query": "",
"scene": null
},
{
"id": 23,
"name": "在线培训",
"pathName": "pages/Online_regulations/Online_regulations",
"query": "",
"scene": null
},
{
"id": 24,
"name": "学习内容",
"pathName": "pages/getStudycontent/getStudycontent",
"query": "",
"scene": null
},
{
"id": -1,
"name": "dati ",
"pathName": "pages/getStudycontent/answer/answer",
"query": "id=1",
"scene": null
},
{
"id": -1,
"name": "电子证件",
"pathName": "pages/mycertificate/mycertificate",
"query": "",
"scene": null
},
{
"id": -1,
"name": "编辑资料",
"pathName": "pages/mydetail/mydetail",
"query": "",
"scene": null
},
{
"id": -1,
"name": "工时兑换",
"pathName": "pages/myfeedback/myfeedback_list/myfeedback_list",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的资料",
"pathName": "pages/mydetail/mydetail",
"query": "",
"scene": null
},
{
"id": -1,
"name": "更多志愿者",
"pathName": "pages/more/more",
"query": "",
"scene": null
},
{
"id": -1,
"name": "志愿动态详情",
"pathName": "pages/getNewsInfo/getNewsInfo",
"query": "",
"scene": null
},
{
"id": -1,
"name": "审核状态",
"pathName": "pages/result/result",
"query": "",
"scene": null
}
]
}
}
}
\ No newline at end of file