Browse Source

type:style

commit:获取分类字典
master
孙家正 2 years ago
parent
commit
623eec2472
  1. 33
      manifest.json
  2. 2
      pages/massif/pestType.vue
  3. 2
      pages/massif/plant_plan.vue
  4. 2
      pages/purchase/newAgr.vue
  5. 2
      pages/stock/list.vue
  6. 2
      pages/stock/prodWarehouse.vue

33
manifest.json

@ -1,9 +1,9 @@
{
"name" : "plant_manage_mobile",
"appid" : "__UNI__D917821",
"name" : "园区优农",
"appid" : "__UNI__6159D37",
"description" : "种植管理",
"versionName" : "1.0.0",
"versionCode" : "100",
"versionName" : "1.03",
"versionCode" : 103,
"transformPx" : false,
/* 5+App */
"app-plus" : {
@ -18,7 +18,9 @@
},
/* */
"modules" : {
"Maps" : {}
"Maps" : {},
"Camera" : {},
"Geolocation" : {}
},
/* */
"distribute" : {
@ -29,6 +31,7 @@
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_MOCK_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
@ -36,6 +39,7 @@
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.INSTALL_LOCATION_PROVIDER\"/>",
"<uses-permission android:name=\"android.permission.INTERNET\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
@ -55,10 +59,25 @@
"maps" : {
"amap" : {
"appkey_ios" : "123",
"appkey_android" : "6586e1721d3762ef72963e57ccc031ed"
"appkey_android" : "e0fb063cd3e6711b2f315fcda475fe9c"
}
},
"ad" : {}
"ad" : {},
"geolocation" : {
"amap" : {
"__platform__" : [ "android" ],
"appkey_ios" : "123",
"appkey_android" : "e0fb063cd3e6711b2f315fcda475fe9c"
}
}
},
"icons" : {
"android" : {
"hdpi" : "C:/我的资料/1-inntraFiles/1-楚雄州/3-浙滇农业/9-打包资料/icon/7272.png",
"xhdpi" : "C:/我的资料/1-inntraFiles/1-楚雄州/3-浙滇农业/9-打包资料/icon/9696.png",
"xxhdpi" : "C:/我的资料/1-inntraFiles/1-楚雄州/3-浙滇农业/9-打包资料/icon/144144.png",
"xxxhdpi" : "C:/我的资料/1-inntraFiles/1-楚雄州/3-浙滇农业/9-打包资料/icon/192192.png"
}
}
}
},

2
pages/massif/pestType.vue

@ -161,7 +161,7 @@ export default {
async init(){
var res=await request("/common/api/dict/categoryValue",{
method:"post",
data:{code:"B09"}
body:{code:"B09"}
})
if(res.statu){
this.cropList=res.data.map(v=>({...v,children:v?.children?.length>0?v.children:[{label:"全部",value:v.pest.map(v=>({name:v.label,id:v.id}))}]}))

2
pages/massif/plant_plan.vue

@ -106,7 +106,7 @@ export default {
async init(){
var res=await request("/common/api/dict/categoryValue",{
method:"post",
data:{code:"B06"}
body:{code:"B06"}
})
if(res.statu){
this.fields.plantType.columns=[res.data]

2
pages/purchase/newAgr.vue

@ -98,7 +98,7 @@ export default {
var res=await request("/common/api/dict/categoryValue",{
method:"post",
params:{code:'B07'}
body:{code:'B07'}
})
if(res.statu){
this.fields.detailedType.columns=[res.data]

2
pages/stock/list.vue

@ -349,7 +349,7 @@ export default{
//
var res = await request("/common/api/dict/categoryValue",{
method:"post",
params:{code:"B08"}
body:{code:"B08"}
})
if(res.statu){
this.buyerType.list=res.data

2
pages/stock/prodWarehouse.vue

@ -101,7 +101,7 @@ export default {
//
var res=await request("/common/api/dict/categoryValue",{
method:"post",
data:{code:"B06"}
body:{code:"B06"}
})
if(res.statu){
this.fields.detailType.columns=[res.data]

Loading…
Cancel
Save