diff --git a/App.vue b/App.vue index 056b547..affe792 100644 --- a/App.vue +++ b/App.vue @@ -12,10 +12,10 @@ } - \ No newline at end of file diff --git a/components/list/workList/workItem.vue b/components/list/workList/workItem.vue index 5d773be..4635f0a 100644 --- a/components/list/workList/workItem.vue +++ b/components/list/workList/workItem.vue @@ -37,7 +37,8 @@ {{ $dayjs(item.createTime).format('YYYY-MM-DD') }} - + 联系老板 @@ -58,7 +59,17 @@ } }, methods: { - + callPhone(){ + uni.makePhoneCall({ + phoneNumber: this.item.phone, + success() { + console.log('安卓拨打成功'); + }, + fail() { + console.log('安卓拨打失败'); + } + }) + }, } } diff --git a/manifest.json b/manifest.json index 7f8b1a9..d48142a 100644 --- a/manifest.json +++ b/manifest.json @@ -52,7 +52,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wxad5b3d20a75974c0", + "appid" : "wxe631bce44d54667e", "setting" : { "urlCheck" : false }, diff --git a/pages.json b/pages.json index 1470207..cbc3c91 100644 --- a/pages.json +++ b/pages.json @@ -107,6 +107,9 @@ }, { "path": "mine/InvitationCredit" + }, + { + "path": "work/addResume" } ] }], diff --git a/pages/index/center.vue b/pages/index/center.vue index bcc0fba..a359b2a 100644 --- a/pages/index/center.vue +++ b/pages/index/center.vue @@ -126,7 +126,7 @@ 积分记录 - + 实名认证 @@ -145,7 +145,7 @@ 电子合同 - + 面对面分享 diff --git a/pages/index/index.vue b/pages/index/index.vue index 5686a79..cc7ac96 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -48,7 +48,7 @@ + @click="toAdd"> 发布 @@ -115,6 +115,13 @@ clickItem(){ }, + toAdd(){ + if(this.role){ + this.$utils.navigateTo('/pages_order/work/jobPosting') + }else{ + this.$utils.navigateTo('/pages_order/work/addResume') + } + }, } } diff --git a/pages/index/keepAccounts.vue b/pages/index/keepAccounts.vue index 8e24e2e..0759f43 100644 --- a/pages/index/keepAccounts.vue +++ b/pages/index/keepAccounts.vue @@ -3,7 +3,7 @@ - @@ -57,7 +59,8 @@ - + @@ -88,7 +91,6 @@ - + + + + + + + + - 取消 - 确定 + 取消 + 确定 @@ -138,29 +156,72 @@ name: '结束项目', }, ], + statusList : [ + { + name : '在建', + value : 0, + }, + { + name : '结束', + value : 1, + }, + ], show: false, - mixinsListApi : 'commonQueryStrartJobLists', - apiType : '', + mixinsListApi : 'commonQueryNotebookList', addOrUpdate : false, form : { title : '', + status : 0, }, } }, computed: { }, - onReady() { - + onLoad() { + this.queryParams.status = 0 + this.queryParams.type = 0 }, methods: { - isShohw(){ - this.show = false + clickTabsType({index}){ + this.queryParams.type = index + this.getData() }, - clickTabs({index}){ - this.apiType = index ? 's' : '' + clickTabsStatus({index}){ + this.queryParams.status = index this.getData() }, + submit(){ + + if(this.$utils.verificationAll(this.form, { + title : '请输入项目名称',// + })){ + return + } + + this.form.type = this.queryParams.type + + this.$api('commonAddBill', this.form, res => { + if(res.code == 200){ + this.show = false + this.form = { + title : '', + status : 0, + } + this.getData() + } + }) + }, + openUpdate(item){ + this.form = { + id : item.id, + title : item.title, + status : item.status, + status : item.status, + } + this.addOrUpdate = true + this.show = true + } } } diff --git a/pages_order/auth/certification.vue b/pages_order/auth/certification.vue index 9eaa1e6..7fa29db 100644 --- a/pages_order/auth/certification.vue +++ b/pages_order/auth/certification.vue @@ -1,7 +1,105 @@ @@ -9,15 +107,99 @@ export default { data() { return { - + checkboxValue : [], + form : {}, + fileList: [], } }, methods: { + deleteImage(e){ + this.fileList.splice(e.index, 1) + }, + afterRead(e){ + let self = this + e.file.forEach(file => { + self.$Oss.ossUpload(file.url).then(url => { + self.fileList.push({ + url + }) + }) + }) + }, } } diff --git a/pages_order/auth/wxLogin.vue b/pages_order/auth/wxLogin.vue index fcab8f0..76bd635 100644 --- a/pages_order/auth/wxLogin.vue +++ b/pages_order/auth/wxLogin.vue @@ -4,7 +4,7 @@ - 欢迎使用酒店桌布租赁平台 + 欢迎使用特易招 @@ -32,7 +32,7 @@ 阅读并同意我们的“服务协议与隐私条款” diff --git a/pages_order/auth/wxUserInfo.vue b/pages_order/auth/wxUserInfo.vue index f72f89c..0b31b48 100644 --- a/pages_order/auth/wxUserInfo.vue +++ b/pages_order/auth/wxUserInfo.vue @@ -1,7 +1,7 @@