kun 19 1112 15:54
This commit is contained in:
@@ -8,23 +8,23 @@
|
|||||||
type="text"
|
type="text"
|
||||||
placeholder="请输入组织名称"
|
placeholder="请输入组织名称"
|
||||||
v-model.trim="searchVal"
|
v-model.trim="searchVal"
|
||||||
@keyup.enter="globalSearch()"
|
@keyup.enter="getData()"
|
||||||
/>
|
/>
|
||||||
<label @click="globalSearch()">搜索</label>
|
<label @click="getData()">搜索</label>
|
||||||
</div>
|
</div>
|
||||||
<!-- 分类搜索 -->
|
<!-- 分类搜索 -->
|
||||||
<div class="select-box">
|
<div class="select-box">
|
||||||
<select name="type" v-model="type_value" @change="scree()">
|
<select name="type" v-model="type_value" @change="scree()">
|
||||||
<option value="组织类型">组织类型</option>
|
<option value="组织类型">组织类型</option>
|
||||||
<template v-for="(type,index) in types">
|
<template v-for="(type, index) in types">
|
||||||
<option :key="index" :value="index">{{type}}</option>
|
<option :key="index" :value="index">{{ type }}</option>
|
||||||
</template>
|
</template>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select name="year" v-model="year_value" @change="scree()">
|
<select name="year" v-model="year_value" @change="scree()">
|
||||||
<option value="年检时间">年检时间</option>
|
<option value="年检时间">年检时间</option>
|
||||||
<template v-for="(year,index) in years">
|
<template v-for="(year, index) in years">
|
||||||
<option :key="index" :value="index">{{year}}</option>
|
<option :key="index" :value="index">{{ year }}</option>
|
||||||
</template>
|
</template>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
@@ -47,11 +47,12 @@
|
|||||||
<div class="box-table">
|
<div class="box-table">
|
||||||
<div class="caption">
|
<div class="caption">
|
||||||
<span
|
<span
|
||||||
v-for="(list,index) in text"
|
v-for="(list, index) in text"
|
||||||
:class="sub == index ? 'color' : ''"
|
:class="sub == index ? 'color' : ''"
|
||||||
:key="index"
|
:key="index"
|
||||||
@click="btn(index)"
|
@click="btn(index)"
|
||||||
>{{list}}</span>
|
>{{ list }}</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -65,34 +66,42 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<template v-if="searchValue.length == 0">
|
<template v-if="searchValue.length == 0">
|
||||||
<tr
|
<tr
|
||||||
v-for="(info,index) in conversion"
|
v-for="(info, index) in conversion"
|
||||||
:key="index"
|
:key="index"
|
||||||
:class="index % 2 == 0 ? 'bgcbz' : 'bgcz'"
|
:class="index % 2 == 0 ? 'bgcbz' : 'bgcz'"
|
||||||
class="tr"
|
class="tr"
|
||||||
>
|
>
|
||||||
<td>{{info.name}}</td>
|
<td>{{ info.name }}</td>
|
||||||
<td>{{info.unicode}}</td>
|
<td>{{ info.unicode }}</td>
|
||||||
<td>{{info.society_type}}</td>
|
<td>{{ info.society_type }}</td>
|
||||||
<td>{{info.legal_person}}</td>
|
<td>{{ info.legal_person }}</td>
|
||||||
<td>{{info.reg_time}}</td>
|
<td>{{ info.reg_time }}</td>
|
||||||
<td v-if="info.status == '白名单'" style="color:#2fd63f">信用良好</td>
|
<td v-if="info.status == '白名单'" style="color:#2fd63f">
|
||||||
<td v-if="info.status == '黑名单'" style="color:#e13232">活动异常</td>
|
信用良好
|
||||||
|
</td>
|
||||||
|
<td v-if="info.status == '黑名单'" style="color:#e13232">
|
||||||
|
活动异常
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="searchValue.length > 0">
|
<template v-if="searchValue.length > 0">
|
||||||
<tr
|
<tr
|
||||||
class="tr"
|
class="tr"
|
||||||
v-for="(info,index) in searchValue"
|
v-for="(info, index) in searchValue"
|
||||||
:key="index"
|
:key="index"
|
||||||
:class="index % 2 == 0 ? 'bgcbz' : 'bgcz'"
|
:class="index % 2 == 0 ? 'bgcbz' : 'bgcz'"
|
||||||
>
|
>
|
||||||
<td>{{info.name}}</td>
|
<td>{{ info.name }}</td>
|
||||||
<td>{{info.unicode}}</td>
|
<td>{{ info.unicode }}</td>
|
||||||
<td>{{info.society_type}}</td>
|
<td>{{ info.society_type }}</td>
|
||||||
<td>{{info.legal_person}}</td>
|
<td>{{ info.legal_person }}</td>
|
||||||
<td>{{info.reg_time}}</td>
|
<td>{{ info.reg_time }}</td>
|
||||||
<td v-if="info.status == '白名单'" style="color:#2fd63f">信用良好</td>
|
<td v-if="info.status == '白名单'" style="color:#2fd63f">
|
||||||
<td v-if="info.status == '黑名单'" style="color:#e13232">活动异常</td>
|
信用良好
|
||||||
|
</td>
|
||||||
|
<td v-if="info.status == '黑名单'" style="color:#e13232">
|
||||||
|
活动异常
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</template>
|
</template>
|
||||||
</table>
|
</table>
|
||||||
@@ -139,10 +148,10 @@ export default {
|
|||||||
searchValue: [],
|
searchValue: [],
|
||||||
record: [],
|
record: [],
|
||||||
types: [],
|
types: [],
|
||||||
years: '',
|
years: "",
|
||||||
year_status: '年检结果',
|
year_status: "年检结果",
|
||||||
type_value: '组织类型',
|
type_value: "组织类型",
|
||||||
year_value: '年检时间',
|
year_value: "年检时间",
|
||||||
bgData: [],
|
bgData: [],
|
||||||
arr1: [],
|
arr1: [],
|
||||||
arr0: [],
|
arr0: [],
|
||||||
@@ -150,7 +159,7 @@ export default {
|
|||||||
pageSize: 1,
|
pageSize: 1,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
totalCount: 1,
|
totalCount: 1,
|
||||||
status: ''
|
status: ""
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
@@ -162,19 +171,26 @@ export default {
|
|||||||
scree() {
|
scree() {
|
||||||
this.currentPage = 1;
|
this.currentPage = 1;
|
||||||
if (this.sub == 0) {
|
if (this.sub == 0) {
|
||||||
this.sub = ''
|
this.sub = "";
|
||||||
} else if (this.sub == 1) {
|
} else if (this.sub == 1) {
|
||||||
this.sub = 0
|
this.sub = 0;
|
||||||
} else {
|
} else {
|
||||||
this.sub = 1
|
this.sub = 1;
|
||||||
}
|
}
|
||||||
this.getData(this.type_value, this.years[this.year_value], this.year_status, this.sub, this.currentPage);
|
this.getData(
|
||||||
if (this.sub == '') {
|
this.searchVal,
|
||||||
this.sub = 0
|
this.type_value,
|
||||||
|
this.years[this.year_value],
|
||||||
|
this.year_status,
|
||||||
|
this.sub,
|
||||||
|
this.currentPage
|
||||||
|
);
|
||||||
|
if (this.sub == "") {
|
||||||
|
this.sub = 0;
|
||||||
} else if (this.sub == 0) {
|
} else if (this.sub == 0) {
|
||||||
this.sub = 1
|
this.sub = 1;
|
||||||
} else {
|
} else {
|
||||||
this.sub = 2
|
this.sub = 2;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 删除单条数据 */
|
/** 删除单条数据 */
|
||||||
@@ -193,95 +209,124 @@ export default {
|
|||||||
this.currentPage = 1;
|
this.currentPage = 1;
|
||||||
switch (this.sub) {
|
switch (this.sub) {
|
||||||
case 0:
|
case 0:
|
||||||
this.getData(this.type_value, this.years[this.year_value], this.year_status,this.status = '');
|
this.getData(
|
||||||
|
this.searchVal,
|
||||||
|
this.type_value,
|
||||||
|
this.years[this.year_value],
|
||||||
|
this.year_status,
|
||||||
|
(this.status = "")
|
||||||
|
);
|
||||||
break;
|
break;
|
||||||
case 1: this.getData(this.type_value, this.years[this.year_value], this.year_status, this.status = 0);
|
case 1:
|
||||||
|
this.getData(
|
||||||
|
this.searchVal,
|
||||||
|
this.type_value,
|
||||||
|
this.years[this.year_value],
|
||||||
|
this.year_status,
|
||||||
|
(this.status = 0)
|
||||||
|
);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
this.getData(this.type_value, this.years[this.year_value], this.year_status, this.status = 1);
|
this.getData(
|
||||||
|
this.searchVal,
|
||||||
|
this.type_value,
|
||||||
|
this.years[this.year_value],
|
||||||
|
this.year_status,
|
||||||
|
(this.status = 1)
|
||||||
|
);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 获取后台数据 */
|
/** 获取后台数据 */
|
||||||
getData(type = this.type_value, year = this.years[this.year_value], yearStatus = this.year_status, status = this.status, page = this.currentPage) {
|
getData(
|
||||||
|
name = this.searchVal,
|
||||||
|
type = this.type_value,
|
||||||
|
year = this.years[this.year_value],
|
||||||
|
yearStatus = this.year_status,
|
||||||
|
status = this.status,
|
||||||
|
page = this.currentPage
|
||||||
|
) {
|
||||||
if (type == "组织类型") {
|
if (type == "组织类型") {
|
||||||
type = ''
|
type = "";
|
||||||
// this.type_value = ''
|
// this.type_value = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
if (year == '年检时间') {
|
if (year == "年检时间") {
|
||||||
year = ''
|
year = "";
|
||||||
// this.years[this.year_value] = ''
|
// this.years[this.year_value] = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
if (yearStatus == '年检结果') {
|
if (yearStatus == "年检结果") {
|
||||||
yearStatus = ''
|
yearStatus = "";
|
||||||
// this.year_status = ''
|
// this.year_status = ''
|
||||||
}
|
}
|
||||||
let _this = this
|
let _this = this;
|
||||||
|
|
||||||
this.$http({
|
this.$http({
|
||||||
method: 'post',
|
method: "post",
|
||||||
url: 'v1/society/society',
|
url: "v1/society/society",
|
||||||
data: {
|
data: {
|
||||||
|
name: name,
|
||||||
type: type,
|
type: type,
|
||||||
year: year,
|
year: year,
|
||||||
yearStatus: yearStatus,
|
yearStatus: yearStatus,
|
||||||
status: status,
|
status: status,
|
||||||
page: page
|
page: page
|
||||||
}
|
}
|
||||||
}).then(res => {
|
|
||||||
if (res.data.data.code !== 200) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
// if (this.page == 1) {
|
|
||||||
if (res.data.data.data.info.length == 0) {
|
|
||||||
alert('您所查询的数据暂时没有!')
|
|
||||||
return;
|
|
||||||
} else {
|
|
||||||
_this.conversion = res.data.data.data.info
|
|
||||||
_this.totalCount = res.data.data.data.allPage
|
|
||||||
// console.log(_this.conversion);
|
|
||||||
}
|
|
||||||
_this.page++
|
|
||||||
})
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.data.data.code !== 200) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
// if (this.page == 1) {
|
||||||
|
if (res.data.data.data.info.length == 0) {
|
||||||
|
alert("您所查询的数据暂时没有!");
|
||||||
|
return;
|
||||||
|
} else {
|
||||||
|
_this.conversion = res.data.data.data.info;
|
||||||
|
_this.totalCount = res.data.data.data.allPage;
|
||||||
|
// console.log(_this.conversion);
|
||||||
|
}
|
||||||
|
_this.page++;
|
||||||
|
})
|
||||||
// eslint-disable-next-line handle-callback-err
|
// eslint-disable-next-line handle-callback-err
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
console.log(err)
|
console.log(err);
|
||||||
})
|
});
|
||||||
|
|
||||||
// console.log(this.type_value);
|
// console.log(this.type_value);
|
||||||
|
|
||||||
if (this.type_value === '') {
|
if (this.type_value === "") {
|
||||||
this.type_value = '组织类型'
|
this.type_value = "组织类型";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.years[this.year_value] === '') {
|
if (this.years[this.year_value] === "") {
|
||||||
this.year_value = '年检时间'
|
this.year_value = "年检时间";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.year_status === '') {
|
if (this.year_status === "") {
|
||||||
this.year_status = '年检结果'
|
this.year_status = "年检结果";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 获取类型 */
|
/** 获取类型 */
|
||||||
getDataG() {
|
getDataG() {
|
||||||
let _this = this
|
let _this = this;
|
||||||
this.$http({
|
this.$http({
|
||||||
method: 'get',
|
method: "get",
|
||||||
url: 'v1/society/get-type',
|
url: "v1/society/get-type",
|
||||||
params: {}
|
params: {}
|
||||||
}).then(res => {
|
|
||||||
if (res.data.code !== 200) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_this.types = res.data.data.type
|
|
||||||
_this.years = res.data.data.year
|
|
||||||
})
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.data.code !== 200) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
_this.types = res.data.data.type;
|
||||||
|
_this.years = res.data.data.year;
|
||||||
|
})
|
||||||
// eslint-disable-next-line handle-callback-err
|
// eslint-disable-next-line handle-callback-err
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
console.log(err)
|
console.log(err);
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
/** 本页搜索函数 */
|
/** 本页搜索函数 */
|
||||||
getSearchThisPage() {
|
getSearchThisPage() {
|
||||||
@@ -299,45 +344,45 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let searchData = this.$tool.setSearch(this.bgData, this.searchVal)
|
let searchData = this.$tool.setSearch(this.bgData, this.searchVal);
|
||||||
console.log(searchData, this.bgData, this.searchVal);
|
console.log(searchData, this.bgData, this.searchVal);
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
||||||
if (searchData) {
|
if (searchData) {
|
||||||
this.searchValue = searchData
|
this.searchValue = searchData;
|
||||||
this.searchVal = "";
|
this.searchVal = "";
|
||||||
} else {
|
} else {
|
||||||
this.$message('您搜索的内容暂无~')
|
this.$message("您搜索的内容暂无~");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 全局搜索 */
|
/** 全局搜索 */
|
||||||
globalSearch(name = this.searchVal, page = this.currentPage) {
|
globalSearch(name = this.searchVal, page = this.currentPage) {
|
||||||
this.$http({
|
this.$http({
|
||||||
method: 'post',
|
method: "post",
|
||||||
url: 'v1/society/society',
|
url: "v1/society/society",
|
||||||
data: {
|
data: {
|
||||||
name: name,
|
name: name,
|
||||||
page: page
|
page: page
|
||||||
}
|
}
|
||||||
}).then(res => {
|
|
||||||
if (res.data.data.code !== 200) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (res.data.data.data.info.length == 0) {
|
|
||||||
alert('您所查询的数据暂时没有!')
|
|
||||||
return;
|
|
||||||
} else {
|
|
||||||
this.searchValue = res.data.data.data.info
|
|
||||||
this.totalCount = res.data.data.data.allPage
|
|
||||||
// console.log(res);
|
|
||||||
}
|
|
||||||
this.page++
|
|
||||||
})
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.data.data.code !== 200) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (res.data.data.data.info.length == 0) {
|
||||||
|
alert("您所查询的数据暂时没有!");
|
||||||
|
return;
|
||||||
|
} else {
|
||||||
|
this.searchValue = res.data.data.data.info;
|
||||||
|
this.totalCount = res.data.data.data.allPage;
|
||||||
|
// console.log(res);
|
||||||
|
}
|
||||||
|
this.page++;
|
||||||
|
})
|
||||||
// eslint-disable-next-line handle-callback-err
|
// eslint-disable-next-line handle-callback-err
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
console.log(err)
|
console.log(err);
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
handleSizeChange(val) {
|
handleSizeChange(val) {
|
||||||
this.pageSize = val;
|
this.pageSize = val;
|
||||||
@@ -345,24 +390,20 @@ export default {
|
|||||||
},
|
},
|
||||||
handleCurrentChange(val) {
|
handleCurrentChange(val) {
|
||||||
this.currentPage = val;
|
this.currentPage = val;
|
||||||
if (this.searchValue.length > 0) {
|
this.getData();
|
||||||
this.globalSearch()
|
|
||||||
} else {
|
|
||||||
this.getData()
|
|
||||||
}
|
|
||||||
this.getPackData();
|
this.getPackData();
|
||||||
},
|
},
|
||||||
getPackData() { }
|
getPackData() {}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getDataG()
|
this.getDataG();
|
||||||
this.getData()
|
this.getData();
|
||||||
},
|
},
|
||||||
mounted() { }
|
mounted() {}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang='scss' scoped>
|
<style lang="scss" scoped>
|
||||||
.wrapper {
|
.wrapper {
|
||||||
min-width: 1280px;
|
min-width: 1280px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@@ -392,8 +433,8 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-icon.el-icon-arrow-left::before {
|
/deep/ .el-icon.el-icon-arrow-left::before {
|
||||||
content: '上一页';
|
content: "上一页";
|
||||||
font-family: 'MicrosoftYaHei';
|
font-family: "MicrosoftYaHei";
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
@@ -410,8 +451,8 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-icon.el-icon-arrow-right::before {
|
/deep/ .el-icon.el-icon-arrow-right::before {
|
||||||
content: '下一页';
|
content: "下一页";
|
||||||
font-family: 'MicrosoftYaHei';
|
font-family: "MicrosoftYaHei";
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
@@ -434,7 +475,7 @@ export default {
|
|||||||
counter-increment: items 1; /* 1 同样可以省略 */
|
counter-increment: items 1; /* 1 同样可以省略 */
|
||||||
&:before {
|
&:before {
|
||||||
content: counter(items);
|
content: counter(items);
|
||||||
font-family: 'MicrosoftYaHei';
|
font-family: "MicrosoftYaHei";
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
@@ -453,7 +494,7 @@ export default {
|
|||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
font-family: 'MicrosoftYaHei';
|
font-family: "MicrosoftYaHei";
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
@@ -503,7 +544,7 @@ export default {
|
|||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
font-family: 'MicrosoftYaHei';
|
font-family: "MicrosoftYaHei";
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
@@ -556,7 +597,7 @@ export default {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-family: 'MicrosoftYaHei';
|
font-family: "MicrosoftYaHei";
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
@@ -580,7 +621,7 @@ export default {
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: '';
|
content: "";
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
background-image: linear-gradient(#e60012, #e60012),
|
background-image: linear-gradient(#e60012, #e60012),
|
||||||
@@ -604,7 +645,7 @@ export default {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: solid 1px #c7c7c7;
|
border: solid 1px #c7c7c7;
|
||||||
padding: 10px 24px;
|
padding: 10px 24px;
|
||||||
font-family: 'MicrosoftYaHei';
|
font-family: "MicrosoftYaHei";
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
@@ -631,7 +672,7 @@ export default {
|
|||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
/* 右侧添加小箭头的背景图 */
|
/* 右侧添加小箭头的背景图 */
|
||||||
background: url('../../static/img/xa.png') 90% center no-repeat;
|
background: url("../../static/img/xa.png") 90% center no-repeat;
|
||||||
background-size: 14px 8px;
|
background-size: 14px 8px;
|
||||||
// width: 170px;
|
// width: 170px;
|
||||||
padding: 0 30px;
|
padding: 0 30px;
|
||||||
@@ -645,7 +686,7 @@ export default {
|
|||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
/* 右侧添加小箭头的背景图 */
|
/* 右侧添加小箭头的背景图 */
|
||||||
background: url('../../static/img/xa.png') 126px center no-repeat;
|
background: url("../../static/img/xa.png") 126px center no-repeat;
|
||||||
background-size: 14px 8px;
|
background-size: 14px 8px;
|
||||||
width: 170px;
|
width: 170px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
@@ -670,7 +711,7 @@ export default {
|
|||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
font-family: 'MicrosoftYaHei';
|
font-family: "MicrosoftYaHei";
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
@@ -688,7 +729,7 @@ export default {
|
|||||||
width: 96px;
|
width: 96px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
background-color: #e60012;
|
background-color: #e60012;
|
||||||
font-family: 'MicrosoftYaHei';
|
font-family: "MicrosoftYaHei";
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-stretch: normal;
|
font-stretch: normal;
|
||||||
|
|||||||
@@ -998,12 +998,12 @@ export default {
|
|||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
if (res.data.data.status === 0) {
|
if (res.data.data.status === 0) {
|
||||||
alert("您当前的社会状态为:黑名单!");
|
alert("您当前社会组织状态为:活动异常,请与主管单位联系审核!");
|
||||||
_this.$router.push({
|
_this.$router.push({
|
||||||
name: "project"
|
name: "project"
|
||||||
});
|
});
|
||||||
} else if (res.data.data.status === 3) {
|
} else if (res.data.data.status === 3) {
|
||||||
alert("您当前的社会状态为:待审核!");
|
alert("您当前社会组织状态为:活动异常,请与主管单位联系审核!");
|
||||||
_this.$router.push({
|
_this.$router.push({
|
||||||
name: "project"
|
name: "project"
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user