yaozc
2023-01-19 a3dbe8f26003a828d51a247e8b88355841e74339
样式调整
2 files modified
42 ■■■■■ changed files
eladmin-web-master/src/views/project/projectProgress/index.vue 20 ●●●●● patch | view | raw | blame | history
eladmin-web-master/src/views/task/taskDaliy/index.vue 22 ●●●●● patch | view | raw | blame | history
eladmin-web-master/src/views/project/projectProgress/index.vue
@@ -96,10 +96,10 @@
      </el-dialog>
      <!--表格渲染-->
      <el-table ref="table" v-loading="crud.loading" :data="crud.data" size="small" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
        <el-table-column type="selection" width="55" />
        <el-table-column show-overflow-tooltip prop="belongYear" label="年度" />
        <el-table-column show-overflow-tooltip prop="belongWeek" label="周数" />
        <el-table-column show-overflow-tooltip prop="projectName" label="所属项目" width="140">
        <el-table-column fixed type="selection" width="55px" />
        <el-table-column fixed show-overflow-tooltip prop="belongYear" label="年度" />
        <el-table-column fixed show-overflow-tooltip prop="belongWeek" label="周数" />
        <el-table-column fixed show-overflow-tooltip prop="projectName" label="所属项目" width="140px">
          <template slot-scope="scope">
            <el-tag>{{ scope.row.project.name }}</el-tag>
          </template>
@@ -119,30 +119,30 @@
            {{ (scope.row.estimatedProgress ? scope.row.estimatedProgress + '%' : '') }}
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip prop="moneyTotalInit" label="计划总成本">
        <el-table-column show-overflow-tooltip prop="moneyTotalInit" label="计划总成本" width="140px">
          <template slot-scope="scope">
            {{ scope.row.moneyTotalInit != null && scope.row.moneyTotalInit != '' ? crud.toMoney(scope.row.moneyTotalInit) : 0 }}
            ({{ scope.row.lastProjectProcess.moneyTotalInit != null && scope.row.lastProjectProcess.moneyTotalInit != '' ? crud.toMoney(scope.row.moneyTotalInit - scope.row.lastProjectProcess.moneyTotalInit) : 0 }})
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip prop="moneyTotalCost" label="总消耗成本">
        <el-table-column show-overflow-tooltip prop="moneyTotalCost" label="总消耗成本" width="140px">
          <template slot-scope="scope">
            {{ scope.row.moneyTotalCost != null && scope.row.moneyTotalCost != '' ? crud.toMoney(scope.row.moneyTotalCost) : 0 }}
            ({{ scope.row.lastProjectProcess.moneyTotalCost != null && scope.row.lastProjectProcess.moneyTotalCost != '' ? crud.toMoney(scope.row.moneyTotalCost - scope.row.lastProjectProcess.moneyTotalCost) : 0 }})
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip prop="realLastCost" label="本周消化工时">
        <el-table-column show-overflow-tooltip prop="realLastCost" label="本周消化工时" width="100px">
          <template slot-scope="scope">
            {{ scope.row.lastProjectProcess.realLastCost != null ? scope.row.realLastCost - scope.row.lastProjectProcess.realLastCost : 0 }}
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip prop="workTotalInit" label="总工作量">
        <el-table-column show-overflow-tooltip prop="workTotalInit" label="总工作量" width="100px">
          <template slot-scope="scope">
            {{ scope.row.workTotalInit != null && scope.row.workTotalInit != '' ? crud.toMoney(scope.row.workTotalInit) : 0 }}
            ({{ scope.row.lastProjectProcess.workTotalInit != null && scope.row.lastProjectProcess.workTotalInit != '' ? crud.toMoney(scope.row.workTotalInit - scope.row.lastProjectProcess.workTotalInit) : 0 }})
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip prop="workTotalCost" label="总消耗工作量">
        <el-table-column show-overflow-tooltip prop="workTotalCost" label="总消耗工作量" width="100px">
          <template slot-scope="scope">
            {{ scope.row.workTotalCost != null && scope.row.workTotalCost != '' ? crud.toMoney(scope.row.workTotalCost) : 0 }}
            ({{ scope.row.lastProjectProcess.workTotalCost != null && scope.row.lastProjectProcess.workTotalCost != '' ? crud.toMoney(scope.row.workTotalCost - scope.row.lastProjectProcess.workTotalCost) : 0 }})
