feat:
1. add notice
This commit is contained in:
@@ -2,7 +2,7 @@ import request from '@/axios';
|
||||
|
||||
export const getList = (current, size, params) => {
|
||||
return request({
|
||||
url: '/user-order/order/page',
|
||||
url: '/common/order/page',
|
||||
method: 'get',
|
||||
params: {
|
||||
...params,
|
||||
@@ -14,7 +14,7 @@ export const getList = (current, size, params) => {
|
||||
|
||||
export const getDetail = (id) => {
|
||||
return request({
|
||||
url: '/user-order/order/detail',
|
||||
url: '/common/order/detail',
|
||||
method: 'get',
|
||||
params: {
|
||||
id
|
||||
@@ -24,7 +24,7 @@ export const getDetail = (id) => {
|
||||
|
||||
export const remove = (ids) => {
|
||||
return request({
|
||||
url: '/user-order/order/remove',
|
||||
url: '/common/order/remove',
|
||||
method: 'post',
|
||||
params: {
|
||||
ids,
|
||||
@@ -34,7 +34,7 @@ export const remove = (ids) => {
|
||||
|
||||
export const add = (row) => {
|
||||
return request({
|
||||
url: '/user-order/order/submit',
|
||||
url: '/common/order/submit',
|
||||
method: 'post',
|
||||
data: row
|
||||
})
|
||||
@@ -42,7 +42,7 @@ export const add = (row) => {
|
||||
|
||||
export const update = (row) => {
|
||||
return request({
|
||||
url: '/user-order/order/submit',
|
||||
url: '/common/order/submit',
|
||||
method: 'post',
|
||||
data: row
|
||||
})
|
||||
@@ -50,7 +50,7 @@ export const update = (row) => {
|
||||
|
||||
export const confirmPayment = (row) => {
|
||||
return request({
|
||||
url: '/user-order/order/confirm-payment',
|
||||
url: '/common/order/confirm-payment',
|
||||
method: 'post',
|
||||
data: row
|
||||
});
|
||||
@@ -58,7 +58,7 @@ export const confirmPayment = (row) => {
|
||||
|
||||
export const fillExpress = (id, expressNo) => {
|
||||
return request({
|
||||
url: '/user-order/order/fill-express',
|
||||
url: '/common/order/fill-express',
|
||||
method: 'post',
|
||||
data: {id, expressNo}
|
||||
});
|
||||
|
||||
@@ -52,7 +52,7 @@ export default {
|
||||
label: "通知类型",
|
||||
prop: "noticeType",
|
||||
type: 'select',
|
||||
dicUrl: '/blade-system/dict/dictionary?code=app_notice_type',
|
||||
dicUrl: '/blade-system/dict/dictionary?code=notice_type',
|
||||
props: {
|
||||
label: 'dictValue',
|
||||
value: 'dictKey'
|
||||
@@ -77,14 +77,6 @@ export default {
|
||||
editDisplay: false,
|
||||
search : true,
|
||||
},
|
||||
{
|
||||
label: "阅读时间",
|
||||
prop: "releaseTime",
|
||||
type: "input",
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
overHidden : true,
|
||||
},
|
||||
{
|
||||
label: "标题",
|
||||
prop: "title",
|
||||
@@ -107,9 +99,6 @@ export default {
|
||||
prop: "remarks",
|
||||
type: "input",
|
||||
},
|
||||
|
||||
|
||||
|
||||
{
|
||||
label: "创建人",
|
||||
prop: "createUser",
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getList, getDetail, add, update, remove} from "@/api/customer/userNotice";
|
||||
import option from "@/option/customer/userNotice";
|
||||
import {getList, getDetail, add, update, remove} from "@/api/common/commonUserNotice";
|
||||
import option from "@/option/common/commonUserNotice";
|
||||
import {mapGetters} from "vuex";
|
||||
import {exportBlob} from "@/api/common";
|
||||
import {getToken} from '@/utils/auth';
|
||||
|
||||
Reference in New Issue
Block a user