|
@@ -166,6 +166,7 @@
|
|
|
let recruit_id = '{{ $info->recruit_id }}';
|
|
|
let appoint_id = '{{ $info->appoint_id }}';
|
|
|
let status = '{{ $info->status }}';
|
|
|
+ let type = '{{ $info->type }}';
|
|
|
|
|
|
const app = new Vue({
|
|
|
el: '#app',
|
|
@@ -185,11 +186,16 @@
|
|
|
},
|
|
|
methods: {
|
|
|
post: function() {
|
|
|
+ if (type == 1 && this.select_list.length != 11) {
|
|
|
+ this.$message.error('请对11个镇(街道)进行排序!');
|
|
|
+ return false;
|
|
|
+ }
|
|
|
|
|
|
- if(this.select_list.length != 13){
|
|
|
- this.$message.error('请对13个镇(街道)进行排序!');
|
|
|
+ if (type == 2 && this.select_list.length != 16) {
|
|
|
+ this.$message.error('请对16个镇(街道)进行排序!');
|
|
|
return false;
|
|
|
}
|
|
|
+
|
|
|
var msg = "您正在提交择岗的操作!";
|
|
|
this.$confirm(msg, '警告', {
|
|
|
confirmButtonText: '确认提交',
|