liuchengxin
2022-01-24 1908a80cd8224860bb704486fa78a18cc9a06bf7
问题修改
16个文件已修改
79 ■■■■ 已修改文件
src/views/basics/manufacturer/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basics/school/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/demo/demo/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/demo/tree/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/device/batch/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/device/equipment/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/device/equipmentLog/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/device/peripheralUnit/index.vue 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/logininfor/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/operlog/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/config/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/notice/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/oss/config.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/oss/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/post/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/gen/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basics/manufacturer/index.vue
@@ -100,7 +100,7 @@
      <el-table-column label="厂商代码" align="center" prop="code" />
      <el-table-column label="联系方式" align="center" prop="phone" />
      <el-table-column label="邮箱" align="center" prop="mailbox" />
      <el-table-column label="联系地址" align="center" prop="contactAddress" />
      <el-table-column label="联系地址" align="center" prop="contactAddress" show-overflow-tooltip />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
@@ -139,7 +139,7 @@
        <el-form-item label="厂商代码" prop="code">
          <el-input v-model="form.code" placeholder="请输入厂商代码" />
        </el-form-item>
        <el-form-item label="联系方式" prop="phone">
        <el-form-item label="联系方式" prop="phoneNumber">
          <el-input v-model="form.phone" placeholder="请输入联系方式" />
        </el-form-item>
        <el-form-item label="邮箱" prop="mailbox">
