no message
							parent
							
								
									60bf29b32a
								
							
						
					
					
						commit
						dac10d92b0
					
				| 
						 | 
				
			
			@ -203,6 +203,9 @@
 | 
			
		|||
            <div>{{ scope.row.dept.name }}</div>
 | 
			
		||||
          </template>
 | 
			
		||||
        </el-table-column>
 | 
			
		||||
        <el-table-column prop="posX" label="坐标x"/>
 | 
			
		||||
        <el-table-column prop="posY" label="坐标y"/>
 | 
			
		||||
        <el-table-column prop="posZ" label="坐标z"/>
 | 
			
		||||
        <el-table-column label="启用" align="center" prop="enabled">
 | 
			
		||||
          <template slot-scope="scope">
 | 
			
		||||
            <el-switch
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,13 +11,16 @@
 | 
			
		|||
 | 
			
		||||
        <dv-border-box-10 class="box10" v-for="(div, index) in divs" :key="index">
 | 
			
		||||
          <el-tooltip placement="top" class="item" effect="dark">
 | 
			
		||||
            <div slot="content">
 | 
			
		||||
<!--            <div slot="content">
 | 
			
		||||
              物料代码:{{ div.code }}<br/>
 | 
			
		||||
              物料名称:{{ div.code }}<br/>
 | 
			
		||||
              库存数量:{{ 0 }}
 | 
			
		||||
            </div>
 | 
			
		||||
            </div>-->
 | 
			
		||||
            <el-button style="background-color:#AFEEEE;height: 80px;width:180px;margin: 10px">
 | 
			
		||||
              库位:{{ div.code }}<br/>
 | 
			
		||||
<!--              {{ div.code }}-->
 | 
			
		||||
              <div v-for="(d, index) in div" :key="index">
 | 
			
		||||
                {{ d.pointCode }} 7000073<br/>
 | 
			
		||||
              </div>
 | 
			
		||||
            </el-button>
 | 
			
		||||
          </el-tooltip>
 | 
			
		||||
        </dv-border-box-10>
 | 
			
		||||
| 
						 | 
				
			
			@ -77,7 +80,7 @@ export default {
 | 
			
		|||
  data() {
 | 
			
		||||
    return {
 | 
			
		||||
      total: 0,
 | 
			
		||||
      pageSize: 25,
 | 
			
		||||
      pageSize: 12,
 | 
			
		||||
      currentPage: 1,
 | 
			
		||||
      currentIndex: 0,
 | 
			
		||||
      intervalId: null,
 | 
			
		||||
| 
						 | 
				
			
			@ -207,6 +210,7 @@ export default {
 | 
			
		|||
      crudPoint.queryPointInfo(CurrentPage).then(res => {
 | 
			
		||||
        this.total = Number(res.data.total)
 | 
			
		||||
        this.divs = res.data.data
 | 
			
		||||
        this.pageSize = Number(res.data.pageSize)
 | 
			
		||||
        //把页数放入集合
 | 
			
		||||
        for (let i = 1; i <= this.collectionLength; i++) {
 | 
			
		||||
          this.collection.push(i)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue