yangys
2025-09-22 eb7e4c1a855a7382ba5a8ca121b6c11e0087c55a
工控网显示临时更改单号
已修改3个文件
42 ■■■■■ 文件已修改
src/views/dataex/mdmprogramimp.vue 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dataex/programonmachineimp.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/statreport/sendrecord.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dataex/mdmprogramimp.vue
@@ -10,8 +10,9 @@
    >
      <template #menu-left>
        <div style="display: flex;">
          <el-button type="primary" size="default" icon="el-icon-circle-plus" @click="importData">导入</el-button>
          <el-button type="primary" size="default" icon="el-icon-circle-plus" plain @click="handleWarehouse" style="margin-left: 12px;">下传</el-button>
          <el-button type="primary" size="default" icon="el-icon-upload" @click="importData">导入</el-button>
          <el-button type="warning" size="default" icon="el-icon-delete" @click="clearList">清空</el-button>
          <el-button type="primary" size="default" icon="el-icon-check" plain @click="handleWarehouse" style="margin-left: 12px;">下传</el-button>
        </div>
      </template>
    </avue-crud>
@@ -70,28 +71,8 @@
            prop: 'machineCode',
          },
          {
             label: '固化状态',
             prop: 'programStatus'/*,
            formatter: (val, value, label) => {
                return `${val?.variables?.machineCode}`;
            }*/
          },
          // {
          //   label: '处理方式',
          //   prop: ''
          // },
          // {
          //   label: '处理时间',
          //   prop: ''
          // },
          // {
          //   label: '处理人',
          //   prop: ''
          // },
          {
            label: 'MD5值',
            prop: 'md5',
             label: '程序状态',
             prop: 'programStatus'
          }
        ],
      },
@@ -132,6 +113,9 @@
      this.data = res || []
      done();
    },
    clearList(){
      this.data = [];
    },
    handleWarehouse(row,index) {
      if(this.selection.length == 0) {
        this.$message.error("请选择数据")
src/views/dataex/programonmachineimp.vue
@@ -80,6 +80,10 @@
                prop: 'deviation'
            },
            {
                label: '临时更改单序号',
                prop: 'deviationSerial'
            },
            {
                label: '机床编号',
                prop: 'machineCode',
            },
src/views/statreport/sendrecord.vue
@@ -23,7 +23,7 @@
        </template>
          <template #menu-left>
            <div class="menuLeft">
              <el-button type="primary" size="default" icon="el-icon-circle-plus" plain @click="handleExport">导出</el-button>
              <el-button type="primary" size="default" icon="el-icon-download" plain @click="handleExport">导出</el-button>
              <el-button type="primary" size="default" icon="el-icon-compass" plain @click="preMonth">上月</el-button>
              <el-button type="primary" size="default" icon="el-icon-aim" plain @click="thisMonth">本月</el-button>
            </div>
@@ -93,7 +93,7 @@
        total: 0,
      },
      fileViewModel:false,
      fileContent:'',
      appContent:'',
      option: {
        index: true,
        addBtn: false,
@@ -144,7 +144,7 @@
  methods: {
    showContent(row) {
      this.fileViewModel = true;
      this.fileContent = '';
      this.appContent = '';
      axios({
        url: '/blade-mdm/ossfile/file-content',
        method: 'get',