diff --git a/src/components/Business/ProdOrder/ProdOrderCheck.vue b/src/components/Business/ProdOrder/ProdOrderCheck.vue index 3b7dbcf..4e00626 100644 --- a/src/components/Business/ProdOrder/ProdOrderCheck.vue +++ b/src/components/Business/ProdOrder/ProdOrderCheck.vue @@ -9,59 +9,16 @@ @keyup.enter.native="handleQuery" /> - - - - - - - - - 全部 - - - + + 搜索 + 重置 - 搜索 - 重置 diff --git a/src/components/HoverShow/index.vue b/src/components/HoverShow/index.vue index ae74d2c..c49919f 100644 --- a/src/components/HoverShow/index.vue +++ b/src/components/HoverShow/index.vue @@ -16,7 +16,7 @@ export default { name: "HoverShow", props: { showValue: { - type: String, + type: [String, Number], default: '--' }, showIcon: { diff --git a/src/components/TableFormCol/index.vue b/src/components/TableFormCol/index.vue new file mode 100644 index 0000000..dda9a06 --- /dev/null +++ b/src/components/TableFormCol/index.vue @@ -0,0 +1,99 @@ + + + diff --git a/src/router/index.js b/src/router/index.js index b69ec2b..5ee3db3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -83,7 +83,7 @@ export const constantRoutes = [ children: [ { path: 'report/:reportId?', - component: () => import('@/views/yh/report/edit/edit.vue'), + component: () => import('@/views/yh/report/edit-v2/index.vue'), name: 'ReportEdit', meta: { title: '编辑报表', noCache: false} }, diff --git a/src/views/login.vue b/src/views/login.vue index 11ae390..c6feccd 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -149,7 +149,8 @@ export default { Cookies.remove('rememberMe'); } this.$store.dispatch("Login", this.loginForm).then(() => { - this.$router.push({ path: this.redirect || "/" }).catch(()=>{}); + // this.$router.push({ path: this.redirect || "/" }).catch(()=>{}); + window.location.href = this.redirect || "/"; }).catch(() => { this.loading = false; if (this.captchaEnabled) { diff --git a/src/views/yh/report/edit-v2/components/ReportProductList.vue b/src/views/yh/report/edit-v2/components/ReportProductList.vue new file mode 100644 index 0000000..86f4334 --- /dev/null +++ b/src/views/yh/report/edit-v2/components/ReportProductList.vue @@ -0,0 +1,299 @@ + + + diff --git a/src/views/yh/report/edit-v2/components/ReportProductOrderList.vue b/src/views/yh/report/edit-v2/components/ReportProductOrderList.vue new file mode 100644 index 0000000..356180f --- /dev/null +++ b/src/views/yh/report/edit-v2/components/ReportProductOrderList.vue @@ -0,0 +1,115 @@ + + + diff --git a/src/views/yh/report/edit-v2/components/ReportProductUserList.vue b/src/views/yh/report/edit-v2/components/ReportProductUserList.vue new file mode 100644 index 0000000..2795e8b --- /dev/null +++ b/src/views/yh/report/edit-v2/components/ReportProductUserList.vue @@ -0,0 +1,113 @@ + + + diff --git a/src/views/yh/report/edit-v2/components/UserProductBatchDialog.vue b/src/views/yh/report/edit-v2/components/UserProductBatchDialog.vue new file mode 100644 index 0000000..278bc94 --- /dev/null +++ b/src/views/yh/report/edit-v2/components/UserProductBatchDialog.vue @@ -0,0 +1,185 @@ + + + diff --git a/src/views/yh/report/edit-v2/index.vue b/src/views/yh/report/edit-v2/index.vue new file mode 100644 index 0000000..4790146 --- /dev/null +++ b/src/views/yh/report/edit-v2/index.vue @@ -0,0 +1,222 @@ + + + + + \ No newline at end of file diff --git a/src/views/yh/report/edit/components/ReportProductRowEdit.vue b/src/views/yh/report/edit/components/ReportProductRowEdit.vue index 27aaef0..a2cd609 100644 --- a/src/views/yh/report/edit/components/ReportProductRowEdit.vue +++ b/src/views/yh/report/edit/components/ReportProductRowEdit.vue @@ -1,5 +1,5 @@