Browse Source

点击el-dialog外 不关闭

master
小久哥 3 years ago
parent
commit
c2ec849d83
  1. 2
      src/views/farm/area/index.vue
  2. 2
      src/views/farm/crop/index.vue
  3. 2
      src/views/farm/cropRecord/index.vue
  4. 2
      src/views/farm/discuss/index.vue
  5. 2
      src/views/farm/event/index.vue
  6. 2
      src/views/farm/project/index.vue
  7. 2
      src/views/farm/resource/index.vue
  8. 2
      src/views/farm/resourceType/index.vue
  9. 2
      src/views/farm/task/index.vue
  10. 2
      src/views/farm/taskCate/index.vue
  11. 2
      src/views/farm/workHour/index.vue

2
src/views/farm/area/index.vue

@ -53,7 +53,7 @@
@pagination="getList"/>
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="上级" prop="projectId">
<el-select v-model="form.parentId" placeholder="请选择">

2
src/views/farm/crop/index.vue

@ -62,7 +62,7 @@
@pagination="getList"/>
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
<el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="800px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-form-item label="物料名" prop="name">
<el-input v-model="form.name" placeholder="请输入物料名" />

2
src/views/farm/cropRecord/index.vue

@ -67,7 +67,7 @@
@pagination="getList"/>
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="作物选择">
<el-select v-model="form.cropId" placeholder="请选择" @change="selectCrop">

2
src/views/farm/discuss/index.vue

@ -64,7 +64,7 @@
@pagination="getList"/>
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="项目" prop="projectId">
<el-select v-model="form.projectId" placeholder="请选择项目">

2
src/views/farm/event/index.vue

@ -68,7 +68,7 @@
@pagination="getList"/>
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="项目" prop="projectId">

2
src/views/farm/project/index.vue

@ -112,7 +112,7 @@
@pagination="getList"/>
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="项目名" prop="name">
<el-input v-model="form.name" placeholder="请输入" />

2
src/views/farm/resource/index.vue

@ -102,7 +102,7 @@
@pagination="getList"/>
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
<el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="800px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-form-item label="资源类型:" prop="resourceType">
<el-select v-model="form.resourceType" placeholder="请选择">

2
src/views/farm/resourceType/index.vue

@ -52,7 +52,7 @@
@pagination="getList"/>
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
<el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="600px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-form-item label="名称:" prop="name">
<el-input v-model="form.name" placeholder="请输入" />

2
src/views/farm/task/index.vue

@ -126,7 +126,7 @@
@pagination="getList" />
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="项目选择" prop="projectId">
<el-select v-model="form.projectId" placeholder="请选择" @change="changeProject">

2
src/views/farm/taskCate/index.vue

@ -55,7 +55,7 @@
@pagination="getList"/>
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="上级" prop="projectId">
<el-select v-model="form.parentId" placeholder="请选择">

2
src/views/farm/workHour/index.vue

@ -76,7 +76,7 @@
@pagination="getList"/>
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" :close-on-click-modal="false" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="项目" prop="projectId">
<el-select v-model="form.projectId" @change="chooseProject" placeholder="请选择">

Loading…
Cancel
Save