修正接口请求
This commit is contained in:
		| @@ -161,7 +161,7 @@ export default { | ||||
|       this.forms = JSON.parse(JSON.stringify(this.data)) | ||||
|     }, | ||||
|     getDetail(id) { | ||||
|       this.instance.post(`/appcreditadminstrativelicense/queryDetailById?id=${id}`).then(res => { | ||||
|       this.instance.post(`/app/appcreditadminstrativelicense/queryDetailById?id=${id}`).then(res => { | ||||
|         if (res.code === 0) { | ||||
|           this.data = res.data | ||||
|         } | ||||
| @@ -170,7 +170,7 @@ export default { | ||||
|     confirm() { | ||||
|       this.$refs.forms.validate((valid) => { | ||||
|         if (valid) { | ||||
|           this.instance.post(`/appcreditadminstrativelicense/addOrUpdate`, { | ||||
|           this.instance.post(`/app/appcreditadminstrativelicense/addOrUpdate`, { | ||||
|             ...this.forms, | ||||
|             id: this.params.id || '', | ||||
|           }).then(res => { | ||||
| @@ -252,4 +252,4 @@ export default { | ||||
|     padding-bottom: 80px; | ||||
|   } | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -74,7 +74,7 @@ export default { | ||||
|     //   this.getTableData() | ||||
|     // }, | ||||
|     getTableData() { | ||||
|       this.instance.post("/appcreditadminstrativelicense/list", null, { | ||||
|       this.instance.post("/app/appcreditadminstrativelicense/list", null, { | ||||
|         params: {...this.page, ...this.search, ...this.select} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -94,7 +94,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(id) { | ||||
|       this.$confirm("是否要删除?").then(() => { | ||||
|         this.instance.post(`/appcreditadminstrativelicense/delete?ids=${id}`).then(res => { | ||||
|         this.instance.post(`/app/appcreditadminstrativelicense/delete?ids=${id}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success("删除成功") | ||||
|               this.getTableData() | ||||
|   | ||||
| @@ -70,7 +70,7 @@ | ||||
|           </template> | ||||
|         </ai-card> | ||||
|       </template> | ||||
|        | ||||
|  | ||||
|       <template slot="footer" class="footer"> | ||||
|         <el-button class="delete-btn footer-btn" @click="cancel(false)">取消</el-button> | ||||
|         <el-button class="footer-btn" type="primary" @click="confirm()">保存</el-button> | ||||
| @@ -167,7 +167,7 @@ export default { | ||||
|       this.forms = JSON.parse(JSON.stringify(this.data)) | ||||
|     }, | ||||
|     getDetail(id) { | ||||
|       this.instance.post(`/appcreditadministrativesanction/queryDetailById?id=${id}`).then(res => { | ||||
|       this.instance.post(`/app/appcreditadministrativesanction/queryDetailById?id=${id}`).then(res => { | ||||
|         if (res.code === 0) { | ||||
|           this.data = res.data | ||||
|         } | ||||
| @@ -176,7 +176,7 @@ export default { | ||||
|     confirm() { | ||||
|       this.$refs.forms.validate((valid) => { | ||||
|         if (valid) { | ||||
|           this.instance.post(`/appcreditadministrativesanction/addOrUpdate`, { | ||||
|           this.instance.post(`/app/appcreditadministrativesanction/addOrUpdate`, { | ||||
|             ...this.forms, | ||||
|             id: this.params.id || '', | ||||
|           }).then(res => { | ||||
| @@ -258,4 +258,4 @@ export default { | ||||
|     padding-bottom: 80px; | ||||
|   } | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -10,15 +10,15 @@ | ||||
|           <template #right> | ||||
|             <el-input size="small" placeholder="处罚文书号/受罚主体" v-model="search.sanctionCode" clearable suffix-icon="iconfont iconSearch" @change="getTableData()" | ||||
|              @clear="page.current = 1, search.sanctionCode = '', getTableData()" v-throttle="() => {(page.current = 1), getTableData();}"/> | ||||
|             <ai-import :instance="instance" :dict="dict" importUrl="appcreditadministrativesanction/import"  | ||||
|             <ai-import :instance="instance" :dict="dict" importUrl="appcreditadministrativesanction/import" | ||||
|             url="appcreditadministrativesanction/downloadTemplate" name="行政处罚信息" @success="getTableData(), $message.success('导入成功!')"> | ||||
|               <el-button size="small">导入</el-button> | ||||
|             </ai-import>  | ||||
|             </ai-import> | ||||
|             <ai-download :instance="instance" url="appcreditadministrativesanction/export" :params="search" fileName="行政处罚信息" | ||||
|                        :disabled="tableData.length == 0"> | ||||
|               <el-button size="small">导出</el-button> | ||||
|             </ai-download> | ||||
|              | ||||
|  | ||||
|           </template> | ||||
|         </ai-search-bar> | ||||
|         <ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size" | ||||
| @@ -73,7 +73,7 @@ export default { | ||||
|       this.getTableData() | ||||
|     }, | ||||
|     getTableData() { | ||||
|       this.instance.post("/appcreditadministrativesanction/list", null, { | ||||
|       this.instance.post("/app/appcreditadministrativesanction/list", null, { | ||||
|         params: {...this.page, ...this.search, ...this.select} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -100,7 +100,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(id) { | ||||
|       this.$confirm("是否要删除?").then(() => { | ||||
|         this.instance.post(`/appcreditadministrativesanction/delete?ids=${id}`).then(res => { | ||||
|         this.instance.post(`/app/appcreditadministrativesanction/delete?ids=${id}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success("删除成功") | ||||
|               this.getTableData() | ||||
| @@ -117,4 +117,4 @@ export default { | ||||
|   height: 100%; | ||||
|   background: #f3f4f5; | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -146,7 +146,7 @@ export default { | ||||
|       this.forms=JSON.parse(JSON.stringify(this.data)) | ||||
|     }, | ||||
|     getDetail(id) { | ||||
|       this.instance.post(`/appcreditdishonestperson/queryDetailById?id=${id}`).then(res => { | ||||
|       this.instance.post(`/app/appcreditdishonestperson/queryDetailById?id=${id}`).then(res => { | ||||
|         if (res.code === 0) { | ||||
|           this.data = res.data | ||||
|         } | ||||
| @@ -155,7 +155,7 @@ export default { | ||||
|     confirm( ) { | ||||
|       this.$refs.forms.validate((valid) => { | ||||
|         if (valid) { | ||||
|           this.instance.post(`/appcreditdishonestperson/addOrUpdate`, { | ||||
|           this.instance.post(`/app/appcreditdishonestperson/addOrUpdate`, { | ||||
|             ...this.forms, | ||||
|             id: this.params.id || '', | ||||
|           }).then(res => { | ||||
| @@ -241,4 +241,4 @@ export default { | ||||
|     padding-bottom: 80px; | ||||
|   } | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -8,7 +8,7 @@ | ||||
|             <el-button type="primary" icon="iconfont iconAdd" @click="toAdd('')">添加</el-button> | ||||
|           </template> | ||||
|           <template #right> | ||||
|             <el-input size="small" placeholder="执行案号/失信被执行主体" v-model="search.executionCode" clearable @clear="page.current = 1, search.executionCode = '',getTableData()"  | ||||
|             <el-input size="small" placeholder="执行案号/失信被执行主体" v-model="search.executionCode" clearable @clear="page.current = 1, search.executionCode = '',getTableData()" | ||||
|             suffix-icon="iconfont iconSearch" v-throttle="() => {(page.current = 1), getTableData();}"/> | ||||
|             <ai-import :instance="instance" :dict="dict" importUrl="/appcreditdishonestperson/import" url="/appcreditdishonestperson/downloadTemplate" name="失信被执行人信息" @success="getTableData(), $message.success('导入成功!')"> | ||||
|               <el-button size="small">导入</el-button> | ||||
| @@ -67,7 +67,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appcreditdishonestperson/list", null, { | ||||
|       this.instance.post("/app/appcreditdishonestperson/list", null, { | ||||
|         params: {...this.page, ...this.search,...this.select} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -94,7 +94,7 @@ export default { | ||||
|     // }, | ||||
|     handleDelete(id) { | ||||
|       this.$confirm("是否要删除?").then(() => { | ||||
|         this.instance.post(`/appcreditdishonestperson/delete?ids=${id}`).then(res => { | ||||
|         this.instance.post(`/app/appcreditdishonestperson/delete?ids=${id}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success("删除成功") | ||||
|               this.getTableData() | ||||
| @@ -111,4 +111,4 @@ export default { | ||||
|   height: 100%; | ||||
|   background: #f3f4f5; | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -34,7 +34,7 @@ | ||||
|                   </el-form-item> | ||||
|                 </el-col> | ||||
|               </el-row> | ||||
|                | ||||
|  | ||||
|               <el-row type="flex"> | ||||
|                 <el-col :span="12"> | ||||
|                   <el-form-item label="股权证编号" prop="stockCertificateCode"> | ||||
| @@ -56,7 +56,7 @@ | ||||
|           <template #content> | ||||
|             <ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size" | ||||
|                       @getList="getDetail" :col-configs="colConfigs" :dict="dict"> | ||||
|                | ||||
|  | ||||
|               <el-table-column slot="options" label="操作"  align="center" v-if="!id || isEdit==true"> | ||||
|                 <template slot-scope="{row,$index}"> | ||||
|                   <el-button type="text" @click="editBtn(row,$index)">编辑</el-button> | ||||
| @@ -114,7 +114,7 @@ | ||||
|                 </template> | ||||
|               </el-table-column> | ||||
|             </ai-table> | ||||
|              | ||||
|  | ||||
|           </template> | ||||
|         </ai-card> | ||||
|       </template> | ||||
| @@ -155,7 +155,7 @@ export default { | ||||
|     params: Object, | ||||
|   }, | ||||
|   data() { | ||||
|     return {  | ||||
|     return { | ||||
|       id: '', | ||||
|       form: { | ||||
|         organizationName: '', | ||||
| @@ -179,7 +179,7 @@ export default { | ||||
|       isEditSys: false, | ||||
|       sysIndex: '' | ||||
|     } | ||||
|   },  | ||||
|   }, | ||||
|   computed: { | ||||
|     rules() { | ||||
|       return { | ||||
| @@ -240,7 +240,7 @@ export default { | ||||
|       this.tableData.splice(index, 1) | ||||
|     }, | ||||
|     getDetail(id) { | ||||
|       this.instance.post(`/appcollectiveeconomyequity/queryDetailById`,null, { | ||||
|       this.instance.post(`/app/appcollectiveeconomyequity/queryDetailById`,null, { | ||||
|         params: { | ||||
|           id: id, | ||||
|           ...this.page, | ||||
| @@ -262,7 +262,7 @@ export default { | ||||
|           }else{//新增 | ||||
|             this.tableData.push(this.table) | ||||
|           } | ||||
|           | ||||
|  | ||||
|           this.sysInfoDialog = false | ||||
|           this.$forceUpdate() | ||||
|         } | ||||
| @@ -271,7 +271,7 @@ export default { | ||||
|     confirm() { | ||||
|       this.$refs.form.validate((valid) => { | ||||
|         if (valid) { | ||||
|           this.instance.post(`/appcollectiveeconomyequity/addOrUpdate`, { | ||||
|           this.instance.post(`/app/appcollectiveeconomyequity/addOrUpdate`, { | ||||
|             ...this.form, | ||||
|             id: this.params.id || '', | ||||
|             shareholderList: this.tableData, | ||||
| @@ -291,7 +291,7 @@ export default { | ||||
|       this.table = JSON.parse(JSON.stringify(row)) | ||||
|       this.sysInfoDialog = true | ||||
|       this.isEditSys = true | ||||
|       this.sysIndex = index  | ||||
|       this.sysIndex = index | ||||
|     } | ||||
|   }, | ||||
| } | ||||
| @@ -306,4 +306,4 @@ export default { | ||||
|     background: #FFF; | ||||
|   } | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -9,7 +9,7 @@ | ||||
|             <el-button type="primary" icon="iconfont iconAdd" @click="toAdd('')">添加</el-button> | ||||
|           </template> | ||||
|           <template #right> | ||||
|             <el-input size="small" placeholder="组织名称/持证人/身份证号/股权证编号" v-model="search.organizationName" clearable @clear="page.current = 1, search.organizationName = '',getTableData()"  | ||||
|             <el-input size="small" placeholder="组织名称/持证人/身份证号/股权证编号" v-model="search.organizationName" clearable @clear="page.current = 1, search.organizationName = '',getTableData()" | ||||
|             suffix-icon="iconfont iconSearch" v-throttle="() => {(page.current = 1), getTableData();}"/> | ||||
|             <!-- 导入导出 --> | ||||
|             <ai-import :instance="instance" :dict="dict" importUrl="/appcollectiveeconomyequity/import" url="/appcollectiveeconomyequity/downloadTemplate" name="集体经济组织股权管理信息" @success="getTableData(), $message.success('导入成功!')"> | ||||
| @@ -70,7 +70,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appcollectiveeconomyequity/list", null, { | ||||
|       this.instance.post("/app/appcollectiveeconomyequity/list", null, { | ||||
|         params: {...this.page, ...this.search,...this.select} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -89,7 +89,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(id) { | ||||
|       this.$confirm("是否要删除?").then(() => { | ||||
|         this.instance.post(`/appcollectiveeconomyequity/delete?ids=${id}`).then(res => { | ||||
|         this.instance.post(`/app/appcollectiveeconomyequity/delete?ids=${id}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success("删除成功") | ||||
|               this.getTableData() | ||||
| @@ -106,4 +106,4 @@ export default { | ||||
|   height: 100%; | ||||
|   background: #f3f4f5; | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -115,7 +115,7 @@ export default { | ||||
|     params: Object, | ||||
|   }, | ||||
|   data() { | ||||
|     return {  | ||||
|     return { | ||||
|       id: '', | ||||
|       form: { | ||||
|         useCertificate: '', | ||||
| @@ -134,7 +134,7 @@ export default { | ||||
|       radioFrom: '', | ||||
|       data: {}, | ||||
|     } | ||||
|   },  | ||||
|   }, | ||||
|   computed: { | ||||
|     rules() { | ||||
|       return { | ||||
| @@ -175,7 +175,7 @@ export default { | ||||
|       this.form = JSON.parse(JSON.stringify(this.data)) | ||||
|     }, | ||||
|     getDetail(id) { | ||||
|       this.instance.post(`/apphomesteadinfo/queryDetailById?id=${id}`).then(res => { | ||||
|       this.instance.post(`/app/apphomesteadinfo/queryDetailById?id=${id}`).then(res => { | ||||
|         if (res.code === 0) { | ||||
|           this.data = res.data | ||||
|         } | ||||
| @@ -184,7 +184,7 @@ export default { | ||||
|     confirm() { | ||||
|       this.$refs.form.validate((valid) => { | ||||
|         if (valid) { | ||||
|           this.instance.post(`/apphomesteadinfo/addOrUpdate`, { | ||||
|           this.instance.post(`/app/apphomesteadinfo/addOrUpdate`, { | ||||
|             ...this.form, | ||||
|             id: this.params.id || '', | ||||
|           }).then(res => { | ||||
| @@ -219,4 +219,4 @@ export default { | ||||
|     -moz-appearance: textfield !important; | ||||
|   } | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -9,7 +9,7 @@ | ||||
|             <el-button type="primary" icon="iconfont iconAdd" @click="toAdd('')">添加</el-button> | ||||
|           </template> | ||||
|           <template #right> | ||||
|             <el-input size="small" placeholder="查询证书号/使用人/使用人身份证" v-model="search.useCertificate" clearable @clear="page.current = 1, search.useCertificate = '',getTableData()"  | ||||
|             <el-input size="small" placeholder="查询证书号/使用人/使用人身份证" v-model="search.useCertificate" clearable @clear="page.current = 1, search.useCertificate = '',getTableData()" | ||||
|             suffix-icon="iconfont iconSearch" v-throttle="() => {(page.current = 1), getTableData();}"/> | ||||
|             <!-- 导入导出 --> | ||||
|             <ai-import :instance="instance" :dict="dict" importUrl="/apphomesteadinfo/import" url="/apphomesteadinfo/downloadTemplate" name="宅基地管理信息模板" @success="getTableData(), $message.success('导入成功!')"> | ||||
| @@ -74,7 +74,7 @@ export default { | ||||
|   methods: { | ||||
|     changeArea() {}, | ||||
|     getTableData() { | ||||
|       this.instance.post("/apphomesteadinfo/list", null, { | ||||
|       this.instance.post("/app/apphomesteadinfo/list", null, { | ||||
|         params: {...this.page, ...this.search,...this.select} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -93,7 +93,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(id) { | ||||
|       this.$confirm("是否要删除?").then(() => { | ||||
|         this.instance.post(`/apphomesteadinfo/delete?ids=${id}`).then(res => { | ||||
|         this.instance.post(`/app/apphomesteadinfo/delete?ids=${id}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success("删除成功") | ||||
|               this.getTableData() | ||||
| @@ -110,4 +110,4 @@ export default { | ||||
|   height: 100%; | ||||
|   background: #f3f4f5; | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -28,7 +28,7 @@ | ||||
|                 <el-col :span="20"> | ||||
|                   <el-form-item label="土地承接方" prop="landUndertakeName"> | ||||
|                     <el-input v-model="form.landUndertakeName" placeholder="请输入土地承接方名称"></el-input> | ||||
|                   </el-form-item>     | ||||
|                   </el-form-item> | ||||
|                 </el-col> | ||||
|                 <el-col :span="20"> | ||||
|                   <el-form-item label="土地承接方证件号码" prop="landUndertakeNumber"> | ||||
| @@ -174,7 +174,7 @@ export default { | ||||
|             return ( | ||||
|               time.getTime() < new Date(this.form.startDate).getTime() | ||||
|             ); | ||||
|           }  | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|     } | ||||
| @@ -200,7 +200,7 @@ export default { | ||||
|       } | ||||
|     }, | ||||
|  | ||||
|      | ||||
|  | ||||
|   }, | ||||
|   created() { | ||||
|     this.$dict.load('landCirculateType') | ||||
| @@ -221,7 +221,7 @@ export default { | ||||
|       this.form = JSON.parse(JSON.stringify(this.data)) | ||||
|     }, | ||||
|     getDetail(id) { | ||||
|       this.instance.post(`/applandcirculateinfo/queryDetailById?id=${id}`).then(res => { | ||||
|       this.instance.post(`/app/applandcirculateinfo/queryDetailById?id=${id}`).then(res => { | ||||
|         if (res.code === 0) { | ||||
|           this.data = res.data | ||||
|         } | ||||
| @@ -230,7 +230,7 @@ export default { | ||||
|     confirm() { | ||||
|       this.$refs.form.validate((valid) => { | ||||
|         if (valid) { | ||||
|           this.instance.post(`/applandcirculateinfo/addOrUpdate`, { | ||||
|           this.instance.post(`/app/applandcirculateinfo/addOrUpdate`, { | ||||
|             ...this.form, | ||||
|             id: this.params.id || '', | ||||
|           }).then(res => { | ||||
| @@ -261,4 +261,4 @@ export default { | ||||
|   //   width: 130px; | ||||
|   // } | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -9,7 +9,7 @@ | ||||
|             <ai-select v-model="select.circulateType" @change="onChange" placeholder="流转形式" :selectList="$dict.getDict('landCirculateType')"></ai-select> | ||||
|           </template> | ||||
|           <template #right> | ||||
|             <el-input size="small" placeholder="查询合同编号/流出方/承接方/证件号码" v-model="search.contractNo" clearable @clear="page.current = 1, search.contractNo = '',getTableData()"  | ||||
|             <el-input size="small" placeholder="查询合同编号/流出方/承接方/证件号码" v-model="search.contractNo" clearable @clear="page.current = 1, search.contractNo = '',getTableData()" | ||||
|             suffix-icon="iconfont iconSearch" v-throttle="() => {(page.current = 1), getTableData();}"/> | ||||
|             <!-- 导入导出 --> | ||||
|             <ai-import :instance="instance" :dict="dict" importUrl="/applandcirculateinfo/import" url="/applandcirculateinfo/downloadTemplate" name="土地流转经营信息" @success="getTableData(), $message.success('导入成功!')"> | ||||
| @@ -82,7 +82,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/applandcirculateinfo/list", null, { | ||||
|       this.instance.post("/app/applandcirculateinfo/list", null, { | ||||
|         params: {...this.page, ...this.search,...this.select} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -106,7 +106,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(id) { | ||||
|       this.$confirm("是否要删除?").then(() => { | ||||
|         this.instance.post(`/applandcirculateinfo/delete?ids=${id}`).then(res => { | ||||
|         this.instance.post(`/app/applandcirculateinfo/delete?ids=${id}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success("删除成功") | ||||
|               this.getTableData() | ||||
| @@ -123,4 +123,4 @@ export default { | ||||
|   height: 100%; | ||||
|   background: #f3f4f5; | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -91,7 +91,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       this.instance.post("/appleavemessage/queryDetailById", null, { | ||||
|       this.instance.post("/app/appleavemessage/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -105,7 +105,7 @@ export default { | ||||
|     }, | ||||
|     handleCloseMass(id) { | ||||
|       this.$confirm("是否要关闭留言?").then(() => { | ||||
|         this.instance.post("/appleavemessage/close", null, { | ||||
|         this.instance.post("/app/appleavemessage/close", null, { | ||||
|           params: {id} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
| @@ -119,7 +119,7 @@ export default { | ||||
|       this.$refs.ReplyForm.validate(v => { | ||||
|         if (v) { | ||||
|           let {id: messageId} = this.detail | ||||
|           this.instance.post("/appleavemessagereply/addOrUpdate", {...this.form, messageId, userType: 1}).then(res => { | ||||
|           this.instance.post("/app/appleavemessagereply/addOrUpdate", {...this.form, messageId, userType: 1}).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|               this.$message.success("提交成功!") | ||||
|               this.back() | ||||
|   | ||||
| @@ -63,7 +63,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appleavemessage/list", null, { | ||||
|       this.instance.post("/app/appleavemessage/list", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -78,7 +78,7 @@ export default { | ||||
|     handleEnable(row) { | ||||
|       let openLabel = row.isOpen == 1 ? "取消公示" : "公示", isOpen = (Number(row.isOpen) + 1) % 2 | ||||
|       this.$confirm(`是否要${openLabel}留言?`).then(() => { | ||||
|         this.instance.post("/appleavemessage/setIsOpen", null, { | ||||
|         this.instance.post("/app/appleavemessage/setIsOpen", null, { | ||||
|           params: {id: row.id, isOpen} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
|   | ||||
| @@ -88,7 +88,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appzwspstatistics/list", null, { | ||||
|       this.instance.post("/app/appzwspstatistics/list", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -112,7 +112,7 @@ export default { | ||||
|           this.classList = res.data.records | ||||
|         } | ||||
|       }) | ||||
|       this.instance.post("/appfinancialorganization/list?size=100").then(res => { | ||||
|       this.instance.post("/app/appfinancialorganization/list?size=100").then(res => { | ||||
|         if (res?.data) { | ||||
|           res.data.records.map((item) => { | ||||
|             item.dictName = item.organizationName | ||||
|   | ||||
| @@ -60,7 +60,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       this.instance.post("/appportaluser/queryDetailByPortalUserId", null, { | ||||
|       this.instance.post("/app/appportaluser/queryDetailByPortalUserId", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -55,7 +55,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appportaluser/listPortalUser", null, { | ||||
|       this.instance.post("/app/appportaluser/listPortalUser", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -67,7 +67,7 @@ export default { | ||||
|     handleEnable(row) { | ||||
|       let status = (Number(row.status) + 1) % 2 | ||||
|       this.$confirm(`是否要${this.dict.getLabel('portalUserStatus', status)}账号?`).then(() => { | ||||
|         this.instance.post("/appportaluser/addOrUpdate", {...row, status}).then(res => { | ||||
|         this.instance.post("/app/appportaluser/addOrUpdate", {...row, status}).then(res => { | ||||
|           if (res?.code == 0) { | ||||
|             this.$message.success(this.dict.getLabel('portalUserStatus', status) + "成功!") | ||||
|             this.getTableData() | ||||
|   | ||||
| @@ -134,7 +134,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       this.instance.post("/appportaluserenterprise/queryDetailById", null, { | ||||
|       this.instance.post("/app/appportaluserenterprise/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -60,7 +60,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appportaluserenterprise/list", null, { | ||||
|       this.instance.post("/app/appportaluserenterprise/list", null, { | ||||
|         params: {...this.page, ...this.search, status: 1,...this.select} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -90,7 +90,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       this.instance.post("/appportaluserenterprise/queryDetailById", null, { | ||||
|       this.instance.post("/app/appportaluserenterprise/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -102,7 +102,7 @@ export default { | ||||
|       this.$refs.AuditForm.validate(v => { | ||||
|         if (v) { | ||||
|           let {id} = this.detail | ||||
|           this.instance.post("/appportaluserenterprise/auditEnterprise", null, { | ||||
|           this.instance.post("/app/appportaluserenterprise/auditEnterprise", null, { | ||||
|             params: {id, ...this.form} | ||||
|           }).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|   | ||||
| @@ -63,7 +63,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appportaluserenterprise/list", null, { | ||||
|       this.instance.post("/app/appportaluserenterprise/list", null, { | ||||
|         params: {...this.page, ...this.search, enterpriseStatus: 0} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -144,7 +144,7 @@ export default { | ||||
|       this.forms = JSON.parse(JSON.stringify(this.data)) | ||||
|     }, | ||||
|     getDetail(id) { | ||||
|       this.instance.post(`/appcreditpublicutilitiesarrears/queryDetailById?id=${id}`).then(res => { | ||||
|       this.instance.post(`/app/appcreditpublicutilitiesarrears/queryDetailById?id=${id}`).then(res => { | ||||
|         if (res.code === 0) { | ||||
|           this.data = res.data | ||||
|         } | ||||
| @@ -153,7 +153,7 @@ export default { | ||||
|     confirm( ) { | ||||
|       this.$refs.forms.validate((valid) => { | ||||
|         if (valid) { | ||||
|           this.instance.post(`/appcreditpublicutilitiesarrears/addOrUpdate`, { | ||||
|           this.instance.post(`/app/appcreditpublicutilitiesarrears/addOrUpdate`, { | ||||
|             ...this.forms, | ||||
|             id: this.params.id || '', | ||||
|           }).then(res => { | ||||
| @@ -243,4 +243,4 @@ export default { | ||||
|     float: left; | ||||
|   } | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -8,7 +8,7 @@ | ||||
|             <el-button type="primary" icon="iconfont iconAdd" @click="toAdd('')">添加</el-button> | ||||
|           </template> | ||||
|           <template #right> | ||||
|             <el-input size="small" placeholder="欠费主体/统一信用社会代码" v-model="search.organizationName" clearable @clear="page.current = 1, search.organizationName = '',getTableData()"  | ||||
|             <el-input size="small" placeholder="欠费主体/统一信用社会代码" v-model="search.organizationName" clearable @clear="page.current = 1, search.organizationName = '',getTableData()" | ||||
|             suffix-icon="iconfont iconSearch" v-throttle="() => {(page.current = 1), getTableData();}"/> | ||||
|             <ai-import :instance="instance" :dict="dict" importUrl="/appcreditpublicutilitiesarrears/import" url="/appcreditpublicutilitiesarrears/downloadTemplate" name="公共事业欠费信息" @success="getTableData(), $message.success('导入成功!')"> | ||||
|               <el-button size="small">导入</el-button> | ||||
| @@ -69,7 +69,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appcreditpublicutilitiesarrears/list", null, { | ||||
|       this.instance.post("/app/appcreditpublicutilitiesarrears/list", null, { | ||||
|         params: {...this.page, ...this.search,...this.select} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -88,7 +88,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(id) { | ||||
|       this.$confirm("是否要删除?").then(() => { | ||||
|         this.instance.post(`/appcreditpublicutilitiesarrears/delete?ids=${id}`).then(res => { | ||||
|         this.instance.post(`/app/appcreditpublicutilitiesarrears/delete?ids=${id}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success("删除成功") | ||||
|               this.getTableData() | ||||
| @@ -105,4 +105,4 @@ export default { | ||||
|   height: 100%; | ||||
|   background: #f3f4f5; | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -147,7 +147,7 @@ export default { | ||||
|       this.forms = JSON.parse(JSON.stringify(this.data)) | ||||
|     }, | ||||
|     getDetail(id) { | ||||
|       this.instance.post(`/appcredittaxinfo/queryDetailById?id=${id}`).then(res => { | ||||
|       this.instance.post(`/app/appcredittaxinfo/queryDetailById?id=${id}`).then(res => { | ||||
|         if (res.code === 0) { | ||||
|           this.data = res.data | ||||
|         } | ||||
| @@ -156,7 +156,7 @@ export default { | ||||
|     confirm() { | ||||
|       this.$refs.forms.validate((valid) => { | ||||
|         if (valid) { | ||||
|           this.instance.post(`/appcredittaxinfo/addOrUpdate`, { | ||||
|           this.instance.post(`/app/appcredittaxinfo/addOrUpdate`, { | ||||
|             ...this.forms, | ||||
|             id: this.params.id || '', | ||||
|           }).then(res => { | ||||
| @@ -238,4 +238,4 @@ export default { | ||||
|     padding-bottom: 80px; | ||||
|   } | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -68,7 +68,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appcredittaxinfo/list", null, { | ||||
|       this.instance.post("/app/appcredittaxinfo/list", null, { | ||||
|         params: {...this.page, ...this.search, ...this.select} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -87,7 +87,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(id) { | ||||
|       this.$confirm("是否要删除?").then(() => { | ||||
|         this.instance.post(`/appcredittaxinfo/delete?ids=${id}`).then(res => { | ||||
|         this.instance.post(`/app/appcredittaxinfo/delete?ids=${id}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success("删除成功") | ||||
|               this.getTableData() | ||||
| @@ -104,4 +104,4 @@ export default { | ||||
|   height: 100%; | ||||
|   background: #f3f4f5; | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|   | ||||
| @@ -84,7 +84,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       id && this.instance.post("/appvideonews/getById", null, { | ||||
|       id && this.instance.post("/app/appvideonews/getById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -96,7 +96,7 @@ export default { | ||||
|       this.$refs.VideoForm.validate(v => { | ||||
|         if (v) { | ||||
|           let {form} = this | ||||
|           this.instance.post("/appvideonews/addOrUpdate", form).then(res => { | ||||
|           this.instance.post("/app/appvideonews/addOrUpdate", form).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|               this.$message.success("提交成功!") | ||||
|               this.back() | ||||
|   | ||||
| @@ -61,7 +61,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appvideonews/list", null, { | ||||
|       this.instance.post("/app/appvideonews/list", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -78,7 +78,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(ids) { | ||||
|       this.$confirm("是否要删除该视频?").then(() => { | ||||
|         this.instance.post("/appvideonews/delete", null, { | ||||
|         this.instance.post("/app/appvideonews/delete", null, { | ||||
|           params: {ids} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
| @@ -104,7 +104,7 @@ export default { | ||||
|     handlePublic(row) { | ||||
|       let openLabel = row.status == 1 ? "取消发布" : "发布", status = (Number(row.status) + 1) % 2 | ||||
|       this.$confirm(`是否要${openLabel}视频?`).then(() => { | ||||
|         this.instance.post("/appvideonews/setStatus", null, { | ||||
|         this.instance.post("/app/appvideonews/setStatus", null, { | ||||
|           params: {id: row.id, status} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
|   | ||||
| @@ -179,7 +179,7 @@ export default { | ||||
|   methods: { | ||||
|     getList() { | ||||
|       this.instance | ||||
|       .post(`/appbanner/list`, null, { | ||||
|       .post(`/app/appbanner/list`, null, { | ||||
|         params: { | ||||
|           ...this.search, | ||||
|           ...this.page, | ||||
| @@ -212,7 +212,7 @@ export default { | ||||
|     addConfirm() { | ||||
|       this.$refs.DialogForm.validate(v => { | ||||
|         if (v) { | ||||
|           this.instance.post(`/appbanner/addOrUpdate`, { | ||||
|           this.instance.post(`/app/appbanner/addOrUpdate`, { | ||||
|             imgUrl: this.dialogInfo.imgUrl?.[0]?.url, | ||||
|             linkUrl: this.dialogInfo.linkUrl, | ||||
|             status: this.status, | ||||
| @@ -233,7 +233,7 @@ export default { | ||||
|     release(row) { | ||||
|       this.$confirm('确定此操作?').then(() => { | ||||
|         let status = row.status == 1 ? '0' : '1' | ||||
|         this.instance.post(`/appbanner/setStatus?id=${row.id}&status=${status}`).then((res) => { | ||||
|         this.instance.post(`/app/appbanner/setStatus?id=${row.id}&status=${status}`).then((res) => { | ||||
|           if (res?.code == 0) { | ||||
|             this.$message.success("操作成功!") | ||||
|             this.getList() | ||||
| @@ -244,7 +244,7 @@ export default { | ||||
|     // 详情 | ||||
|     detail(row) { | ||||
|       this.detailDialog = true | ||||
|       this.instance.post(`/appbanner/detail?id=${row.id}`, { | ||||
|       this.instance.post(`/app/appbanner/detail?id=${row.id}`, { | ||||
|         // imgUrl: this.dialogInfo.imgUrl[0].url | ||||
|       }) | ||||
|       .then((res) => { | ||||
| @@ -267,7 +267,7 @@ export default { | ||||
|       this.$confirm('删除后不可恢复,是否要删除该记录?', { | ||||
|         type: 'error', | ||||
|       }).then(() => { | ||||
|         this.instance.post(`/appbanner/delete?ids=${id}`).then((res) => { | ||||
|         this.instance.post(`/app/appbanner/delete?ids=${id}`).then((res) => { | ||||
|           if (res.code == 0) { | ||||
|             this.$message.success('删除成功!') | ||||
|             this.getList() | ||||
|   | ||||
| @@ -86,7 +86,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     handleSearch() { | ||||
|       this.search.param && this.instance.post("/appcreditreport/listForWeb", null, { | ||||
|       this.search.param && this.instance.post("/app/appcreditreport/listForWeb", null, { | ||||
|         params: {...this.search, ...this.page} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -90,7 +90,7 @@ export default { | ||||
|     }, | ||||
|     getList() { | ||||
|       let {id: portalUserId} = this.$route.query | ||||
|       this.instance.post(`/appvillagerintegraldetail/list`, null, { | ||||
|       this.instance.post(`/app/appvillagerintegraldetail/list`, null, { | ||||
|         params: {...this.page, portalUserId, doType: this.doType} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -86,7 +86,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appfinancialorganization/list", null, { | ||||
|       this.instance.post("/app/appfinancialorganization/list", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -100,7 +100,7 @@ export default { | ||||
|       this.$refs.addAccountForm.validate(v => { | ||||
|         if (v) { | ||||
|           let {form: {logoUrl: logo}} = this, logoUrl = logo?.[0]?.url | ||||
|           this.instance.post("/appfinancialorganization/addOrUpdate", {...this.form, logoUrl}).then(res => { | ||||
|           this.instance.post("/app/appfinancialorganization/addOrUpdate", {...this.form, logoUrl}).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|               this.$message.success("提交成功!") | ||||
|               this.dialog = false | ||||
| @@ -117,7 +117,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(ids) { | ||||
|       this.$confirm("是否要删除该机构?").then(() => { | ||||
|         this.instance.post("/appfinancialorganization/delete", null, { | ||||
|         this.instance.post("/app/appfinancialorganization/delete", null, { | ||||
|           params: {ids} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
|   | ||||
| @@ -85,7 +85,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appfinancialorganizationuser/list", null, { | ||||
|       this.instance.post("/app/appfinancialorganizationuser/list", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -97,7 +97,7 @@ export default { | ||||
|     submitAddAcount() { | ||||
|       this.$refs.addAccountForm.validate(v => { | ||||
|         if (v) { | ||||
|           this.instance.post("/appfinancialorganizationuser/addOrUpdate", this.form).then(res => { | ||||
|           this.instance.post("/app/appfinancialorganizationuser/addOrUpdate", this.form).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|               this.$message.success("提交成功!") | ||||
|               this.dialog = false | ||||
| @@ -113,7 +113,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(ids) { | ||||
|       this.$confirm("是否要删除该成员?").then(() => { | ||||
|         this.instance.post("/appfinancialorganizationuser/delete", null, { | ||||
|         this.instance.post("/app/appfinancialorganizationuser/delete", null, { | ||||
|           params: {ids} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
|   | ||||
| @@ -155,7 +155,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       id && this.instance.post("/appfinancialproduct/queryDetailById", null, { | ||||
|       id && this.instance.post("/app/appfinancialproduct/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -171,7 +171,7 @@ export default { | ||||
|           let {form} = this | ||||
|           form.faceUser = form.faceUser?.toString() | ||||
|           form.guaranteeMode = form.guaranteeMode?.toString() | ||||
|           this.instance.post("/appfinancialproduct/addOrUpdate", form).then(res => { | ||||
|           this.instance.post("/app/appfinancialproduct/addOrUpdate", form).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|               this.$message.success("提交成功!") | ||||
|               this.back() | ||||
|   | ||||
| @@ -118,7 +118,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       this.instance.post("/appfinancialproduct/queryDetailById", null, { | ||||
|       this.instance.post("/app/appfinancialproduct/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -135,7 +135,7 @@ export default { | ||||
|     }, | ||||
|     getZWSP(id) { | ||||
|       //贷款联审信息 | ||||
|       return this.instance.post("/approval-process-def/info-id", null, {params: {id}}).then(res => { | ||||
|       return this.instance.post("/app/approval-process-def/info-id", null, {params: {id}}).then(res => { | ||||
|         if (res?.data) { | ||||
|           return res.data | ||||
|         } | ||||
| @@ -145,7 +145,7 @@ export default { | ||||
|       this.$refs.AuditForm.validate(v => { | ||||
|         if (v) { | ||||
|           let {id} = this.detail | ||||
|           this.instance.post("/appfinancialproduct/auditProduct", null, { | ||||
|           this.instance.post("/app/appfinancialproduct/auditProduct", null, { | ||||
|             params: {id, ...this.form} | ||||
|           }).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|   | ||||
| @@ -99,7 +99,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appfinancialproduct/list", null, { | ||||
|       this.instance.post("/app/appfinancialproduct/list", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -119,7 +119,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(ids) { | ||||
|       this.$confirm("是否要删除该产品?").then(() => { | ||||
|         this.instance.post("/appfinancialproduct/delete", null, { | ||||
|         this.instance.post("/app/appfinancialproduct/delete", null, { | ||||
|           params: {ids} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
|   | ||||
| @@ -87,7 +87,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appfinancialproductrecommend/list", null, { | ||||
|       this.instance.post("/app/appfinancialproductrecommend/list", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -103,7 +103,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(ids) { | ||||
|       this.$confirm("是否要删除该推荐?").then(() => { | ||||
|         this.instance.post("/appfinancialproductrecommend/delete", null, { | ||||
|         this.instance.post("/app/appfinancialproductrecommend/delete", null, { | ||||
|           params: {ids} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
| @@ -116,7 +116,7 @@ export default { | ||||
|     submitAudit() { | ||||
|       this.$refs.PRForm.validate(v => { | ||||
|         if (v) { | ||||
|           this.instance.post("/appfinancialproductrecommend/addOrUpdate", this.form).then(res => { | ||||
|           this.instance.post("/app/appfinancialproductrecommend/addOrUpdate", this.form).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|               this.$message.success("提交成功!") | ||||
|               this.getTableData() | ||||
| @@ -128,7 +128,7 @@ export default { | ||||
|     }, | ||||
|     getProducts() { | ||||
|       let {organizationType} = this.form | ||||
|       this.instance.post("/appfinancialproduct/list", null, { | ||||
|       this.instance.post("/app/appfinancialproduct/list", null, { | ||||
|         params: {organizationType, size: 999, status: 1} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -97,7 +97,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       id && this.instance.post("/appfinancialproduct/queryDetailById", null, { | ||||
|       id && this.instance.post("/app/appfinancialproduct/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -113,7 +113,7 @@ export default { | ||||
|           let {form} = this | ||||
|           form.faceUser = form.faceUser?.toString() | ||||
|           form.guaranteeMode = form.guaranteeMode?.toString() | ||||
|           this.instance.post("/appfinancialproduct/addOrUpdate", form).then(res => { | ||||
|           this.instance.post("/app/appfinancialproduct/addOrUpdate", form).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|               this.$message.success("提交成功!") | ||||
|               this.back() | ||||
|   | ||||
| @@ -90,7 +90,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       this.instance.post("/appfinancialproduct/queryDetailById", null, { | ||||
|       this.instance.post("/app/appfinancialproduct/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -107,7 +107,7 @@ export default { | ||||
|     }, | ||||
|     getZWSP(id) { | ||||
|       //贷款联审信息 | ||||
|       return this.instance.post("/approval-process-def/info-id", null, {params: {id}}).then(res => { | ||||
|       return this.instance.post("/app/approval-process-def/info-id", null, {params: {id}}).then(res => { | ||||
|         if (res?.data) { | ||||
|           return res.data | ||||
|         } | ||||
| @@ -117,7 +117,7 @@ export default { | ||||
|       this.$refs.AuditForm.validate(v => { | ||||
|         if (v) { | ||||
|           let {id} = this.detail | ||||
|           this.instance.post("/appfinancialproduct/auditProduct", null, { | ||||
|           this.instance.post("/app/appfinancialproduct/auditProduct", null, { | ||||
|             params: {id, ...this.form} | ||||
|           }).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|   | ||||
| @@ -80,7 +80,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appfinancialproduct/list", null, { | ||||
|       this.instance.post("/app/appfinancialproduct/list", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -100,7 +100,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(ids) { | ||||
|       this.$confirm("是否要删除该产品?").then(() => { | ||||
|         this.instance.post("/appfinancialproduct/delete", null, { | ||||
|         this.instance.post("/app/appfinancialproduct/delete", null, { | ||||
|           params: {ids} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
|   | ||||
| @@ -87,7 +87,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appfinancialproductrecommend/list", null, { | ||||
|       this.instance.post("/app/appfinancialproductrecommend/list", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -103,7 +103,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(ids) { | ||||
|       this.$confirm("是否要删除该推荐?").then(() => { | ||||
|         this.instance.post("/appfinancialproductrecommend/delete", null, { | ||||
|         this.instance.post("/app/appfinancialproductrecommend/delete", null, { | ||||
|           params: {ids} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
| @@ -116,7 +116,7 @@ export default { | ||||
|     submitAudit() { | ||||
|       this.$refs.PRForm.validate(v => { | ||||
|         if (v) { | ||||
|           this.instance.post("/appfinancialproductrecommend/addOrUpdate", this.form).then(res => { | ||||
|           this.instance.post("/app/appfinancialproductrecommend/addOrUpdate", this.form).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|               this.$message.success("提交成功!") | ||||
|               this.getTableData() | ||||
| @@ -128,7 +128,7 @@ export default { | ||||
|     }, | ||||
|     getProducts() { | ||||
|       let {organizationType} = this.form | ||||
|       this.instance.post("/appfinancialproduct/list", null, { | ||||
|       this.instance.post("/app/appfinancialproduct/list", null, { | ||||
|         params: {organizationType, size: 999, status: 1} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -214,7 +214,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       this.instance.post("/appfinancialloanapply/queryDetailById", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -226,7 +226,7 @@ export default { | ||||
|       this.$refs.AuditForm.validate(v => { | ||||
|         if (v) { | ||||
|           let {id} = this.detail | ||||
|           this.instance.post("/appfinancialloanapply/auditLoanApply", null, { | ||||
|           this.instance.post("/app/appfinancialloanapply/auditLoanApply", null, { | ||||
|             params: {id, ...this.form} | ||||
|           }).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|   | ||||
| @@ -104,7 +104,7 @@ export default { | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       let status = this.search.status || 999 | ||||
|       this.instance.post("/appfinancialloanapply/list", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/list", null, { | ||||
|         params: {...this.page, ...this.search, status} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -192,7 +192,7 @@ export default { | ||||
|       this.getApply() | ||||
|     }, | ||||
|     getApply() { | ||||
|       this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByMainbody", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/staticFinancialLoanApplyByMainbody", null, { | ||||
|         params: {...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -201,7 +201,7 @@ export default { | ||||
|       }) | ||||
|     }, | ||||
|     getOverviews() { | ||||
|       this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByOrganization", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/staticFinancialLoanApplyByOrganization", null, { | ||||
|         params: {...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -210,7 +210,7 @@ export default { | ||||
|       }) | ||||
|     }, | ||||
|     getProductTop10() { | ||||
|       this.instance.post("/appfinancialloanapply/queryHotFinancialProduct", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/queryHotFinancialProduct", null, { | ||||
|         params: {...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -219,7 +219,7 @@ export default { | ||||
|       }) | ||||
|     }, | ||||
|     getTradeTrend() { | ||||
|       this.instance.post("/appfinancialloanapply/queryFinancialLoanApplyByMonth", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/queryFinancialLoanApplyByMonth", null, { | ||||
|         params: {...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -82,7 +82,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       this.instance.post("/appfinancingdemand/queryDetailById", null, { | ||||
|       this.instance.post("/app/appfinancingdemand/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -91,7 +91,7 @@ export default { | ||||
|       }) | ||||
|     }, | ||||
|     handleGrab() { | ||||
|       this.instance.post("/appfinancingdemand/obtain", null, { | ||||
|       this.instance.post("/app/appfinancingdemand/obtain", null, { | ||||
|         params: {id: this.detail.id} | ||||
|       }).then(res => { | ||||
|         if (res.code == 0) { | ||||
| @@ -102,7 +102,7 @@ export default { | ||||
|     }, | ||||
|     handleCancel() { | ||||
|       this.$confirm("是否要取消本次融资需求发布?").then(() => { | ||||
|         this.instance.post("/appfinancingdemand/cancelObtain", null, { | ||||
|         this.instance.post("/app/appfinancingdemand/cancelObtain", null, { | ||||
|           params: {id: this.detail.id} | ||||
|         }).then(res => { | ||||
|           if (res.code == 0) { | ||||
|   | ||||
| @@ -58,7 +58,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appfinancingdemand/list", null, { | ||||
|       this.instance.post("/app/appfinancingdemand/list", null, { | ||||
|         params: {...this.page, ...this.search, status: 0} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -115,7 +115,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       this.instance.post("/appfinancingdemand/queryDetailById", null, { | ||||
|       this.instance.post("/app/appfinancingdemand/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -125,7 +125,7 @@ export default { | ||||
|     }, | ||||
|     handleCancel() { | ||||
|       this.$confirm("是否要回退本次融资需求订单?").then(() => { | ||||
|         this.instance.post("/appfinancingdemand/cancelObtain", null, { | ||||
|         this.instance.post("/app/appfinancingdemand/cancelObtain", null, { | ||||
|           params: {id: this.detail.id} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
| @@ -139,7 +139,7 @@ export default { | ||||
|       this.$refs.AuditForm.validate(v => { | ||||
|         if (v) { | ||||
|           let {id} = this.detail | ||||
|           this.instance.post("/appfinancingdemand/confirmLoan", null, { | ||||
|           this.instance.post("/app/appfinancingdemand/confirmLoan", null, { | ||||
|             params: {id, ...this.form} | ||||
|           }).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|   | ||||
| @@ -82,7 +82,7 @@ export default { | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       let status = this.search.status || 999 | ||||
|       this.instance.post("/appfinancingdemand/list", null, { | ||||
|       this.instance.post("/app/appfinancingdemand/list", null, { | ||||
|         params: {...this.page, ...this.search, organizationId: this.user.financeUser?.organizationId, status} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -134,7 +134,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post(`/appfinancingdemand/staticFinancialDemandByOrganization?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => { | ||||
|       this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByOrganization?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => { | ||||
|         if (res?.data) { | ||||
|           // if (res.data['对接成功率(%)']) { | ||||
|           //   res.data['对接成功率(%)'] = Number(res.data['对接成功率(%)'] * 100) + '%' | ||||
| @@ -142,13 +142,13 @@ export default { | ||||
|           this.cloList = res.data | ||||
|         } | ||||
|       }) | ||||
|       this.instance.post(`/appfinancingdemand/staticFinancialDemandByApplyType?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => { | ||||
|       this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByApplyType?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => { | ||||
|         if (res?.data) { | ||||
|           this.applyInfo = res.data | ||||
|           this.circleChartInit(this.applyInfo) | ||||
|         } | ||||
|       }) | ||||
|       this.instance.post(`/appfinancingdemand/staticFinancialDemandByHot?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => { | ||||
|       this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByHot?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => { | ||||
|         if (res?.data) { | ||||
|           var nameList = [], applyList = [], auditList = [] | ||||
|           res.data.map((item) => { | ||||
| @@ -159,7 +159,7 @@ export default { | ||||
|           this.columnChartInit(nameList, applyList, auditList) | ||||
|         } | ||||
|       }) | ||||
|       this.instance.post(`/appfinancingdemand/staticFinancialDemandByMonth?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => { | ||||
|       this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByMonth?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => { | ||||
|         if (res?.data) { | ||||
|           var monthList = [], applyList = [], auditList = [] | ||||
|           res.data.map((item) => { | ||||
| @@ -174,7 +174,7 @@ export default { | ||||
|     }, | ||||
|     getList() { | ||||
|       let status = this.search.status || 999 | ||||
|       this.instance.post("/appfinancingdemand/list", null, { | ||||
|       this.instance.post("/app/appfinancingdemand/list", null, { | ||||
|         params: {...this.page, ...this.search, status} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -68,7 +68,7 @@ export default { | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       let status = this.search.status || 999 | ||||
|       this.instance.post("/appfinancialloanapply/list", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/list", null, { | ||||
|         params: {...this.page, ...this.search, status} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -75,7 +75,7 @@ export default { | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       let status = this.search.status || 888 | ||||
|       this.instance.post("/appfinancingdemand/list", null, { | ||||
|       this.instance.post("/app/appfinancingdemand/list", null, { | ||||
|         params: {...this.page, ...this.search, status} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -115,7 +115,7 @@ export default { | ||||
|      */ | ||||
|     save() { | ||||
|       this.$refs.processApproval?.handleProcessApproval().then(res => { | ||||
|         this.instance.post(`/approval-process-def/add-update`, { | ||||
|         this.instance.post(`/app/approval-process-def/add-update`, { | ||||
|           ...this.detailObj, | ||||
|           ...this.baseInfo, | ||||
|           processDefStatus: Number(this.baseInfo.processDefStatus), | ||||
| @@ -135,7 +135,7 @@ export default { | ||||
|       }) | ||||
|     }, | ||||
|     getDetail(id) { | ||||
|       this.instance.post(`/approval-process-def/info-id`, null, {params: {id}}).then(res => { | ||||
|       this.instance.post(`/app/approval-process-def/info-id`, null, {params: {id}}).then(res => { | ||||
|         if (res?.data) { | ||||
|           this.detailObj = res.data | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user