fuliqi
2024-09-04 a1963a3e935910c9a7ef13d051711a618bddd013
考核指标详情权限控制
3个文件已修改
26 ■■■■ 已修改文件
src/views/system/check/result/detail/detail.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/work-order/threshold/index.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/check/result/detail/detail.vue
@@ -37,6 +37,7 @@
                  type="text"
                  icon="el-icon-edit"
                  @click="handleRuleUpdate(item)"
                  v-hasPermi="['check:template:edit']"
                  >修改
                </el-button>
              </div>
@@ -182,7 +183,7 @@
              width="180px"
            >
              <template slot-scope="scope">
                <span>{{ scope.row[item.ruleIndex] }}</span>
                <span>{{ scope.row[item.ruleIndex] * 100 + '%' }}</span>
              </template>
            </el-table-column>
          </template>
src/views/system/work-order/threshold/index.vue
@@ -13,8 +13,8 @@
    <!--        </el-button>-->
    <!--      </el-col>-->
    <!--    </el-row>-->
    <el-row>
      <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
    <div style="display: flex;overflow-x: auto;" >
      <div>
        <el-card style="margin-bottom: 20px; height: 350px; margin-right: 20px;color: #656565;">
          <div style="display: flex; justify-content: space-between">
            <div class="header—text">视频</div>
@@ -102,8 +102,8 @@
            </div>
          </div>
        </el-card>
      </el-col>
      <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
      </div>
      <div>
        <el-card style="margin-bottom: 20px; height: 350px; margin-right: 20px;color: #656565;">
          <div style="display: flex; justify-content: space-between">
            <div class="header—text">人脸</div>
@@ -191,9 +191,9 @@
              </div>
            </div>
          </div>
        </el-card></el-col
        </el-card></div
      >
      <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
      <div>
        <el-card style="margin-bottom: 20px; height: 350px; margin-right: 20px;color: #656565;">
          <div style="display: flex; justify-content: space-between">
            <div class="header—text">车辆</div>
@@ -280,9 +280,8 @@
              </div>
            </div>
          </div>
        </el-card></el-col
      >
    </el-row>
        </el-card></div>
    </div>
  </div>
</template>
vue.config.js
@@ -35,14 +35,14 @@
    proxy: {
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: `http://localhost:8080`,
        target: `http://localhost:8085`,
        // 付立麒
        // target: `http://192.168.3.64:8080`,
        // 龚焕茏
        target: `http://192.168.137.227:8080`,
        // target: `http://192.168.137.227:8080`,
        // 向培
        // target: `http://192.168.3.88:8085`,
        changeOrigin: true,