维修列表页面修改
This commit is contained in:
		
							parent
							
								
									4b22734632
								
							
						
					
					
						commit
						bed4846b48
					
				| 
						 | 
				
			
			@ -74,28 +74,28 @@
 | 
			
		|||
 | 
			
		||||
        <el-table v-loading="loading" :data="tableList" border @selection-change="handleSelectionChange" >
 | 
			
		||||
            <el-table-column type="selection" width="55" align="center" :selectable="selectable"/>
 | 
			
		||||
            <el-table-column label="序号" align="center" width="80" type="index">
 | 
			
		||||
            <el-table-column label="序号" align="center" width="70" type="index">
 | 
			
		||||
                <template slot-scope="scope">
 | 
			
		||||
                    <span>{{(queryParams.pageNum - 1) * 10 + scope.$index + 1}}</span>
 | 
			
		||||
                </template>
 | 
			
		||||
            </el-table-column>
 | 
			
		||||
            <!-- <el-table-column align="center" label="序号" type="index"/> -->
 | 
			
		||||
            <el-table-column label="退料单位" align="center" prop="backUnit" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="退料工程" align="center" prop="backPro" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="维修单号" align="center" prop="repairCode" :show-overflow-tooltip="true" width="150"/>
 | 
			
		||||
            <el-table-column label="物资类型" align="center" prop="type" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="退料单号" align="center" prop="backCode" :show-overflow-tooltip="true" width="150"/>
 | 
			
		||||
            <el-table-column label="维修班组" align="center" prop="repairer" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="退料单位" align="center" width="120" prop="backUnit" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="退料工程" align="center" width="120" prop="backPro" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="维修单号" align="center" width="150" prop="repairCode" :show-overflow-tooltip="true" />
 | 
			
		||||
            <el-table-column label="物资类型" align="center" width="150" prop="type" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="退料单号" align="center" width="150" prop="backCode" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="维修班组" align="center" width="120" prop="repairer" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <!-- <el-table-column label="退料人电话" align="center" prop="phone" :show-overflow-tooltip="true"/> -->
 | 
			
		||||
            <el-table-column label="创建人" align="center" prop="createName" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="创建时间" align="center" prop="createTime" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="状态" align="center" :show-overflow-tooltip="true" prop="repairStatusCode">
 | 
			
		||||
            <el-table-column label="创建人" align="center" width="100" prop="createName" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="创建时间" align="center" width="180" prop="createTime" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="状态" align="center" width="150" :show-overflow-tooltip="true" prop="repairStatusCode">
 | 
			
		||||
                <template slot-scope="scope">
 | 
			
		||||
                    <dict-tag :options="dict.type.repair_task_status" :value="scope.row.repairStatusCode"/>
 | 
			
		||||
                </template>
 | 
			
		||||
            </el-table-column>
 | 
			
		||||
            <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true"/>
 | 
			
		||||
            <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="300">
 | 
			
		||||
            <!-- <el-table-column label="备注" align="center" width="100" prop="remark" :show-overflow-tooltip="true"/> -->
 | 
			
		||||
            <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="300" fixed="right">
 | 
			
		||||
                <template slot-scope="scope">
 | 
			
		||||
                    <el-button size="mini" plain icon="el-icon-zoom-in" @click="handleSee(scope.row)" >查看</el-button>
 | 
			
		||||
                    <el-button size="mini" type="primary" plain icon="el-icon-edit" v-if="scope.row.repairStatusCode=='0'" @click="handleUpdate(scope.row)">维修</el-button>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -114,11 +114,11 @@
 | 
			
		|||
        align="center"
 | 
			
		||||
        :selectable="selectable"
 | 
			
		||||
      />
 | 
			
		||||
      <el-table-column width="60" align="center" label="序号" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"/>
 | 
			
		||||
      <el-table-column width="70" align="center" label="序号" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"/>
 | 
			
		||||
 | 
			
		||||
      <el-table-column
 | 
			
		||||
        align="center"
 | 
			
		||||
        width="160"
 | 
			
		||||
        width="150"
 | 
			
		||||
        label="退料单位"
 | 
			
		||||
        prop="unitName"
 | 
			
		||||
        :show-overflow-tooltip="true"
 | 
			
		||||
