|
@@ -81,6 +81,8 @@
|
|
|
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
|
|
+ <apply-payment-confirm ref="applyPaymentConfirm" @getData="getDataList()" />
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -90,9 +92,11 @@ import BaseData from '@/views/base/baseData'
|
|
// import CompanyForm from '@/views/company/companyForm.vue'
|
|
// import CompanyForm from '@/views/company/companyForm.vue'
|
|
import indexCompanyShow from '@/views/prove/indexCompanyShow'
|
|
import indexCompanyShow from '@/views/prove/indexCompanyShow'
|
|
import myBus from '@/static/utils/myBus'
|
|
import myBus from '@/static/utils/myBus'
|
|
|
|
+import applyPaymentConfirm from '@/views/workflow/components/myProcess/applyPaymentConfirm.vue'
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
name: 'PendingAudit',
|
|
name: 'PendingAudit',
|
|
- components: { indexCompanyShow },
|
|
|
|
|
|
+ components: { applyPaymentConfirm, indexCompanyShow },
|
|
// extends: BasePanel,
|
|
// extends: BasePanel,
|
|
mixins: [Base, BaseData],
|
|
mixins: [Base, BaseData],
|
|
data() {
|
|
data() {
|
|
@@ -230,30 +234,14 @@ export default {
|
|
},
|
|
},
|
|
rowClick: function(row) {
|
|
rowClick: function(row) {
|
|
console.log('行数据——:', row)
|
|
console.log('行数据——:', row)
|
|
|
|
+ // 付款流程
|
|
if (row.handleType == 1) {
|
|
if (row.handleType == 1) {
|
|
- this.dialogTitle = '企业认证审核'
|
|
|
|
- this.dialogVisible = true
|
|
|
|
- // 获取参数
|
|
|
|
- const urlParam = {}
|
|
|
|
if (row.routeParam) {
|
|
if (row.routeParam) {
|
|
- if (row.routeParam.indexOf('&') > -1) {
|
|
|
|
- const parms = row.routeParam.split('&')
|
|
|
|
- parms.forEach(element => {
|
|
|
|
- const detil = element.split('=')
|
|
|
|
- this.$set(urlParam, detil[0], detil[1])
|
|
|
|
- })
|
|
|
|
- } else {
|
|
|
|
- if (row.routeParam.indexOf('=') > -1) {
|
|
|
|
- const detil = element.split('=')
|
|
|
|
- this.$set(urlParam, detil[0], detil[1])
|
|
|
|
- } else {
|
|
|
|
- this.$set(urlParam, 'id', detil[0])
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ const postData = this.queryURLParams('http://www.baidu.com?' + row.routeParam)
|
|
|
|
+ this.$refs.applyPaymentConfirm.setVisible(true, postData)
|
|
|
|
+ })
|
|
}
|
|
}
|
|
- this.$nextTick(() => {
|
|
|
|
- this.$refs.companyForm.initData(urlParam.id, urlParam.proveType)
|
|
|
|
- })
|
|
|
|
} else {
|
|
} else {
|
|
this.$router.push(row.routeUrl + '?' + row.routeParam)
|
|
this.$router.push(row.routeUrl + '?' + row.routeParam)
|
|
}
|
|
}
|
|
@@ -270,8 +258,17 @@ export default {
|
|
// this.$router.push(this.morePsRouter)
|
|
// this.$router.push(this.morePsRouter)
|
|
// }
|
|
// }
|
|
},
|
|
},
|
|
|
|
+ queryURLParams(URL) {
|
|
|
|
+ const url = URL.split('?')[1]
|
|
|
|
+ const urlSearchParams = new URLSearchParams(url)
|
|
|
|
+ const params = Object.fromEntries(urlSearchParams.entries())
|
|
|
|
+ return params
|
|
|
|
+ },
|
|
baseRequest(opUrl, postData) {
|
|
baseRequest(opUrl, postData) {
|
|
return this.$channel.globleRequest('WorkPanelController', opUrl, postData, 'project')
|
|
return this.$channel.globleRequest('WorkPanelController', opUrl, postData, 'project')
|
|
|
|
+ },
|
|
|
|
+ baseFlowRequest(prefix, opUrl, postData) {
|
|
|
|
+ return this.$channel.globleRequest(prefix, opUrl, postData, 'project task')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|