diff --git a/ruoyi-ui/src/api/kaohe/gather.js b/ruoyi-ui/src/api/kaohe/gather.js index a2b5f76..0b3189b 100644 --- a/ruoyi-ui/src/api/kaohe/gather.js +++ b/ruoyi-ui/src/api/kaohe/gather.js @@ -18,7 +18,7 @@ export function getGather(id) { } // 新增生成汇总 -export function addGather(data) { +export function addGather1(data) { return request({ url: '/kaohe/gather', method: 'post', @@ -26,6 +26,15 @@ export function addGather(data) { }) } +// 新增生成汇总 +export function addGather(data) { + return request({ + url: '/kaohe/gather/generateSum', + method: 'post', + data: data + }) +} + // 修改生成汇总 export function updateGather(data) { return request({ diff --git a/ruoyi-ui/src/api/kaohe/pingce.js b/ruoyi-ui/src/api/kaohe/pingce.js index 92a4693..122ce4f 100644 --- a/ruoyi-ui/src/api/kaohe/pingce.js +++ b/ruoyi-ui/src/api/kaohe/pingce.js @@ -53,8 +53,6 @@ export function getItemVote(query) { }) } - - // 批量添加账号接口 export function addsUser(data) { return request({ diff --git a/ruoyi-ui/src/components/RecursiveTree/index.vue b/ruoyi-ui/src/components/RecursiveTree/index.vue index 0ac7721..ed63293 100644 --- a/ruoyi-ui/src/components/RecursiveTree/index.vue +++ b/ruoyi-ui/src/components/RecursiveTree/index.vue @@ -2,23 +2,23 @@
- + - + :max="1" v-if="nodeData.type1==='1'||nodeData.type1==='0'"> - 标题 - 占比引用 - 不占比引用 + 标题 + 占比引用 + 不占比引用
@@ -57,14 +57,14 @@ export default { onChangeKaohe(parentNode){ this.$emit('change-kaohe', parentNode) }, - addChild(type) { - this.$emit('add-child', this.nodeData, type) + addChild(type1) { + this.$emit('add-child', this.nodeData, type1) }, removeNode() { this.$emit('remove-node', this.nodeData) }, - onAddChild(parentNode, type) { - this.$emit('add-child', parentNode, type) + onAddChild(parentNode, type1) { + this.$emit('add-child', parentNode, type1) }, onRemoveNode(nodeToRemove) { this.$emit('remove-node', nodeToRemove) diff --git a/ruoyi-ui/src/components/TableColumn/index.vue b/ruoyi-ui/src/components/TableColumn/index.vue index 0eaa466..89f92a7 100644 --- a/ruoyi-ui/src/components/TableColumn/index.vue +++ b/ruoyi-ui/src/components/TableColumn/index.vue @@ -1,7 +1,7 @@ - + @@ -447,12 +434,12 @@ 编辑评分规则 确认 @@ -469,6 +456,7 @@ type="text" icon="el-icon-thumb" @click="goVotepage(scope.row)" + v-hasPermi="['kaohe:vote_emp:edit']" >去评分
diff --git a/ruoyi-ui/src/views/kaohe/vote/index.vue b/ruoyi-ui/src/views/kaohe/vote/index.vue index c280ea5..d6c03d1 100644 --- a/ruoyi-ui/src/views/kaohe/vote/index.vue +++ b/ruoyi-ui/src/views/kaohe/vote/index.vue @@ -184,6 +184,7 @@ type="text" icon="el-icon-thumb" @click="goVotepage(scope.row)" + v-hasPermi="['kaohe:vote_emp:edit']" >去评分
diff --git a/ruoyi-ui/src/views/votepage.vue b/ruoyi-ui/src/views/votepage.vue index eff9f75..7463efc 100644 --- a/ruoyi-ui/src/views/votepage.vue +++ b/ruoyi-ui/src/views/votepage.vue @@ -39,7 +39,7 @@
- 提交评分 + 提交评分