|
@@ -20,6 +20,7 @@
|
|
|
</section>
|
|
|
</template>
|
|
|
<script>
|
|
|
+import { EncryptId } from '@/utils/crypto-js.js'
|
|
|
import normalEchart from '@/components/chart/normalEchart'
|
|
|
import echarts from 'echarts'
|
|
|
export default {
|
|
@@ -145,11 +146,12 @@ export default {
|
|
|
},
|
|
|
toLink(params) {
|
|
|
if (!params.data[2]) return
|
|
|
+ const bizId_id = EncryptId(`${this.bizId}_${params.data[2]}`)
|
|
|
if (this.type === 'require') {
|
|
|
- const newTab = this.$router.resolve({ name: '需求详情', query: { id: params.data[2] }})
|
|
|
+ const newTab = this.$router.resolve({ name: '需求详情', query: { bizId_id: bizId_id }})
|
|
|
window.open(newTab.href, '_blank')
|
|
|
} else if (this.type === 'task') {
|
|
|
- const newTab = this.$router.resolve({ name: '任务详情', query: { id: params.data[2] }})
|
|
|
+ const newTab = this.$router.resolve({ name: '任务详情', query: { bizId_id: bizId_id }})
|
|
|
window.open(newTab.href, '_blank')
|
|
|
}
|
|
|
}
|