Commit 69ceb835 authored by danfuman's avatar danfuman

修改

parent e967da69
......@@ -240,16 +240,16 @@
</template>
<script>
import { getToken } from '@/utils/auth';
import '@/assets/styles/project.scss';
import { addCustomer, getCustomerList, importData } from '@/api/custom/custom';
import { getDictType, getEnterprise } from '@/api/main';
import prvinceTree from '@/assets/json/provinceTree';
import batchimport from '../../project/projectList/component/batchImport';
import skeleton from '../../project/projectList/component/skeleton';
import { encodeStr } from '@/assets/js/common';
import { v4 } from "uuid";
export default {
import { getToken } from '@/utils/auth';
import '@/assets/styles/project.scss';
import { addCustomer, getCustomerList, importData } from '@/api/custom/custom';
import { getDictType, getEnterprise } from '@/api/main';
import prvinceTree from '@/assets/json/provinceTree';
import batchimport from '../../project/projectList/component/batchImport';
import skeleton from '../../project/projectList/component/skeleton';
import { encodeStr } from '@/assets/js/common';
import { v4 } from "uuid";
export default {
name: 'CustomList',
components: { batchimport, skeleton },
data() {
......@@ -341,17 +341,22 @@ export default {
if (this.$route.query.type === '3') {
this.searchParam.companyNatures = ['事业单位', '机关单位'];
}
this.$watch(() => this.$route.params, () => {
this.getCustomerList();
this.getDictType();
this.prvinceTree();
this.handleQuery();
this.searchParam.companyName = '';
},
// 组件创建完后获取数据,
// 此时 data 已经被 observed 了
{ immediate: true }
);
// this.$watch(() => this.$route.params, () => {
// this.getCustomerList();
// this.getDictType();
// this.prvinceTree();
// this.handleQuery();
// this.searchParam.companyName = '';
// },
// // 组件创建完后获取数据,
// // 此时 data 已经被 observed 了
// { immediate: true }
// );
},
methods: {
searchFocus(event) {
......@@ -390,6 +395,7 @@ export default {
type2.data.forEach(item => {
this.creditLevellist.push({ dictLabel: item.dictLabel, dictValue: item.dictLabel });
});
console.log(this.creditLevellist)
}
},
sq1(item, sq) {
......@@ -779,11 +785,11 @@ export default {
document.getElementById(e).classList.toggle('span-ba');
}
}
}
}
</script>
<style lang="scss" scoped>
.custom-list-container {
.custom-list-container {
width: 100%;
height: 100%;
padding: 24px;
......@@ -817,8 +823,8 @@ export default {
}
}
}
}
.box-card {
}
.box-card {
@import "@/assets/styles/search-common.scss";
padding-top: 16px;
width: 100%;
......@@ -913,8 +919,8 @@ export default {
}
}
}
}
.box {
}
.box {
position: relative;
> span {
position: absolute;
......@@ -926,8 +932,8 @@ export default {
color: #006ad1;
}
}
}
.dc {
}
.dc {
font-size: 12px;
color: #3d3d3d;
font-weight: 400;
......@@ -946,17 +952,17 @@ export default {
display: inline-block;
margin-left: 20px;
}
}
.img.img1 {
}
.img.img1 {
margin-right: 2px;
background: url("../../../../src/assets/images/project/add_2.png") no-repeat
center center;
background-size: 100%;
}
.w88 {
}
.w88 {
width: 88px;
}
.tables {
}
.tables {
position: relative;
min-height: calc(100vh - 134px);
/*overflow: auto;*/
......@@ -1105,8 +1111,8 @@ export default {
}
}
}
}
.ps1 {
}
.ps1 {
display: flex;
justify-content: space-between;
.ps2 {
......@@ -1140,14 +1146,14 @@ export default {
}
}
}
}
.popbot {
}
.popbot {
.wordprimary {
display: inline;
padding-right: 26px;
}
}
.searchInput {
}
.searchInput {
width: 240px;
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment