| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <div class="app-container" style="opacity: 1;"> |
| | | |
| | | <el-backtop :bottom="150" :right="30"> |
| | | <el-button type="primary" circle class="el-icon-top"></el-button> |
| | |
| | | </h1> |
| | | |
| | | <hr> |
| | | |
| | | <!-- <el-form :model="queryParams1"> |
| | | <el-row> |
| | | <el-form-item label="" prop="people"> |
| | | <el-input v-model="queryParams1.people" placeholder="请输入搜索内容" clearable style="width: 200px; |
| | | height: 35px; |
| | | text-align: left; |
| | | border-radius: 16px 16px 16px 16px; |
| | | opacity: 0.5;" @keyup.enter.native="handleQuery"> |
| | | <i slot="prefix" class="el-input__icon el-icon-search"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-row> |
| | | </el-form> --> |
| | | |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"> |
| | | |
| | |
| | | </el-row> |
| | | |
| | | |
| | | <el-table v-loading="loading" :data="meetingList" :row-key="getRowId" ref="multipleTable" |
| | | <el-table v-loading="loading" border :data="meetingList" :row-key="getRowId" ref="multipleTable" |
| | | @selection-change="handleSelectionChange" :row-class-name="tableRowClassName"> |
| | | <el-table-column type="selection" :reserve-selection="true" width="55" align="center" /> |
| | | |
| | |
| | | </el-table-column> |
| | | |
| | | <el-table-column label="状态" prop="statu" sortable align="center"> |
| | | <template slot-scope="scope">{{scope.row.statu===1? '同意': '拒绝'}}</template> |
| | | <template slot-scope="scope">{{scope.row.statu===1? '同意': (scope.row.statu ===0 ? '拒绝' : '待审批')}}</template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width"> |
| | |
| | | <el-input v-model="formDat.applyApart" placeholder="请输入申请家庭或部门" clearable :style="{width: '100%'}"> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="是否拜访水牌" prop="isPlacebrand"> |
| | | <el-form-item label="是否摆放水牌" prop="isPlacebrand"> |
| | | <el-select v-model="formDat.isPlacebrand" placeholder="请选择" clearable :style="{width: '100%'}"> |
| | | <el-option v-for="(item, index) in typeOptions" :key="index" :label="item.label" :value="item.value" |
| | | ></el-option> |
| | |
| | | <el-input v-model="formDat.connPhone" placeholder="请输入联系电话" clearable :style="{width: '100%'}"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="状态" prop="statu"> |
| | | <el-select v-model="formDat.statu" placeholder="请选择" clearable :style="{width: '100%'}"> |
| | | <!-- <el-select v-model="formDat.statu" placeholder="请选择" clearable :style="{width: '100%'}"> |
| | | <el-option v-for="(item, index) in typeOptions2" :key="index" :label="item.label" :value="item.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-select> --> |
| | | <el-input placeholder="待审批" :disabled='true'></el-input> |
| | | </el-form-item> |
| | | |
| | | </el-form> |
| | |
| | | }], |
| | | isPlacebrand: [{ |
| | | required: true, |
| | | message: '请选择是否拜访水牌', |
| | | trigger: 'blur' |
| | | message: '请选择是否摆放水牌', |
| | | trigger: 'change' |
| | | }], |
| | | connPerson: [{ |
| | | required: true, |
| | |
| | | message: '请输入联系电话', |
| | | trigger: 'blur' |
| | | }], |
| | | statu: [{ |
| | | required: true, |
| | | message: '请选择状态', |
| | | trigger: 'blur' |
| | | }], |
| | | // statu: [{ |
| | | // // required: true, |
| | | // message: '请选择状态', |
| | | // trigger: 'blur' |
| | | // }], |
| | | |
| | | }, |
| | | typeOptions: [ |
| | |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | }, |
| | | reset() { |
| | | if (this.$refs.menu != undefined) { |
| | | this.$refs.menu.setCheckedKeys([]); |
| | | } |
| | | this.menuExpand = false, |
| | | this.menuNodeAll = false, |
| | | this.deptExpand = true, |
| | | this.deptNodeAll = false, |
| | | this.form = { |
| | | roleId: undefined, |
| | | roleName: undefined, |
| | | roleKey: undefined, |
| | | roleSort: 0, |
| | | status: "0", |
| | | menuIds: [], |
| | | deptIds: [], |
| | | menuCheckStrictly: true, |
| | | deptCheckStrictly: true, |
| | | remark: undefined |
| | | }; |
| | | this.resetForm("elForm"); |
| | | }, |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.dateRange = []; |
| | |
| | | |
| | | |
| | | newRequest(){ |
| | | this.reset(); |
| | | this.open = true; |
| | | this.title = "新申请" |
| | | }, |
| | | cancel() { |
| | | this.open = false; |
| | | // this.reset(); |
| | | this.reset(); |
| | | }, |
| | | submitDataScope: function() { |
| | | this.$refs["elForm"].validate(valid => { |
| | | // alert(valid) |
| | | if (valid) { |
| | | // console.log(this.formDat,'formDat') |
| | | this.formDat.statu = 3 |
| | | addMeeting(this.formDat).then(response => { |
| | | this.$modal.msgSuccess("新增成功"); |
| | | this.open = false; |