Quellcode durchsuchen

修改渠道号上线

朱鑫波 vor 3 Jahren
Ursprung
Commit
1ad0eef939

+ 2 - 2
src/views/modules/account-config/account-config-server.js

@@ -3,8 +3,8 @@
  * @author jiayufei
  */
 
-// export const urlAcount = 'http://118.24.244.213:8808'; // 线上
+export const urlAcount = 'http://118.24.244.213:8808'; // 线上
 // export const urlAcount = 'http://apipre.tjyourong.com.cn'; // 预生产
 // export const urlAcount = 'http://192.168.1.43:8808'; // 子安
-export const urlAcount = 'http://139.186.165.84:8808'; // 测试
+// export const urlAcount = 'http://139.186.165.84:8808'; // 测试
 // export const urlAcount = 'http://192.168.1.8:8080'; // 学超

+ 25 - 5
src/views/modules/autoLaunch/channelManage/createChannel.vue

@@ -330,7 +330,17 @@ li.chouzhen.first:before {
                                                 ]"
                                                 :precision="0"
                                                 :min="1"
-                                                :max="100"
+                                                :max="
+                                                    getFormData('numberLength') == 0
+                                                        ? 999999
+                                                        : getFormData('numberLength') == 3
+                                                        ? 999
+                                                        : getFormData('numberLength') == 4
+                                                        ? 9999
+                                                        : getFormData('numberLength') == 5
+                                                        ? 99999
+                                                        : 999999
+                                                "
                                             />
                                             ~
                                             <a-input-number
@@ -349,7 +359,17 @@ li.chouzhen.first:before {
                                                 @blur="numberMaxCheck"
                                                 :precision="0"
                                                 :min="1"
-                                                :max="100"
+                                                :max="
+                                                    getFormData('numberLength') == 0
+                                                        ? 999999
+                                                        : getFormData('numberLength') == 3
+                                                        ? 999
+                                                        : getFormData('numberLength') == 4
+                                                        ? 9999
+                                                        : getFormData('numberLength') == 5
+                                                        ? 99999
+                                                        : 999999
+                                                "
                                             />
                                         </a-form-item>
                                     </a-col>
@@ -736,12 +756,12 @@ export default {
         getChangeAll(type, form, field) {
             var node = document.getElementById(field)
             var v = ''
-            if (field == 'channelName'||field == 'channelCode') {
+            if (field == 'channelName' || field == 'channelCode') {
                 v = '-{{' + type + '}}-'
-            }else{
+            } else {
                 v = '{{' + type + '}}'
             }
-            
+
             if (document.selection) {
                 //IE
                 node.focus()