From 5935a3dd619b8bd5d99e7f4d416c45459fddc8be Mon Sep 17 00:00:00 2001 From: xuesinan <1404152492@qq.com> Date: Thu, 27 Jan 2022 18:50:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9F=A5=E8=AF=A2=E6=9F=A5=E4=BB=B6?= =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + components/Globals/Globals.vue | 3 ++- components/Plugin/Plugin.vue | 3 ++- components/Render/Render.vue | 3 ++- components/TimeLine/component/TimeBox.vue | 1 + 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c54a6aa..bef7034 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -81,6 +81,7 @@ - | 查询插件 | [542d714](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/542d714) - | 登录页验证码获取 | [108e322](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/108e322) - | 广告页、引导页 | [b63ade5](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/b63ade5) + - | 获取c插件信息 | [7b02efc](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/7b02efc) 交付物 | 修复检查人选择组件之间相互影响的bug | [435c0bd](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/435c0bd) 交付物 | 重构交付物审核部分,修复审核bug | [5fd8889](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/5fd8889) - | 解决默认角色不是第一个时显示出错问题 | [8dba578](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/8dba578) diff --git a/components/Globals/Globals.vue b/components/Globals/Globals.vue index 6fa96bf..fcd4e5d 100644 --- a/components/Globals/Globals.vue +++ b/components/Globals/Globals.vue @@ -22,7 +22,8 @@ :class="[`row-span-${plugin.row}`, `col-span-${plugin.col}`]" :task="item" :key="plugin.pluginTaskId" - :plugin-task-id="plugin.pluginTaskId" + :plugin-task-id="plugin.pluginTaskId" + :business-plugin-id="plugin.businessPluginId" :plugin-id="plugin.pluginId" :param="plugin.param" :style-type="plugin.styleType || 0" diff --git a/components/Plugin/Plugin.vue b/components/Plugin/Plugin.vue index 73de8b8..3c249d4 100644 --- a/components/Plugin/Plugin.vue +++ b/components/Plugin/Plugin.vue @@ -22,7 +22,7 @@ - + @@ -35,6 +35,7 @@ const props = defineProps({ pluginId: { default: '1', type: String }, styleType: { default: 0, type: Number }, pluginTaskId: { default: '', type: String }, + businessPluginId: { default: '', type: String }, param: { type: String, default: '' }, }); diff --git a/components/Render/Render.vue b/components/Render/Render.vue index a88b66e..e9f229c 100644 --- a/components/Render/Render.vue +++ b/components/Render/Render.vue @@ -49,6 +49,7 @@ defineProps({ pluginId: { default: '1', type: String }, styleType: { default: 0, type: Number }, pluginTaskId: { default: '', type: String }, + businessPluginId: { default: '', type: String }, param: { type: String, default: '' }, }); @@ -80,7 +81,7 @@ export default { methods: { // 获取插件信息 async getPlugin() { - const params = { pluginId: this.pluginId, styleType: this.styleType }; + const params = { businessPluginId: this.businessPluginId }; this.$catchReq.getOtherPlugin(params, (err, res) => { if (err) { console.error('err: ', err); diff --git a/components/TimeLine/component/TimeBox.vue b/components/TimeLine/component/TimeBox.vue index 7a3fba5..16c9971 100644 --- a/components/TimeLine/component/TimeBox.vue +++ b/components/TimeLine/component/TimeBox.vue @@ -39,6 +39,7 @@ :task="task" :key="plugin.pluginTaskId" :plugin-task-id="plugin.pluginTaskId" + :business-plugin-id="plugin.businessPluginId" :plugin-id="plugin.pluginId" :param="plugin.param" :style-type="data.styleType || 0"