调整
This commit is contained in:
parent
39754b87c7
commit
e26207482a
@ -23,6 +23,16 @@
|
|||||||
prop="remark"
|
prop="remark"
|
||||||
label="功能描述"
|
label="功能描述"
|
||||||
/>
|
/>
|
||||||
|
<el-table-column
|
||||||
|
label="是否开启审核"
|
||||||
|
|
||||||
|
align=" "
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<svg-icon v-if="scope.row.audit_is_open === 1" icon-class="ok" style="font-size: 20px;" />
|
||||||
|
<svg-icon v-else icon-class="no" style="font-size: 20px;" />
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="是否生效"
|
label="是否生效"
|
||||||
|
|
||||||
@ -72,13 +82,22 @@
|
|||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
/>
|
/>
|
||||||
<el-dialog :title="dialogTitle" :visible.sync="dialogFormVisible" :close-on-click-modal="false" @close="handleDialogClose()">
|
<el-dialog :title="dialogTitle" :visible.sync="dialogFormVisible" :close-on-click-modal="false" @close="handleDialogClose()">
|
||||||
<el-form ref="form" :rules="rules" :model="form" label-position="left" label-width="90px" style="width: 400px; margin-left:50px;">
|
<el-form ref="form" :rules="rules" :model="form" label-position="left" label-width="140px" style="width: 400px; margin-left:50px;">
|
||||||
<el-form-item label="功能" prop="switch_name">
|
<el-form-item label="功能" prop="switch_name">
|
||||||
<el-input v-model="form.switch_name" :readonly="true" />
|
<el-input v-model="form.switch_name" :readonly="true" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="功能描述" prop="remark">
|
<el-form-item label="功能描述" prop="remark">
|
||||||
<el-input v-model="form.remark" :readonly="true" />
|
<el-input v-model="form.remark" :readonly="true" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="是否开启审核模式">
|
||||||
|
<el-switch
|
||||||
|
v-model="form.audit_is_open"
|
||||||
|
:active-value="1"
|
||||||
|
:inactive-value="0"
|
||||||
|
active-color="#13ce66"
|
||||||
|
inactive-color="#ff4949"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="是否启用">
|
<el-form-item label="是否启用">
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="form.is_open"
|
v-model="form.is_open"
|
||||||
@ -117,7 +136,8 @@ export default {
|
|||||||
form: {
|
form: {
|
||||||
switch_name: '',
|
switch_name: '',
|
||||||
remark: '',
|
remark: '',
|
||||||
is_open: 1
|
is_open: 1,
|
||||||
|
audit_is_open: 0
|
||||||
},
|
},
|
||||||
dialogFormVisible: false,
|
dialogFormVisible: false,
|
||||||
dialogStatus: '',
|
dialogStatus: '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user