| | |
| | | <el-button type="primary" text icon="el-icon-edit" @click="uploadPatch(scope.row, 'edit')" |
| | | >编辑 |
| | | </el-button> |
| | | <el-button type="primary" text icon="el-icon-delete" @click="rowDel(scope.row)" |
| | | <el-button :disabled="scope.row.patches_type_desc==='综合类'" type="primary" text icon="el-icon-delete" @click="rowDel(scope.row)" |
| | | >删除 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | |
| | | <el-dialog title="上传图斑" append-to-body align-center v-model="box" width="550px"> |
| | | <el-dialog title="上传图斑" class="ztzf-dialog-mange" append-to-body align-center v-model="box" width="550px"> |
| | | <el-form |
| | | ref="ruleFormRef" |
| | | style="max-width: 600px" |
| | |
| | | addBtn: false, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 8, |
| | | searchMenuPosition: 'right', |
| | | searchGutter: 30, |
| | | searchMenuPosition: 'left', |
| | | searchMenuSpan: 4, |
| | | border: true, |
| | | index: true, |
| | | indexLabel: '序号', |
| | |
| | | label: '图斑类型', |
| | | prop: 'patches_type_desc', |
| | | span: 24, |
| | | searchLabelWidth: 100, |
| | | // searchLabelWidth: 100, |
| | | search: true, |
| | | searchSpan: 4, |
| | | type: 'select', |
| | |
| | | prop: 'areaName', |
| | | span: 24, |
| | | width: 180, |
| | | searchLabelWidth: 100, |
| | | // searchLabelWidth: 100, |
| | | search: true, |
| | | searchSpan: 4, |
| | | type: 'tree', |
| | |
| | | label: '创建人', |
| | | prop: 'user_name', |
| | | span: 24, |
| | | searchLabelWidth: 100, |
| | | // searchLabelWidth: 100, |
| | | search: true, |
| | | searchSpan: 4, |
| | | type: 'select', |