| 
						 | 
				
			
			@ -133,18 +133,21 @@
 | 
			
		|||
      <el-table-column
 | 
			
		||||
        label="维修审核单号"
 | 
			
		||||
        align="center"
 | 
			
		||||
        width="150"
 | 
			
		||||
        prop="repairNum"
 | 
			
		||||
        :show-overflow-tooltip="true"
 | 
			
		||||
      />
 | 
			
		||||
      <el-table-column
 | 
			
		||||
        label="任务单号"
 | 
			
		||||
        align="center"
 | 
			
		||||
        width="150"
 | 
			
		||||
        prop="repairTaskCode"
 | 
			
		||||
        :show-overflow-tooltip="true"
 | 
			
		||||
      />
 | 
			
		||||
      <el-table-column
 | 
			
		||||
        label="物资类型"
 | 
			
		||||
        align="center"
 | 
			
		||||
        width="150"
 | 
			
		||||
        prop="itemType"
 | 
			
		||||
        :show-overflow-tooltip="true"
 | 
			
		||||
      />
 | 
			
		||||
| 
						 | 
				
			
			@ -152,20 +155,21 @@
 | 
			
		|||
        label="维修班组"
 | 
			
		||||
        align="center"
 | 
			
		||||
        prop="teamName"
 | 
			
		||||
        width="110px"
 | 
			
		||||
        width="100px"
 | 
			
		||||
        :show-overflow-tooltip="true"
 | 
			
		||||
      />
 | 
			
		||||
      <el-table-column
 | 
			
		||||
        label="提交人"
 | 
			
		||||
        align="center"
 | 
			
		||||
        prop="createBy"
 | 
			
		||||
        width="100px"
 | 
			
		||||
        :show-overflow-tooltip="true"
 | 
			
		||||
      />
 | 
			
		||||
      <el-table-column
 | 
			
		||||
        label="提交时间"
 | 
			
		||||
        align="center"
 | 
			
		||||
        prop="createTime"
 | 
			
		||||
        width="110px"
 | 
			
		||||
        width="180px"
 | 
			
		||||
        :show-overflow-tooltip="true"
 | 
			
		||||
      >
 | 
			
		||||
      </el-table-column>
 | 
			
		||||
| 
						 | 
				
			
			@ -174,6 +178,7 @@
 | 
			
		|||
        label="状态"
 | 
			
		||||
        align="center"
 | 
			
		||||
        prop="taskStatus"
 | 
			
		||||
        width="120px"
 | 
			
		||||
        :show-overflow-tooltip="true"
 | 
			
		||||
      >
 | 
			
		||||
        <template slot-scope="scope">
 | 
			
		||||
| 
						 | 
				
			
			@ -184,15 +189,15 @@
 | 
			
		|||
        </template>
 | 
			
		||||
      </el-table-column>
 | 
			
		||||
 | 
			
		||||
      <el-table-column
 | 
			
		||||
      <!-- <el-table-column
 | 
			
		||||
        label="备注"
 | 
			
		||||
        align="center"
 | 
			
		||||
        width="100"
 | 
			
		||||
        prop="remark"
 | 
			
		||||
        :show-overflow-tooltip="true"
 | 
			
		||||
      />
 | 
			
		||||
      /> -->
 | 
			
		||||
 | 
			
		||||
      <el-table-column label="操作" align="center" width="300">
 | 
			
		||||
      <el-table-column label="操作" align="center" width="300" fixed="right">
 | 
			
		||||
        <template slot-scope="scope">
 | 
			
		||||
          <el-button
 | 
			
		||||
            size="mini"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue