73 lines
3.5 KiB
HTML
73 lines
3.5 KiB
HTML
|
{{template "header" }}
|
||
|
<div id="app" style="width:100%">
|
||
|
<template>
|
||
|
<el-container v-loading.fullscreen.lock="fullscreenLoading">
|
||
|
|
||
|
<el-main class="mainMain">
|
||
|
|
||
|
<el-table
|
||
|
:data="configList"
|
||
|
border
|
||
|
style="width: 100%">
|
||
|
<el-table-column
|
||
|
prop="conf_name"
|
||
|
label="配置参数">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="conf_key"
|
||
|
label="配置key">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="id"
|
||
|
label="操作">
|
||
|
<template slot-scope="scope">
|
||
|
<el-switch
|
||
|
style="margin-bottom: 10px"
|
||
|
v-if="
|
||
|
scope.row.conf_key=='VisitorVoiceBtn'||
|
||
|
scope.row.conf_key=='VisitorFaceBtn'||
|
||
|
scope.row.conf_key=='VisitorMapBtn'||
|
||
|
scope.row.conf_key=='VisitorCommentBtn'||
|
||
|
scope.row.conf_key=='VisitorReadStatus'||
|
||
|
scope.row.conf_key=='VisitorPlusBtn'||
|
||
|
scope.row.conf_key=='VisitorUploadImgBtn'||
|
||
|
scope.row.conf_key=='VisitorUploadFileBtn'||
|
||
|
scope.row.conf_key=='KefuAudioBtn'||
|
||
|
scope.row.conf_key=='KefuUploadImgBtn'||
|
||
|
scope.row.conf_key=='KefuUploadFileBtn'||
|
||
|
scope.row.conf_key=='KefuCleanBtn'||
|
||
|
scope.row.conf_key=='VisitorShowAvator'||
|
||
|
scope.row.conf_key=='SystemFreqLimt'
|
||
|
"
|
||
|
v-model="scope.row.conf_value"
|
||
|
active-color="#ff4949"
|
||
|
inactive-color="#13ce66"
|
||
|
active-value="true"
|
||
|
@change="setConfigItem(scope.row.conf_key,scope.row.conf_value)"
|
||
|
>
|
||
|
</el-switch>
|
||
|
<el-switch
|
||
|
style="margin-bottom: 10px"
|
||
|
v-if="scope.row.conf_key=='KefuBindTel'||
|
||
|
scope.row.conf_key=='CheckStrongPass'
|
||
|
"
|
||
|
v-model="scope.row.conf_value"
|
||
|
active-color="#13ce66"
|
||
|
inactive-color="#ff4949"
|
||
|
active-value="true"
|
||
|
@change="setConfigItem(scope.row.conf_key,scope.row.conf_value)"
|
||
|
>
|
||
|
</el-switch>
|
||
|
<el-input type="textarea" @change="setConfigItem(scope.row.conf_key,scope.row.conf_value)" v-model="scope.row.conf_value"></el-input>
|
||
|
</template>
|
||
|
</el-table-column>
|
||
|
</el-table>
|
||
|
</el-main>
|
||
|
|
||
|
</el-container>
|
||
|
</template>
|
||
|
|
||
|
</div>
|
||
|
</body>
|
||
|
{{template "setting_bottom" .}}
|