| | |
| | | <div class="body" :style="{height:mainHeight+'px'}"> |
| | | |
| | | <div class="bodyTopButtonGroup"> |
| | | <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">新增</el-button> |
| | | <!-- <el-button type="primary" icon="el-icon-upload2" @click="upload">导入</el-button>--> |
| | | <el-button v-waves type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">新增</el-button> |
| | | <!-- <el-button v-waves type="primary" icon="el-icon-upload2" @click="upload">导入</el-button>--> |
| | | </div> |
| | | <div class="bodyTopFormGroup"> |
| | | <el-form |
| | |
| | | </el-form-item> |
| | | </div> |
| | | <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}"> |
| | | <el-button type="primary" icon="el-icon-search" @click="search">查询</el-button> |
| | | <el-button type="info" icon="el-icon-refresh" @click="reset">重置</el-button> |
| | | <el-button v-waves type="primary" icon="el-icon-search" @click="search">查询</el-button> |
| | | <el-button v-waves type="info" icon="el-icon-refresh" @click="reset">重置</el-button> |
| | | </div> |
| | | </el-form> |
| | | <div |
| | |
| | | <i class="el-icon-s-comment" :style="{color:$store.state.settings.theme}" /> 检验项信息: |
| | | </div> |
| | | <div style="margin-bottom: 10px"> |
| | | <el-button v-if="operation==='add'||operation==='edit'" type="primary" @click="JYadd">新增</el-button> |
| | | <el-button v-if="operation==='add'||operation==='edit'" v-waves type="primary" @click="JYadd">新增</el-button> |
| | | </div> |
| | | <div> |
| | | <el-table |
| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | | <el-button v-if="row.isVisible===0" type="text" @click="JYedit(row)">编辑</el-button> |
| | | <el-button v-if="row.isVisible===0" type="text" @click="JYdel(row)">删除</el-button> |
| | | <el-button v-if="row.isVisible===1" type="text" @click="JYsave(row)">确定</el-button> |
| | | <el-button v-if="row.isVisible===1" type="text" @click="JYcancel(row)">取消</el-button> |
| | | <el-button v-if="row.isVisible===0" v-waves type="text" @click="JYedit(row)">编辑</el-button> |
| | | <el-button v-if="row.isVisible===0" v-waves type="text" @click="JYdel(row)">删除</el-button> |
| | | <el-button v-if="row.isVisible===1" v-waves type="text" @click="JYsave(row)">确定</el-button> |
| | | <el-button v-if="row.isVisible===1" v-waves type="text" @click="JYcancel(row)">取消</el-button> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <div class="footerButton"> |
| | | <el-button v-if="operation==='check'" @click="dialogVisibleCancel">返 回</el-button> |
| | | <el-button v-if="operation!=='check'" @click="dialogVisibleCancel">取 消</el-button> |
| | | <el-button v-if="operation==='check'" v-waves @click="dialogVisibleCancel">返 回</el-button> |
| | | <el-button v-if="operation!=='check'" v-waves @click="dialogVisibleCancel">取 消</el-button> |
| | | <el-button |
| | | v-if="operation!=='check'" |
| | | v-waves |
| | | :loading="$store.state.app.buttonIsDisabled" |
| | | :disabled="$store.state.app.buttonIsDisabled" |
| | | type="primary" |
| | |
| | | } from '@/api/zlgl' |
| | | import { validateCode } from '@/utils/global' |
| | | import elDragDialog from '@/directive/el-drag-dialog' |
| | | import waves from '@/directive/waves' |
| | | |
| | | export default { |
| | | name: 'ZJBZ', |
| | | components: { |
| | | Pagination |
| | | }, |
| | | directives: { elDragDialog }, |
| | | directives: { elDragDialog, waves }, |
| | | data() { |
| | | return { |
| | | isIpad: false, |