| | |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | | <el-tooltip class="item" effect="dark" content="编辑" placement="top"> |
| | | <i class="el-icon-edit-outline" :style="{color:$store.state.settings.theme}" @click="edit('edit',row)" /> |
| | | <i |
| | | class="el-icon-edit-outline" |
| | | :style="{color:$store.state.settings.theme}" |
| | | @click="edit('edit',row)" |
| | | /> |
| | | </el-tooltip> |
| | | <!-- <el-button v-waves type="text" @click="edit('edit',row)">编辑</el-button>--> |
| | | <!-- <el-button v-waves type="text" @click="del(row)">删除</el-button>--> |
| | |
| | | // OrgName: [ |
| | | // { required: true, message: '请输入名称', trigger: ['blur', 'change'] } |
| | | // ] |
| | | } |
| | | }, |
| | | oldIncbit: 0// 自增位数 修改前的值 |
| | | |
| | | } |
| | | }, |
| | |
| | | this.dialogForm.filingdate = this.dateType.find(item => item.label === row.filingdate).value |
| | | this.dialogForm.incbit = row.incbit |
| | | this.dialogForm.prefix = row.prefix |
| | | |
| | | this.oldIncbit = row.incbit |
| | | }) |
| | | }, |
| | | // 删除按钮 |
| | |
| | | this.dialogForm.filingdate = '' |
| | | this.dialogForm.incbit = '' |
| | | this.dialogForm.prefix = '' |
| | | this.oldIncbit = 0 |
| | | this.$refs.dialogForm.clearValidate() |
| | | }, |
| | | // 对话框取消 |
| | |
| | | dialogVisibleConfirm() { |
| | | this.$refs.dialogForm.validate(valid => { |
| | | if (valid) { |
| | | if (this.dialogForm.incbit <= this.oldIncbit) { |
| | | return this.$message.info('自增位数的修改值一定要大于当前值!') |
| | | } |
| | | |
| | | const data = { |
| | | rightcode: this.dialogForm.rightcode, |
| | | rightname: this.dialogForm.rightname, |
| | |
| | | <style lang="scss" scoped> |
| | | $main_color: #42b983; |
| | | |
| | | ::v-deep .el-input-number__decrease,::v-deep .el-input-number__increase { |
| | | ::v-deep .el-input-number__decrease, ::v-deep .el-input-number__increase { |
| | | background-color: $main_color; |
| | | color: #FFFFFF; |
| | | line-height: 31px; |
| | |
| | | <!--公共页面样式--> |
| | | <style lang="scss" scoped> |
| | | $main_color: #42b983; |
| | | .el-icon-share ,.el-icon-delete,.el-icon-edit-outline{ |
| | | .el-icon-share, .el-icon-delete, .el-icon-edit-outline { |
| | | color: $main_color; |
| | | cursor: pointer; |
| | | } |
| | | .el-icon-edit-outline{ |
| | | |
| | | .el-icon-edit-outline { |
| | | margin-right: 15px; |
| | | } |
| | | |
| | |
| | | background-color: #f8f8fa; |
| | | } |
| | | |
| | | ::v-deep .el-table__body .el-table__row.hover-row td{ |
| | | background-color: #eaecef ; |
| | | ::v-deep .el-table__body .el-table__row.hover-row td { |
| | | background-color: #eaecef; |
| | | } |
| | | |
| | | ::v-deep .el-form--inline .el-form-item__label { |
| | |
| | | .body ::v-deep .el-form-item { |
| | | margin-bottom: 0; |
| | | } |
| | | |
| | | .userDialogVisible ::v-deep .el-form-item { |
| | | margin-bottom: 0; |
| | | } |
| | | .tableFixed{ |
| | | ::v-deep .el-table__fixed-right{ |
| | | |
| | | .tableFixed { |
| | | ::v-deep .el-table__fixed-right { |
| | | height: 100% !important; |
| | | } |
| | | ::v-deep .el-table__fixed{ |
| | | |
| | | ::v-deep .el-table__fixed { |
| | | height: 100% !important; |
| | | } |
| | | } |