|
@@ -48,6 +48,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import { analysisBizId_id } from '@/utils/crypto-js.js'
|
|
|
import { mapGetters } from 'vuex'
|
|
|
import '@/styles/PublicStyle/index.scss'
|
|
|
import iterationDeleteIteration from '@/views/projectManage/iteration/components/deleteIteration.vue'
|
|
@@ -78,7 +79,7 @@ export default {
|
|
|
showIteration: false, // 编辑迭代(弹窗)
|
|
|
visibleplanning: false, // 规划迭代(弹窗)
|
|
|
selectedData: [], // 选中的数据
|
|
|
- iterationId: Number(this.$route.query.id), // 当前迭代的id
|
|
|
+ iterationId: -1, // 当前迭代的id
|
|
|
iterationData: {}
|
|
|
}
|
|
|
},
|
|
@@ -95,12 +96,18 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
+ this.analysisBizId_id()
|
|
|
this.$store.state.data.status = true
|
|
|
},
|
|
|
destroyed() {
|
|
|
this.$store.state.data.status = false
|
|
|
},
|
|
|
methods: {
|
|
|
+ analysisBizId_id() { // 解析路由中的bizId_id
|
|
|
+ if (!this.$route.query.bizId_id) return
|
|
|
+ const bizId_id = analysisBizId_id(this.$route.query.bizId_id)
|
|
|
+ this.iterationId = bizId_id[1]
|
|
|
+ },
|
|
|
async iteratioFilter() { // 迭代list
|
|
|
const list = iterationList({ id: this.iterationId, curIndex: 1, pageSize: 15, bizId: this.bizId })
|
|
|
const listRes = await list
|