diff --git a/androidPrivacy.json b/androidPrivacy.json new file mode 100644 index 0000000..0d726ca --- /dev/null +++ b/androidPrivacy.json @@ -0,0 +1,3 @@ +{ + "prompt" : "template" +} diff --git a/components/company/company.vue b/components/company/company.vue index d35622f..1093628 100644 --- a/components/company/company.vue +++ b/components/company/company.vue @@ -127,7 +127,6 @@ }, props: ['id','type'], mounted() { - // console.log(this.$props.type, this.$props.id); this.initContract(this.$props.id, this.$props.type||null); }, methods: { @@ -148,8 +147,16 @@ async initContract(id, type="contract") { let res; //判断是合同还是公司 - if(id&&(type=="contract"||type==null)) res = await contractView({ id }); - else res = await companyView(); + if(id&&(type=="contract"||type==null)){ + res = await contractView({ id }); + } else{ + if(id>0){ + res = await companyView({id}); + }else{ + res = await companyView(); + } + + } this.company = res.data.company; this.user = res.data.user; this.contract = res.data.contract; diff --git a/manifest.json b/manifest.json index d2175d6..44e9639 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name" : "nk-oa", + "name" : "供销综合平台", "appid" : "__UNI__3A527D1", "description" : "", "versionName" : "1.0.0", @@ -18,7 +18,9 @@ }, /* 模块配置 */ "modules" : { - "Payment" : {} + "Payment" : {}, + "Barcode" : {}, + "Camera" : {} }, /* 应用发布信息 */ "distribute" : { @@ -52,12 +54,47 @@ "sdkConfigs" : { "payment" : { "weixin" : { - "__platform__" : [ "android" ], + "__platform__" : [ "ios", "android" ], "appid" : "wx9d68c92b550ddd1e", "UniversalLinks" : "" } }, "ad" : {} + }, + "splashscreen" : { + "useOriginalMsgbox" : true + }, + "icons" : { + "android" : { + "hdpi" : "unpackage/res/icons/72x72.png", + "xhdpi" : "unpackage/res/icons/96x96.png", + "xxhdpi" : "unpackage/res/icons/144x144.png", + "xxxhdpi" : "unpackage/res/icons/192x192.png" + }, + "ios" : { + "appstore" : "unpackage/res/icons/1024x1024.png", + "ipad" : { + "app" : "unpackage/res/icons/76x76.png", + "app@2x" : "unpackage/res/icons/152x152.png", + "notification" : "unpackage/res/icons/20x20.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "proapp@2x" : "unpackage/res/icons/167x167.png", + "settings" : "unpackage/res/icons/29x29.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "spotlight" : "unpackage/res/icons/40x40.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png" + }, + "iphone" : { + "app@2x" : "unpackage/res/icons/120x120.png", + "app@3x" : "unpackage/res/icons/180x180.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "notification@3x" : "unpackage/res/icons/60x60.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "settings@3x" : "unpackage/res/icons/87x87.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png", + "spotlight@3x" : "unpackage/res/icons/120x120.png" + } + } } } }, diff --git a/pages/oaExamine/oaExamine.vue b/pages/oaExamine/oaExamine.vue index 687e18c..a5affa6 100644 --- a/pages/oaExamine/oaExamine.vue +++ b/pages/oaExamine/oaExamine.vue @@ -35,6 +35,8 @@ getHandleListAPI, getCopyOfMyListAPI } from '@/api/oaApi.js' + import { Toast } from '@/libs/uniApi.js' + // import tabbar from '../components/tabbar' export default { components: { @@ -114,6 +116,8 @@ } }, click(item) { + Toast('开发中') + return this.myEventList = [] this.params.page = '1' switch (item.index) { diff --git a/pages/oaMy/oaMy.vue b/pages/oaMy/oaMy.vue index 413431b..8262621 100644 --- a/pages/oaMy/oaMy.vue +++ b/pages/oaMy/oaMy.vue @@ -40,7 +40,7 @@ - 编辑 + @@ -76,6 +76,13 @@ + + + + 片区经理 + + + 退出登录 @@ -154,6 +161,11 @@ url: url }) : Toast('暂未开放') }, + naviTwo(url){ + uni.switchTab({ + url: url + }) + }, alterMyInfo() { uni.navigateTo({ url: '/pages/views/personal_center' diff --git a/pages/oaTask/oaTask.vue b/pages/oaTask/oaTask.vue index d9b8cbd..df27082 100644 --- a/pages/oaTask/oaTask.vue +++ b/pages/oaTask/oaTask.vue @@ -58,6 +58,8 @@