|
@@ -8,15 +8,23 @@
|
|
|
<div class="communal-box" style="margin-top: 10px;">
|
|
|
<el-autocomplete style="margin-right: 15px;" class="inline-input" v-model="Country" :fetch-suggestions="querySearchCountry"
|
|
|
placeholder="请输入国家" clearable></el-autocomplete>
|
|
|
- <el-autocomplete style="margin-right: 15px;" class="inline-input" v-model="UnitName" :fetch-suggestions="querySearchUnitName"
|
|
|
+ <el-autocomplete style="margin-right: 10px;" class="inline-input" v-model="UnitName" :fetch-suggestions="querySearchUnitName"
|
|
|
placeholder="请输入邀请方" clearable></el-autocomplete>
|
|
|
- <el-autocomplete style="margin-right: 15px;" class="inline-input" v-model="Contact" :fetch-suggestions="querySearchContact"
|
|
|
+ <el-autocomplete style="margin-right: 10px;" class="inline-input" v-model="Contact" :fetch-suggestions="querySearchContact"
|
|
|
placeholder="联系人" clearable></el-autocomplete>
|
|
|
<el-select v-model="Delegation" clearable filterable placeholder="团组名称" style="width: 20%;margin-right: 15px;">
|
|
|
- <el-option v-for="item in restaurantDelegation" :key="item.id" :label="item.teamName"
|
|
|
- :value="item.id">
|
|
|
+ <el-option v-for="(items,index) in restaurantDelegation" :key="index" :label="items.teamName"
|
|
|
+ :value="items.id">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
+ <el-select style="margin-right: 10px;width:218px;" v-model="CreateUserId" placeholder="录入者" filterable clearable>
|
|
|
+ <el-option v-for="item in CreateUserList" :key="item.id" :label="item.cnName" :value="item.id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ <el-date-picker style="width:448px;margin-right: 10px;" v-model="InviteTime" type="daterange" align="right" unlink-panels format="yyyy-MM-dd"
|
|
|
+ value-format="yyyy-MM-dd" range-separator="至" start-placeholder="邀请开始日期" end-placeholder="邀请结束日期"
|
|
|
+ :picker-options="pickerOptions">
|
|
|
+ </el-date-picker>
|
|
|
<el-autocomplete class="inline-input" v-model="Field" :fetch-suggestions="querySearchField"
|
|
|
placeholder="领域" clearable></el-autocomplete>
|
|
|
<el-button type="primary" @click="QueryData" style="margin-left: 10px;">查询</el-button>
|
|
@@ -27,15 +35,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="communal-box" style="margin-top: 10px;">
|
|
|
- <el-select style="margin-right: 15px;width:218px;" v-model="CreateUserId" placeholder="录入者" filterable clearable>
|
|
|
- <el-option v-for="item in CreateUserList" :key="item.id" :label="item.cnName" :value="item.id">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- <el-date-picker style="width:448px;" v-model="InviteTime" type="daterange" align="right" unlink-panels format="yyyy-MM-dd"
|
|
|
- value-format="yyyy-MM-dd" range-separator="至" start-placeholder="邀请开始日期" end-placeholder="邀请结束日期"
|
|
|
- :picker-options="pickerOptions">
|
|
|
- </el-date-picker>
|
|
|
- <el-button type="primary" @click="QueryCount" style="margin-left: 10px;">查询录入数量</el-button>
|
|
|
+ <!-- <el-button type="primary" @click="QueryCount" style="margin-left: 10px;">查询录入数量</el-button> -->
|
|
|
<!-- <div style="display: flex;align-items: center;justify-content: center">
|
|
|
查询结果:该人员在以上条件共录入<span style="color: red;">{{ dataCount }}</span>条数据
|
|
|
</div> -->
|
|
@@ -240,6 +240,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
QueryData() {
|
|
|
+ this.currentPage = 1;
|
|
|
this.QueryInvitationOfficialActivityData()
|
|
|
},
|
|
|
//基础数据
|
|
@@ -397,53 +398,7 @@ export default {
|
|
|
that.$message.error("网络错误,请稍后重试");
|
|
|
});
|
|
|
},
|
|
|
- //录入者数据
|
|
|
- GetUserNameList() {
|
|
|
- var url = "/api/System/GetUserNameList"
|
|
|
- var that = this
|
|
|
- this.$axios({
|
|
|
- method: 'post',
|
|
|
- url: url,
|
|
|
- headers: {
|
|
|
- Authorization: 'Bearer ' + this.token
|
|
|
- },
|
|
|
- data: {
|
|
|
- PortType: 1
|
|
|
- }
|
|
|
- }).then(function (res) {
|
|
|
- if (res.data.code == 200) {
|
|
|
- that.CreateUserList = res.data.data;
|
|
|
-
|
|
|
- }
|
|
|
- }).catch(function (error) {
|
|
|
- that.$message.error("网络错误,请稍后重试");
|
|
|
- });
|
|
|
- },
|
|
|
- //团组数据
|
|
|
- GetGroupNameList() {
|
|
|
-
|
|
|
- var url = "api/Business/GetGroupNameList"
|
|
|
- var that = this
|
|
|
- this.$axios({
|
|
|
- method: 'post',
|
|
|
- url: url,
|
|
|
- headers: {
|
|
|
- Authorization: 'Bearer ' + this.token
|
|
|
- },
|
|
|
- data: {
|
|
|
- PortType: 1
|
|
|
- }
|
|
|
- }).then(function (res) {
|
|
|
- console.log(res)
|
|
|
- if (res.data.code == 200) {
|
|
|
- that.restaurantDelegation = res.data.data;
|
|
|
-
|
|
|
- }
|
|
|
- }).catch(function (error) {
|
|
|
- that.loading = false
|
|
|
- that.$message.error("网络错误,请稍后重试");
|
|
|
- });
|
|
|
- },
|
|
|
+
|
|
|
del(index, row) {
|
|
|
this.$confirm('此操作将删除该数据, 是否继续?', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
@@ -499,9 +454,6 @@ export default {
|
|
|
this.token = JSON.parse(localStorage.getItem('userinif')).token;
|
|
|
this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId
|
|
|
this.QueryInvitationOfficialActivityData();
|
|
|
- this.GetUserNameList();
|
|
|
- this.GetGroupNameList();
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
@@ -512,6 +464,7 @@ export default {
|
|
|
box-shadow: 0 0 5px #0005;
|
|
|
border-radius: 10px;
|
|
|
min-height: 830px;
|
|
|
+ text-align: right;
|
|
|
}
|
|
|
.communal-list .block{
|
|
|
margin-top: 15px;
|