Commit 4ba8e6a507dc498dce5b0499d5b3927eab9c15c7

Authored by Dunfa Jiang
1 parent a7fa37be

feat:修改项目名称

1 1 # 页面标题
2   -VITE_APP_TITLE = 七星分拣管理系统
  2 +VITE_APP_TITLE = 飞力达分拣管理系统
3 3
4 4 # 开发环境配置
5 5 VITE_APP_ENV = 'development'
6 6
7 7 VITE_APP_BASE_URL = ''
8 8
9   -# 七星分拣管理系统/开发环境
  9 +# 飞力达分拣管理系统/开发环境
10 10 # VITE_APP_BASE_API = '/api'
11 11 # VITE_APP_BASE_API = 'https://vue.ruoyi.vip/prod-api'
12 12 VITE_APP_BASE_API = 'http://qixing-dws.boosal.com'
... ...
1 1 # 页面标题
2   -VITE_APP_TITLE = 七星分拣管理系统
  2 +VITE_APP_TITLE = 飞力达分拣管理系统
3 3
4 4 # 生产环境配置
5 5 VITE_APP_ENV = 'production'
6 6
7 7 VITE_APP_BASE_URL = '/admin/'
8 8
9   -# 七星分拣管理系统/生产环境
  9 +# 飞力达分拣管理系统/生产环境
10 10 # VITE_APP_BASE_API = '/api'
11   -VITE_APP_BASE_API = 'http://qixing-dws.boosal.com'
12   -# VITE_APP_BASE_API = 'http://127.0.0.1'
  11 +# VITE_APP_BASE_API = 'http://qixing-dws.boosal.com'
  12 +VITE_APP_BASE_API = 'http://127.0.0.1:8082'
13 13 # 是否在打包时开启压缩,支持 gzip 和 brotli
14 14 VITE_BUILD_COMPRESS = gzip
\ No newline at end of file
... ...
1 1 # 页面标题
2   -VITE_APP_TITLE = 七星分拣管理系统
  2 +VITE_APP_TITLE = 飞力达分拣管理系统
3 3
4 4 # 生产环境配置
5 5 VITE_APP_ENV = 'staging'
6 6
7   -# 七星分拣管理系统/生产环境
  7 +# 飞力达分拣管理系统/生产环境
8 8 VITE_APP_BASE_API = '/stage-api'
9 9
10 10 # 是否在打包时开启压缩,支持 gzip 和 brotli
... ...
... ... @@ -7,7 +7,7 @@
7 7 <meta name="renderer" content="webkit">
8 8 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
9 9 <link rel="icon" href="/favicon.ico">
10   - <title>七星分拣管理系统</title>
  10 + <title>飞力达分拣管理系统</title>
11 11 <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
12 12 <style>
13 13 html,
... ...
1 1 {
2 2 "name": "ruoyi",
3 3 "version": "3.9.0",
4   - "description": "七星分拣管理系统",
  4 + "description": "飞力达分拣管理系统",
5 5 "type": "module",
6 6 "scripts": {
7 7 "dev": "vite",
... ...
... ... @@ -187,6 +187,15 @@ export function pauseTask(id) {
187 187 });
188 188 }
189 189
  190 +
  191 +export function finishedTask(id) {
  192 + return request({
  193 + url: `/scanTask/${id}/finish`,
  194 + method: "PUT"
  195 + });
  196 +}
  197 +
  198 +
