jinlin
2023-11-06 6e912707b2c73bb183563f197b92b08ac19790ff
web/src/views/modules/olderForm/SoftwareTestingOrderForm.vue
@@ -58,7 +58,7 @@
          </el-form-item>
          <!-- 联系人 -->
          <el-form-item label="软件标识" style="width: 49%">
            <el-input v-model="form.identification" placeholder="请输入软件标识"></el-input>
            <el-input v-model="form.identity" placeholder="请输入软件标识"></el-input>
          </el-form-item>
          <!-- 详细地址 -->
          <el-form-item label="密级" style="width: 49%">
@@ -76,32 +76,11 @@
            </el-radio-group>
          </el-form-item>
          <el-form-item label="运行环境" style="width: 49%">
            <el-input v-model="form.runtimeEnvironment" placeholder="请输入运行环境"></el-input>
            <el-input v-model="form.optEnviron" placeholder="请输入运行环境"></el-input>
          </el-form-item>
          <el-form-item label="编程语言" style="width: 49%">
            <el-input v-model="form.programmingLanguage" placeholder="请输入编程语言"></el-input>
            <el-input v-model="form.programlang" placeholder="请输入编程语言"></el-input>
          </el-form-item>
          <div class="el-flex">
            <div class="DWidth DAlign DHold">
              被测件及其他相关物品清单
            </div>
            <div style="width: calc(100% - 120px)">
              <el-table class="el-software" height="230" border :data="form.tableData"
                        stripe>
                <el-table-column prop="code" align="center" width="80" label="序号"></el-table-column>
                <el-table-column prop="name" min-width="300" label="名称"></el-table-column>
                <el-table-column prop="identification" align="center" width="180" label="标识/版本"></el-table-column>
                <el-table-column label="是否被测件" width="180" align="center">
                  <template slot-scope="scope">
                    <el-radio-group v-model="scope.row.isTested">
                      <el-radio :label="1">是</el-radio>
                      <el-radio :label="0">否</el-radio>
                    </el-radio-group>
                  </template>
                </el-table-column>
              </el-table>
            </div>
          </div>
          <div class="el-flex" style="height: 40px;">
            <div class="DWidth DAlign DHold">
              软件类型
@@ -123,19 +102,19 @@
        <div class="DOldForm">
          <!-- 单位名称 -->
          <el-form-item label="项目负责人" style="width: 99%">
            <el-input v-model="form.delegateUnitName" placeholder="请输入单位名称"></el-input>
            <el-input v-model="form.projectLeader" placeholder="请输入单位名称"></el-input>
          </el-form-item>
          <!-- 联系人 -->
          <el-form-item label="项目测试人员" style="width: 99%">
            <el-input v-model="form.delegateUnitContactPerson" placeholder="请输入联系人"></el-input>
            <el-input v-model="form.projectTesters" placeholder="请输入联系人"></el-input>
          </el-form-item>
          <!-- 详细地址 -->
          <el-form-item label="项目审核人" style="width: 99%">
            <el-input v-model="form.delegateUnitAddress" placeholder="请输入详细地址"></el-input>
            <el-input v-model="form.projectReviewer" placeholder="请输入详细地址"></el-input>
          </el-form-item>
          <!-- 联系方式 -->
          <el-form-item label="是否签署合同" style="width: 99%">
            <el-input v-model="form.delegateUnitContact" placeholder="请输入联系方式"></el-input>
            <el-input v-model="form.isContract" placeholder="请输入联系方式"></el-input>
          </el-form-item>
        </div>
      </div>
@@ -158,37 +137,33 @@
          developmentAddress: '',
          developmentContact: '',
          softwareName: '',
          identification: '',
          identity: '',
          secretClass: '',
          criticalLevel: 0,
          runtimeEnvironment: '',
          programmingLanguage: '',
          checkList: [1, 0],
          tableData: [
            {code: 1, name: '小鹌鹑', identification: '3/121', isTested: 1},
            {code: 2, name: '小鹌鹑', identification: '3/122', isTested: 0},
            {code: 3, name: '小鹌鹑', identification: '3/111', isTested: 0},
            {code: 4, name: '小鹌鹑', identification: '36/121', isTested: 1},
            {code: 5, name: '小鹌鹑', identification: '3/121a', isTested: 0},
            {code: 6, name: '小鹌鹑', identification: '3c/121', isTested: 0},
            {code: 7, name: '小鹌鹑', identification: '3ac/12ac1', isTested: 0},
            {code: 8, name: '小鹌鹑', identification: '3aca/ac121', isTested: 1},
            {code: 9, name: '小鹌鹑', identification: '3ww/ca121', isTested: 1},
            {code: 10, name: '小鹌鹑', identification: '3aw/12wd1', isTested: 1},
            {code: 1, name: '小鹌鹑', identification: '3/121', isTested: 1},
            {code: 2, name: '小鹌鹑', identification: '3/122', isTested: 0},
            {code: 3, name: '小鹌鹑', identification: '3/111', isTested: 0},
            {code: 4, name: '小鹌鹑', identification: '36/121', isTested: 1},
            {code: 5, name: '小鹌鹑', identification: '3/121a', isTested: 1},
            {code: 6, name: '小鹌鹑', identification: '3c/121', isTested: 0},
            {code: 7, name: '小鹌鹑', identification: '3ac/12ac1', isTested: 0},
            {code: 8, name: '小鹌鹑', identification: '3aca/ac121', isTested: 1},
            {code: 9, name: '小鹌鹑', identification: '3ww/ca121', isTested: 1},
            {code: 10, name: '小鹌鹑', identification: '3aw/12wd1', isTested: 1}
          ],
          optEnviron: '',
          programlang: '',
          softwareType: [1, 0],
          id: '',
          code: '',
          projectLeader: '',
          projectTesters: '',
          projectReviewer: '',
          isContract: ''
        },
      }
    },
    methods: {
      // 获取信息
      async getInfo() {
        let res = await this.$http.get(`/modules/check/`)
        console.log(res.data);
        console.log(res);
      /*  this.dataForm = {
          ...this.dataForm,
          ...res.data
        }*/
      },
    }
  }
</script>