diff --git a/.env b/.env index 33e92d4..c84d1c6 100644 --- a/.env +++ b/.env @@ -1,9 +1,9 @@ NODE_ENV=production VUE_APP_PREVIEW=true # VUE_APP_TYPE = 'customer' -# VUE_APP_TYPE = 'hechuan' +VUE_APP_TYPE = 'hechuan' # VUE_APP_TYPE = 'yunyingduan' -VUE_APP_TYPE = 'gangjie' +# VUE_APP_TYPE = 'gangjie' # 打包部署的三个端 客户端customer 和川端hechuan 运营端djy # 和川大简云正式 @@ -11,8 +11,8 @@ VUE_APP_TYPE = 'gangjie' # VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345 # 和川大简云测试 -# VUE_APP_API_BASE_URL=http://60.209.125.238:35100 -# VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100 +VUE_APP_API_BASE_URL=http://60.209.125.238:35100 +VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100 # 客户端测试 # VUE_APP_API_BASE_URL=http://60.209.125.238:30813 @@ -23,8 +23,8 @@ VUE_APP_TYPE = 'gangjie' # VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:30814 # 港捷 -VUE_APP_API_BASE_URL=http://118.190.144.189:5001 -VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:5001 +# VUE_APP_API_BASE_URL=http://118.190.144.189:5001 +# VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:5001 # 客户端正式 # VUE_APP_API_BASE_URL=http://118.190.144.189:6001 diff --git a/src/api/modular/main/TaskmanageList.js b/src/api/modular/main/TaskmanageList.js index 3f244a1..66e1012 100644 --- a/src/api/modular/main/TaskmanageList.js +++ b/src/api/modular/main/TaskmanageList.js @@ -583,3 +583,10 @@ export function SendRollingNominationNotice(parameter) { }) } +export function GetInfoByTaskIdNotice(parameter) { + return axios({ + url: '/TaskCautionNotice/GetInfoByTaskId', + method: 'get', + params: parameter + }) +} \ No newline at end of file diff --git a/src/router/generator-routers.js b/src/router/generator-routers.js index 9da35e4..203af20 100644 --- a/src/router/generator-routers.js +++ b/src/router/generator-routers.js @@ -67,6 +67,7 @@ const constantRouterComponents = { BCModify: () => import('@/views/main/Taskmanage/BCModify/index'), vgmDetail: () => import('@/views/main/Taskmanage/vgmDetail/index'), cutTime: () => import('@/views/main/Taskmanage/cutTime/index'), + cautionNotice: () => import('@/views/main/Taskmanage/cautionNotice/index'), draft: () => import('@/views/main/Taskmanage/draft/index'), POD_GATEOUT_FULL: () => import('@/views/main/Taskmanage/POD_GATEOUT_FULL/index'), POD_DISCHARGE_FULL: () => import('@/views/main/Taskmanage/POD_DISCHARGE_FULL/index'), @@ -244,6 +245,17 @@ const userAccount = [ }, component: 'cutTime' }, + { + name: 'cautionNotice', + path: '/commontaskmanage/cautionNotice', + pid: 0, + id: 183110, + meta: { + title: '重要提醒', + show: false + }, + component: 'cautionNotice' + }, { name: 'draft', path: '/commontaskmanage/draft', diff --git a/src/views/main/BookingCustomerLedger/list/index.vue b/src/views/main/BookingCustomerLedger/list/index.vue index 312cf1d..9d7d375 100644 --- a/src/views/main/BookingCustomerLedger/list/index.vue +++ b/src/views/main/BookingCustomerLedger/list/index.vue @@ -75,13 +75,22 @@ COSCO导入 + + + EMC导入 + + @@ -955,10 +964,10 @@ export default { } console.log('== 展开结束 ==', new Date().getTime() - start) }, - customRequest(data) { + customRequest(data, type) { const formData = new FormData() formData.append('file', data.file) - formData.append('carrierId', 'COSCO') + formData.append('carrierId', type) this.importLoad = true ImportBookingCurst(formData, (percent) => this.setUploadProcess(percent)).then((res) => { if (res.success) { diff --git a/src/views/main/BookingDjy/detail/index.vue b/src/views/main/BookingDjy/detail/index.vue index 14f5ee4..3b3a7ce 100644 --- a/src/views/main/BookingDjy/detail/index.vue +++ b/src/views/main/BookingDjy/detail/index.vue @@ -541,8 +541,7 @@ label="账号" :labelCol="labelCol" :wrapperCol="wrapperCol" - has-feedback - prop="reeferf"> + has-feedback> {{ details.extendData.Account }} @@ -552,11 +551,30 @@ label="密码" :labelCol="labelCol" :wrapperCol="wrapperCol" - has-feedback - prop="reeferf"> + has-feedback> {{ details.extendData.Password }} + + + {{ details.extendData.ContactName }} + + + + + {{ details.extendData.ContactTel }} + + @@ -565,11 +583,30 @@ label="邮箱" :labelCol="labelCol" :wrapperCol="wrapperCol" - has-feedback - prop="reeferf"> + has-feedback> {{ details.extendData.OpMail }} + + + {{ details.extendData.YSFS }} + + + + + {{ details.extendData.YSXT }} + + @@ -644,7 +681,7 @@ export default { textEntryModalVisible: false, textEntryModalTitle: '', historyData: {}, - sendLoading:false, + sendLoading: false, textEntryType: '', pkgstotalRes: 0, modelTitle: '', @@ -799,6 +836,9 @@ export default { } else { res.data.extendData = {} } + if (res.data.carrierid === 'EMC') { + res.data.contractno = res.data.extendData.ContractType + '-' + res.data.contractno + } this.details = res.data if (Object.keys(this.details.files).length > 0) { const arr = [] diff --git a/src/views/main/BookingLedger/list/modules/formLabel.vue b/src/views/main/BookingLedger/list/modules/formLabel.vue index 4c58957..22b1963 100644 --- a/src/views/main/BookingLedger/list/modules/formLabel.vue +++ b/src/views/main/BookingLedger/list/modules/formLabel.vue @@ -13,7 +13,7 @@ @dateChange="dateChangeFun"> - + 暂无导航数据 - + + > + + {{ `${threeLevel.name} (${threeLevel.total})` }} + @@ -735,21 +738,22 @@ export default { } }, getSelectFirst({ form, index, value }) { - // const fun = this.emnuSelectApi(form.label) - // if (fun) { - // GetParaInfo({ ParaType: fun }) - // .then((res) => { - // if (res.success) { - // this.formData[index].dataList = res.data.rows - // this.$refs[`fromlabel-${form.label}`][0].$data.dataList = res.data.rows - // } else { - // this.$message.error(res.message) - // } - // }) - // .catch((err) => { - // console.log(err) - // }) - // } + console.log(111) + const fun = this.emnuSelectApi(form.label) + if (fun) { + GetParaInfo({ ParaType: fun }) + .then((res) => { + if (res.success) { + this.formData[index].dataList = res.data.rows + this.$refs[`fromlabel-${form.label}`][0].$data.dataList = res.data.rows + } else { + this.$message.error(res.message) + } + }) + .catch((err) => { + console.log(err) + }) + } }, pressEnterFun() { this.tableRefresh() @@ -1493,6 +1497,9 @@ export default { } else if (data.taskType === 'VGM_FEEDBACK') { // ROLLING_NOMINATION this.$router.push({ path: '/commontaskmanage/vgmDetail', query: { taskPKId: data.pkId, type: 'VGM_FEEDBACK' } }) + } else if (data.taskType === 'CAUTION_NOTICE') { + // ROLLING_NOMINATION + this.$router.push({ path: '/commontaskmanage/cautionNotice', query: { taskPKId: data.pkId } }) } else if (data.taskType === 'VGM_MISSING') { // ROLLING_NOMINATION this.$router.push({ path: '/commontaskmanage/vgmDetail', query: { taskPKId: data.pkId, type: 'VGM_MISSING' } }) diff --git a/src/views/main/Taskmanage/cautionNotice/index.vue b/src/views/main/Taskmanage/cautionNotice/index.vue new file mode 100644 index 0000000..61ba7c9 --- /dev/null +++ b/src/views/main/Taskmanage/cautionNotice/index.vue @@ -0,0 +1,644 @@ + + + + + + + 重要提醒({{ tableList.cautionNoticeTypeName }}) + -{{ tableList.carrier }} + 时间:{{ tableList.createTime }} + + + + 提单号:{{ tableList.mblNo }} + + + 原值:{{ tableList.origVal }} + + + + + 差异内容:{{ tableList.cautionNoticeTypeName }} + + + 新值:{{ tableList.newVal }} + + + + + + 转移任务 + + + + + 完成任务 + + + + + 取消任务 + + + + + + + + 直接生成舱位和订舱 + + + 只生成订舱 + + + 只生成舱位 + + + 匹配已有订舱 + + + 订舱录入 + + + + + + + {{ item.shortName }} + + + + + + + + + {{ item.name }} + + + + + + + + + { + ChangeUser(e, 'saleName') + } + "> + + {{ item.name }} + + + + + + + { + ChangeUser(e, 'opName') + } + "> + + {{ item.name }} + + + + + + + { + ChangeUser(e, 'docName') + } + "> + + {{ item.name }} + + + + + + + + + { + ChangeUser(e, 'route') + } + "> + + {{ item.name }} + + + + + + + { + ChangeUser(e, 'lineManage') + } + "> + + {{ item.name }} + + + + + + + + + + + + + + + + + + + + + + + + + {{ serive.serviceProjectName }} + + + + + + + + + + + + + {{ item.name }} + + + + + + + + {{ item.fieldName }}:{{ item.reqVal }} + 变更为 + + + + + + +
+ + 重要提醒({{ tableList.cautionNoticeTypeName }}) + -{{ tableList.carrier }}
时间:{{ tableList.createTime }}
订舱录入