feige
2024-11-23 2d881714a7b35ec6208946a06243c9db6690aff7
修改性别
5个文件已修改
104 ■■■■ 已修改文件
ruoyi-ui/src/views/login.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/self/memo.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/system/user/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/travel/index.vue 73 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/login.vue
@@ -193,13 +193,13 @@
            </el-form-item>
            <el-form-item style="width:100%;">
              <el-button
                :loading="loading"
                :loading="loadingr"
                size="medium"
                type="primary"
                style="width:100%;"
                @click.native.prevent="handleRegister"
              >
                <span v-if="!loading">注 册</span>
                <span v-if="!loadingr">注 册</span>
                <span v-else>注 册 中...</span>
              </el-button>
@@ -263,6 +263,7 @@
        code: [{ required: true, trigger: "change", message: "请输入验证码" }]
      },
      loading: false,
      loadingr: false,
      // 验证码开关
      captchaEnabled: true,
      // 注册开关
@@ -314,7 +315,7 @@
          //alert(this.registerForm.nickname)
        this.$refs.registerForm.validate(valid => {
          if (valid) {
            this.loading = true;
            this.loadingr = false;
            //alert(this.registerForm.nickname)
            register(this.registerForm).then(res => {
              const nickName = this.registerForm.nickname;
@@ -323,10 +324,12 @@
                type: 'success'
              }).then(() => {
                  this.openRegister = false;
                  this.resetForm("registerForm");
             //   this.$router.push("/login");
              }).catch(() => {});
            }).catch(() => {
              this.loading = false;
              this.loadingr = true;
              if (this.captchaEnabled) {
                this.getCode();
              }
ruoyi-ui/src/views/self/memo.vue
@@ -77,12 +77,12 @@
<!--                  <el-input v-model="individualList.sex === 1 ? '男':'女' " placeholder="" clearable :style="{width: '100%'}" :disabled="dsb">-->
<!--                  </el-input>-->
                  <template v-if="!isEditing">
                    <el-input v-model="individualList.sex === 1 ? inds='男':inds='女'" placeholder="" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
                    <el-input v-model="individualList.sex === 0 ? inds='男':inds='女'" placeholder="" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
                  </template>
                  <template v-else>
                    <el-select v-model="inds" placeholder="请选择性别" clearable :style="{width: '100%'}" :disabled="dsb">
                      <el-option label="男" value='1'></el-option>
                      <el-option label="女" value='0'></el-option>
                      <el-option label="男" value='0'></el-option>
                      <el-option label="女" value='1'></el-option>
                    </el-select>
                  </template>
                </el-form-item>
@@ -1159,16 +1159,19 @@
      }, `self_${new Date().getTime()}.xlsx`)
    },  //个人基本信息
    submitForm() {
      if(this.inds=='1')
        this.individualList.sex = 1;
      else
        this.individualList.sex = 0;
      if(this.mrs=='0')
        this.individualList.maritalStatus = 0
      else if(this.mrs == '1')
        this.individualList.maritalStatus = 1
      else
        this.individualList.maritalStatus = 2
    //alert(123)
       // alert(10)
    //   let ul = this.fileList.map(function (elem){
    //     return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
@@ -1184,7 +1187,8 @@
            updateIndividual(this.individualList).then(response => {
              this.$modal.msgSuccess("修改成功");
              // 强制更新相关组件
              this.individualList={...this.individualList}
            //  this.individualList={...this.individualList}
              // this.open = false;
              this.dsb = true
@@ -1192,7 +1196,7 @@
              this.isShow_2=false
              this.isShow=true
              this.isEditing = false
            });
            })
          } else {
            this.$modal.msgSuccess("修改失败");
ruoyi-ui/src/views/system/user/index.vue
@@ -815,7 +815,7 @@
      this.dateRange = [];
      this.resetForm("queryForm");
      this.queryParams.deptId = undefined;
      this.$refs.tree.setCurrentKey(null);
    //  this.$refs.tree.setCurrentKey(null);
      this.handleQuery();
    },
    // 多选框选中数据
@@ -845,7 +845,7 @@
        this.postOptions = response.posts;
        // this.roleOptions = response.roles;
          this.roleOptions= []
        this.roleOptions.push(response.roles[1])
      //  this.roleOptions.push(response.roles[1])
          this.roleOptions.push(response.roles[3])
          console.log(this.roleOptions,'roleOptionsroleOptionsroleOptions')
          console.log("0-009888")
