diff --git a/.env.dev b/.env.dev index fe19dd37..815c2638 100644 --- a/.env.dev +++ b/.env.dev @@ -10,4 +10,6 @@ VUE_APP_MESSAGE_CENTER ='http://gtech-gateway.dcin-test.digitalyili.com/apigtech #VUE_APP_SOCKETURL = 'wss://planetg-java.test.automark.cc/survey_sync' VUE_APP_SOCKETURL = 'wss://ylst-api-uat.dctest.digitalyili.com/survey_sync' -VUE_APP_JSONPURL = 'https://iam-uat.dctest.digitalyili.com/idp/restful/getIDPToken' \ No newline at end of file +VUE_APP_JSONPURL = 'https://iam-uat.dctest.digitalyili.com/idp/restful/getIDPToken' + +VUE_APP_YQRURL = 'https://ocp-uat-ain.digitalyili.com' diff --git a/.env.prod b/.env.prod index a96414d7..ff8db3e9 100644 --- a/.env.prod +++ b/.env.prod @@ -10,3 +10,6 @@ VUE_APP_MESSAGE_CENTER ='http://gtech-gateway.cxpin.digitalyili.com/apigtech/mes VUE_APP_LOGIN = 'https://yip.digitalyili.com//login' VUE_APP_SOCKETURL = 'wss://ylst-api.xapi.digitalyili.com/survey_sync' VUE_APP_JSONPURL = 'https://iam.digitalyili.com/idp/restful/getIDPToken' + +VUE_APP_YQRURL = 'https://ocp.digitalyili.com' + diff --git a/.env.sit b/.env.sit index 66cee0a7..ee134abb 100644 --- a/.env.sit +++ b/.env.sit @@ -13,3 +13,6 @@ VUE_APP_LOGIN = 'https://yip-uat.dctest.digitalyili.com/login' VUE_APP_SOCKETURL = 'wss://ylst-api-uat.dctest.digitalyili.com/survey_sync' VUE_APP_JSONPURL = 'https://iam-uat.dctest.digitalyili.com/idp/restful/getIDPToken' + +VUE_APP_YQRURL = 'https://ocp-uat-ain.digitalyili.com' + diff --git a/.env.uat b/.env.uat index 73da6714..81e45e41 100644 --- a/.env.uat +++ b/.env.uat @@ -13,3 +13,5 @@ VUE_APP_LOGIN = 'https://yip-uat.dctest.digitalyili.com/login' VUE_APP_SOCKETURL = 'wss://ylst-api-uat.dctest.digitalyili.com/survey_sync' VUE_APP_JSONPURL = 'https://iam-uat.dctest.digitalyili.com/idp/restful/getIDPToken' + +VUE_APP_YQRURL = 'https://ocp-uat-ain.digitalyili.com' diff --git a/src/config.js b/src/config.js index 9be32366..4a3d3413 100644 --- a/src/config.js +++ b/src/config.js @@ -6,4 +6,5 @@ module.exports = { loginUrl: process.env.VUE_APP_LOGIN, socketUrl: process.env.VUE_APP_SOCKETURL, jsonpUrl: process.env.VUE_APP_JSONPURL, + jqrUrl: process.env.VUE_APP_YQRURL, }; diff --git a/src/views/Publish/launch-center/components/createQuantityLimit.vue b/src/views/Publish/launch-center/components/createQuantityLimit.vue index 7b7e3ed3..5e7ff2b0 100644 --- a/src/views/Publish/launch-center/components/createQuantityLimit.vue +++ b/src/views/Publish/launch-center/components/createQuantityLimit.vue @@ -283,14 +283,14 @@ export default { console.log(dataSource.value); const data = await edit({ - deliveryPlanList: JSON.stringify( + deliveryPlanList: JSON.parse(JSON.stringify( dataSource.value.map((s) => { return { sampleQuota: s.sampleQuota || 0, outerPlanId: s.id, }; }) - ), + )), sn: route.query.sn, deliveryPlanId: id.value, }); diff --git a/src/views/Publish/launch-center/components/enterpriseBasicInformation.vue b/src/views/Publish/launch-center/components/enterpriseBasicInformation.vue index f46297fd..9322d6ee 100644 --- a/src/views/Publish/launch-center/components/enterpriseBasicInformation.vue +++ b/src/views/Publish/launch-center/components/enterpriseBasicInformation.vue @@ -385,6 +385,7 @@ export default { display: flex; } .copy-btn { + margin-left: 20px; display: flex; align-items: center; justify-content: center; diff --git a/src/views/Publish/launch-center/components/enterpriseQuantityLimitTable.vue b/src/views/Publish/launch-center/components/enterpriseQuantityLimitTable.vue index 91adda4a..706fbd56 100644 --- a/src/views/Publish/launch-center/components/enterpriseQuantityLimitTable.vue +++ b/src/views/Publish/launch-center/components/enterpriseQuantityLimitTable.vue @@ -8,26 +8,32 @@ :wrapper-col="wrapperCol" > - - diff --git a/src/views/Publish/launch-center/components/shareLinks.vue b/src/views/Publish/launch-center/components/shareLinks.vue index 4df490cb..d68ebaec 100644 --- a/src/views/Publish/launch-center/components/shareLinks.vue +++ b/src/views/Publish/launch-center/components/shareLinks.vue @@ -36,6 +36,7 @@ import SubTitle from "@/views/DataAnalyse/components/SubTitle.vue"; import { onMounted } from "@vue/runtime-core"; import { useRoute } from "vue-router"; import { useStore } from "vuex"; +import { message } from "ant-design-vue"; export default { name: "share-links", components: {