From 91a2e0d1cdc2b4ad816d5ee450f159ef6cd57486 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 03 四月 2023 21:51:27 +0800
Subject: [PATCH] 预警研判
---
src/views/operate/message/mycontrol/createUser/index.vue | 55 +++++++++++++++++--------------------------------------
1 files changed, 17 insertions(+), 38 deletions(-)
diff --git a/src/views/operate/message/mycontrol/createUser/index.vue b/src/views/operate/message/mycontrol/createUser/index.vue
index c68bc92..e46dcdd 100644
--- a/src/views/operate/message/mycontrol/createUser/index.vue
+++ b/src/views/operate/message/mycontrol/createUser/index.vue
@@ -9,7 +9,7 @@
<el-input v-model="role.name" placeholder="璇峰~鍐欐爮鐩悕绉�"></el-input>
</el-form-item>
<!-- 瑙掕壊鎻忚堪 -->
- <el-form-item class="optionItem" label="瑙掕壊鎻忚堪:" prop="description">
+ <el-form-item class="optionItem" label="鏍忕洰鎻忚堪:" prop="description">
<el-input type="textarea" :rows="5" maxlength="300" show-word-limit v-model="role.description"
placeholder="璇疯緭鍏ユ弿杩板唴瀹�200瀛椾互鍐�"></el-input>
</el-form-item>
@@ -40,10 +40,6 @@
if (value) {
callback();
} else {
- // const rep = /^[\u4E00-\u9FA5]{2,4}$/;
- // if (!rep.test(value)) {
- // callback("璇疯緭鍏ユ纭殑鐢ㄦ埛濮撳悕");
- // }
callback();
}
};
@@ -68,10 +64,8 @@
methods: {
handleUser() {
this.$refs['user'].validate((valid) => {
- console.log(valid);
if (valid) {
const { role } = this;
- console.log(role);
this.$axios({
method: 'post',
url: 'sccg/message_column/addColumn',
@@ -79,7 +73,7 @@
columnName: role.name,
createUser: 3,
description: role.description,
- isShow: 0,
+ isShow: 1,
}
})
.then(res=>{
@@ -105,21 +99,6 @@
handleCancel(){
this.$emit('closeDialog',{flag:false,index:0});
}
- // 鑾峰彇鍒涘缓鐢ㄦ埛淇℃伅
- // async getCreaterInfo(){
- // let id;
- // const name = sessionStorage.getItem('name');
- // await this.$axios({
- // method:'get',
- // url:'sccg/admin/info?name='+'name'
- // })
- // .then(res=>{
- // console.log(res);
- // if(res.code ===200){
-
- // }
- // })
- // }
},
props: ['closeDialog']
}
@@ -127,12 +106,12 @@
<style lang="scss" scoped>
.createUser {
border-radius: 1px;
- background-color: #09152f;
+ background-color: white;
main {
text-align: left;
padding: 0 55px;
- background-color: #09152f;
+ background-color: white;
padding-bottom: 50px;
.mainContent {
@@ -140,22 +119,22 @@
justify-content: center;
padding-top: 50px;
- &::v-deep .el-form-item__label {
- color: #4b9bb7;
- }
+ // &::v-deep .el-form-item__label {
+ // color: #606266;
+ // }
- &::v-deep .el-input__inner {
- background-color: #09152f;
- border: 1px solid #17324c;
- }
+ // &::v-deep .el-input__inner {
+ // //background-color: #09152f;
+ // border: 1px solid #17324c;
+ // }
- &::v-deep .el-textarea__inner {
- background-color: #09152f;
- border: 1px solid #17324c;
- }
+ // &::v-deep .el-textarea__inner {
+ // //background-color: #09152f;
+ // border: 1px solid #17324c;
+ // }
:deep(.el-input__count) {
- background-color: #09152f;
+ //background-color: #09152f;
}
.el-form-item__content {
@@ -191,4 +170,4 @@
}
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.8.0