ruoyi-ui/src/views/travel/index.vue
@@ -580,78 +580,7 @@
      <el-table v-loading="loading2" border :data="shareList1" :row-key="getRowId2" ref="multipleTable"  @selection-change="handleSelectionChange2"  :row-class-name="tableRowClassName" style="background: #FFEFF2;  border-radius: 14px 14px 14px 14px;">
            <el-table-column type="expand" :cell-class-name="expandRowClassName">
                    <template slot-scope="props">
                      <div  >
                        <el-table  :header-row-class-name="tableHeaderRowClassName"  v-loading="loading" :data="travelBase[props.row.id]"  style="background: #FFEFF2;  border-radius: 14px 14px 14px 14px;" :row-class-name="tableRowClassName1" >
                          <el-table-column  label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="50px"/>
                          <el-table-column label="时间" prop="happenDate" sortable width="100" align="center" >
                            <template slot-scope="scope">{{scope.row.happenDate? scope.row.happenDate: '————'}}</template>
                          </el-table-column>
                          <el-table-column label="地点" prop="address" sortable width="100" />
                          <el-table-column label="建筑" prop="scenic" sortable width="100" />
                          <!-- <el-table-column label="旅期" prop="travelPeriod" sortable width="100" /> -->
                          <el-table-column label="使用证件" prop="document" sortable width="100" />
                          <el-table-column label="车次/航班" prop="flight" sortable width="120px" />
                          <el-table-column label="餐费" prop="eat" sortable width="70px" />
                          <el-table-column label="住宿费" prop="stay" sortable width="100px" />
                          <el-table-column label="交通" prop="travel" sortable width="70px" />
                          <el-table-column label="门票" prop="entrance" sortable width="70px" />
                         <el-table-column label="其它费用" prop="otherCost" sortable width="120px" />
                         <el-table-column label="备注" prop="backInfo" sortable width="120px" />
                          <el-table-column label="电子文件" prop="url" width="160" >
                            <template slot-scope="scope" >
                              <img
                                class="el-upload-list__item-thumbnail"
                                src="../../assets/images/deviceLis.png"
                                alt=""
                                style="width: 35px; height: 35px;"
                                fit="cover"
                                v-if="!(scope.row.url === '' || scope.row.url === ',' || scope.row.url === null)"
                              >
                              <img
                                v-else
                                class="el-upload-list__item-thumbnail"
                                src="../../assets/images/deviceA.png"
                                alt=""
                                style="width: 35px; height: 35px;"
                                fit="cover"
                              >
                            </template>
                          </el-table-column>
            <!--              <el-table-column label="备注" prop="remark" sortable width="100" />-->
                          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" v-if="userId != 2">
                            <template slot-scope="scope" v-if="scope.row.roleId !== 1">
<!--                              <el-button
                                size="mini"
                                type="text"
                                icon="el-icon-edit"
                                @click="handleUpdate1(scope.row)"
                                v-hasPermi="['familymodel:economy:info']"
                              >修改</el-button>
                              <el-button
                                size="mini"
                                type="text"
                                icon="el-icon-delete"
                                @click="handleDelete1(scope.row)"
                                v-hasPermi="['system:role:remove']"
                              >删除</el-button> -->
                              <el-button size="mini" type="text" icon="el-icon-d-arrow-right"  @click="handleCheck1(scope.row)">查看详情</el-button>
                            </template>
                          </el-table-column>
                        </el-table>
                      </div>
                    </template>
                  </el-table-column>
                  <!-- <el-table-column type="selection" width="55"  align="center" /> -->
                  <el-table-column fixed label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="60px"/>
                  <el-table-column label="起" prop="startTime" sortable width="100" align="center">
ruoyi-ui/vue.config.js
@@ -37,7 +37,7 @@
      // detail: https://cli.vuewww.bendudu.comjs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
    //  target: `https://10.39.18.174:8080/`,
    // target: `https://192.168.1.3:8080/`,
    // target: `https://192.168.1.7:8080/`,
      target: 'https://www.bendudu.com:8080/',
        changeOrigin: true,
        pathRewrite: {