value
2024-05-24 05ae3a302227e0ee79dc82fb2ee0473cb07f4f0a
功能调整
已修改5个文件
51 ■■■■■ 文件已修改
src/components/do/b1-ins-order/add.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/tool/excel.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b2-standard-template.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b2-standard.vue 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/person-manage.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-ins-order/add.vue
@@ -1145,7 +1145,8 @@
        this.getProductLoad = true
        this.$axios.post(this.$api.standardTree.selectStandardProductList, {
          model: row.model + '-' + row.modelNum,
          standardMethodListId: val
          standardMethodListId: val,
          factory: this.selectTree,
        }, {
          headers: {
            'Content-Type': 'application/json'
src/components/tool/excel.vue
@@ -20,6 +20,12 @@
        cursor: pointer;
    }
  #luckysheet .save_i{
    margin-right: 20px;
    font-size: 20px;
    cursor: help;
  }
    #luckysheet .save:hover {
        opacity: .8;
    }
@@ -114,7 +120,7 @@
                    cellFormat: false // 设置单元格格式
                },
                option.myFolderUrl = this.LOCATIONVUE + '/',
                option.functionButton = '<button onClick="excelClosed()" class="save">保存</button>'
                option.functionButton = '<i class="save_i el-icon-info" title="系统支持的变量:&#10序号&#10检验项&#10检验子项&#10设备名称&#10设备编码&#10单位&#10要求值&#10试验方法 | 检测方法&#10最终值&#10结论&#10计算值&#10检验值"></i><button onClick="excelClosed()" class="save">保存</button>'
                luckysheet.create(option)
            }
        }
src/components/view/b2-standard-template.vue
@@ -62,8 +62,8 @@
                :upUrl="$api.StandardTemplate.upStandardTemplate" :delUrl="$api.StandardTemplate.delStandardTemplate"
                :componentData="componentData" :key="upIndex" />
        </div>
        <el-dialog title="模板编制" :visible.sync="isShow" width="80%" :before-close="isClose">
            <div style="width: 100%;height: 80vh;overflow: auto;" v-if="isShow">
        <el-dialog title="模板编制" :visible.sync="isShow" width="85%" :before-close="isClose">
            <div style="width: 100%;height: 82vh;overflow: auto;" v-if="isShow">
                <Excel :data="row.thing" :execlTitle="row.name" v-loading="loading"></Excel>
            </div>
        </el-dialog>
@@ -162,12 +162,16 @@
                    this.componentData.do.splice(1, 1)
                }
                if (!up) {
          this.componentData.do.splice(2, 1)
                    this.componentData.do.splice(0, 1)
                }
                this.addPower = add
            },
            templateWrite(row) {
                this.$axios.get(this.$api.StandardTemplate.getEditTemplatePreparation + '?id=' + row.id).then(res => {
          if(res.code != 200){
            return
          }
                    this.row = row
                    this.row.thing = res.data
                    this.isShow = true
src/components/view/b2-standard.vue
@@ -577,32 +577,8 @@
        },
        methodList: [],
        productTableLoading0: false,
        filters0: [{
            text: '测试',
            value: 0,
          },
          {
            text: '测试1',
            value: 1,
          },
          {
            text: '测试2',
            value: 2,
          }
        ],
        filters1: [{
            text: '测试',
            value: 0,
          },
          {
            text: '测试1',
            value: 1,
          },
          {
            text: '测试2',
            value: 2,
          }
        ],
        filters0: [],
        filters1: [],
        pages: 1,
        inspectionItem: null,
        inspectionItemSubclass: null,
@@ -1347,7 +1323,7 @@
          }
        }
        this.$axios.post(this.$api.standardTree.upStandardProducts, {
          ids: this.moreSelects.map(a => a.id),
          ids: JSON.stringify(this.moreSelects.map(a => a.id)),
          standardProductList: this.moreInfo
        }, {
          headers: {
src/components/view/person-manage.vue
@@ -289,7 +289,7 @@
            font: '编辑',
            type: 'text',
            method: 'doDiy',
            field: ['createUserName', 'updateUserName', 'roleName', '角色=roleId', '密码=password',
            field: ['roleName', '角色=roleId', '密码=password',
            '姓名EN=nameEn','年龄=age','邮箱=email','单位=company','签名=pictureUrl','本人照=signatureUrl']
          }],
          tagField: {