Commit 0325126b authored by neogcg's avatar neogcg

网元管理,g链路管理

parent c2176694
Pipeline #440 failed with stages
......@@ -9,6 +9,7 @@
:append-to-body='true'
:visible.sync="DeleteDataAuthConfirmVisible">
<el-form :model="form" inline="true">
<p>验证用户身份</p>
<el-form-item :label="$t('login.account')" :label-width="formLabelWidth" style="margin-bottom: -10px;">
<el-input size = 'mini' type="text" :placeholder="$t('common.placeholder')" v-model="form.account" disabled="true" v-on:blur="accountCheck" autocomplete="off"></el-input>
</el-form-item>
......@@ -17,8 +18,8 @@
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button size = 'mini' type="primary" icon='el-icon-circle-check' @click="deleteDataAuthConfirm">{{$t('common.ok')}}</el-button>
<el-button size = 'mini' icon='el-icon-circle-close' @click="close">{{$t('common.cancel')}}</el-button>
<el-button class="btnstyle" size = 'mini' type="primary" @click="deleteDataAuthConfirm">{{$t('common.ok')+'删除'}} </el-button>
<el-button class="btnstyle" size = 'mini' type="primary" @click="close">{{$t('common.cancel')}}</el-button>
</div>
</el-dialog>
</template>
......@@ -103,3 +104,11 @@ export default {
}
}
</script>
<style scoped>
.btnstyle {
height: 36px;
width: 106px;
}
</style>
......@@ -235,7 +235,7 @@
<el-button
type="text"
:title="$t('common.updateBtn')"
@click="shanchu()"
@click="deleteLinkInit"
>
删除
</el-button>
......@@ -677,15 +677,16 @@ guankongjiedian:"",
* @exception :
* @date : 2018/12/7 13:32
*/
deleteLinkInit: function () {
deleteLinkInit: function (val) {
if (this.multipleSelection.length === 0) {
this.InfoTip.warningTip(
this,
HelperUtil.getCheckStatusCodeObjectByCode(
this.successCode.DELETE_SELECT_CODE
)
);
// this.InfoTip.warningTip(
// this,
// HelperUtil.getCheckStatusCodeObjectByCode(
// this.successCode.DELETE_SELECT_CODE
// )
// );
this.deleteList = val;
this.deleteLinkCommand.execute();
}
else {
this.deleteList = [];
......@@ -699,11 +700,11 @@ guankongjiedian:"",
shanchu(){
},
handleRowClick(row, column,cell, event) {
this.$refs.singleTable.toggleRowSelection(cell);
// console.log("this.selecTestContent", this.selectTestContent);
this.deleteLinkInit();
},
// handleRowClick(row, column,cell, event) {
// this.$refs.singleTable.toggleRowSelection(cell);
// // console.log("this.selecTestContent", this.selectTestContent);
// this.deleteLinkInit();
// },
// deleteLinkInit: function (val) {
// this.deleteList = val;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment