车辆接口更新
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-18 09:51:21
|
* @Date : 2022-01-18 09:51:21
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-01-20 17:01:32
|
* @LastEditTime : 2022-01-20 17:31:54
|
||||||
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -20,7 +20,7 @@ module.exports = {
|
|||||||
// }
|
// }
|
||||||
'//api': {
|
'//api': {
|
||||||
target: {
|
target: {
|
||||||
host: 'tms-api-test.eascs.com',
|
host: 'tms-api-dev.eascs.com',
|
||||||
protocol: 'https:',
|
protocol: 'https:',
|
||||||
port: 443
|
port: 443
|
||||||
},
|
},
|
||||||
|
|||||||
@ -223,7 +223,7 @@ export class ReceiptOrderComponent implements OnInit {
|
|||||||
return [
|
return [
|
||||||
{ title: '', index: 'key', type: 'checkbox', width: 60, fixed: 'left', className: 'text-center' },
|
{ title: '', index: 'key', type: 'checkbox', width: 60, fixed: 'left', className: 'text-center' },
|
||||||
{ title: '收款单号', index: 'brmcode', type: 'link', width: 180, className: 'text-left' },
|
{ title: '收款单号', index: 'brmcode', type: 'link', width: 180, className: 'text-left' },
|
||||||
{ title: '网络货运人', index: 'ltdId', width: 200, className: 'text-left' },
|
{ title: '网络货运人', index: 'ltdName', width: 200, className: 'text-left' },
|
||||||
{ title: '到账日期', index: 'brmdate', type: 'date', width: 200, className: 'text-left' },
|
{ title: '到账日期', index: 'brmdate', type: 'date', width: 200, className: 'text-left' },
|
||||||
{ title: '收款账户', index: 'ltdaccountId', width: 200, className: 'text-left' },
|
{ title: '收款账户', index: 'ltdaccountId', width: 200, className: 'text-left' },
|
||||||
{
|
{
|
||||||
|
|||||||
@ -30,7 +30,6 @@ export class AnnouncementMessageComponent implements OnInit {
|
|||||||
|
|
||||||
columns: STColumn[] = [
|
columns: STColumn[] = [
|
||||||
{ title: '公告标题', index: 'announcementTitle' },
|
{ title: '公告标题', index: 'announcementTitle' },
|
||||||
{ title: '发布平台', index: 'appName' },
|
|
||||||
{ title: '创建时间', index: 'createTime' },
|
{ title: '创建时间', index: 'createTime' },
|
||||||
{ title: '发送时间', index: 'sendTime' },
|
{ title: '发送时间', index: 'sendTime' },
|
||||||
{ title: '公告内容', index: 'announcementContent' },
|
{ title: '公告内容', index: 'announcementContent' },
|
||||||
@ -166,7 +165,7 @@ this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } };
|
|||||||
this.editText = '新增';
|
this.editText = '新增';
|
||||||
this.formData = {};
|
this.formData = {};
|
||||||
} else {
|
} else {
|
||||||
this.service.request(this.service.$api_getButtonInfo_one, {id: value.id}).subscribe((res: any) => {
|
this.service.request(this.service.$api_getAnnouncementInfoById_detail, {id: value.id}).subscribe((res: any) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if(res) {
|
if(res) {
|
||||||
this.formData = res;
|
this.formData = res;
|
||||||
@ -230,7 +229,7 @@ this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } };
|
|||||||
if(this.editId) {
|
if(this.editId) {
|
||||||
params.id = this.editId
|
params.id = this.editId
|
||||||
console.log(params)
|
console.log(params)
|
||||||
this.service.request(this.service.$api_addAnnouncementInfo, params).subscribe((res:any) => {
|
this.service.request(this.service.$api_modifyAnnouncementInfo, params).subscribe((res:any) => {
|
||||||
if(res) {
|
if(res) {
|
||||||
this.service.msgSrv.success('保存成功!')
|
this.service.msgSrv.success('保存成功!')
|
||||||
this.isVisible = false
|
this.isVisible = false
|
||||||
@ -238,7 +237,7 @@ this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } };
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.service.request(this.service.$api_modifyAnnouncementInfo, params).subscribe((res:any) => {
|
this.service.request(this.service.$api_addAnnouncementInfo, params).subscribe((res:any) => {
|
||||||
if(res) {
|
if(res) {
|
||||||
this.service.msgSrv.success('保存成功!')
|
this.service.msgSrv.success('保存成功!')
|
||||||
this.isVisible = false
|
this.isVisible = false
|
||||||
|
|||||||
Reference in New Issue
Block a user