jiangyy 3 years ago
parent
commit
33192eda36
  1. 901
      src/views/modules/communityService/measure/index.vue
  2. 18
      src/views/modules/communityService/measure/info.vue

901
src/views/modules/communityService/measure/index.vue

File diff suppressed because it is too large

18
src/views/modules/communityService/measure/info.vue

@ -5,7 +5,8 @@
:model="form" :model="form"
:rules="rules" :rules="rules"
ref="ruleForm"> ref="ruleForm">
<el-form-item label="操作方式" <el-form-item v-if="formType==='add'"
label="操作方式"
:class="{'form-item':source==='visiual'}" :class="{'form-item':source==='visiual'}"
prop="addType"> prop="addType">
<el-radio-group v-model="addType"> <el-radio-group v-model="addType">
@ -202,6 +203,7 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item v-if=" <el-form-item v-if="
addType === 'add' ||
addType === 'appoint' || addType === 'appoint' ||
addType == 'finish' || addType == 'finish' ||
(addType == 'look' && form.serviceShowFlag) (addType == 'look' && form.serviceShowFlag)
@ -369,6 +371,10 @@ export default {
type: String, type: String,
default: "", default: "",
}, },
formType: {
type: String,
default: "",
},
// addType: { // addType: {
// type: String, // type: String,
// default: "look", // default: "look",
@ -452,7 +458,7 @@ export default {
computed: { computed: {
...mapGetters(["clientHeight", "iframeHeight"]), ...mapGetters(["clientHeight", "iframeHeight"]),
disabled () { disabled () {
return this.addType != "edit"; return this.addType != "edit" || this.addType != "add";
}, },
}, },
@ -464,8 +470,14 @@ export default {
async created () { async created () {
this.customerId = localStorage.getItem("customerId"); this.customerId = localStorage.getItem("customerId");
if (this.formType === 'add') {
this.addType = 'add'
} else {
this.getInfo();
}
this.getInfo();
this.pageLoading = true; this.pageLoading = true;
}, },

Loading…
Cancel
Save