@@ -155,7 +155,7 @@
        </el-table-column>
        <el-table-column show-overflow-tooltip prop="remarks" label="备注" width="140" />
        <el-table-column show-overflow-tooltip prop="createTime" label="创建时间" width="140" />
        <el-table-column v-if="checkPer(['admin','projectProgress:edit','projectProgress:del'])" label="操作" width="150px" align="center">
        <el-table-column v-if="checkPer(['admin','projectProgress:edit','projectProgress:del'])" label="操作" fixed="right" width="150px" align="center">
          <template slot-scope="scope">
            <udOperation
              :data="scope.row"
eladmin-web-master/src/views/task/taskDaliy/index.vue
@@ -107,45 +107,45 @@
      <!--表格渲染-->
      <el-table ref="table" v-loading="crud.loading" :data="crud.data" size="small" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
        <el-table-column type="selection" width="55" />
        <el-table-column :show-overflow-tooltip="true" prop="fillDate" label="填写日期" fixed="left" width="100">
        <el-table-column :show-overflow-tooltip="true" prop="fillDate" label="填写日期" fixed="left" width="100px">
          <template slot-scope="scope">
            {{ crud.toDate(scope.row.fillDate) }}
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="userNickName" label="所属员工" fixed="left" width="100">
        <el-table-column :show-overflow-tooltip="true" prop="userNickName" label="所属员工" fixed="left" width="120px">
          <template slot-scope="scope">
            <el-tag>{{ scope.row.userNickName }}</el-tag>
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="projectName" label="所属项目" width="140">
        <el-table-column :show-overflow-tooltip="true" prop="projectName" label="所属项目" width="180px">
          <template slot-scope="scope">
            <el-tag>{{ scope.row.projectName }}</el-tag>
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="taskName" label="所属任务" width="180">
        <el-table-column :show-overflow-tooltip="true" prop="taskName" label="所属任务" width="180px">
          <template slot-scope="scope">
            <el-tag>{{ scope.row.taskName }}</el-tag>
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="consumedHours" label="消耗工时" width="80" />
        <el-table-column :show-overflow-tooltip="true" prop="consumedWorkload" label="消耗工作量" width="80" />
        <el-table-column :show-overflow-tooltip="true" prop="taskWorkloadUnit" label="消耗工作量单位" width="110">
        <el-table-column :show-overflow-tooltip="true" prop="consumedHours" label="消耗工时" width="80px" />
        <el-table-column :show-overflow-tooltip="true" prop="consumedWorkload" label="消耗工作量" width="80px" />
        <el-table-column :show-overflow-tooltip="true" prop="taskWorkloadUnit" label="消耗工作量单位" width="110px">
          <template slot-scope="scope">
            <el-tag v-if="scope.row.taskWorkloadUnit != null && scope.row.taskWorkloadUnit != ''">{{ dict.label[standardWorkloadUnit][scope.row.taskWorkloadUnit] }}</el-tag>
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="taskProgress" label="任务进度">
        <el-table-column :show-overflow-tooltip="true" prop="taskProgress" label="任务进度" width="80px">
          <template slot-scope="scope">
            {{ scope.row.taskProgress }}%
          </template>
        </el-table-column>
        <el-table-column :show-overflow-tooltip="true" prop="settlementStatus" label="结算状态">
        <el-table-column :show-overflow-tooltip="true" prop="settlementStatus" width="80px" label="结算状态">
          <template slot-scope="scope">
            <el-tag>{{ dict.label[settlementStatus][scope.row.settlementStatus] }}</el-tag>
          </template>
        </el-table-column>
        <el-table-column prop="remarks" label="备注" width="140" />
        <el-table-column prop="createTime" label="创建时间" width="140" />
        <el-table-column prop="remarks" label="备注" width="280px" />
        <el-table-column prop="createTime" label="创建时间" />
        <el-table-column v-if="checkPer(['admin','taskDaliy:edit','taskDaliy:del'])" label="操作" width="150px" align="center" fixed="right">
          <template slot-scope="scope">
            <udOperation