| | |
| | | icon="el-icon-edit" |
| | | type="success" |
| | | size="small" |
| | | >{{ $t('common.append') }}</el-button> |
| | | >{{ $t('common.append') }} |
| | | </el-button> |
| | | <el-button |
| | | v-if="btnStatus.delete" |
| | | @click="delStyleData" |
| | | icon="el-icon-delete" |
| | | type="danger" |
| | | size="small" |
| | | >{{ $t('common.delete') }}</el-button> |
| | | >{{ $t('common.delete') }} |
| | | </el-button> |
| | | <el-button |
| | | @click="submitForm('ruleForm')" |
| | | icon="el-icon-search" |
| | | type="primary" |
| | | size="small" |
| | | >{{ $t('common.iquery') }}</el-button> |
| | | >{{ $t('common.iquery') }} |
| | | </el-button> |
| | | <el-button |
| | | @click="resetForm('ruleForm')" |
| | | icon="el-icon-refresh" |
| | | type="info" |
| | | size="small" |
| | | >{{ $t('common.empty') }}</el-button> |
| | | >{{ $t('common.empty') }} |
| | | </el-button> |
| | | </el-form-item> |
| | | </div> |
| | | </div> |
| | |
| | | type="primary" |
| | | plain |
| | | size="small" |
| | | >{{ $t('common.see') }}</el-button> |
| | | >{{ $t('common.see') }} |
| | | </el-button> |
| | | <el-button |
| | | @click="handleEdit(scope.$index, scope.row)" |
| | | type="warning" |
| | | plain |
| | | size="small" |
| | | >{{ $t('common.update') }}</el-button> |
| | | >{{ $t('common.update') }} |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | size="small" |
| | | :underline="false" |
| | | @click="geteditFile(0)" |
| | | >选择</el-button> |
| | | >选择 |
| | | </el-button> |
| | | <el-button |
| | | type="primary" |
| | | size="small" |
| | | :underline="false" |
| | | @click="seteditFile(0)" |
| | | >上传</el-button> |
| | | >上传 |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | <!-- --> |
| | |
| | | size="small" |
| | | :underline="false" |
| | | @click="geteditFile(1)" |
| | | >选择</el-button> |
| | | >选择 |
| | | </el-button> |
| | | <el-button |
| | | type="primary" |
| | | size="small" |
| | | :underline="false" |
| | | @click="seteditFile(1)" |
| | | >上传</el-button> |
| | | >上传 |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | <!-- |
| | |
| | | type="info" |
| | | size="small" |
| | | @click="removeUpdate" |
| | | >{{$t('common.close')}}</el-button> |
| | | >{{ $t('common.close') }} |
| | | </el-button> |
| | | <el-button |
| | | type="primary" |
| | | @click="updateForm" |
| | | size="small" |
| | | >{{$t('common.confirm')}}</el-button> |
| | | >{{ $t('common.confirm') }} |
| | | </el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog |
| | |
| | | size="small" |
| | | :underline="false" |
| | | @click="getInsertFile(0)" |
| | | >选择</el-button> |
| | | >选择 |
| | | </el-button> |
| | | <el-button |
| | | type="primary" |
| | | size="small" |
| | | :underline="false" |
| | | @click="setinsertFile(0)" |
| | | >上传</el-button> |
| | | >上传 |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | <!-- |
| | |
| | | size="small" |
| | | :underline="false" |
| | | @click="getInsertFile(1)" |
| | | >选择</el-button> |
| | | >选择 |
| | | </el-button> |
| | | <el-button |
| | | type="primary" |
| | | size="small" |
| | | :underline="false" |
| | | @click="setinsertFile(1)" |
| | | >上传</el-button> |
| | | >上传 |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | type="info" |
| | | size="small" |
| | | @click="insertFromDataClose" |
| | | >{{$t('common.close')}}</el-button> |
| | | >{{ $t('common.close') }} |
| | | </el-button> |
| | | <el-button |
| | | type="primary" |
| | | size="small" |
| | | @click="insertFromData" |
| | | >{{$t('common.confirm')}}</el-button> |
| | | >{{ $t('common.confirm') }} |
| | | </el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <div |
| | |
| | | @click="selectDirCataName" |
| | | >{{ |
| | | $t('common.confirm') |
| | | }}</el-button> |
| | | }} |
| | | </el-button> |
| | | <el-button |
| | | type="info" |
| | | size="small" |
| | | @click="showDirCata = false" |
| | | >{{ |
| | | $t('common.close') |
| | | }}</el-button> |
| | | }} |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | <div |
| | |
| | | @click="selectDepCataName" |
| | | >{{ |
| | | $t('common.confirm') |
| | | }}</el-button> |
| | | }} |
| | | </el-button> |
| | | <el-button |
| | | type="info" |
| | | size="small" |
| | | @click="showDepCata = false" |
| | | >{{ |
| | | $t('common.close') |
| | | }}</el-button> |
| | | }} |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | queryDepTree, |
| | | selectdirTab, |
| | | } from "../../api/api"; |
| | | |
| | | export default { |
| | | name: "styleManage", |
| | | components: { MyBread, styleDirTree, styleDepTree }, |
| | |
| | | }); |
| | | this.startFromData(); |
| | | }) |
| | | .catch(() => {}); |
| | | .catch(() => { |
| | | }); |
| | | }, |
| | | // 获取多选 |
| | | |
| | |
| | | .el-form-item { |
| | | margin: 5px; |
| | | } |
| | | |
| | | // .el-input { |
| | | // width: 467px; |
| | | // } |
| | | } |
| | | |
| | | .leftTree { |
| | | position: absolute; |
| | | z-index: 10; |
| | |
| | | height: 550px; |
| | | overflow: auto; |
| | | } |
| | | |
| | | .btnBox { |
| | | width: 160px; |
| | | margin: 10px auto 0; |
| | |
| | | display: flex; |
| | | justify-content: space-around; |
| | | width: 85%; |
| | | |
| | | .BoxFlexinput { |
| | | flex: 1; |
| | | } |