Browse Source

前台我的任务数量错误,后端项目文书添加权限按钮

master
lzp 2 months ago
parent
commit
241aa741c3
  1. 4
      ruoyi-app/pages/mine/index.vue
  2. 8
      ruoyi-ui/src/views/projectConfig/office.vue
  3. 4
      ruoyi-ui/vue.config.js

4
ruoyi-app/pages/mine/index.vue

@ -38,7 +38,7 @@
<div class="title">我的任务</div>
<div class="num">
<span>{{ myselfInfo.taskFinishedCount || 0 }}</span
>/{{ myselfInfo.taskTotalCount || 0 }}
>/{{ myselfInfo.taskCount || 0 }}
</div>
</div>
<div class="task result">
@ -54,7 +54,7 @@
<div class="list-item" @click="toTask">
<div class="title">我的任务</div>
<div class="value">
{{ myselfInfo.taskTotalCount || 0 }}
{{ myselfInfo.taskCount || 0 }}
<span>></span>
</div>
</div>

8
ruoyi-ui/src/views/projectConfig/office.vue

@ -51,7 +51,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['meeting:index:add']"
v-hasPermi="['projectConfig:office:add']"
>新增</el-button
>
</el-col>
@ -63,7 +63,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['meeting:index:remove']"
v-hasPermi="['projectConfig:office:remove']"
>删除</el-button
>
</el-col>
@ -184,7 +184,7 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['meeting:index:edit']"
v-hasPermi="['projectConfig:office:edit']"
>修改</el-button
>
<el-button
@ -192,7 +192,7 @@
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['meeting:index:remove']"
v-hasPermi="['projectConfig:office:remove']"
>删除</el-button
>
</template>

4
ruoyi-ui/vue.config.js

@ -39,8 +39,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `https://kygx.sxyfrs.com/research/`,
target: `http://127.0.0.1:8080`,
target: `https://kygx.sxyfrs.com/research/`,
// target: `http://127.0.0.1:8080`,
// target: `https://nnzjpt.ylinno.com/research`,
changeOrigin: true,
pathRewrite: {

Loading…
Cancel
Save