@@ -322,7 +322,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除?').then(() => {
      this.$modal.confirm(`是否确认删除厂商代码为${row.code}的厂商?`).then(() => {
        this.loading = true;
        return delManufacturer(ids);
      }).then(() => {
src/views/basics/school/index.vue
@@ -313,6 +313,7 @@
  created() {
    this.getProvince().then(res => {
      this.provinceList = res
      this.provinceFormList = res
    })
    this.getList();
  },
@@ -385,6 +386,10 @@
      getSchool(id).then(response => {
        this.loading = false;
        this.form = response.data;
        listCity(this.form.provinceCode)
          .then(res => {
            this.cityFormList = res.data
          })
        this.open = true;
        this.title = "修改学校";
      });
@@ -417,7 +422,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除?').then(() => {
      this.$modal.confirm(`是否确认删除学校代码为${row.code}的学校?`).then(() => {
        this.loading = true;
        return delSchool(ids);
      }).then(() => {
@@ -452,7 +457,6 @@
    },
    // 查询条件省份改变
    provinceQueryChange(v) {
      this.queryParams.cityCode = undefined
      this.getCity(v).then(res => {
        this.cityList = res
      })
src/views/demo/demo/index.vue
@@ -388,7 +388,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除测试单表编号为"' + ids + '"的数据项?').then(() => {
      this.$modal.confirm('是否确认删除?').then(() => {
        this.loading = true;
        return delDemo(ids);
      }).then(() => {
src/views/demo/tree/index.vue
@@ -275,7 +275,7 @@
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      this.$modal.confirm('是否确认删除测试树表编号为"' + row.id + '"的数据项?').then(() => {
      this.$modal.confirm('是否确认删除?').then(() => {
        this.loading = true;
        return delTree(row.id);
      }).then(() => {
src/views/device/batch/index.vue
@@ -86,7 +86,7 @@
          <span>{{ parseTime(scope.row.arrivalDate, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="批次说明" align="center" prop="illustrate" />
      <el-table-column label="批次说明" align="center" prop="illustrate" show-overflow-tooltip />
      <el-table-column label="操作" fixed="right" width="120" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
@@ -302,7 +302,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除?').then(() => {
      this.$modal.confirm(`是否确认删除生产批次为"${row.batch}"的生产批次?`).then(() => {
        this.loading = true;
        return delBatch(ids);
      }).then(() => {
src/views/device/equipment/index.vue
@@ -496,7 +496,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删?').then(() => {
      this.$modal.confirm(`是否确认删序列号为${this.formatZero(row.serialNumber, 4)}的指控设备?`).then(() => {
        this.loading = true;
        return delEquipment(ids);
      }).then(() => {
src/views/device/equipmentLog/index.vue
@@ -200,7 +200,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除设备联机日志编号为"' + ids + '"的数据项?').then(() => {
      this.$modal.confirm('是否确认删除?').then(() => {
        this.loading = true;
        return delEquipmentLog(ids);
      }).then(() => {
src/views/device/peripheralUnit/index.vue
@@ -119,19 +119,19 @@
          <span>{{ scope.$index + (queryParams.pageNum - 1) * queryParams.pageSize + 1 }} </span>
        </template>
      </el-table-column>
      <el-table-column label="外设代码" align="center" prop="code"/>
      <el-table-column label="外设名称" align="center" prop="name"/>
      <el-table-column label="外设代码" width="80" align="center" prop="code"/>
      <el-table-column label="外设名称" align="center" prop="name" show-overflow-tooltip/>
      <el-table-column label="规格型号" align="center" prop="model"/>
      <el-table-column label="生产厂商" align="center" prop="manufacturer_dictText"/>
      <el-table-column label="厂商代码" align="center" prop="vendorCode_dictText"/>
      <el-table-column label="波特率" align="center" prop="baudRate">
      <el-table-column label="厂商代码" width="100" align="center" prop="vendorCode_dictText"/>
      <el-table-column label="波特率" width="100" align="center" prop="baudRate">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.DICT103" :value="scope.row.baudRate"/>
        </template>
      </el-table-column>
      <el-table-column label="读数指令" align="center" width="180" prop="readInstruction"/>
      <el-table-column label="回数长度" align="center" prop="loopLength"/>
      <el-table-column label="功能描述" align="center" min-width="180" show-overflow-tooltip prop="description"/>
      <el-table-column label="问询指令" align="center" width="180" prop="readInstruction"/>
      <el-table-column label="返回长度" width="80" align="center" prop="loopLength"/>
      <el-table-column label="功能描述" align="center" min-width="300" show-overflow-tooltip prop="description"/>
      <el-table-column label="操作" align="center" fixed="right" width="240" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
@@ -213,11 +213,11 @@
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="读数指令" prop="readInstruction">
          <el-input v-model="form.readInstruction" placeholder="请输入读数指令" :disabled="disabled"/>
        <el-form-item label="问询指令" prop="readInstruction">
          <el-input v-model="form.readInstruction" placeholder="请输入问询指令" :disabled="disabled"/>
        </el-form-item>
        <el-form-item label="回数长度" prop="loopLength">
          <el-input v-model="form.loopLength" placeholder="请输入回数长度" :disabled="disabled"/>
        <el-form-item label="返回长度" prop="loopLength">
          <el-input v-model="form.loopLength" placeholder="请输入返回长度" :disabled="disabled"/>
        </el-form-item>
        <el-form-item label="功能描述" prop="description">
          <el-input v-model="form.description" type="textarea" placeholder="请输入内容" :disabled="disabled"/>
@@ -271,10 +271,10 @@
        callback(new Error('最多输入32个字符'));
        return
      }
      if (!(/^[A-Za-z]+$/.test(value))) {
        callback(new Error('只能输入英文字符'));
        return
      }
      // if (!(/^[A-Za-z]+$/.test(value))) {
      //   callback(new Error('只能输入英文字符'));
      //   return
      // }
      callback();
    };
    return {
@@ -338,11 +338,11 @@
          {required: true, message: "波特率不能为空", trigger: "change"}
        ],
        readInstruction: [
          {required: true, message: "读数指令不能为空", trigger: "blur"},
          {required: true, message: "问询指令不能为空", trigger: "blur"},
          {max: 128, message: '最多输入128个字符', trigger: 'blur' }
        ],
        loopLength: [
          {required: true, message: "回数长度不能为空", trigger: "blur"}
          {required: true, message: "返回长度不能为空", trigger: "blur"}
        ],
        filePath: [
          {required: true, message: "附件不能为空", trigger: "blur"}
@@ -486,7 +486,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除?').then(() => {
      this.$modal.confirm(`是否确认删除外设代码为${row.code}的外设单元?`).then(() => {
        this.loading = true;
        return delPeripheralUnit(ids);
      }).then(() => {
src/views/monitor/logininfor/index.vue
@@ -195,7 +195,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const infoIds = row.infoId || this.ids;
      this.$modal.confirm('是否确认删除访问编号为"' + infoIds + '"的数据项?').then(function() {
      this.$modal.confirm('是否确认删除?').then(function() {
        return delLogininfor(infoIds);
      }).then(() => {
        this.getList();
src/views/monitor/operlog/index.vue
@@ -282,7 +282,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const operIds = row.operId || this.ids;
      this.$modal.confirm('是否确认删除日志编号为"' + operIds + '"的数据项?').then(function() {
      this.$modal.confirm('是否确认删除?').then(function() {
        return delOperlog(operIds);
      }).then(() => {
        this.getList();
src/views/system/config/index.vue
@@ -322,7 +322,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const configIds = row.configId || this.ids;
      this.$modal.confirm('是否确认删除参数编号为"' + configIds + '"的数据项?').then(function() {
      this.$modal.confirm('是否确认删除?').then(function() {
          return delConfig(configIds);
        }).then(() => {
          this.getList();
src/views/system/notice/index.vue
@@ -302,7 +302,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const noticeIds = row.noticeId || this.ids
      this.$modal.confirm('是否确认删除公告编号为"' + noticeIds + '"的数据项?').then(function() {
      this.$modal.confirm('是否确认删除?').then(function() {
        return delNotice(noticeIds);
      }).then(() => {
        this.getList();
src/views/system/oss/config.vue
@@ -372,7 +372,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const ossConfigIds = row.ossConfigId || this.ids;
      this.$modal.confirm('是否确认删除对象存储配置编号为"' + ossConfigIds + '"的数据项?').then(() => {
      this.$modal.confirm('是否确认删除?').then(() => {
        this.loading = true;
        return delOssConfig(ossConfigIds);
      }).then(() => {
src/views/system/oss/index.vue
@@ -329,7 +329,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const ossIds = row.ossId || this.ids;
      this.$modal.confirm('是否确认删除OSS对象存储编号为"' + ossIds + '"的数据项?').then(() => {
      this.$modal.confirm('是否确认删除?').then(() => {
        this.loading = true;
        return delOss(ossIds);
      }).then(() => {
src/views/system/post/index.vue
@@ -109,6 +109,7 @@
          <el-button
            size="mini"
            type="text"
            class="del-btn"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['system:post:remove']"
@@ -293,7 +294,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const postIds = row.postId || this.ids;
      this.$modal.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项?').then(function() {
      this.$modal.confirm('是否确认删除?').then(function() {
        return delPost(postIds);
      }).then(() => {
        this.getList();
src/views/tool/gen/index.vue
@@ -321,7 +321,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const tableIds = row.tableId || this.ids;
      this.$modal.confirm('是否确认删除表编号为"' + tableIds + '"的数据项?').then(function() {
      this.$modal.confirm('是否确认删除?').then(function() {
        return delTable(tableIds);
      }).then(() => {
        this.getList();