|
|
@@ -268,6 +268,12 @@
|
|
|
v-hasPermi="['credit:credit:del']"
|
|
|
v-show="scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null || scope.row.zfiStatus == '06'"
|
|
|
>删除</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-info"
|
|
|
+ @click="handleFlowable(scope.row)"
|
|
|
+ >查看流程</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -546,6 +552,12 @@
|
|
|
v-hasPermi="['credit:credit:del']"
|
|
|
v-show="scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null || scope.row.zfiStatus == '06'"
|
|
|
>删除</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-info"
|
|
|
+ @click="handleFlowable(scope.row)"
|
|
|
+ >查看流程</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -824,6 +836,12 @@
|
|
|
v-hasPermi="['credit:credit:del']"
|
|
|
v-show="scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null || scope.row.zfiStatus == '06'"
|
|
|
>删除</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-info"
|
|
|
+ @click="handleFlowable(scope.row)"
|
|
|
+ >查看流程</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -1102,6 +1120,12 @@
|
|
|
v-hasPermi="['credit:credit:del']"
|
|
|
v-show="scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null || scope.row.zfiStatus == '06'"
|
|
|
>删除</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-info"
|
|
|
+ @click="handleFlowable(scope.row)"
|
|
|
+ >查看流程</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -1380,6 +1404,12 @@
|
|
|
v-hasPermi="['credit:credit:del']"
|
|
|
v-show="scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null || scope.row.zfiStatus == '06'"
|
|
|
>删除</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-info"
|
|
|
+ @click="handleFlowable(scope.row)"
|
|
|
+ >查看流程</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -1658,6 +1688,12 @@
|
|
|
v-hasPermi="['credit:credit:del']"
|
|
|
v-show="scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null || scope.row.zfiStatus == '06'"
|
|
|
>删除</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-info"
|
|
|
+ @click="handleFlowable(scope.row)"
|
|
|
+ >查看流程</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -1669,6 +1705,15 @@
|
|
|
@pagination="getListInvalid"
|
|
|
/>
|
|
|
</el-tab-pane>
|
|
|
+
|
|
|
+ <!-- 查看流程 -->
|
|
|
+ <el-dialog title="查看流程" :visible.sync="openFlowDetail" width="1120px" append-to-body>
|
|
|
+ <flow-detail :financeId="financeId" :financeType="financeType" :financeActive="financeActive" v-if="openFlowDetail"></flow-detail>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="closeFliwDetail">关闭</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
</el-tabs>
|
|
|
</template>
|
|
|
|
|
|
@@ -1678,10 +1723,12 @@ import {creditRefuse,creditDel} from "@/api/service/credit/creditHandle";
|
|
|
import Editor from '@/components/Editor';
|
|
|
import {listCompanyHandler} from "@/api/common/companyHandler";
|
|
|
import Cookies from 'js-cookie'
|
|
|
+import FlowDetail from "@/views/service/credit/flowDetail";
|
|
|
export default {
|
|
|
name: "invoice",
|
|
|
components: {
|
|
|
- Editor
|
|
|
+ Editor,
|
|
|
+ FlowDetail
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -1713,6 +1760,7 @@ export default {
|
|
|
title: "",
|
|
|
// 是否显示弹出层
|
|
|
open: false,
|
|
|
+ openFlowDetail: false,
|
|
|
//融信类型
|
|
|
typeOptions: [],
|
|
|
//状态
|
|
|
@@ -1833,7 +1881,10 @@ export default {
|
|
|
infInvalidList:[],
|
|
|
// 表单参数
|
|
|
form: {
|
|
|
- }
|
|
|
+ },
|
|
|
+ financeId: null,
|
|
|
+ financeType: null,
|
|
|
+ financeActive: 0
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
@@ -2412,8 +2463,54 @@ export default {
|
|
|
return $1 + ',';
|
|
|
}).replace(/\.$/, '');
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
+ //查看流程
|
|
|
+ handleFlowable(row){
|
|
|
+ const zfiId = row.zfiId
|
|
|
+ const zfiCreateType = row.zfiCreateType
|
|
|
+ const zfiStatus = row.zfiStatus
|
|
|
+ const zfiCoreStatus = row.zfiCoreStatus
|
|
|
+ const zfiPlatformStatus = row.zfiPlatformStatus
|
|
|
+ const zfiSupplierStatus = row.zfiSupplierStatus
|
|
|
+ console.log(zfiStatus)
|
|
|
+ var active = 0
|
|
|
+ if(zfiCreateType == '0'){
|
|
|
+ if(zfiStatus == '01' || !zfiStatus){
|
|
|
+ active = 1
|
|
|
+ }else if(zfiStatus == '00'){
|
|
|
+ active = 2
|
|
|
+ }else if(zfiStatus == '01'){
|
|
|
+ active = 3
|
|
|
+ }else if(zfiStatus == '02'){
|
|
|
+ active = 4
|
|
|
+ }
|
|
|
+ }else if(zfiCreateType == '1'){
|
|
|
+ if(zfiStatus == '01'){
|
|
|
+ active = 1
|
|
|
+ }else if(zfiCoreStatus == '01' && zfiStatus == '01' || zfiCoreStatus == '01' && zfiStatus == '06'){
|
|
|
+ active = 2
|
|
|
+ }else if(zfiStatus == '01' && zfiPlatformStatus == '01'){
|
|
|
+ active = 3
|
|
|
+ }else if(zfiStatus == '02'){
|
|
|
+ active = 4
|
|
|
+ }
|
|
|
+ }else if(zfiCreateType == '2'){
|
|
|
+ if(zfiSupplierStatus == '01' && !zfiStatus){
|
|
|
+ active = 1
|
|
|
+ }else if(zfiPlatformStatus == '01' && !zfiStatus){
|
|
|
+ active = 2
|
|
|
+ }else if(zfiStatus == '02'){
|
|
|
+ active = 3
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.openFlowDetail = true
|
|
|
+ this.financeId = zfiId
|
|
|
+ this.financeType = zfiCreateType
|
|
|
+ this.financeActive = active
|
|
|
+ },
|
|
|
+ //关闭流程
|
|
|
+ closeFliwDetail(){
|
|
|
+ this.openFlowDetail = false
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
};
|