|
@@ -11,6 +11,7 @@
|
|
|
v-model="locationVal"
|
|
|
filterable
|
|
|
remote
|
|
|
+ :disabled="!disabledForm&&isEdit"
|
|
|
effect="dark"
|
|
|
reserve-keyword
|
|
|
placeholder="搜索地区"
|
|
@@ -35,11 +36,11 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
<div class="search">
|
|
|
- <div class="add btn" @click="handleAdd">
|
|
|
+ <div class="add btn" :class="{'disabled-button':!disabledForm&&isEdit}" @click="handleAdd">
|
|
|
<el-icon><Plus /></el-icon>
|
|
|
<span>创建</span>
|
|
|
</div>
|
|
|
- <div class="upload btn" @click="handleExport">
|
|
|
+ <div class="upload btn" :class="{'disabled-button':!disabledForm&&isEdit}" @click="handleExport">
|
|
|
<img class="icon" src="@/assets/images/common/back-icon.png" alt="" />
|
|
|
<span>导出</span>
|
|
|
</div>
|
|
@@ -88,7 +89,7 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
<div class="button">
|
|
|
- <el-button class="btn" type="primary" @click="onSearch"
|
|
|
+ <el-button class="btn" :class="{'disabled-button':!disabledForm&&isEdit}" type="primary" @click="onSearch"
|
|
|
>查询</el-button
|
|
|
>
|
|
|
<el-button class="btn reset" @click="onRest">重置</el-button>
|