修改聊天对话框背景色、修改政策添加状态的编辑
This commit is contained in:
@ -171,6 +171,7 @@ export default {
|
||||
url: process.env.VUE_APP_BASE_API + '/minio/upload',
|
||||
},
|
||||
editPage: false,
|
||||
editSatus: false,
|
||||
ruleForm: {
|
||||
title: '',
|
||||
ids: '',
|
||||
@ -239,7 +240,7 @@ export default {
|
||||
submitForm(formName) {
|
||||
this.$refs[formName].validate((valid) => {
|
||||
if (valid) {
|
||||
if (this.editPage) {
|
||||
if (this.editPage || this.editSatus) {
|
||||
// 修改
|
||||
updatePolicy(this.ruleForm).then(({ message }) => {
|
||||
this.msgSuccess(message);
|
||||
@ -295,6 +296,12 @@ export default {
|
||||
this.editPage = true;
|
||||
getPolicyInfo({ policyId: id }).then(({ data }) => {
|
||||
this.ruleForm = data;
|
||||
if(data.method==1){
|
||||
this.editPage = true;
|
||||
}else{
|
||||
this.editSatus = true
|
||||
this.editPage = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
getCityByLevel({ level: 2 }).then(({ data }) => {
|
||||
|
@ -472,11 +472,13 @@ export default {
|
||||
.con_r {
|
||||
display: inline-block;
|
||||
/* max-width: 253px; */
|
||||
width: 55%;
|
||||
min-width: 220px;
|
||||
max-width: 55%;
|
||||
min-height: 50px;
|
||||
line-height: 50px;
|
||||
/* min-height: 20px; */
|
||||
background-color: #e2e2e2;
|
||||
color: #fff;
|
||||
background-color: #1890ff;
|
||||
border-radius: 6px;
|
||||
padding: 0 10px;
|
||||
margin-left: 40px;
|
||||
@ -514,7 +516,7 @@ export default {
|
||||
max-width: 55%;
|
||||
min-height: 51px;
|
||||
line-height: 51px;
|
||||
background-color: #3163c5;
|
||||
background-color: #1890ff;
|
||||
border-radius: 6px;
|
||||
padding: 0 10px;
|
||||
text-align: left;
|
||||
@ -543,7 +545,7 @@ export default {
|
||||
width: 5.875rem;
|
||||
height: 2.5rem;
|
||||
line-height: 2.5rem;
|
||||
background: #3163c5;
|
||||
background: #1890ff;
|
||||
opacity: 1;
|
||||
border-radius: 4px;
|
||||
font-size: 10px;
|
||||
@ -578,6 +580,8 @@ export default {
|
||||
}
|
||||
.active {
|
||||
background-color: paleturquoise;
|
||||
background-color: #c5c4c4;
|
||||
color: #fff;
|
||||
}
|
||||
.famous-box {
|
||||
display: flex;
|
||||
|
Reference in New Issue
Block a user