|
@@ -5,7 +5,8 @@
|
|
|
<el-col style="display:flex" :span="20" :xs="24">
|
|
<el-col style="display:flex" :span="20" :xs="24">
|
|
|
<el-form :model="queryParams" ref="queryRef" :inline="true">
|
|
<el-form :model="queryParams" ref="queryRef" :inline="true">
|
|
|
<el-form-item label="企业信用代码" prop="unifiedSocialCreditCode">
|
|
<el-form-item label="企业信用代码" prop="unifiedSocialCreditCode">
|
|
|
- <el-input v-model="queryParams.unifiedSocialCreditCode" placeholder="请输入企业信用代码" clearable style="width: 240px"/>
|
|
|
|
|
|
|
+ <el-input v-model="queryParams.unifiedSocialCreditCode" placeholder="请输入企业信用代码" clearable
|
|
|
|
|
+ style="width: 240px" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
|
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
|
|
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
|
|
@@ -14,7 +15,7 @@
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
- <el-table stripe :data="tableData" style="width: 100%" height="440">
|
|
|
|
|
|
|
+ <el-table stripe :data="tableData" style="width: 100%" height="710">
|
|
|
<el-table-column prop="unifiedSocialCreditCode" label="企业信用代码">
|
|
<el-table-column prop="unifiedSocialCreditCode" label="企业信用代码">
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column prop="enterpriseName" label="企业名称">
|
|
<el-table-column prop="enterpriseName" label="企业名称">
|
|
@@ -22,8 +23,10 @@
|
|
|
<el-table-column prop="total" label="总数">
|
|
<el-table-column prop="total" label="总数">
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
- <pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize"
|
|
|
|
|
- @pagination="getList" />
|
|
|
|
|
|
|
+ <div style="position: fixed;bottom: 20px;right: 10px;">
|
|
|
|
|
+ <pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum"
|
|
|
|
|
+ v-model:limit="queryParams.pageSize" @pagination="getList" />
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -44,7 +47,7 @@ const data = reactive({
|
|
|
userName: undefined,
|
|
userName: undefined,
|
|
|
phonenumber: undefined,
|
|
phonenumber: undefined,
|
|
|
status: undefined,
|
|
status: undefined,
|
|
|
- deptId: store.state.user.userInfo.deptId
|
|
|
|
|
|
|
+ // deptId: store.state.user.userInfo.deptId
|
|
|
},
|
|
},
|
|
|
})
|
|
})
|
|
|
const { queryParams } = toRefs(data)
|
|
const { queryParams } = toRefs(data)
|
|
@@ -64,15 +67,9 @@ function resetQuery() {
|
|
|
|
|
|
|
|
/** 查询用户列表 */
|
|
/** 查询用户列表 */
|
|
|
function getList() {
|
|
function getList() {
|
|
|
- // loading.value = true
|
|
|
|
|
- let puData = {
|
|
|
|
|
- unifiedSocialCreditCode: queryParams.value.unifiedSocialCreditCode,
|
|
|
|
|
- pageNum: 1,
|
|
|
|
|
- pageSize: 10,
|
|
|
|
|
- }
|
|
|
|
|
- getCreditScoreList(puData).then((res) => {
|
|
|
|
|
- tableData.value = res.data
|
|
|
|
|
- total.value = res.data.length
|
|
|
|
|
|
|
+ getCreditScoreList(queryParams.value).then((res) => {
|
|
|
|
|
+ tableData.value = res.data.result
|
|
|
|
|
+ total.value = res.data.totalSize
|
|
|
|
|
|
|
|
console.log(11, tableData.value)
|
|
console.log(11, tableData.value)
|
|
|
})
|
|
})
|