Commit 64c6207a authored by kaitly205422@163.com's avatar kaitly205422@163.com

Merge branch 'develop' of http://git.censoft.com.cn/rongtong/rongtong-app into develop

parents f4898e4e 80906998
......@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>融通物管安全管理平台</title>
<title>融通危险源辨识系统</title>
<link rel="stylesheet" href="//at.alicdn.com/t/font_1623819_3g3arzgtlmk.css">
</head>
<body>
......
......@@ -43,7 +43,7 @@
<van-radio
v-for="option in item.options"
:key="option.name"
:name="option.name"
:name="option.hasOwnProperty('value')?option.value:option.name"
>{{ option.name }}</van-radio
>
</van-radio-group>
......
......@@ -97,21 +97,24 @@
name="propertyManagement"
label="是否为物业"
placeholder="请选择"
:rules="[{ required: true, message: '是否为物业不能为空' }]"
:rules="[{
validator:(val)=>val=='',
message:'是否为物业不能为空'
}]"
>
<template #input>
<van-radio-group
v-model="form.propertyManagement"
direction="horizontal"
>
<van-radio name="是"></van-radio>
<van-radio name="否"></van-radio>
<van-radio :name="true"></van-radio>
<van-radio :name="false"></van-radio>
</van-radio-group>
</template>
</van-field>
<!-- <van-popup v-model="showSource" position="bottom">
<van-picker
show-toolbar
s how-toolbar
value-key="name"
:columns="columnsSource"
@confirm="onConSource"
......@@ -413,6 +416,8 @@ export default {
form: {
name: "",
projectBusiness: "",
businessStatus:'',
propertyManagement:''
},
projectId: "", // 所属工程
projectName: "", // 所属工程
......@@ -483,6 +488,10 @@ export default {
});
},
methods: {
valFn(val){
console.log(val);
return val==''
},
// 业态
businessConfirm(value) {
this.business.show = false;
......@@ -699,6 +708,7 @@ export default {
}
},
onSubmit(values) {
debugger
// this.$toast.loading({
// message: "加载中...",
// forbidClick: true,
......@@ -855,6 +865,8 @@ export default {
this.form.projectId = value.id;
this.form.projectName = value.name;
this.form.projectBusiness = value.business;
this.form.businessStatus = value.businessStatus;
this.form.propertyManagement = value.propertyManagement;
this.showSource = false;
},
// 项目负责人
......@@ -937,6 +949,8 @@ export default {
this.form.projectId = e.id;
this.form.projectName = e.name;
this.form.projectBusiness = e.business;
this.form.businessStatus = e.businessStatus;
this.form.propertyManagement = e.propertyManagement;
this.show = false;
},
},
......
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