| | |
| | | axios.defaults.baseURL = 'http://127.0.0.1:9291/'; |
| | | } |
| | | else if (process.env.NODE_ENV == 'debug') { |
| | | axios.defaults.baseURL = 'http://127.0.0.1:8098/'; |
| | | axios.defaults.baseURL = 'http://10.0.250.15:9291/'; |
| | | } |
| | | |
| | | else if (process.env.NODE_ENV == 'production') { |
| | | axios.defaults.baseURL = 'http://127.0.0.1:8098/'; |
| | | axios.defaults.baseURL = 'http://10.0.250.15:9291/'; |
| | | } |
| | | if (!axios.defaults.baseURL.endsWith('/')) { |
| | | axios.defaults.baseURL+="/"; |
| | |
| | | </el-steps> |
| | | </div> |
| | | <el-row height="50" v-show="previousShow || nextShow"> |
| | | <el-col :span="8"> |
| | | <!-- <el-col :span="12"> |
| | | <div v-show="previousShow" class="grid-content content-text"> |
| | | <el-button type="danger" @click="previous" |
| | | >åæ»å°ä¸ä¸æ¥</el-button |
| | | > |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | </el-col> --> |
| | | <!-- <el-col :span="8"> |
| | | <div v-show="recoveryShow" class="grid-content content-text"> |
| | | <el-button type="primary" @click="recovery">ä»»å¡æèµ·æ¢å¤</el-button> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | </el-col> --> |
| | | <!-- <el-col :span="12"> |
| | | <div v-show="nextShow" class="grid-content content-text"> |
| | | <el-button type="warning" @click="next">跳转å°ä¸ä¸æ¥</el-button> |
| | | </div> |
| | | </el-col> |
| | | </el-col> --> |
| | | </el-row> |
| | | </div> |
| | | <div v-else> |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="taskState" label="ä»»å¡ç¶æ" width="90"> |
| | | </el-table-column> |
| | | <el-table-column prop="currentAddress" label="å½åä½ç½®" width="90"> |
| | | <!-- <el-table-column prop="currentAddress" label="å½åä½ç½®" width="90"> |
| | | </el-table-column> |
| | | <el-table-column prop="nextAddress" label="ä¸ä¸ä½ç½®" width="90"> |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <el-table-column prop="isManual" label="æ¯å¦äººå·¥æä½" width="120"> |
| | | </el-table-column> |
| | | <el-table-column prop="isNormal" label="æ¯å¦æ£å¸¸" width="90"> |
| | |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "è´§ä½ç¼å·", field: "locationCode" }, |
| | | { title: "å··éç¼å·", field: "roadwayNo" }, |
| | | { |
| | | title: "è´§ä½ç±»å", |
| | | field: "locationType", |
| | | type: "selectList", |
| | | dataKey: "locationTypeEnum", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "è´§ä½ç¶æ", |
| | | field: "locationStatus", |
| | | type: "selectList", |
| | | dataKey: "locationStatusEnum", |
| | | data: [], |
| | | }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | dataKey: "taskType", |
| | | data: [], |
| | | }, |
| | | { |
| | | |
| | | ], |
| | | [ |
| | | { |
| | | title: "ä»»å¡ç¶æ", |
| | | field: "taskState", |
| | | type: "selectList", |
| | | dataKey: "taskState", |
| | | data: [], |
| | | }, |
| | | ], |
| | | [ |
| | | { title: "èµ·å§å°å", field: "sourceAddress", type: "like" }, |
| | | { title: "ç®æ å°å", field: "targetAddress", type: "like" }, |
| | | { title: "å½åä½ç½®", field: "currentAddress", type: "like" }, |
| | | { title: "ä¸ä¸ä½ç½®", field: "nextAddress", type: "like" }, |
| | | // { title: "å½åä½ç½®", field: "currentAddress", type: "like" }, |
| | | // { title: "ä¸ä¸ä½ç½®", field: "nextAddress", type: "like" }, |
| | | ], |
| | | [ |
| | | { title: "å··éå·", field: "roadway", type: "like" }, |
| | | { title: "å建人", field: "creater", type: "like" }, |
| | | { title: "å建æ¶é´", field: "createDate", type: "datetime" }, |
| | | ], |
| | | // [ |
| | | // { title: "å··éå·", field: "roadway", type: "like" }, |
| | | // { title: "å建人", field: "creater", type: "like" }, |
| | | // { title: "å建æ¶é´", field: "createDate", type: "datetime" }, |
| | | // ], |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | |
| | | app.ConfigureApplication();//é
ç½®æä»¶ |
| | | app.UseApplicationSetup();//å¯å¨é
ç½® |
| | | app.UseSession(); |
| | | if (app.Environment.IsDevelopment()) |
| | | { |
| | | //if (app.Environment.IsDevelopment()) |
| | | //{ |
| | | //todo |
| | | //app.UseSwaggerAuthorized(); |
| | | app.UseSwaggerMiddle(() => Assembly.GetExecutingAssembly().GetManifestResourceStream("WIDESEAWCS_Server.index.html")); |
| | | }//夿æ¯å¦éè¦æå¼swagger |
| | | //}//夿æ¯å¦éè¦æå¼swagger |
| | | |
| | | app.UseIpLimitMiddle(); |
| | | app.UseApiLogMiddleware(); |
| | |
| | | "ConnectionStringsEncryption": false, |
| | | "MainDB": "DB_WIDESEA", //å½å项ç®ç主åºï¼æå¯¹åºçè¿æ¥å符串çEnabledå¿
须为true |
| | | //è¿æ¥å符串 |
| | | //"ConnectionString": "HTI6FB1H05Krd07mNm9yBCNhofW6edA5zLs9TY~MNthRYW3kn0qKbMIsGp~3yyPDF1YZUCPBQx8U0Jfk4PH~ajNFXVIwlH85M3F~v_qKYQ3CeAz3q1mLVDn8O5uWt1~3Ut2V3KRkEwYHvW2oMDN~QIDXPxDgXN0R2oTIhc9dNu7QNaLEknblqmHhjaNSSpERdDVZIgHnMKejU_SL49tralBkZmDNi0hmkbL~837j1NWe37u9fJKmv91QPb~16JsuI9uu0EvNZ06g6PuZfOSAeFH9GMMIZiketdcJG3tHelo=", |
| | | "ConnectionString": "Data Source=.;Initial Catalog=WIDESEAWCS_TEST;User ID=sa;Password=123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", |
| | | |
| | | //"ConnectionString": "Data Source=10.0.250.20;Initial Catalog=WIDESEAWCS_GD;User ID=sa;Password=STC@123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", |
| | | "ConnectionString": "Data Source=127.0.0.1;Initial Catalog=WIDESEAWCS_GD;User ID=sa;Password=123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", |
| | | //è·¨å |
| | | "Cors": { |
| | | "PolicyName": "CorsIpAccess", //çç¥åç§° |
| | |
| | | } |
| | | else if (!int.TryParse(Enum.Parse<TaskRelocationTypeEnum>(task.TaskType.ToString()).ToString(), out result)) |
| | | { |
| | | //todo è°ç¨WMSç§»åºå®æ |
| | | steps = Enum.GetValues(typeof(TaskOutStatusEnum)).Cast<int>().Where(x => x <= (int)TaskOutStatusEnum.OutFinish).ToList(); |
| | | |
| | | foreach (var item in steps) |
| | | { |
| | | object obj; |
| | | FieldInfo? fieldInfo = typeof(TaskOutStatusEnum).GetField(((TaskOutStatusEnum)item).ToString()); |
| | | DescriptionAttribute? descriptionAttribute = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); |
| | | if (descriptionAttribute != null) |
| | | { |
| | | obj = new { title = item, description = descriptionAttribute.Description }; |
| | | } |
| | | else |
| | | { |
| | | obj = new { title = item, description = ((TaskOutStatusEnum)item).ToString() }; |
| | | } |
| | | list.Add(obj); |
| | | } |
| | | } |
| | | else if (!int.TryParse(Enum.Parse<TaskOtherTypeEnum>(task.TaskType.ToString()).ToString(), out result)) |
| | | { |