Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
2a977c8b43
@ -276,6 +276,7 @@ export default {
|
|||||||
commitOperate(operate, {}, 2).then(({valid})=>{
|
commitOperate(operate, {}, 2).then(({valid})=>{
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.$emit('close');
|
||||||
this.doClose();
|
this.doClose();
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
@ -36,10 +36,10 @@
|
|||||||
<el-button :id="domIdCancel" @click="cancel">{{ $t('menu.cancel') }}</el-button>
|
<el-button :id="domIdCancel" @click="cancel">{{ $t('menu.cancel') }}</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<confirm-control ref="confirmControl" :pop-class="popClass" />
|
<confirm-control ref="confirmControl" :pop-class="popClass" @close="doClose" />
|
||||||
<password-box ref="password" :pop-class="popClass" @checkOver="passWordCommit" />
|
|
||||||
<notice-info ref="noticeInfo" :pop-class="popClass" />
|
|
||||||
<ning-bo-confirm-tip ref="ningBoConfirmTip" @close="doClose" />
|
<ning-bo-confirm-tip ref="ningBoConfirmTip" @close="doClose" />
|
||||||
|
<password-box ref="password" :pop-class="popClass" @checkOver="passWordCommit" />
|
||||||
|
<notice-info ref="noticeInfo" :pop-class="popClass" />
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -89,6 +89,13 @@ export default {
|
|||||||
'mode'
|
'mode'
|
||||||
])
|
])
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
index(val) {
|
||||||
|
if (val == -1) {
|
||||||
|
this.active = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
methods:{
|
methods:{
|
||||||
getDomId(item) {
|
getDomId(item) {
|
||||||
if (item && item.operate) {
|
if (item && item.operate) {
|
||||||
@ -121,6 +128,7 @@ export default {
|
|||||||
type: 'bar',
|
type: 'bar',
|
||||||
operation: item.operate.operation
|
operation: item.operate.operation
|
||||||
};
|
};
|
||||||
|
|
||||||
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
|
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$emit('active', index);
|
this.$emit('active', index);
|
||||||
|
Loading…
Reference in New Issue
Block a user