麒麟解除禁用

This commit is contained in:
“wanyongkang”
2024-01-22 13:37:54 +08:00
parent afe27a75a4
commit 991fa63d7a
2 changed files with 16 additions and 0 deletions

View File

@@ -126,6 +126,7 @@
<span class="handel cursor edit" @click="selectUser(scope.row)">归属</span> <span class="handel cursor edit" @click="selectUser(scope.row)">归属</span>
<span class="handel cursor edit" @click="del(scope.row)">删除</span> <span class="handel cursor edit" @click="del(scope.row)">删除</span>
<span class="handel cursor edit" @click="online(scope.row)">查看在线</span> <span class="handel cursor edit" @click="online(scope.row)">查看在线</span>
<span v-if="scope.row.ProductId == 27" class="handel cursor edit" @click="openLimit(scope.row)">解除限制</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -461,6 +462,13 @@ export default {
this.onlineClient.forEach(m => m.info = item) this.onlineClient.forEach(m => m.info = item)
}) })
}, },
openLimit(item) {
this.$api.post(this.$api.phpURL + 'jinyou/jinyoudt/openTxLimit', {
account: item.Account,
}).then(res => {
this.$message.success('设置成功')
})
},
killout (item) { killout (item) {
var params = { var params = {
productId: item.info.ProductId, productId: item.info.ProductId,

View File

@@ -68,6 +68,7 @@
<span class="handel cursor edit" @click="selectUser(scope.row)">归属</span> <span class="handel cursor edit" @click="selectUser(scope.row)">归属</span>
<span class="handel cursor edit" @click="del(scope.row)">删除</span> <span class="handel cursor edit" @click="del(scope.row)">删除</span>
<span class="handel cursor edit" @click="online(scope.row)">查看在线</span> <span class="handel cursor edit" @click="online(scope.row)">查看在线</span>
<span v-if="scope.row.ProductId == 27" class="handel cursor edit" @click="openLimit(scope.row)">解除限制</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -270,6 +271,13 @@ export default {
this.onlineClient.forEach(m=>m.info=item) this.onlineClient.forEach(m=>m.info=item)
}) })
}, },
openLimit(item) {
this.$api.post(this.$api.phpURL + 'jinyou/jinyoudt/openTxLimit', {
account: item.Account,
}).then(res => {
this.$message.success('设置成功')
})
},
killout(item){ killout(item){
var params={ var params={
productId:item.info.ProductId, productId:item.info.ProductId,