|
@@ -186,13 +186,8 @@
|
|
|
},
|
|
|
methods: {
|
|
|
post: function() {
|
|
|
- if (type == 1 && this.select_list.length != 4) {
|
|
|
- this.$message.error('请对4个镇(街道)进行排序!');
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
- if (type == 2 && this.select_list.length != 3) {
|
|
|
- this.$message.error('请对3个镇(街道)进行排序!');
|
|
|
+ if (this.select_list.length == 0) {
|
|
|
+ this.$message.error('请选择意向街道!');
|
|
|
return false;
|
|
|
}
|
|
|
|