190 199 export function searchBusinessInfo(query) {
191 200 return request({
192 201 url: "/business/detailByNumber",
... ...
... ... @@ -4,7 +4,7 @@
4 4 <el-col :sm="24" :lg="12" style="padding-left: 20px">
5 5 <h2>若依后台管理框架</h2>
6 6 <p>
7   - 一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了七星分拣管理系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。
  7 + 一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了飞力达分拣管理系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。
8 8 </p>
9 9 <p>
10 10 <b>当前版本:</b> <span>v{{ version }}</span>
... ... @@ -13,19 +13,9 @@
13 13 <el-tag type="danger">&yen;免费开源</el-tag>
14 14 </p>
15 15 <p>
16   - <el-button
17   - type="primary"
18   - icon="Cloudy"
19   - plain
20   - @click="goTarget('https://gitee.com/y_project/RuoYi-Vue')"
21   - >访问码云</el-button
22   - >
23   - <el-button
24   - icon="HomeFilled"
25   - plain
26   - @click="goTarget('http://ruoyi.vip')"
27   - >访问主页</el-button
28   - >
  16 + <el-button type="primary" icon="Cloudy" plain
  17 + @click="goTarget('https://gitee.com/y_project/RuoYi-Vue')">访问码云</el-button>
  18 + <el-button icon="HomeFilled" plain @click="goTarget('http://ruoyi.vip')">访问主页</el-button>
29 19 </p>
30 20 </el-col>
31 21
... ... @@ -74,33 +64,25 @@
74 64 </template>
75 65 <div class="body">
76 66 <p>
77   - <i class="el-icon-s-promotion"></i> 官网:<el-link
78   - href="http://www.ruoyi.vip"
79   - target="_blank"
80   - >http://www.ruoyi.vip</el-link
81   - >
  67 + <i class="el-icon-s-promotion"></i> 官网:<el-link href="http://www.ruoyi.vip"
  68 + target="_blank">http://www.ruoyi.vip</el-link>
82 69 </p>
83 70 <p>
84 71 <i class="el-icon-user-solid"></i> QQ群:<s> 满937441 </s> <s> 满887144332 </s>
85 72 <s> 满180251782 </s> <s> 满104180207 </s> <s> 满186866453 </s> <s> 满201396349 </s>
86   - <s> 满101456076 </s> <s> 满101539465 </s> <s> 满264312783 </s> <s> 满167385320 </s>
87   - <s> 满104748341 </s> <s> 满160110482 </s> <s> 满170801498 </s> <s> 满108482800 </s>
88   - <s> 满101046199 </s> <s> 满136919097 </s> <s> 满143961921 </s> <s> 满174951577 </s>
  73 + <s> 满101456076 </s> <s> 满101539465 </s> <s> 满264312783 </s> <s> 满167385320 </s>
  74 + <s> 满104748341 </s> <s> 满160110482 </s> <s> 满170801498 </s> <s> 满108482800 </s>
  75 + <s> 满101046199 </s> <s> 满136919097 </s> <s> 满143961921 </s> <s> 满174951577 </s>
89 76 <s> 满161281055 </s> <s> 满138988063 </s> <s> 满151450850 </s> <s> 满224622315 </s>
90   - <s> 满287842588 </s> <s> 满187944233 </s> <s> 满228578329 </s> <a href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=GsOo-OLz53J8y_9TPoO6XXSGNRTgbFxA&authKey=R7Uy%2Feq%2BZsoKNqHvRKhiXpypW7DAogoWapOawUGHokJSBIBIre2%2FoiAZeZBSLuBc&noverify=0&group_code=191164766" target="_blank">191164766</a>
  77 + <s> 满287842588 </s> <s> 满187944233 </s> <s> 满228578329 </s> <a
  78 + href="http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=GsOo-OLz53J8y_9TPoO6XXSGNRTgbFxA&authKey=R7Uy%2Feq%2BZsoKNqHvRKhiXpypW7DAogoWapOawUGHokJSBIBIre2%2FoiAZeZBSLuBc&noverify=0&group_code=191164766"
  79 + target="_blank">191164766</a>
91 80 </p>
92 81 <p>
93   - <i class="el-icon-chat-dot-round"></i> 微信:<a
94   - href="javascript:;"
95   - >/ *若依</a
96   - >
  82 + <i class="el-icon-chat-dot-round"></i> 微信:<a href="javascript:;">/ *若依</a>
97 83 </p>
98 84 <p>
99   - <i class="el-icon-money"></i> 支付宝:<a
100   - href="javascript:;"
101   - class="支付宝信息"
102   - >/ *若依</a
103   - >
  85 + <i class="el-icon-money"></i> 支付宝:<a href="javascript:;" class="支付宝信息">/ *若依</a>
104 86 </p>
105 87 </div>
106 88 </el-card>
... ... @@ -1042,14 +1024,8 @@
1042 1024 </div>
1043 1025 </template>
1044 1026 <div class="body">
1045   - <img
1046   - src="@/assets/images/pay.png"
1047   - alt="donate"
1048   - style="width:100%"
1049   - />
1050   - <span style="display: inline-block; height: 30px; line-height: 30px"
1051   - >你可以请作者喝杯咖啡表示鼓励</span
1052   - >
  1027 + <img src="@/assets/images/pay.png" alt="donate" style="width:100%" />
  1028 + <span style="display: inline-block; height: 30px; line-height: 30px">你可以请作者喝杯咖啡表示鼓励</span>
1053 1029 </div>
1054 1030 </el-card>
1055 1031 </el-col>
... ... @@ -1073,12 +1049,14 @@ function goTarget(url) {
1073 1049 font-size: 17.5px;
1074 1050 border-left: 5px solid #eee;
1075 1051 }
  1052 +
1076 1053 hr {
1077 1054 margin-top: 20px;
1078 1055 margin-bottom: 20px;
1079 1056 border: 0;
1080 1057 border-top: 1px solid #eee;
1081 1058 }
  1059 +
1082 1060 .col-item {
1083 1061 margin-bottom: 20px;
1084 1062 }
... ... @@ -1088,7 +1066,11 @@ function goTarget(url) {
1088 1066 margin: 0;
1089 1067 }
1090 1068
1091   - font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  1069 + font-family: "open sans",
  1070 + "Helvetica Neue",
  1071 + Helvetica,
  1072 + Arial,
  1073 + sans-serif;
1092 1074 font-size: 13px;
1093 1075 color: #676a6c;
1094 1076 overflow-x: hidden;
... ... @@ -1128,4 +1110,3 @@ function goTarget(url) {
1128 1110 }
1129 1111 }
1130 1112 </style>
1131   -
... ...
... ... @@ -147,6 +147,15 @@
147 147 >暂停</el-button
148 148 >
149 149 </el-tooltip>
  150 + <el-tooltip content="完成" placement="top">
  151 + <el-button
  152 + link
  153 + type="primary"
  154 + :disabled="scope.row.status !== 'ONGOING'"
  155 + @click="handleFinished(scope.row)"
  156 + >完成</el-button
  157 + >
  158 + </el-tooltip>
150 159 <el-tooltip content="详情" placement="top">
151 160 <el-button link type="primary" @click="enterDetail(scope.row)"
152 161 >详情</el-button
... ... @@ -214,7 +223,7 @@ import { ElMessageBox } from "element-plus";
214 223
215 224 import { getToken } from "@/utils/auth";
216 225 import { onMounted, ref } from "vue";
217   -import { taskList, startTask, pauseTask } from "@/api/system/scan";
  226 +import { taskList, startTask, pauseTask ,finishedTask} from "@/api/system/scan";
218 227 import { formatDate } from "@/utils/index";
219 228 const route = useRoute();
220 229 const router = useRouter();
... ... @@ -256,7 +265,7 @@ const columnList = ref([
256 265 {
257 266 label: "状态",
258 267 prop: "status",
259   - width: 100,
  268 + width: 120,
260 269 },
261 270 ]);
262 271
... ... @@ -405,6 +414,21 @@ const handlePause = (row) => {
405 414 });
406 415 };
407 416
  417 +const handleFinished = (row) => {
  418 + proxy.$modal
  419 + .confirm("确认完成此任务?")
  420 + .then(() => {
  421 + finishedTask(row.id).then((res) => {
  422 + proxy.$modal.msgSuccess("完成任务成功");
  423 + getList();
  424 + });
  425 + })
  426 + .catch(() => {
  427 + proxy.$modal.msgWarning("已取消");
  428 + });
  429 +}
  430 +
  431 +
408 432 const handleFileUploadProgress = (event, file, fileList) => {
409 433 upload.isUploading = true;
410 434 };
... ...
... ... @@ -300,10 +300,15 @@ const columnList = ref([
300 300 width: 150,
301 301 },
302 302 {
303   - label: "袋码",
  303 + label: "分检口号",
304 304 prop: "sortingNo",
305 305 width: 150
306 306 },
  307 + {
  308 + label: "袋码",
  309 + prop: "scanBoxNumber",
  310 + width: 180
  311 + },
307 312 ]);
308 313
309 314 const data = reactive({
... ...
Please register or login to post a comment