Commit 8c295439 by 王志慧

fixed

1 parent eee69293
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
</template> </template>
</div> </div>
</div> </div>
<stat-dialog v-if="statVisible" :statVisible="statVisible"></stat-dialog> <stat-dialog v-if="statVisible" :statVisible="statVisible" :stageid="stageid"></stat-dialog>
<edit-condition v-if="conditionVisible" :conditionVisible="conditionVisible" :conditionInfo="conditionInfo" @closeCondition="closeCondition"></edit-condition> <edit-condition v-if="conditionVisible" :conditionVisible="conditionVisible" :conditionInfo="conditionInfo" @closeCondition="closeCondition"></edit-condition>
<select-tag ref="selectTagRef" @tagSelected="handleTagSelect"></select-tag> <select-tag ref="selectTagRef" @tagSelected="handleTagSelect"></select-tag>
<model-dialog :tplVisible="tplVisible" v-bind="sopItem" @dialogClose="dialogClose" @confirm="updateContent"></model-dialog> <model-dialog :tplVisible="tplVisible" v-bind="sopItem" @dialogClose="dialogClose" @confirm="updateContent"></model-dialog>
...@@ -407,6 +407,8 @@ export default { ...@@ -407,6 +407,8 @@ export default {
this.conditionVisible = false this.conditionVisible = false
}, },
showStat() { showStat() {
this.stageid=this.stepItem.order.slice(5);
console.log( this.stageid,' this.stageid')
this.statVisible = true this.statVisible = true
}, },
remind(v, k) { remind(v, k) {
......
...@@ -20,7 +20,8 @@ const STAGE = Object.freeze({ ...@@ -20,7 +20,8 @@ const STAGE = Object.freeze({
}) })
export default { export default {
props: { props: {
statVisible: Boolean statVisible: Boolean,
stageid:Number
}, },
data() { data() {
return { return {
...@@ -72,7 +73,8 @@ export default { ...@@ -72,7 +73,8 @@ export default {
return new Promise(resolve => { return new Promise(resolve => {
this.loading = true this.loading = true
this.tableSearchForm = { this.tableSearchForm = {
instId:this.query.instId instId:this.query.instId,
stageid:this.stageid
} }
resolve() resolve()
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!