wzp
2025-05-04 938d93722b6ebaf8953e1e17307ef7739affc3d0
ruoyi-ui/src/views/system/clientApp/index.vue
@@ -102,6 +102,8 @@
          <dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/>
        </template>
      </el-table-column>
      <el-table-column label="民航分公司Id" align="center" prop="minAppId" />
      <el-table-column label="回调地址" align="center" prop="callbackUrl" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
@@ -121,7 +123,7 @@
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total>0"
      :total="total"
@@ -161,6 +163,12 @@
              :label="dict.value"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="民航分公司Id" prop="minAppId">
          <el-input v-model="form.minAppId" placeholder="请输入民航分公司Id" />
        </el-form-item>
        <el-form-item label="回调地址" prop="callbackUrl">
          <el-input v-model="form.callbackUrl" placeholder="请输入回调地址" />
        </el-form-item>
        <el-form-item label="备注" prop="remark">
          <el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
@@ -309,6 +317,14 @@
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          // 处理日期格式
          if (this.form.validStartTime) {
            this.form.validStartTime = this.parseTime(this.form.validStartTime, '{y}-{m}-{d} {h}:{i}:{s}');
          }
          if (this.form.validEndTime) {
            this.form.validEndTime = this.parseTime(this.form.validEndTime, '{y}-{m}-{d} {h}:{i}:{s}');
          }
          if (this.form.appId != null) {
            updateClientApp(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
@@ -353,4 +369,4 @@
    }
  }
};
</script>
</script>