Browse Source

更新

master
ltlzx 5 years ago
parent
commit
fa4c376f64
  1. 2
      src/api/index.js
  2. 2
      src/assets/css/sidebar.css
  3. 7
      src/components/common/dialog/insex.vue
  4. 2
      src/components/page/AccountManagement/blacklistManagement.vue
  5. 7
      src/components/page/AccountManagement/businessAudit.vue

2
src/api/index.js

@ -73,7 +73,7 @@ export const applyList = query => {
// 黑名单列表 // 黑名单列表
export const blackList = query => { export const blackList = query => {
return request({ return request({
url: 'api/admin.Task/blackList', url: 'api/admin.Account/blackList',
method: 'get', method: 'get',
params: query params: query
}); });

2
src/assets/css/sidebar.css

@ -45,7 +45,7 @@
align-items: center; align-items: center;
margin-bottom: 10px; margin-bottom: 10px;
} }
.input_item span{ .input_item>span{
display: inline-block; display: inline-block;
width: 130px; width: 130px;
} }

7
src/components/common/dialog/insex.vue

@ -112,11 +112,13 @@ export default {
getAccountData(this.query).then(res => { getAccountData(this.query).then(res => {
console.log(res); console.log(res);
if (res.code==100) { if (res.code==100) {
if (res.data.check_status==0) { if (res.data.is_status==0) {
this.$message.error('暂无数据~'); this.$message.error('暂无数据~');
this.query.account_type=this.account_type this.query.account_type=this.account_type
}else{ }else{
res.data.establish_time=res.data.establish_time*1000
this.contentDatas=res.data this.contentDatas=res.data
console.info(this.contentDatas)
this.init() this.init()
} }
} }
@ -150,6 +152,9 @@ export default {
}, },
saveEdit(){ saveEdit(){
this.query.account_data=this.contentDatas this.query.account_data=this.contentDatas
this.query.account_data.establish_time=this.contentDatas.establish_time/1000;
delete this.query.account_data['is_status'];
delete this.query.account_data['id'];
accountCheck(this.query).then(res => { accountCheck(this.query).then(res => {
console.log(res); console.log(res);
if (res.code==100) { if (res.code==100) {

2
src/components/page/AccountManagement/blacklistManagement.vue

@ -117,7 +117,7 @@ export default {
firm_name: '', firm_name: '',
phone: '', phone: '',
username: '', username: '',
black_type:'', black_type:4,
time: '', time: '',
page: 1, page: 1,
limit: 10 limit: 10

7
src/components/page/AccountManagement/businessAudit.vue

@ -90,7 +90,9 @@
></el-pagination> ></el-pagination>
</div> </div>
</div> </div>
<whyDialog v-if="editVisible" :isshow="editVisible" :dialogID="dialogID" :dialogType="dialogType" @MisShow="MisShow" @getData="getData" :isexamine="true" :account_type="query.type"></whyDialog> <whyDialog v-if="editVisible" :isshow="editVisible" :dialogID="dialogID"
:dialogType="dialogType" @MisShow="MisShow" @getData="getData" :isexamine="true" :account_type="query.type">
</whyDialog>
</div> </div>
</template> </template>
@ -160,6 +162,9 @@ export default {
this.getData(); this.getData();
}, },
methods: { methods: {
MisShow(){
this.editVisible=false
},
// //
reset(){ reset(){
Object.keys(this.query).forEach(key => { Object.keys(this.query).forEach(key => {

Loading…
Cancel
Save