wkw 7 месяцев назад
Родитель
Сommit
e270419e79
5 измененных файлов с 21 добавлено и 25 удалено
  1. 2 1
      pages.json
  2. 5 14
      pages/index/index.vue
  3. 8 8
      pages/my/businessLicense.vue
  4. 2 0
      pages/my/index.vue
  5. 4 2
      pages/my/jobPostingSecond.vue

+ 2 - 1
pages.json

@@ -176,7 +176,8 @@
 			"path": "pages/jobManagement/jobManagement",
 			"style": {
 				"navigationBarTitleText": "职位管理",
-				"navigationStyle": "custom"
+				"navigationStyle": "custom",
+				"disableSwipeBack": true
 			}
 		},
 		{

+ 5 - 14
pages/index/index.vue

@@ -1132,10 +1132,11 @@
 							uni.showModal({
 								title: '提示',
 								content: '企业正在认证审核中。',
+								showCancel: false,
 								complete(ret) {
 									if (ret.confirm) {
 										uni.navigateTo({
-											url: "/my/renzheng/editCompany"
+											url: "/package/jobIntention/underReview"
 										});
 									}
 								}
@@ -1304,23 +1305,13 @@
 
 				this.$Request.getT('/app/postPush/getCompanyClassify', data).then(res => {
 					if (res.code == 0) {
-						let arr = [
-							/* {
-														projectName: '',
-														name: '全部',
-													}, */
-						]
+						let arr = []
 						console.log("布的岗位列表", res.data.length)
 						if (res.data.length == 0) {
+							// let backUrl = '/pages/my/index'
 							// uni.navigateTo({
-							// 	url: '/pages/my/jobPosting?companyId=' + data.companyId + '&status=' + this
-							// 		.companyStatus + '&companyName=' + this.companyName
+							// 	url: `/pages/jobManagement/jobManagement?backUrl=${backUrl}`
 							// })
-							let backUrl = '/pages/my/index'
-							uni.navigateTo({
-								url: `/pages/jobManagement/jobManagement?backUrl=${backUrl}`
-							})
-
 						}
 						res.data.map(item => {
 							let obj = {

+ 8 - 8
pages/my/businessLicense.vue

@@ -49,6 +49,14 @@ export default {
   components: {
     navBar,
   },
+  watch: {
+      companyName: {
+        immediate: true,
+        handler(val) {
+          this.currentLength = val.length;
+        }
+      }
+    },
   methods: {
     goBusinessLicense() {
       uni.navigateTo({ url: "/pages/my/businessLicense" });
@@ -71,14 +79,6 @@ export default {
 	handleInput(value) {
 	  this.currentLength = value.length;
 	},
-	watch: {
-	    companyName: {
-	      immediate: true,
-	      handler(val) {
-	        this.currentLength = val.length;
-	      }
-	    }
-	  }
   },
 };
 </script>

+ 2 - 0
pages/my/index.vue

@@ -1460,6 +1460,7 @@
 								title: "提示",
 								content: "您提交的企业认证正在审核,是否查看修改?",
 								confirmColor: "#016BF6",
+								showCancel: false,
 								success: function(res) {
 									if (res.confirm) {
 										console.log("用户点击确定");
@@ -1513,6 +1514,7 @@
 							title: "提示",
 							content: "您还未企业认证,请先进行认证",
 							confirmColor: "#016BF6",
+							showCancel: false,
 							success: function(res) {
 								if (res.confirm) {
 									console.log("用户点击确定");

+ 4 - 2
pages/my/jobPostingSecond.vue

@@ -58,7 +58,7 @@
 			</view>
 		</view>
 
-		<view class="submit-btn" @click="submitPost">确定</view>
+		<view class="submit-btn" @click="submitPost">发布</view>
 
 		<!-- 经验选择器 -->
 		<u-select v-model="showExper" :list="listExper" title="请选择经验" @confirm="onExperConfirm"
@@ -308,6 +308,7 @@
 						name: "选择职位要求"
 					},
 				],
+				type:''
 			};
 		},
 		components: {
@@ -352,6 +353,7 @@
 
 			if (options.pid) {
 				this.pid = options.pid;
+				this.type = options.type;
 				if(options.type && options.type=='updata'){
 					this.getInfo()
 				}
@@ -536,7 +538,7 @@
 						icon: "none"
 					});
 				}
-				if (!this.stationName.longitude) {
+				if (this.type && this.type=='updata' && !this.stationName.longitude) {
 					return uni.showToast({
 						title: "请选择位置",
 						icon: "none"