diff --git a/.env.prod b/.env.prod index 4b5b164..521930e 100644 --- a/.env.prod +++ b/.env.prod @@ -28,6 +28,7 @@ VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab # 大屏设计器服务 VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000' +VUE_APP_IMAGE_URL = 'http://122.51.230.86:9000/' #小程序推广码前缀 VUE_APP_REPAIR_PREX = 'https://www.lighting-it.cn/share?inviteId=' diff --git a/section.docx b/section.docx new file mode 100644 index 0000000..e69de29 diff --git a/src/api/repair/orderinfo/index.js b/src/api/repair/orderinfo/index.js index 73504c7..06fada8 100644 --- a/src/api/repair/orderinfo/index.js +++ b/src/api/repair/orderinfo/index.js @@ -56,9 +56,10 @@ export function exportOrderInfoExcel(params) { export function toPay(params) { return request({ - url: '/admin-api/pay/toPayCode', + // url: '/admin-api/pay/toPayCode', + url: '/repair/order-info/toPay?id=' + params.orderId, method: 'get', - params + // params }) } diff --git a/src/api/repair/tickets/Tickets.js b/src/api/repair/tickets/Tickets.js index 1babdd4..6c2b6fd 100644 --- a/src/api/repair/tickets/Tickets.js +++ b/src/api/repair/tickets/Tickets.js @@ -158,3 +158,20 @@ export function addItems(data){ data }) } + +// 修改工单主表,只是主表 +export function updateTicket(data){ + return request({ + url: preUrl + '/updateTicket', + method: 'post', + data + }) +} + +// 删除工单 +export function removeTicketById(id){ + return request({ + url: preUrl + "/remove?id=" + id, + method: 'delete' + }) +} diff --git a/src/views/base/company/form/CompanyForm.vue b/src/views/base/company/form/CompanyForm.vue index cc4d33d..1980307 100644 --- a/src/views/base/company/form/CompanyForm.vue +++ b/src/views/base/company/form/CompanyForm.vue @@ -43,6 +43,18 @@ + + + + + + + + + + + + @@ -128,7 +140,9 @@ export default { loginAccount: undefined, password: undefined, serviceCodeArray: [], - serviceCodes:undefined + serviceCodes:undefined, + bankAccount: null, + account: null, }, // 表单校验 formRules: { @@ -232,7 +246,9 @@ export default { loginAccount: undefined, password: undefined, serviceCodeArray: [], - serviceCodes:undefined + serviceCodes:undefined, + bankAccount: null, + account: null, } this.resetForm('formRef') } diff --git a/src/views/base/company/index.vue b/src/views/base/company/index.vue index a4662cf..2e44123 100644 --- a/src/views/base/company/index.vue +++ b/src/views/base/company/index.vue @@ -77,6 +77,8 @@ + +