Porównaj commity
	
		
			10 Commity
		
	
	
		
			8004c85c32
			...
			7f5b9d5228
		
	
	| Autor | SHA1 | Data | |
|---|---|---|---|
| 
						 | 
					7f5b9d5228 | ||
| 
						 | 
					9eea7e049a | ||
| 328b3ff560 | |||
| b3a117f6c6 | |||
| 8929e53724 | |||
| db081c1bd1 | |||
| 3e9540bcc9 | |||
| 69ceadab69 | |||
| 601387184e | |||
| b625ef0118 | 
@@ -163,7 +163,7 @@ input, textarea{
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
::-webkit-scrollbar-thumb {
 | 
					::-webkit-scrollbar-thumb {
 | 
				
			||||||
  background-color: rgba(144,147,153,.5);
 | 
					  background-color: #EDEDED;
 | 
				
			||||||
  background-clip: padding-box;
 | 
					  background-clip: padding-box;
 | 
				
			||||||
  min-height: 28px;
 | 
					  min-height: 28px;
 | 
				
			||||||
  -webkit-border-radius: 2em;
 | 
					  -webkit-border-radius: 2em;
 | 
				
			||||||
@@ -174,7 +174,7 @@ input, textarea{
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
::-webkit-scrollbar-thumb:hover {
 | 
					::-webkit-scrollbar-thumb:hover {
 | 
				
			||||||
  background-color: rgba(144,147,153,.3);
 | 
					  background-color: #D9D9D9;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// 抽屉head区域---start
 | 
					// 抽屉head区域---start
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -144,8 +144,8 @@ export default {
 | 
				
			|||||||
    getDataList() {
 | 
					    getDataList() {
 | 
				
			||||||
      this.dataListLoading = true;
 | 
					      this.dataListLoading = true;
 | 
				
			||||||
      this.urlOptions.getDataListURL(this.listQuery).then(response => {
 | 
					      this.urlOptions.getDataListURL(this.listQuery).then(response => {
 | 
				
			||||||
        this.tableData = response.data.list;
 | 
					        // this.tableData = response.data.list;
 | 
				
			||||||
				// this.getStatus(response.data.list)
 | 
									this.getStatus(response.data.list)
 | 
				
			||||||
        this.listQuery.total = response.data.total;
 | 
					        this.listQuery.total = response.data.total;
 | 
				
			||||||
        this.dataListLoading = false;
 | 
					        this.dataListLoading = false;
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
 * @Author: zwq
 | 
					 * @Author: zwq
 | 
				
			||||||
 * @Date: 2021-11-18 14:16:25
 | 
					 * @Date: 2021-11-18 14:16:25
 | 
				
			||||||
 * @LastEditors: DY
 | 
					 * @LastEditors: DY
 | 
				
			||||||
 * @LastEditTime: 2023-11-20 16:51:24
 | 
					 * @LastEditTime: 2023-11-24 18:20:26
 | 
				
			||||||
 * @Description:
 | 
					 * @Description:
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
@@ -29,9 +29,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
				<div class="action_btn">
 | 
									<div class="action_btn">
 | 
				
			||||||
					<template>
 | 
										<template>
 | 
				
			||||||
						<span style="display: inline-block;" @click="addNew()">
 | 
					            <span style="display: inline-block;">
 | 
				
			||||||
							<svg-icon style="width: 14px; height: 14px" class="item-icon" icon-class="table_add" />
 | 
					              <el-button type="text" @click="addNew()" icon="el-icon-plus">添加</el-button>
 | 
				
			||||||
							<span class="add">添加</span>
 | 
					 | 
				
			||||||
            </span>
 | 
					            </span>
 | 
				
			||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
				</div>
 | 
									</div>
 | 
				
			||||||
@@ -298,7 +297,7 @@ export default {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
.action_btn {
 | 
					.action_btn {
 | 
				
			||||||
  float: right;
 | 
					  float: right;
 | 
				
			||||||
  margin: 5px 15px;
 | 
					  margin: -40px 15px;
 | 
				
			||||||
  font-size: 14px;
 | 
					  font-size: 14px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.add {
 | 
					.add {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -311,11 +311,11 @@ export default {
 | 
				
			|||||||
      if (val) {
 | 
					      if (val) {
 | 
				
			||||||
        this.productList.map(item => {
 | 
					        this.productList.map(item => {
 | 
				
			||||||
          if (val === item.id) {
 | 
					          if (val === item.id) {
 | 
				
			||||||
            this.dataForm.productSpec = item.specifications
 | 
					            this.dataForm.specifications = item.specifications
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
      } else {
 | 
					      } else {
 | 
				
			||||||
        this.dataForm.productSpec = ''
 | 
					        this.dataForm.specifications = ''
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
 * @Author: zwq
 | 
					 * @Author: zwq
 | 
				
			||||||
 * @Date: 2021-11-18 14:16:25
 | 
					 * @Date: 2021-11-18 14:16:25
 | 
				
			||||||
 * @LastEditors: DY
 | 
					 * @LastEditors: DY
 | 
				
			||||||
 * @LastEditTime: 2023-11-22 10:26:58
 | 
					 * @LastEditTime: 2023-11-24 18:13:02
 | 
				
			||||||
 * @Description:
 | 
					 * @Description:
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
@@ -196,7 +196,7 @@ export default {
 | 
				
			|||||||
				workCost: undefined,
 | 
									workCost: undefined,
 | 
				
			||||||
        remark: undefined,
 | 
					        remark: undefined,
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
			majorIdList: undefined,
 | 
								majorIdList: [],
 | 
				
			||||||
			departmentlList: [],
 | 
								departmentlList: [],
 | 
				
			||||||
			menuOptions: [],
 | 
								menuOptions: [],
 | 
				
			||||||
			bindIds: [],
 | 
								bindIds: [],
 | 
				
			||||||
@@ -267,7 +267,7 @@ export default {
 | 
				
			|||||||
				workCost: undefined,
 | 
									workCost: undefined,
 | 
				
			||||||
        remark: undefined
 | 
					        remark: undefined
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			this.majorIdList = undefined
 | 
								this.majorIdList = []
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		// 表单提交
 | 
							// 表单提交
 | 
				
			||||||
    dataFormSubmit() {
 | 
					    dataFormSubmit() {
 | 
				
			||||||
@@ -288,24 +288,28 @@ export default {
 | 
				
			|||||||
            this.visible = false;
 | 
					            this.visible = false;
 | 
				
			||||||
            this.$emit("refreshDataList");
 | 
					            this.$emit("refreshDataList");
 | 
				
			||||||
          });
 | 
					          });
 | 
				
			||||||
 | 
										if (this.majorIdList.length > 0) {
 | 
				
			||||||
						this.majorIdList.forEach(majorId => {
 | 
											this.majorIdList.forEach(majorId => {
 | 
				
			||||||
							createWoBindMa({
 | 
												createWoBindMa({
 | 
				
			||||||
								workerId: this.dataForm.id,
 | 
													workerId: this.dataForm.id,
 | 
				
			||||||
								majorId: majorId
 | 
													majorId: majorId
 | 
				
			||||||
							}).then(res => {})
 | 
												}).then(res => {})
 | 
				
			||||||
						});
 | 
											});
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
          return;
 | 
					          return;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        // 添加的提交
 | 
					        // 添加的提交
 | 
				
			||||||
        this.urlOptions.createURL(this.dataForm).then(response => {
 | 
					        this.urlOptions.createURL(this.dataForm).then(response => {
 | 
				
			||||||
					// response.data = id
 | 
										// response.data = id
 | 
				
			||||||
					this.workerId = response.data
 | 
										this.workerId = response.data
 | 
				
			||||||
 | 
										if (this.majorIdList.length > 0) {
 | 
				
			||||||
						this.majorIdList.forEach(majorId => {
 | 
											this.majorIdList.forEach(majorId => {
 | 
				
			||||||
							createWoBindMa({
 | 
												createWoBindMa({
 | 
				
			||||||
								workerId: this.workerId,
 | 
													workerId: this.workerId,
 | 
				
			||||||
								majorId: majorId
 | 
													majorId: majorId
 | 
				
			||||||
							}).then(res => {})
 | 
												}).then(res => {})
 | 
				
			||||||
						});
 | 
											});
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
          this.$modal.msgSuccess("新增成功");
 | 
					          this.$modal.msgSuccess("新增成功");
 | 
				
			||||||
          this.visible = false;
 | 
					          this.visible = false;
 | 
				
			||||||
          this.$emit("refreshDataList");
 | 
					          this.$emit("refreshDataList");
 | 
				
			||||||
@@ -324,6 +328,7 @@ export default {
 | 
				
			|||||||
        if (this.dataForm.id) {
 | 
					        if (this.dataForm.id) {
 | 
				
			||||||
          this.urlOptions.infoURL(id).then(response => {
 | 
					          this.urlOptions.infoURL(id).then(response => {
 | 
				
			||||||
            this.dataForm = response.data;
 | 
					            this.dataForm = response.data;
 | 
				
			||||||
 | 
											this.dataForm.departmentName = undefined
 | 
				
			||||||
          });
 | 
					          });
 | 
				
			||||||
					// 获取员工--专业
 | 
										// 获取员工--专业
 | 
				
			||||||
					getWoBindMaPage({
 | 
										getWoBindMaPage({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
  <el-drawer
 | 
					  <el-drawer
 | 
				
			||||||
    title="发货进度"
 | 
					    title="发货进度"
 | 
				
			||||||
    :visible.sync="centervisible"
 | 
					    :visible.sync="centervisible"
 | 
				
			||||||
    size="80%"
 | 
					    size="50%"
 | 
				
			||||||
    class="deliveryLogDetail"
 | 
					    class="deliveryLogDetail"
 | 
				
			||||||
    @close='closeA'
 | 
					    @close='closeA'
 | 
				
			||||||
    :show-close='false'>
 | 
					    :show-close='false'>
 | 
				
			||||||
@@ -47,7 +47,7 @@
 | 
				
			|||||||
              <method-btn
 | 
					              <method-btn
 | 
				
			||||||
                v-if="tableBtn.length"
 | 
					                v-if="tableBtn.length"
 | 
				
			||||||
                slot="handleBtn"
 | 
					                slot="handleBtn"
 | 
				
			||||||
                :width="150"
 | 
					                :width="80"
 | 
				
			||||||
                label="操作"
 | 
					                label="操作"
 | 
				
			||||||
                :method-list="tableBtn"
 | 
					                :method-list="tableBtn"
 | 
				
			||||||
                @clickBtn="viewDetDetail"
 | 
					                @clickBtn="viewDetDetail"
 | 
				
			||||||
@@ -65,7 +65,7 @@
 | 
				
			|||||||
          <div v-if="activeName === 'barChart'">
 | 
					          <div v-if="activeName === 'barChart'">
 | 
				
			||||||
            <div 
 | 
					            <div 
 | 
				
			||||||
              id="logDetPieBar"
 | 
					              id="logDetPieBar"
 | 
				
			||||||
              style="width: 100%"
 | 
					              style="width: 60%"
 | 
				
			||||||
              :style="{ height: chartHeight + 'px' }"
 | 
					              :style="{ height: chartHeight + 'px' }"
 | 
				
			||||||
            ></div>
 | 
					            ></div>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
@@ -75,7 +75,7 @@
 | 
				
			|||||||
    <!-- 详情抽屉 -->
 | 
					    <!-- 详情抽屉 -->
 | 
				
			||||||
    <el-drawer
 | 
					    <el-drawer
 | 
				
			||||||
      title="发货详情"
 | 
					      title="发货详情"
 | 
				
			||||||
      size="60%"
 | 
					      size="50%"
 | 
				
			||||||
      :append-to-body="true"
 | 
					      :append-to-body="true"
 | 
				
			||||||
      :visible.sync="innerDrawer"
 | 
					      :visible.sync="innerDrawer"
 | 
				
			||||||
      @close='closeB'
 | 
					      @close='closeB'
 | 
				
			||||||
@@ -141,7 +141,8 @@ const tableProps = [
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    prop: 'rate',
 | 
					    prop: 'rate',
 | 
				
			||||||
    label: '发货比列(%)'
 | 
					    label: '发货比列(%)',
 | 
				
			||||||
 | 
					    width: 110
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    prop: 'principalCost',
 | 
					    prop: 'principalCost',
 | 
				
			||||||
@@ -173,7 +174,8 @@ const tableProps2 = [
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    prop: 'packagingSize',
 | 
					    prop: 'packagingSize',
 | 
				
			||||||
    label: '装箱规格(片/箱)'
 | 
					    label: '装箱规格(片/箱)',
 | 
				
			||||||
 | 
					    minWidth: 140
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    prop: 'packagingNum',
 | 
					    prop: 'packagingNum',
 | 
				
			||||||
@@ -210,8 +212,8 @@ export default {
 | 
				
			|||||||
      tableBtn: [
 | 
					      tableBtn: [
 | 
				
			||||||
        this.$auth.hasPermi('base:group-team:update')
 | 
					        this.$auth.hasPermi('base:group-team:update')
 | 
				
			||||||
          ? {
 | 
					          ? {
 | 
				
			||||||
              type: 'detDetail',
 | 
					              type: 'detail',
 | 
				
			||||||
              btnName: '查看发货详情'
 | 
					              btnName: '详情'
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          : undefined
 | 
					          : undefined
 | 
				
			||||||
      ].filter((v) => v),
 | 
					      ].filter((v) => v),
 | 
				
			||||||
@@ -230,7 +232,7 @@ export default {
 | 
				
			|||||||
      // 图
 | 
					      // 图
 | 
				
			||||||
      chartDom: '',
 | 
					      chartDom: '',
 | 
				
			||||||
      chart: '',
 | 
					      chart: '',
 | 
				
			||||||
      chartHeight: this.tableHeight(300)
 | 
					      chartHeight: this.tableHeight(300)*0.6
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  // watch: {
 | 
					  // watch: {
 | 
				
			||||||
@@ -270,6 +272,8 @@ export default {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    getBar() {
 | 
					    getBar() {
 | 
				
			||||||
 | 
					      let color = ['#7164FF','#288AFF','#63BDFF','#8EF0AB','#FFCE6A']
 | 
				
			||||||
 | 
					      let colorList = []
 | 
				
			||||||
      if (
 | 
					      if (
 | 
				
			||||||
        this.chart !== null &&
 | 
					        this.chart !== null &&
 | 
				
			||||||
        this.chart !== '' &&
 | 
					        this.chart !== '' &&
 | 
				
			||||||
@@ -280,64 +284,90 @@ export default {
 | 
				
			|||||||
      this.chartDom = document.getElementById('logDetPieBar')
 | 
					      this.chartDom = document.getElementById('logDetPieBar')
 | 
				
			||||||
      this.chart = echarts.init(this.chartDom)
 | 
					      this.chart = echarts.init(this.chartDom)
 | 
				
			||||||
      let seriesData = []
 | 
					      let seriesData = []
 | 
				
			||||||
      let sumData = 0
 | 
					      if (this.tableData.length > 0) {
 | 
				
			||||||
      this.tableData && this.tableData.map(item =>{
 | 
					        for (let i = 0; i < this.tableData.length; i++) {
 | 
				
			||||||
          let obj = {}
 | 
					          let obj = {}
 | 
				
			||||||
        obj.value = item.rate
 | 
					          obj.value = this.tableData[i].num
 | 
				
			||||||
        obj.name = item.name
 | 
					          obj.name = this.tableData[i].name
 | 
				
			||||||
          seriesData.push(obj)
 | 
					          seriesData.push(obj)
 | 
				
			||||||
        sumData+=item.rate
 | 
					          if (i < 5) {
 | 
				
			||||||
      })
 | 
					            colorList.push(color[i])
 | 
				
			||||||
      if (sumData < 100) {
 | 
					          } else {
 | 
				
			||||||
 | 
					            colorList.push(color[i%5])
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      if (this.orderMsg.num < this.orderMsg.orderNum) {
 | 
				
			||||||
        let obj = {}
 | 
					        let obj = {}
 | 
				
			||||||
        obj.value = 100 - sumData
 | 
					        obj.value = this.orderMsg.orderNum - this.orderMsg.num
 | 
				
			||||||
        obj.name = "未发货"
 | 
					        obj.name = "未发货"
 | 
				
			||||||
        seriesData.push(obj)
 | 
					        seriesData.push(obj)
 | 
				
			||||||
 | 
					        colorList.push('#F5F5F5')
 | 
				
			||||||
 | 
					      }else {
 | 
				
			||||||
 | 
					        let obj = {}
 | 
				
			||||||
 | 
					        obj.value = 0
 | 
				
			||||||
 | 
					        obj.name = "未发货"
 | 
				
			||||||
 | 
					        seriesData.push(obj)
 | 
				
			||||||
 | 
					        colorList.push('#F5F5F5')
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      var option = {
 | 
					      var option = {
 | 
				
			||||||
        color: ['#B0EB42', '#FF9747', '#FF6860', '#7164FF', '#288AFF', '#63BDFF', '#73DE93', '#FFCE6A'],
 | 
					        color: colorList,
 | 
				
			||||||
        tooltip: {
 | 
					 | 
				
			||||||
          trigger: 'item',
 | 
					 | 
				
			||||||
          formatter: function(params) {
 | 
					 | 
				
			||||||
            let str = `<span style="display:inline-block;width:8px;height:8px;margin: 0 8px 0 -3px;border-radius:2px;background-color:${params.color};"></span>`
 | 
					 | 
				
			||||||
            return `<span>
 | 
					 | 
				
			||||||
                <span style="color:rgba(0,0,0,0.85);">${str}${params.name}</span>
 | 
					 | 
				
			||||||
                <span style="display:inline-block;margin-left:10px;color:rgba(0,0,0,0.45);">${params.percent}</span>
 | 
					 | 
				
			||||||
              </span>`
 | 
					 | 
				
			||||||
          }
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        legend: {
 | 
					        legend: {
 | 
				
			||||||
          type: 'scroll',
 | 
					          bottom: '5%',
 | 
				
			||||||
          orient: 'vertical',
 | 
					          left: 'center',
 | 
				
			||||||
          right: '10%',
 | 
					          itemWidth: 8,
 | 
				
			||||||
          top: 20,
 | 
					          itemHeight: 8
 | 
				
			||||||
          bottom: 20,
 | 
					 | 
				
			||||||
          icon: 'rect',
 | 
					 | 
				
			||||||
          itemHeight: 8,
 | 
					 | 
				
			||||||
          itemWidth: 8
 | 
					 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        series: [
 | 
					        series: [
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            type: 'pie',
 | 
					            type: 'pie',
 | 
				
			||||||
            radius: ['60%', '80%'],
 | 
					            radius: ['40%', '55%'],
 | 
				
			||||||
            avoidLabelOverlap: false,
 | 
					 | 
				
			||||||
            label: {
 | 
					 | 
				
			||||||
              show: false,
 | 
					 | 
				
			||||||
              position: 'center'
 | 
					 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
            emphasis: {
 | 
					            emphasis: {
 | 
				
			||||||
 | 
					              scale: false
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
            label: {
 | 
					            label: {
 | 
				
			||||||
                show: true,
 | 
					              alignTo: 'edge',
 | 
				
			||||||
                fontSize: 40,
 | 
					              formatter: '{name|{b}}\n{value|{c}}',
 | 
				
			||||||
                fontWeight: 'bold'
 | 
					              minMargin: 5,
 | 
				
			||||||
 | 
					              edgeDistance: 10,
 | 
				
			||||||
 | 
					              lineHeight: 15,
 | 
				
			||||||
 | 
					              rich: {
 | 
				
			||||||
 | 
					                name: {
 | 
				
			||||||
 | 
					                  fontSize: 14,
 | 
				
			||||||
 | 
					                  color: 'rgba(0,0,0,0.65)'
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
              scale: true ,
 | 
					                value: {
 | 
				
			||||||
              scaleSize: 20 ,
 | 
					                  fontSize: 14,
 | 
				
			||||||
            },
 | 
					                  color: 'rgba(0,0,0,0.65)'
 | 
				
			||||||
            labelLine: {
 | 
					                }
 | 
				
			||||||
              show: false
 | 
					              }
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            data: seriesData
 | 
					            data: seriesData
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            type: 'pie',
 | 
				
			||||||
 | 
					            radius: ['40%', '40%'],
 | 
				
			||||||
 | 
					            label: {
 | 
				
			||||||
 | 
					              show: true,
 | 
				
			||||||
 | 
					              position: 'center',
 | 
				
			||||||
 | 
					              color: '#000',
 | 
				
			||||||
 | 
					              formatter: [
 | 
				
			||||||
 | 
					                  '{a|'+this.orderMsg.orderNum+'}',
 | 
				
			||||||
 | 
					                  '{b|总数}'
 | 
				
			||||||
 | 
					              ].join('\n\n'),
 | 
				
			||||||
 | 
					              rich: {
 | 
				
			||||||
 | 
					                a: {
 | 
				
			||||||
 | 
					                    fontSize: 26 +'px'
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                b: {
 | 
				
			||||||
 | 
					                    fontSize: 16 +'px'
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            emphasis: {
 | 
				
			||||||
 | 
					              scale: false
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            data: [100]
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
@@ -377,11 +407,13 @@ export default {
 | 
				
			|||||||
</script>
 | 
					</script>
 | 
				
			||||||
<style scoped lang='scss'>
 | 
					<style scoped lang='scss'>
 | 
				
			||||||
.box1 {
 | 
					.box1 {
 | 
				
			||||||
  height: 56px;
 | 
					  height: 76px;
 | 
				
			||||||
 | 
					  border-bottom: 1px solid #E9E9E9;
 | 
				
			||||||
 | 
					  margin: 0px 8px 20px 30px;
 | 
				
			||||||
  .box_col {
 | 
					  .box_col {
 | 
				
			||||||
    display: inline-block;
 | 
					    display: inline-block;
 | 
				
			||||||
    width: 20%;
 | 
					    width: 20%;
 | 
				
			||||||
    padding: 8px 8px 8px 40px;
 | 
					    padding: 8px 8px 8px 8px;
 | 
				
			||||||
    .blodTip {
 | 
					    .blodTip {
 | 
				
			||||||
      height: 16px;
 | 
					      height: 16px;
 | 
				
			||||||
      font-size: 14px;
 | 
					      font-size: 14px;
 | 
				
			||||||
@@ -398,7 +430,7 @@ export default {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.box2 {
 | 
					.box2 {
 | 
				
			||||||
    padding:32px 32px 30px 30px;
 | 
					    padding:0px 32px 30px 30px;
 | 
				
			||||||
    height: calc(100vh - 150px);
 | 
					    height: calc(100vh - 150px);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.boxTitle {
 | 
					.boxTitle {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -77,9 +77,9 @@
 | 
				
			|||||||
					<el-form-item label="巡检时间" prop="actualTime">
 | 
										<el-form-item label="巡检时间" prop="actualTime">
 | 
				
			||||||
						<el-date-picker
 | 
											<el-date-picker
 | 
				
			||||||
							v-model="dataForm.actualTime"
 | 
												v-model="dataForm.actualTime"
 | 
				
			||||||
							type="date"
 | 
												type="datetime"
 | 
				
			||||||
							:disabled="isdetail"
 | 
												:disabled="isdetail"
 | 
				
			||||||
							format='yyyy-MM-dd'
 | 
												format='yyyy-MM-dd HH:mm:ss'
 | 
				
			||||||
							value-format="timestamp"
 | 
												value-format="timestamp"
 | 
				
			||||||
							placeholder="选择巡检时间" />
 | 
												placeholder="选择巡检时间" />
 | 
				
			||||||
					</el-form-item>
 | 
										</el-form-item>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -69,7 +69,7 @@ export default {
 | 
				
			|||||||
	data() {
 | 
						data() {
 | 
				
			||||||
		return {
 | 
							return {
 | 
				
			||||||
			addOrUpdateVisible: false,
 | 
								addOrUpdateVisible: false,
 | 
				
			||||||
			searchBarKeys: ['equipmentId', 'createTime'],
 | 
								searchBarKeys: ['equipmentId', 'actualTime'],
 | 
				
			||||||
			tableBtn: [
 | 
								tableBtn: [
 | 
				
			||||||
				this.$auth.hasPermi('equipment:check-record:detail')
 | 
									this.$auth.hasPermi('equipment:check-record:detail')
 | 
				
			||||||
					? {
 | 
										? {
 | 
				
			||||||
@@ -113,12 +113,12 @@ export default {
 | 
				
			|||||||
					label: '时间段',
 | 
										label: '时间段',
 | 
				
			||||||
					dateType: 'daterange', // datetimerange
 | 
										dateType: 'daterange', // datetimerange
 | 
				
			||||||
					format: 'yyyy-MM-dd',
 | 
										format: 'yyyy-MM-dd',
 | 
				
			||||||
					valueFormat: 'timestamp',
 | 
										valueFormat: 'yyyy-MM-dd HH:mm:ss',
 | 
				
			||||||
					rangeSeparator: '-',
 | 
										rangeSeparator: '-',
 | 
				
			||||||
					startPlaceholder: '开始日期',
 | 
										startPlaceholder: '开始日期',
 | 
				
			||||||
					endPlaceholder: '结束日期',
 | 
										endPlaceholder: '结束日期',
 | 
				
			||||||
					defaultTime: ['00:00:00', '23:59:59'],
 | 
										defaultTime: ['00:00:00', '23:59:59'],
 | 
				
			||||||
					param: 'startTime',
 | 
										param: 'actualTime',
 | 
				
			||||||
					// width: 350,
 | 
										// width: 350,
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
 * @Author: zwq
 | 
					 * @Author: zwq
 | 
				
			||||||
 * @Date: 2021-11-18 14:16:25
 | 
					 * @Date: 2021-11-18 14:16:25
 | 
				
			||||||
 * @LastEditors: DY
 | 
					 * @LastEditors: DY
 | 
				
			||||||
 * @LastEditTime: 2023-11-09 11:09:26
 | 
					 * @LastEditTime: 2023-11-24 18:38:22
 | 
				
			||||||
 * @Description:
 | 
					 * @Description:
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
@@ -52,9 +52,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
				<div v-if="!isdetail" class="action_btn">
 | 
									<div v-if="!isdetail" class="action_btn">
 | 
				
			||||||
					<template>
 | 
										<template>
 | 
				
			||||||
						<span style="display: inline-block;" @click="addNew()">
 | 
					            <span style="display: inline-block;">
 | 
				
			||||||
							<svg-icon style="width: 14px; height: 14px" class="item-icon" icon-class="table_add" />
 | 
					              <el-button type="text" @click="addNew()" icon="el-icon-plus">添加</el-button>
 | 
				
			||||||
							<span class="add">添加</span>
 | 
					 | 
				
			||||||
            </span>
 | 
					            </span>
 | 
				
			||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
				</div>
 | 
									</div>
 | 
				
			||||||
@@ -290,7 +289,7 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
.drawer >>> .visual-part {
 | 
					.drawer >>> .visual-part {
 | 
				
			||||||
	flex: 1 auto;
 | 
						flex: 1 auto;
 | 
				
			||||||
	max-height: 76vh;
 | 
						max-height: 16vh;
 | 
				
			||||||
	overflow: hidden;
 | 
						overflow: hidden;
 | 
				
			||||||
	overflow-y: scroll;
 | 
						overflow-y: scroll;
 | 
				
			||||||
	padding-right: 10px; /* 调整滚动条样式 */
 | 
						padding-right: 10px; /* 调整滚动条样式 */
 | 
				
			||||||
@@ -308,7 +307,7 @@ export default {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
.action_btn {
 | 
					.action_btn {
 | 
				
			||||||
  float: right;
 | 
					  float: right;
 | 
				
			||||||
  margin: 5px 15px;
 | 
					  margin: -40px 15px;
 | 
				
			||||||
  font-size: 14px;
 | 
					  font-size: 14px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.add {
 | 
					.add {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -101,7 +101,7 @@ export default {
 | 
				
			|||||||
				{ prop: 'sectionName', label: '工段' },
 | 
									{ prop: 'sectionName', label: '工段' },
 | 
				
			||||||
				{ prop: 'equipmentName', label: '设备' },
 | 
									{ prop: 'equipmentName', label: '设备' },
 | 
				
			||||||
				{ prop: 'equipmentCode', label: '设备编码' },
 | 
									{ prop: 'equipmentCode', label: '设备编码' },
 | 
				
			||||||
				{ prop: 'responsible', label: '负责人' },
 | 
									// { prop: 'responsible', label: '负责人' },
 | 
				
			||||||
				{ prop: 'checkNumber', label: '巡检条数' }, // TODO: 操作 选项,四个,群里询问
 | 
									{ prop: 'checkNumber', label: '巡检条数' }, // TODO: 操作 选项,四个,群里询问
 | 
				
			||||||
			],
 | 
								],
 | 
				
			||||||
			searchBarFormConfig: [
 | 
								searchBarFormConfig: [
 | 
				
			||||||
@@ -116,6 +116,7 @@ export default {
 | 
				
			|||||||
					label: '设备名称',
 | 
										label: '设备名称',
 | 
				
			||||||
					placeholder: '请选择设备',
 | 
										placeholder: '请选择设备',
 | 
				
			||||||
					param: 'equipmentId',
 | 
										param: 'equipmentId',
 | 
				
			||||||
 | 
										filterable: true,
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					type: 'button',
 | 
										type: 'button',
 | 
				
			||||||
@@ -170,8 +171,12 @@ export default {
 | 
				
			|||||||
						label: '设备名称',
 | 
											label: '设备名称',
 | 
				
			||||||
						prop: 'equipmentId',
 | 
											prop: 'equipmentId',
 | 
				
			||||||
						url: '/base/core-equipment/listAll',
 | 
											url: '/base/core-equipment/listAll',
 | 
				
			||||||
 | 
											bind: {
 | 
				
			||||||
 | 
												filterable: true,
 | 
				
			||||||
 | 
												clearable: true,
 | 
				
			||||||
 | 
											},
 | 
				
			||||||
						rules: [
 | 
											rules: [
 | 
				
			||||||
							{ required: true, message: '设备名称不能为空', trigger: 'blur' },
 | 
												{ required: true, message: '设备名称不能为空', trigger: 'change' },
 | 
				
			||||||
						],
 | 
											],
 | 
				
			||||||
					},
 | 
										},
 | 
				
			||||||
					{
 | 
										{
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -45,6 +45,11 @@
 | 
				
			|||||||
				:disabled="mode == 'detail'"
 | 
									:disabled="mode == 'detail'"
 | 
				
			||||||
				:has-files="true"
 | 
									:has-files="true"
 | 
				
			||||||
				:rows="rows" />
 | 
									:rows="rows" />
 | 
				
			||||||
 | 
								<el-row v-if="mode === 'detail'" slot="footer" type="flex" justify="end">
 | 
				
			||||||
 | 
									<el-col :span="12">
 | 
				
			||||||
 | 
										<el-button size="small" class="btnTextStyle" @click="cancel">关闭</el-button>
 | 
				
			||||||
 | 
									</el-col>
 | 
				
			||||||
 | 
								</el-row>
 | 
				
			||||||
		</base-dialog>
 | 
							</base-dialog>
 | 
				
			||||||
	</div>
 | 
						</div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -75,9 +75,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		<div class="drawer-body__footer">
 | 
							<div class="drawer-body__footer">
 | 
				
			||||||
			<el-button type="primary" @click="goback()">关闭</el-button>
 | 
								<el-button type="primary" @click="goback()">关闭</el-button>
 | 
				
			||||||
			<el-button v-if="disabled" type="primary" @click="goEdit()">
 | 
					 | 
				
			||||||
				编辑
 | 
					 | 
				
			||||||
			</el-button>
 | 
					 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		<attr-add
 | 
							<attr-add
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -35,7 +35,7 @@
 | 
				
			|||||||
		</el-form>
 | 
							</el-form>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		<el-row style="text-align: right">
 | 
							<el-row style="text-align: right">
 | 
				
			||||||
			<el-button @click="visible = false">取消</el-button>
 | 
								<el-button @click="cancel">取消</el-button>
 | 
				
			||||||
			<el-button type="primary" @click="dataFormSubmit()">确定</el-button>
 | 
								<el-button type="primary" @click="dataFormSubmit()">确定</el-button>
 | 
				
			||||||
		</el-row>
 | 
							</el-row>
 | 
				
			||||||
	</el-dialog>
 | 
						</el-dialog>
 | 
				
			||||||
@@ -79,21 +79,13 @@ export default {
 | 
				
			|||||||
				this.partList = res.data.list;
 | 
									this.partList = res.data.list;
 | 
				
			||||||
			})
 | 
								})
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							cancel() {
 | 
				
			||||||
 | 
								this.$refs['dataForm'].resetFields()
 | 
				
			||||||
 | 
								this.visible = false
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		init(id) {
 | 
							init(id) {
 | 
				
			||||||
			this.dataForm.id = id || '';
 | 
								// this.dataForm.id = id || '';
 | 
				
			||||||
			this.visible = true;
 | 
								this.visible = true;
 | 
				
			||||||
			// this.$nextTick(() => {
 | 
					 | 
				
			||||||
			// 	this.$refs['dataForm'].resetFields();
 | 
					 | 
				
			||||||
			// 	if (this.dataForm.id) {
 | 
					 | 
				
			||||||
			// 		getCoreProductAttr({
 | 
					 | 
				
			||||||
			// 			id: this.dataForm.id
 | 
					 | 
				
			||||||
			// 		}).then((res) => {
 | 
					 | 
				
			||||||
			// 			const { name, value } = res.data;
 | 
					 | 
				
			||||||
			// 			this.dataForm.name = name;
 | 
					 | 
				
			||||||
			// 			this.dataForm.value = value;
 | 
					 | 
				
			||||||
			// 		});
 | 
					 | 
				
			||||||
			// 	}
 | 
					 | 
				
			||||||
			// });
 | 
					 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		// 表单提交
 | 
							// 表单提交
 | 
				
			||||||
		dataFormSubmit() {
 | 
							dataFormSubmit() {
 | 
				
			||||||
@@ -117,6 +109,7 @@ export default {
 | 
				
			|||||||
						configId: this.configId,
 | 
											configId: this.configId,
 | 
				
			||||||
					}).then((response) => {
 | 
										}).then((response) => {
 | 
				
			||||||
						this.$modal.msgSuccess('新增成功');
 | 
											this.$modal.msgSuccess('新增成功');
 | 
				
			||||||
 | 
											this.$refs['dataForm'].resetFields()
 | 
				
			||||||
						this.visible = false;
 | 
											this.visible = false;
 | 
				
			||||||
						this.$emit('refreshDataList');
 | 
											this.$emit('refreshDataList');
 | 
				
			||||||
					});
 | 
										});
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -301,6 +301,12 @@ export default {
 | 
				
			|||||||
			const id = row.id;
 | 
								const id = row.id;
 | 
				
			||||||
			this.info({ id }).then((response) => {
 | 
								this.info({ id }).then((response) => {
 | 
				
			||||||
				this.form = response.data;
 | 
									this.form = response.data;
 | 
				
			||||||
 | 
									if (this.form.unit !== undefined) {
 | 
				
			||||||
 | 
										this.form.unit = String(this.form.unit)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if (this.form.type !== undefined) {
 | 
				
			||||||
 | 
										this.form.type = String(this.form.type)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
				this.open = true;
 | 
									this.open = true;
 | 
				
			||||||
				this.title = '修改备品备件';
 | 
									this.title = '修改备品备件';
 | 
				
			||||||
			});
 | 
								});
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -310,7 +310,8 @@ export default {
 | 
				
			|||||||
		handleClick(raw) {
 | 
							handleClick(raw) {
 | 
				
			||||||
			if (raw.type === 'change') {
 | 
								if (raw.type === 'change') {
 | 
				
			||||||
				// 更换
 | 
									// 更换
 | 
				
			||||||
				this.addNew();
 | 
									console.log(raw)
 | 
				
			||||||
 | 
									this.addNew(raw.data.sparePartId);
 | 
				
			||||||
			} else {}
 | 
								} else {}
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		getList() {
 | 
							getList() {
 | 
				
			||||||
@@ -320,7 +321,7 @@ export default {
 | 
				
			|||||||
				configId: this.dataForm.id,
 | 
									configId: this.dataForm.id,
 | 
				
			||||||
			}).then((response) => {
 | 
								}).then((response) => {
 | 
				
			||||||
				this.list = response.data;
 | 
									this.list = response.data;
 | 
				
			||||||
				this.listQuery.total = response.data.total;
 | 
									this.listQuery.total = response.data.length;
 | 
				
			||||||
			});
 | 
								});
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		getList1() {
 | 
							getList1() {
 | 
				
			||||||
@@ -334,10 +335,10 @@ export default {
 | 
				
			|||||||
			});
 | 
								});
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		// 新增 / 修改
 | 
							// 新增 / 修改
 | 
				
			||||||
		addNew(id) {
 | 
							addNew(sparePartId) {
 | 
				
			||||||
			this.addOrUpdateVisible = true;
 | 
								this.addOrUpdateVisible = true;
 | 
				
			||||||
			this.$nextTick(() => {
 | 
								this.$nextTick(() => {
 | 
				
			||||||
				this.$refs.addOrUpdate.init(id);
 | 
									this.$refs.addOrUpdate.init(sparePartId);
 | 
				
			||||||
			});
 | 
								});
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		/** 导出按钮操作 */
 | 
							/** 导出按钮操作 */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,10 +25,27 @@
 | 
				
			|||||||
					clearable
 | 
										clearable
 | 
				
			||||||
					placeholder="请输入操作人" />
 | 
										placeholder="请输入操作人" />
 | 
				
			||||||
			</el-form-item>
 | 
								</el-form-item>
 | 
				
			||||||
 | 
								<el-form-item label="更换耗时(min)" prop="timeUsed">
 | 
				
			||||||
 | 
									<el-input-number
 | 
				
			||||||
 | 
										v-model="dataForm.timeUsed"
 | 
				
			||||||
 | 
										controls-position="right"
 | 
				
			||||||
 | 
										clearable
 | 
				
			||||||
 | 
										placeholder="请输入更换耗时"
 | 
				
			||||||
 | 
										style="width: 100%" />
 | 
				
			||||||
 | 
								</el-form-item>
 | 
				
			||||||
 | 
								<el-form-item label="更换时间" prop="replacementTime">
 | 
				
			||||||
 | 
									<el-date-picker
 | 
				
			||||||
 | 
										v-model="dataForm.replacementTime"
 | 
				
			||||||
 | 
										type="date"
 | 
				
			||||||
 | 
										format='yyyy-MM-dd'
 | 
				
			||||||
 | 
										value-format='timestamp'
 | 
				
			||||||
 | 
										placeholder="选择入更换时间"
 | 
				
			||||||
 | 
										style="width: 100%" />
 | 
				
			||||||
 | 
								</el-form-item>
 | 
				
			||||||
		</el-form>
 | 
							</el-form>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		<el-row style="text-align: right">
 | 
							<el-row style="text-align: right">
 | 
				
			||||||
			<el-button @click="visible = false">取消</el-button>
 | 
								<el-button @click="cancel">取消</el-button>
 | 
				
			||||||
			<el-button type="primary" @click="dataFormSubmit()">确定</el-button>
 | 
								<el-button type="primary" @click="dataFormSubmit()">确定</el-button>
 | 
				
			||||||
		</el-row>
 | 
							</el-row>
 | 
				
			||||||
	</el-dialog>
 | 
						</el-dialog>
 | 
				
			||||||
@@ -49,11 +66,15 @@ export default {
 | 
				
			|||||||
			visible: false,
 | 
								visible: false,
 | 
				
			||||||
			dataForm: {
 | 
								dataForm: {
 | 
				
			||||||
				id: undefined,
 | 
									id: undefined,
 | 
				
			||||||
				responsible: ''
 | 
									responsible: '',
 | 
				
			||||||
 | 
									timeUsed: 0,
 | 
				
			||||||
 | 
									sparePartId: '',
 | 
				
			||||||
 | 
									replacementTime: undefined
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
			partList: [],
 | 
								partList: [],
 | 
				
			||||||
			dataRule: {
 | 
								dataRule: {
 | 
				
			||||||
				responsible: [{ required: true, message: '操作人不能为空', trigger: 'blur' }]
 | 
									responsible: [{ required: true, message: '操作人不能为空', trigger: 'blur' }],
 | 
				
			||||||
 | 
									replacementTime: [{ required: true, message: '更换时间不能为空', trigger: 'blur' }]
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
@@ -66,9 +87,13 @@ export default {
 | 
				
			|||||||
		// 	this.partList = res.data
 | 
							// 	this.partList = res.data
 | 
				
			||||||
		// },
 | 
							// },
 | 
				
			||||||
		init(id) {
 | 
							init(id) {
 | 
				
			||||||
			this.dataForm.id = id || '';
 | 
								this.dataForm.sparePartId = id || undefined;
 | 
				
			||||||
			this.visible = true;
 | 
								this.visible = true;
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							cancel() {
 | 
				
			||||||
 | 
								this.$refs['dataForm'].resetFields();
 | 
				
			||||||
 | 
								this.visible = false;
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		// 表单提交
 | 
							// 表单提交
 | 
				
			||||||
		dataFormSubmit() {
 | 
							dataFormSubmit() {
 | 
				
			||||||
			this.$refs['dataForm'].validate((valid) => {
 | 
								this.$refs['dataForm'].validate((valid) => {
 | 
				
			||||||
@@ -91,6 +116,7 @@ export default {
 | 
				
			|||||||
						configId: this.configId,
 | 
											configId: this.configId,
 | 
				
			||||||
					}).then((response) => {
 | 
										}).then((response) => {
 | 
				
			||||||
						this.$modal.msgSuccess('新增成功');
 | 
											this.$modal.msgSuccess('新增成功');
 | 
				
			||||||
 | 
											this.$refs['dataForm'].resetFields();
 | 
				
			||||||
						this.visible = false;
 | 
											this.visible = false;
 | 
				
			||||||
						this.$emit('refreshDataList');
 | 
											this.$emit('refreshDataList');
 | 
				
			||||||
					});
 | 
										});
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -193,7 +193,8 @@ export default {
 | 
				
			|||||||
      this.$auth.hasPermi('base:order-manage:addWorkOrder')
 | 
					      this.$auth.hasPermi('base:order-manage:addWorkOrder')
 | 
				
			||||||
          ? {
 | 
					          ? {
 | 
				
			||||||
              type: 'add',
 | 
					              type: 'add',
 | 
				
			||||||
              btnName: '新增工单',
 | 
					              btnName: '新增',
 | 
				
			||||||
 | 
					              showTip: '新增工单',
 | 
				
			||||||
              showParam: {
 | 
					              showParam: {
 | 
				
			||||||
                type: '|',
 | 
					                type: '|',
 | 
				
			||||||
                data: [
 | 
					                data: [
 | 
				
			||||||
@@ -219,7 +220,8 @@ export default {
 | 
				
			|||||||
      this.$auth.hasPermi('base:order-manage:bindWorkOrder')
 | 
					      this.$auth.hasPermi('base:order-manage:bindWorkOrder')
 | 
				
			||||||
          ? {
 | 
					          ? {
 | 
				
			||||||
              type: 'bind',
 | 
					              type: 'bind',
 | 
				
			||||||
              btnName: '绑定工单',
 | 
					              btnName: '绑定',
 | 
				
			||||||
 | 
					              showTip: '绑定工单',
 | 
				
			||||||
              showParam: {
 | 
					              showParam: {
 | 
				
			||||||
                type: '|',
 | 
					                type: '|',
 | 
				
			||||||
                data: [
 | 
					                data: [
 | 
				
			||||||
@@ -245,7 +247,8 @@ export default {
 | 
				
			|||||||
      this.$auth.hasPermi('base:order-manage:bindWorkOrder')
 | 
					      this.$auth.hasPermi('base:order-manage:bindWorkOrder')
 | 
				
			||||||
          ? {
 | 
					          ? {
 | 
				
			||||||
              type: 'complete',
 | 
					              type: 'complete',
 | 
				
			||||||
              btnName: '完成订单',
 | 
					              btnName: '完成',
 | 
				
			||||||
 | 
					              showTip: '完成订单',
 | 
				
			||||||
              showParam: {
 | 
					              showParam: {
 | 
				
			||||||
                type: '|',
 | 
					                type: '|',
 | 
				
			||||||
                data: [
 | 
					                data: [
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,7 +22,7 @@
 | 
				
			|||||||
        <method-btn
 | 
					        <method-btn
 | 
				
			||||||
          v-if="tableBtn.length"
 | 
					          v-if="tableBtn.length"
 | 
				
			||||||
          slot="handleBtn"
 | 
					          slot="handleBtn"
 | 
				
			||||||
          :width="250"
 | 
					          :width="140"
 | 
				
			||||||
          label="操作"
 | 
					          label="操作"
 | 
				
			||||||
          :method-list="tableBtn"
 | 
					          :method-list="tableBtn"
 | 
				
			||||||
          @clickBtn="handleClick"
 | 
					          @clickBtn="handleClick"
 | 
				
			||||||
@@ -160,19 +160,52 @@ export default {
 | 
				
			|||||||
      this.$auth.hasPermi('base:order-completion-monitoring:orderDet')
 | 
					      this.$auth.hasPermi('base:order-completion-monitoring:orderDet')
 | 
				
			||||||
          ? {
 | 
					          ? {
 | 
				
			||||||
              type: 'orderDetail',
 | 
					              type: 'orderDetail',
 | 
				
			||||||
              btnName: '工单详情'
 | 
					              btnName: '工单',
 | 
				
			||||||
 | 
					              showTip: '工单详情',
 | 
				
			||||||
 | 
					              showParam: {
 | 
				
			||||||
 | 
					                type: '&',
 | 
				
			||||||
 | 
					                data: [
 | 
				
			||||||
 | 
					                  {
 | 
				
			||||||
 | 
					                    type: 'more',
 | 
				
			||||||
 | 
					                    name: 'workOrderNum',
 | 
				
			||||||
 | 
					                    value: 1
 | 
				
			||||||
 | 
					                  }
 | 
				
			||||||
 | 
					                ]
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          : undefined,
 | 
					          : undefined,
 | 
				
			||||||
      this.$auth.hasPermi('base:order-completion-monitoring:qualityDet')
 | 
					      this.$auth.hasPermi('base:order-completion-monitoring:qualityDet')
 | 
				
			||||||
          ? {
 | 
					          ? {
 | 
				
			||||||
              type: 'qualityDetail',
 | 
					              type: 'qualityDetail',
 | 
				
			||||||
              btnName: '质量详情'
 | 
					              btnName: '质量',
 | 
				
			||||||
 | 
					              showTip: '质量详情',
 | 
				
			||||||
 | 
					              showParam: {
 | 
				
			||||||
 | 
					                type: '&',
 | 
				
			||||||
 | 
					                data: [
 | 
				
			||||||
 | 
					                  {
 | 
				
			||||||
 | 
					                    type: 'more',
 | 
				
			||||||
 | 
					                    name: 'workOrderNum',
 | 
				
			||||||
 | 
					                    value: 1
 | 
				
			||||||
 | 
					                  }
 | 
				
			||||||
 | 
					                ]
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          : undefined,
 | 
					          : undefined,
 | 
				
			||||||
      this.$auth.hasPermi('base:order-completion-monitoring:sendOut')
 | 
					      this.$auth.hasPermi('base:order-completion-monitoring:sendOut')
 | 
				
			||||||
          ? {
 | 
					          ? {
 | 
				
			||||||
              type: 'sendOutDetail',
 | 
					              type: 'sendOutDetail',
 | 
				
			||||||
              btnName: '发货详情'
 | 
					              btnName: '发货',
 | 
				
			||||||
 | 
					              showTip: '发货详情',
 | 
				
			||||||
 | 
					              showParam: {
 | 
				
			||||||
 | 
					                type: '&',
 | 
				
			||||||
 | 
					                data: [
 | 
				
			||||||
 | 
					                  {
 | 
				
			||||||
 | 
					                    type: 'more',
 | 
				
			||||||
 | 
					                    name: 'workOrderNum',
 | 
				
			||||||
 | 
					                    value: 1
 | 
				
			||||||
 | 
					                  }
 | 
				
			||||||
 | 
					                ]
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          : undefined
 | 
					          : undefined
 | 
				
			||||||
      ].filter((v) => v),
 | 
					      ].filter((v) => v),
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
<template>
 | 
					<template>
 | 
				
			||||||
	<div :class="className" :style="{ height: height, width: width }" />
 | 
						<div :class="className" :style="{ height: height, width: width,marginLeft: '10px' }" />
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
@@ -97,7 +97,7 @@ export default {
 | 
				
			|||||||
					{
 | 
										{
 | 
				
			||||||
						containLabel: true,
 | 
											containLabel: true,
 | 
				
			||||||
						top: 40,
 | 
											top: 40,
 | 
				
			||||||
						left: '2%',
 | 
											left: '4%',
 | 
				
			||||||
						right: '2%',
 | 
											right: '2%',
 | 
				
			||||||
						bottom: '3%',
 | 
											bottom: '3%',
 | 
				
			||||||
						bottom: '55%',
 | 
											bottom: '55%',
 | 
				
			||||||
@@ -105,7 +105,7 @@ export default {
 | 
				
			|||||||
					{
 | 
										{
 | 
				
			||||||
						containLabel: true,
 | 
											containLabel: true,
 | 
				
			||||||
						top: 40,
 | 
											top: 40,
 | 
				
			||||||
						left: '2%',
 | 
											left: '4%',
 | 
				
			||||||
						right: '2%',
 | 
											right: '2%',
 | 
				
			||||||
						bottom: '3%',
 | 
											bottom: '3%',
 | 
				
			||||||
						top: '55%',
 | 
											top: '55%',
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,6 @@
 | 
				
			|||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<!-- 搜索工作栏 -->
 | 
							<!-- 搜索工作栏 -->
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,13 +2,12 @@
 | 
				
			|||||||
 * @Author: zwq
 | 
					 * @Author: zwq
 | 
				
			||||||
 * @Date: 2023-11-03 16:37:06
 | 
					 * @Date: 2023-11-03 16:37:06
 | 
				
			||||||
 * @LastEditors: zwq
 | 
					 * @LastEditors: zwq
 | 
				
			||||||
 * @LastEditTime: 2023-11-23 15:54:31
 | 
					 * @LastEditTime: 2023-11-24 14:35:01
 | 
				
			||||||
 * @Description:
 | 
					 * @Description:
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,6 @@
 | 
				
			|||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<!-- 搜索工作栏 -->
 | 
							<!-- 搜索工作栏 -->
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,6 @@
 | 
				
			|||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<!-- 搜索工作栏 -->
 | 
							<!-- 搜索工作栏 -->
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,13 +2,12 @@
 | 
				
			|||||||
 * @Author: zwq
 | 
					 * @Author: zwq
 | 
				
			||||||
 * @Date: 2023-11-03 16:37:06
 | 
					 * @Date: 2023-11-03 16:37:06
 | 
				
			||||||
 * @LastEditors: zwq
 | 
					 * @LastEditors: zwq
 | 
				
			||||||
 * @LastEditTime: 2023-11-23 15:54:14
 | 
					 * @LastEditTime: 2023-11-24 14:36:24
 | 
				
			||||||
 * @Description:
 | 
					 * @Description:
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,6 @@
 | 
				
			|||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<!-- 搜索工作栏 -->
 | 
							<!-- 搜索工作栏 -->
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,6 @@
 | 
				
			|||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<!-- 搜索工作栏 -->
 | 
							<!-- 搜索工作栏 -->
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,13 +2,12 @@
 | 
				
			|||||||
 * @Author: zwq
 | 
					 * @Author: zwq
 | 
				
			||||||
 * @Date: 2023-11-03 16:37:06
 | 
					 * @Date: 2023-11-03 16:37:06
 | 
				
			||||||
 * @LastEditors: zwq
 | 
					 * @LastEditors: zwq
 | 
				
			||||||
 * @LastEditTime: 2023-11-23 15:53:54
 | 
					 * @LastEditTime: 2023-11-24 14:36:08
 | 
				
			||||||
 * @Description:
 | 
					 * @Description:
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,6 @@
 | 
				
			|||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<!-- 搜索工作栏 -->
 | 
							<!-- 搜索工作栏 -->
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,6 @@
 | 
				
			|||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<!-- 搜索工作栏 -->
 | 
							<!-- 搜索工作栏 -->
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,13 +2,12 @@
 | 
				
			|||||||
 * @Author: zwq
 | 
					 * @Author: zwq
 | 
				
			||||||
 * @Date: 2023-11-03 16:37:06
 | 
					 * @Date: 2023-11-03 16:37:06
 | 
				
			||||||
 * @LastEditors: zwq
 | 
					 * @LastEditors: zwq
 | 
				
			||||||
 * @LastEditTime: 2023-11-23 15:53:28
 | 
					 * @LastEditTime: 2023-11-24 14:35:51
 | 
				
			||||||
 * @Description:
 | 
					 * @Description:
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,6 @@
 | 
				
			|||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<!-- 搜索工作栏 -->
 | 
							<!-- 搜索工作栏 -->
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,6 @@
 | 
				
			|||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<!-- 搜索工作栏 -->
 | 
							<!-- 搜索工作栏 -->
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,13 +2,12 @@
 | 
				
			|||||||
 * @Author: zwq
 | 
					 * @Author: zwq
 | 
				
			||||||
 * @Date: 2023-11-03 16:37:06
 | 
					 * @Date: 2023-11-03 16:37:06
 | 
				
			||||||
 * @LastEditors: zwq
 | 
					 * @LastEditors: zwq
 | 
				
			||||||
 * @LastEditTime: 2023-11-23 15:52:53
 | 
					 * @LastEditTime: 2023-11-24 14:35:29
 | 
				
			||||||
 * @Description:
 | 
					 * @Description:
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,6 @@
 | 
				
			|||||||
	<div class="app-container">
 | 
						<div class="app-container">
 | 
				
			||||||
		<!-- 搜索工作栏 -->
 | 
							<!-- 搜索工作栏 -->
 | 
				
			||||||
		<search-bar
 | 
							<search-bar
 | 
				
			||||||
			:isFold="true"
 | 
					 | 
				
			||||||
			:formConfigs="formConfig"
 | 
								:formConfigs="formConfig"
 | 
				
			||||||
			ref="searchBarForm"
 | 
								ref="searchBarForm"
 | 
				
			||||||
			@headBtnClick="buttonClick" />
 | 
								@headBtnClick="buttonClick" />
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user