kongdeqiang
2024-10-28 1b2917db364f20dadbd04860f08af4f3d1af659c
feat: 白名单新增创建人
1个文件已修改
8 ■■■■■ 已修改文件
src/components/page/whiteList/index.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/page/whiteList/index.vue
@@ -37,6 +37,7 @@
            <el-table-column prop="startTime" label="月票开始日期" align="center"></el-table-column>
            <el-table-column prop="endTime" label="月票结束日期" align="center"></el-table-column>
            <el-table-column prop="name" label="停车场" align="center"></el-table-column>
            <el-table-column prop="createBy" label="操作人" align="center"></el-table-column>
            <el-table-column label="操作" fixed="right" width="150" align="center">
                <template slot-scope="scope">
                    <el-button size="mini" @click="onEdit(scope.row)">编辑</el-button>
@@ -98,14 +99,20 @@
                    startTime: '',
                    parkIds: null,
                    name: '',
                    createBy:'',
                    updateBy:''
                },
                ids:[],
                urlPath:this.$systemconfig.basePath + '/ffzf/whiteList/',
                table1:[],
                userName:'',
              tableHeight:500,
            }
        },
        mounted() {
          let username = localStorage.getItem('name')
          this.formData.createBy = username
          this.userName = username
            this.loadData();
            this.$byutil.postData(this, this.$systemconfig.basePath+'/ffzf/park/findAll', this.formData, res => {
                this.table1 = res.data;
@@ -158,6 +165,7 @@
                this.flag=true;
                this.ids = []
                this.formData  = row;
                this.formData.updateBy = this.userName
                if(row.type==1){
                  this.ids = this.formData.parkIds.split(",")
                  this.ids = this.ids.map(function(data){