Commit 78ebfd8a authored by 张俊's avatar 张俊

服务详情服务编辑显示修改

parent ff2cba72
......@@ -474,7 +474,7 @@ export default {
dyyw: e.business_name,
ywxt: e.business_url,
cjms: e.scene,
sqsj: e.apply_time
sqsj: e.apply_time.split('+')[0].replace('T',' ')
});
});
}
......@@ -750,6 +750,9 @@ export default {
padding: 30px 10px 10px 10px;
width: 100%;
}
.type_box_select >>> .outlist .list p{
word-wrap:break-word;
}
.service_title {
font-size: 16px;
font-weight: bold;
......
......@@ -305,9 +305,15 @@ export default {
.catch(function(response) {});
},
setService(){
var reg = /^[1-9][0-9]{0,5}$/
if(this.open){
if(this.maxline){
if(reg.test(this.maxline)){
}else{
this.$message.error('请输入长度小于6的正整数')
return
}
}else{
this.$message.error('请输入最大连接数')
return
......@@ -317,10 +323,24 @@ export default {
if(!this.maxline1){
this.$message.error('请输入最大连接数')
return
}else{
if(reg.test(this.maxline1)){
}else{
this.$message.error('请输入长度小于6的正整数')
return
}
}
if(!this.usetime1){
this.$message.error('请输入有效时间')
return
}else{
if(reg.test(this.maxline1)){
}else{
this.$message.error('请输入长度小于6的正整数')
return
}
}
if(this.timevalue==''){
this.$message.error('请选择时间')
......@@ -355,7 +375,8 @@ export default {
return
}
this.$message.success('保存成功')
this.getServiceInfo()
// this.getServiceInfo()
this.$router.back(-1)
})
.catch(function(response) {
......@@ -424,6 +445,9 @@ export default {
background-color: #f7f8f9;
width: 1022px;
}
.info_contain .comments_pagination .el-input__inner{
width: auto;
}
.info_contain .el-textarea__inner{
background-color: #f7f8f9;
width: 1022px;
......
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