guoyuji
2023-07-24 aa1fdd95ad42e6f8c18ce45eb87cd6a14567fe53
修改机器连接样式
2个文件已修改
13 ■■■■■ 已修改文件
gmms/WebContent/login/machinelistcontent.jsp 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gmms/WebContent/orderManage/order.jsp 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gmms/WebContent/login/machinelistcontent.jsp
@@ -33,7 +33,7 @@
      :data="machine"
      height='700'
      style="width: 100%;"
       :row-class-name="tableRowClassName"
       :cell-class-name="tableRowClassName"
      >
      <el-table-column
        prop="name"
@@ -49,7 +49,7 @@
      </el-table-column>
      <el-table-column
        prop="st"
        label="状态̬">
        label="状态">
      </el-table-column>
      <el-table-column
        prop="count"
@@ -66,12 +66,14 @@
        machine:<%out.print(  Manager.getDevice().toString());%>,
      },
      methods:{
          tableRowClassName({row, rowIndex}) {
          tableRowClassName({row,column,rowIndex,columnIndex}) {
              
                if (row['st'] == '未连接') {
               if (row['st'] == '未连接' && columnIndex==3 ) {
                 return 'success-row';
               }else{
                 return '';
               }
               return '';
          }
      }
     })
gmms/WebContent/orderManage/order.jsp
@@ -72,6 +72,7 @@
                          修改
                </el-button>
                <el-button 
                  v-if="orderData[scope.$index]['11_order_status']>1"
                  @click.native.prevent="open(scope.$index, orderData)"
                  type="text"
                  size="small">