Browse Source

xiugai首页字段

newStyle
douzhuo 1 year ago
parent
commit
3766cda07d
5 changed files with 23 additions and 13 deletions
  1. +1
    -1
      src/views/Template/Pinspeakwords.vue
  2. +7
    -2
      src/views/Template/labelModel.vue
  3. +6
    -1
      src/views/Template/modelTodo.vue
  4. +8
    -8
      src/views/Template/table.js
  5. +1
    -1
      src/views/Template/taboo.vue

+ 1
- 1
src/views/Template/Pinspeakwords.vue View File

@@ -194,7 +194,7 @@
<!-- 评分 -->
<div class="content-right">
<el-row>
<el-col :span="10">
<el-col :span="10" v-if="false">
<div style="display: flex; align-items: center">
<span style="width: 120px">话术名称</span>



+ 7
- 2
src/views/Template/labelModel.vue View File

@@ -81,7 +81,7 @@
</el-table-column>
<el-table-column label="操作" width="140" fixed="right" align="center">
<template slot-scope="scope">
<el-button type="text" @click="editFun(scope.row)">编辑</el-button>
<el-button v-if="permissions.bianJiMoBan" type="text" @click="editFun(scope.row)">编辑</el-button>
<el-button type="text" @click="deleteFun(scope.row)">删除</el-button>
</template>
</el-table-column>
@@ -161,12 +161,13 @@
</template>
<script>
import { mapGetters } from "vuex";
import matchingRules from "@/components/matchingRules/matchingRules.vue";
export default {
components: { matchingRules },
data() {
return {
timer: 0,
timer: 0,
dynamiclist: [],
taglist: [
{
@@ -222,6 +223,10 @@ export default {
this.orgType = localStorage.getItem("orgType");
this.orgType == 0 ? this.zkhousePage() : this.getorgCode();
},

computed: {
...mapGetters(["permissions"]),
},
methods: {
// 获取项目列表
zkhousePage() {


+ 6
- 1
src/views/Template/modelTodo.vue View File

@@ -83,7 +83,7 @@
</el-table-column>
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<div style="color: #2671e2; cursor: pointer" @click="editFun(scope.row)">
<div v-if="permissions.piPeiMoXing" style="color: #2671e2; cursor: pointer" @click="editFun(scope.row)">
匹配模型
</div>
</template>
@@ -168,6 +168,8 @@
</template>

<script>

import { mapGetters } from "vuex";
import matchingRules from "@/components/matchingRules/matchingRules.vue";
export default {
components: { matchingRules },
@@ -228,6 +230,9 @@ export default {
};
},
computed: {
...mapGetters(["permissions"]),
},
created(){
this.houseId=localStorage.getItem("houseId");
this.gettableList();


+ 8
- 8
src/views/Template/table.js View File

@@ -34,14 +34,14 @@ export default {
label: "模板名称",
prop: "templateName",
},
{
label: "默认话术",
prop: "defaultTemplate",
formatter: (data) => {
if(data.defaultTemplate == 0) return '是'
if(data.defaultTemplate == 1) return '否'
}
},
// {
// label: "默认话术",
// prop: "defaultTemplate",
// formatter: (data) => {
// if(data.defaultTemplate == 0) return '是'
// if(data.defaultTemplate == 1) return '否'
// }
// },
{
label: "大类个数",
prop: "count",


+ 1
- 1
src/views/Template/taboo.vue View File

@@ -66,7 +66,7 @@
<el-button v-if="tem_tab_edit" type="text" @click="bianji(row)"
>编辑</el-button>
<el-button v-if="tem_tab_del" type="text" @click="del(row)">删除</el-button>
<el-button type="text" @click="editFun(row)">模型匹配</el-button>
<el-button v-if="permissions.jinjihuashumoxingpipei" type="text" @click="editFun(row)">模型匹配</el-button>
</template>
</avue-crud>
</div>


Loading…
Cancel
Save