Commit 20ea4191 by 吕海涛

修改语音提醒

parent a688b601
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="检测数据" label="检测数据"
align="center" align="left"
:formatter="inspectDataText" :formatter="inspectDataText"
width="200" width="200"
> >
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
width="120" width="120"
> >
</el-table-column> </el-table-column>
<el-table-column label="可配置提醒内容" align="center"> <el-table-column label="可配置提醒内容" align="left">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<span v-html="remindContentText(row)"></span> <span v-html="remindContentText(row)"></span>
</template> </template>
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<el-button <el-button
type="text" type="text"
@click="showDialog({ row })" @click="showDialog({ row })"
style="padding: 0 2px" style="padding: 0 2px;color:#315ee8"
>编辑内容</el-button >编辑内容</el-button
> >
</template> </template>
...@@ -232,7 +232,7 @@ export default { ...@@ -232,7 +232,7 @@ export default {
return this.inspectDataonj[row.inspectData - 1]; return this.inspectDataonj[row.inspectData - 1];
}, },
remindTypeText(row) { remindTypeText(row) {
return row.remindType * 1 == 1 ? "语音提" : "模态弹窗"; return row.remindType * 1 == 1 ? "语音提" : "模态弹窗";
}, },
remindContentText2(text) { remindContentText2(text) {
...@@ -295,7 +295,7 @@ export default { ...@@ -295,7 +295,7 @@ export default {
}, },
// table变色,头 // table变色,头
tableHeaderColor({ row, column, rowIndex, columnIndex }) { tableHeaderColor({ row, column, rowIndex, columnIndex }) {
return { "background-color": "#0099ff", color: "#ffffff" }; return { "background-color": "#0099ff", color: "#ffffff",'text-align':'center' };
}, },
complaintLable() { complaintLable() {
let t = this.$refs.remindText.innerHTML; let t = this.$refs.remindText.innerHTML;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment