| | |
| | | <div class="bar" :style="{background:$store.state.settings.theme}" /> |
| | | <div>响应人员</div> |
| | | <el-button |
| | | v-waves |
| | | icon="el-icon-circle-plus-outline" |
| | | :disabled="allowClose" |
| | | :style="{color:allowClose?'#6f6e6f':$store.state.settings.theme}" |
| | |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | <el-button |
| | | |
| | | style="position: absolute;top: 15px;right:10px;z-index: 1000" |
| | | icon="el-icon-setting" |
| | | @click="setting" |
| | |
| | | @close="handleClose" |
| | | > |
| | | <el-button |
| | | v-waves |
| | | type="primary" |
| | | style="margin-bottom: 10px;" |
| | | icon="el-icon-circle-plus-outline" |
| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | | <el-button v-if="row.isVisible===1" type="text" @click="saveRow(row)">保存</el-button> |
| | | <el-button v-if="row.isVisible===1" type="text" @click="cancelRow(row)">取消</el-button> |
| | | <!-- <el-button v-if="row.isVisible===0" type="text" @click="editRow(row)">编辑</el-button>--> |
| | | <el-button v-if="row.isVisible===0" type="text" @click="delRow(row)">删除</el-button> |
| | | <el-button v-if="row.isVisible===1" v-waves type="text" @click="saveRow(row)">保存</el-button> |
| | | <el-button v-if="row.isVisible===1" v-waves type="text" @click="cancelRow(row)">取消</el-button> |
| | | <!-- <el-button v-waves v-if="row.isVisible===0" type="text" @click="editRow(row)">编辑</el-button>--> |
| | | <el-button v-if="row.isVisible===0" v-waves type="text" @click="delRow(row)">删除</el-button> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <div class="footerButton"> |
| | | <el-button @click="dialogVisibleCancel">返 回</el-button> |
| | | <el-button v-waves @click="dialogVisibleCancel">返 回</el-button> |
| | | </div> |
| | | </span> |
| | | </el-dialog> |
| | |
| | | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <div class="footerButton"> |
| | | <el-button @click="dialogVisibleUserCancel">取 消</el-button> |
| | | <el-button v-waves @click="dialogVisibleUserCancel">取 消</el-button> |
| | | <el-button |
| | | v-waves |
| | | type="primary" |
| | | :loading="$store.state.app.buttonIsDisabled" |
| | | :disabled="$store.state.app.buttonIsDisabled" |
| | |
| | | DeleteAnDengType |
| | | } from '@/api/jcsz' |
| | | import elDragDialog from '@/directive/el-drag-dialog' |
| | | import waves from '@/directive/waves' |
| | | |
| | | export default { |
| | | name: 'Zzjg', |
| | | directives: { elDragDialog }, |
| | | directives: { elDragDialog, waves }, |
| | | data() { |
| | | return { |
| | | mainHeight: 0, |
| | |
| | | }) |
| | | }, |
| | | async saveRow(row) { |
| | | console.log(row) |
| | | if (row.code.toString().trim() === '' || row.name.toString().trim() === '') { |
| | | return this.$message.info('类型编码或名称不能为空!') |
| | | } |
| | | const res = await AddUpdateAnDengType([row]) |
| | | if (res.code === '200') { |
| | | await this.setting() |