liting2017 6 years ago
parent
commit
14ad62bae0

+ 1 - 1
js/admin/idea.js

@@ -4,7 +4,7 @@ import '../../css/base.less';
 
 import TopTab from '../component/manageCenter/topTab.jsx';
 import Footer from '../component/manageCenter/bottom.jsx';
-import Content from '../component/manageCenter/idea/content.jsx';
+import Content from '../component/manageCenter/financialManage/content.jsx';
 
 ReactDOM.render(
     <div className="wrap clearfix">

+ 179 - 17
js/component/dataDic.js

@@ -1849,7 +1849,7 @@ module.exports = {
 			{value:'科技服务项目',key:'services'},
 			{value:'科技成果管理',key:'achievement'},
 			{value:'科技需求管理',key:'demand'},
-			{value:'科技思想管理',key:'idea'},
+			{value:'财务管理',key:'idea'},
 			{value:'用户订单管理',key:'userOrder'},
 			{value:'系统设置',key:'system'},
 			{value:'订单管理',key:'order'},
@@ -2139,22 +2139,6 @@ module.exports = {
 	        key: "已撤项"
 	    }
     ],
-     //任务状态	
-    taskStatus:[
-    	{
-	        value: "0",
-	        key: "未分配"
-	    },{
-	        value: "1",
-	        key: "已派单"
-	    }, {
-	        value: "2",
-	        key: "材料已启动"
-	    },{
-	        value: "3",
-	        key: "材料已完成"
-	    }
-    ],
      //公示状态	
     publishStatus:[
     	{
@@ -2354,4 +2338,182 @@ module.exports = {
 	        key: "验收不合格"
 	    }
     ],
+    /* 业务系统开发 */
+    //订单状态
+    newOrderStatus:[
+        {
+	        value: "0",
+	        key: "待签单"
+	    },{
+	        value: "1",
+	        key: "签单待审"
+	    },{
+	        value: "2",
+	        key: "签单审核通过"
+	    },{
+	        value: "3",
+	        key: "签单审核拒绝"
+	    },{
+	        value: "4",
+	        key: "已结项"
+	    },{
+	        value: "5",
+	        key: "已驳回"
+	    },{
+	        value: "6",
+	        key: "已退单"
+	    }    
+    ],
+    //清算状态
+    liquidationStatus:[
+        {
+	        value: "0",
+	        key: "首付待付请"
+	    },{
+	        value: "1",
+	        key: "尾款待付清"
+	    },{
+	        value: "2",
+	        key: "已付请"
+	    },{
+	        value: "3",
+	        key: "部分退款"
+	    },{
+	        value: "4",
+	        key: "全部退款"
+	    }   
+    ],
+    //流程状态
+    processStatus:[
+        {
+	        value: "0",
+	        key: "已派营销员"
+	    },{
+	        value: "1",
+	        key: "已派营销管理员"
+	    },{
+	        value: "2",
+	        key: "已派财务管理员"
+	    },{
+	        value: "3",
+	        key: "已派财务专员"
+	    },{
+	        value: "4",
+	        key: "已派咨询师管理员"
+        },{
+	        value: "5",
+	        key: "已部分派咨询师经理"
+	    },{
+	        value: "6",
+	        key: "已全部派咨询师经理"
+	    }
+    ],
+    //项目状态
+    projectStatus:[
+        {
+	        value: "0",
+	        key: "项目待提交"
+	    },{
+	        value: "1",
+	        key: "项目已提交"
+	    },{
+	        value: "2",
+	        key: "项目评审"
+	    },{
+	        value: "3",
+	        key: "项目待公示"
+	    },{
+	        value: "4",
+	        key: "项目公示"
+        },{
+	        value: "5",
+	        key: "项目抽查"
+	    },{
+	        value: "6",
+	        key: "项目备案"
+	    },{
+	        value: "7",
+	        key: "项目下证"
+        },{
+	        value: "8",
+	        key: "项目验收"
+	    },{
+	        value: "9",
+	        key: "项目拨款"
+	    }
+    ],
+    //特批状态
+    approval:[
+        {
+	        value: "0",
+	        key: "非特批"
+	    },{
+	        value: "1",
+	        key: "待审核"
+        },{
+	        value: "2",
+	        key: "通过"
+	    },{
+	        value: "3",
+	        key: "驳回"
+	    }
+    ],
+    //任务状态
+    taskStatus:[
+        {
+	        value: "0",
+	        key: "未分派"
+	    },{
+	        value: "1",
+	        key: "已分派"
+        },{
+	        value: "2",
+	        key: "材料已启动"
+	    },{
+	        value: "3",
+	        key: "材料已完成"
+	    }
+    ],
+    //退单状态
+    refundStatus:[
+        {
+	        value: "0",
+	        key: "待审核"
+	    },{
+	        value: "1",
+	        key: "审核通过"
+        },{
+	        value: "2",
+	        key: "审核拒绝"
+	    }
+    ],
+    //交易渠道1
+   
+     transactionChannel:[
+        {
+           value: "0",
+           key: "微信"
+       }, {
+           value: "1",
+           key: "支付宝"
+       }, {
+           value: "2",
+           key: "银联"
+       }
+   ],
+    //交易科目		
+   transactionProject:[
+        {
+           value: "0",
+           key: "代收"
+       }, {
+           value: "1",
+           key: "代付"
+       }, {
+           value: "2",
+           key: "退款"
+       }
+   ],
+    
+
 };

+ 15 - 0
js/component/manageCenter/financialManage/bonus/jsBonus.jsx

@@ -0,0 +1,15 @@
+import {Component} from 'react';
+
+class JsBounus extends Component {
+    constructor(props) {
+        super(props);
+        this.state = {  }
+    }
+    render() { 
+        return (<div className="admin-content">
+           DepartWater 
+        </div> );
+    }
+}
+ 
+export default JsBounus;

+ 14 - 0
js/component/manageCenter/financialManage/bonus/yxBonus.jsx

@@ -0,0 +1,14 @@
+import React,{Component} from 'react';
+class YxBonus extends Component {
+    constructor(props) {
+        super(props);
+        this.state = {  }
+    }
+    render() { 
+        return (<div className="admin-content">
+            YxBonus
+        </div> );
+    }
+}
+ 
+export default YxBonus;

+ 112 - 0
js/component/manageCenter/financialManage/content.jsx

@@ -0,0 +1,112 @@
+import React, { Component } from 'react';
+import '../content.less';
+import './content.less';
+import LeftTab from '../leftTab';
+import {getMenu} from '../publicMenu.js'
+
+class Content extends Component {
+    constructor() {
+        super();
+        this.state = {
+            loading: false,
+            component: <div></div>,
+        };
+    }
+    componentWillMount() {
+    	var ids=window.location.href.indexOf('rid=');
+        var idk=window.location.href.substr(ids+4);
+        var rid=idk.split('#');
+        let menu=getMenu(rid);
+        let curry;
+        if(menu[0].subMenus.length>0){
+        	curry=menu[0].subMenus[0].url.split('#');
+        }else{
+        	curry=menu[0].url.split('#');
+        };
+        if (window.location.hash) {
+            this.getKey(window.location.hash.substr(1));
+        } else {
+         this.getKey(curry[1]);
+        };
+    }
+    getKey(key) {
+        switch (key) {
+            case 'paiDan': //派单管理
+                require.ensure([], () => {
+                    let Module = require('./distribute/paiDan').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'shouKuang': //收款管理
+                require.ensure([], () => {
+                    let Module = require('./distribute/shouKuang').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;
+            case 'tuiDan': //退单管理
+                require.ensure([], () => {
+                    let Module = require('./distribute/tuiDan').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;    
+            case 'myWater': //我的订单流水
+                require.ensure([], () => {
+                    let Module = require('./flowWater/myWater').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;   
+            case 'departWater': //部门订单流水
+                require.ensure([], () => {
+                    let Module = require('./flowWater/departWater').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;     
+            case 'yxBonus': //营销员奖金
+                require.ensure([], () => {
+                    let Module = require('./bonus/yxBonus').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;   
+            case 'jsBonus': //技术员奖金
+                require.ensure([], () => {
+                    let Module = require('./bonus/jsBonus').default;
+                    this.setState({
+                        component: <Module />,
+                    });
+                });
+                break;          
+            default:
+            require.ensure([], () => {
+                let Module = require('../module').default;
+                this.setState({
+                    component:<Module />	    
+                	});
+               });  
+        };
+        window.location.hash = key;
+    }
+    render() {
+        return (
+            <div className="manage-content">
+                <LeftTab handlekey={this.getKey.bind(this)} />
+                <div className="content-right">
+                    {this.state.component}
+                </div>
+            </div>
+        )
+    }
+}
+
+export default Content;

+ 119 - 0
js/component/manageCenter/financialManage/content.less

@@ -0,0 +1,119 @@
+.admin-content {
+    background: #fff;
+    padding: 20px;
+    color: #666;
+    .admin-content-title {
+        font-size: 16px;
+    }
+    .admin-content-warp {
+        padding: 10px;
+        .admin-content-header {
+            margin-bottom: 10px;
+            line-height: 28px;
+            >span {
+                font-size: 14px
+            }
+            >button {
+                float: right;
+                margin-right: 20px;
+            }
+        }
+        .admin-content-search {
+            margin-bottom: 10px;
+            >* {
+                margin-top: 10px;
+                margin-right: 10px;
+            }
+        }
+    }
+}
+
+.ant-modal-body {
+    .modal-box {
+        overflow: hidden;
+        line-height: 28px;
+        margin-bottom: 10px;
+        .modal-box-title {
+            float: left;
+            width: 84px;
+            text-align: right;
+            margin-right: 20px;
+        }
+        .modal-box-detail {
+            float: left;
+            width: 400px;
+            >span {
+                margin-right: 6px;
+            }
+        }
+        >button {
+            margin-right: 20px;
+        }
+    }
+}
+
+.no-all-select {
+    .ant-table-selection {
+        .ant-checkbox {
+            display: none;
+        }
+    }
+}
+
+.news-modal {
+    .quill {
+        margin-top:10px;
+        margin-bottom: 40px;
+        .ql-editor {
+            min-height: 400px;
+        }
+    }
+    .ant-modal-body {
+        padding-bottom: 50px;
+        .modal-box {
+            float: left;
+        }
+        .news-box {
+            float: left;
+            width: 280px;
+            .modal-box-detail {
+                width: 160px;
+            }
+        }
+    }
+}
+
+.avatar-uploader,
+.avatar-uploader-trigger,
+.avatar {
+    width: 150px;
+    height: 150px;
+}
+
+.avatar-uploader {
+    display: block;
+    padding: 1px;
+    border: 1px dashed #d9d9d9;
+    border-radius: 6px;
+    cursor: pointer;
+    position: relative;
+    img {
+        position: absolute;
+        top: -1px;
+        left: -1px;
+        height: 150px;
+    } //
+    float: left;
+    margin-right: 20px;
+}
+
+.avatar-uploader-trigger {
+    display: table-cell;
+    vertical-align: middle;
+    font-size: 28px;
+    color: #999;
+}
+.jmrhFlag{margin-right: 15px;}
+.provin{width: 100px;height: 28px;line-height: 28px;border-radius: 4px;border-color: #d9d9d9;padding:4px 0px;transition: all .5s;}
+.provin:focus{outline: none;box-shadow: 0px 0px 6px #80b9ff;border-color: #80b9ff;}
+

+ 334 - 0
js/component/manageCenter/financialManage/distribute/paiDan.jsx

@@ -0,0 +1,334 @@
+import React,{Component} from 'react';
+import ajax from 'jquery/src/ajax/xhr.js';
+import $ from 'jquery/src/ajax';
+import moment from 'moment';
+import './public.less';
+import { Icon, Button,Form, Input, Select, Spin, Table, Switch, message, DatePicker, Modal } from 'antd';
+import OrderDesc from '../orderDetail/orderDesc'
+import Assign from '@/manageCenter/publicComponent/assign';
+const FormItem = Form.Item;
+
+const ShouKuang = React.createClass({
+    loadData(pageNo) {
+        this.state.data = [];
+        this.setState({
+            page:pageNo,
+            loading: true
+        });
+        $.ajax({
+            method: "post",
+            dataType: "json",
+            crossDomain: false,
+            url: globalConfig.context + "/api/admin/order/listAllSettlement",
+            data: {
+                pageNo: pageNo || 1,
+                pageSize: this.state.pagination.pageSize,
+                ownerName: this.state.nameSearch,//客户名称
+                orderNo:this.state.orderNoSearch,
+                startDate: this.state.releaseDate[0],
+                endDate: this.state.releaseDate[1],
+            },
+            success: function (data) {
+                let theArr = [];
+                if (!data.data || !data.data.list) {
+                    if (data.error && data.error.length) {
+                        message.warning(data.error[0].message);
+                    };
+                } else {
+                    for (let i = 0; i < data.data.list.length; i++) {
+                        let thisdata = data.data.list[i];
+                        theArr.push({
+                            key: i,
+		                    orderNo: thisdata.orderNo,
+		                    orderType:thisdata.orderType,
+		                    orderStatus:thisdata.orderStatus,
+		                    processStatus:thisdata.processStatus,
+		                    projectStage:thisdata.projectStage,
+		                    approval:thisdata.approval,
+		                    creater:thisdata.creater,
+                            createTime:thisdata.createTime?(new Date(thisdata.createTime)).toLocaleString():'',
+                            signTime:thisdata.releaseDate?(new Date(thisdata.releaseDate)).toLocaleString():''
+                        });
+                    };
+                }
+                this.state.pagination.current = data.data.pageNo;
+                this.state.pagination.total = data.data.totalCount;
+                if(data.data&&data.data.list&&!data.data.list.length){
+					this.state.pagination.current=0
+					this.state.pagination.total=0
+				}
+                this.setState({
+                    dataSource: theArr,
+                    pagination: this.state.pagination
+                });
+            }.bind(this),
+        }).always(function () {
+            this.setState({
+                loading: false
+            });
+        }.bind(this));
+    },
+    getInitialState() {
+        return {
+            searchMore: true,
+            assignVisible:false,
+            validityPeriodDate: [],
+            releaseDate: [],
+            boHuivisible:false,
+            selectedRowKeys: [],
+            selectedRows: [],
+            loading: false,
+            pagination: {
+                defaultCurrent: 1,
+                defaultPageSize: 10,
+                showQuickJumper: true,
+                pageSize: 10,
+                onChange: function (page) {
+                    this.loadData(page);
+                }.bind(this),
+                showTotal: function (total) {
+                    return '共' + total + '条数据';
+                }
+            },
+            columns: [
+                {
+                    title: '订单编号',
+                    dataIndex: 'orderNo',
+                    key: 'orderNo',
+                }, {
+                    title: '下单时间',
+                    dataIndex: 'createTime',
+                    key: 'createTime',
+                },  {
+                    title: '签单时间',
+                    dataIndex: 'signTime',
+                    key: 'signTime',
+                },
+                {
+                    title: '签单客户',
+                    dataIndex: 'category',
+                    key: 'category',
+                },
+                {
+                    title: '流程状态',
+                    dataIndex: 'processStatus',
+                    key: 'processStatus',
+                    render: text => { return text?'精品':'非精品' }
+                },
+                {
+                    title: '订单总金额(万)',
+                    dataIndex: 'totalAmount',
+                    key: 'totalAmount'
+                },
+                {
+                    title: '是否特批',
+                    dataIndex: 'approval',
+                    key: 'approval',
+                    render: text => { return text?'已特批':'未特批'}
+                },
+                {
+                    title: '订单负责人',
+                    dataIndex: 'creater',
+                    key: 'creater'
+                },
+                {
+                    title:'操作',
+                    dataIndex: 'caozuo',
+                    key: 'caouzo',
+                    render:(text,recard)=>{
+                        return <div>
+                            <Button type="primary" style={{margin:'0 10px'}} onClick={(e)=>{e.stopPropagation(),this.evaluate(recard)}}>分派</Button>
+                            <Button type="danger" onClick={(e)=>{e.stopPropagation(),this.reject(recard)}}>驳回</Button>
+                        </div>
+                    }
+                }
+            ],
+            dataSource: [],
+            searchTime: [,]
+        }
+    },
+    /* 分派 */
+    evaluate(recard){
+        this.state.assignData=recard;
+        this.setState({
+            assignVisible:true
+        })
+    },
+    /* 驳回 */
+    reject(recard){
+       this.setState({
+           bohuiData:recard,
+           boHuiVisible:true,
+           content:''
+       })
+    },
+    boHuiOk(){
+        this.setState({
+            boHuiVisible:false
+        })
+        this.loadData(this.state.page);
+    },
+    boHuiCancel(e){
+       
+        this.setState({
+            boHuiVisible:false
+        })
+    },
+    componentWillMount() {
+        this.loadData();
+    },
+    tableRowClick(record, index) {
+        this.state.RowData = record;
+        this.setState({
+            showDesc: true,
+        });
+    },
+    closeDesc(e, s) {
+        this.state.showDesc = e;
+        if (s) {
+            this.loadData(this.state.page);
+        };
+    },
+    closeAssign(e, s) {
+        this.state.assignVisible = e;
+        if (s) {
+            this.loadData(this.state.page);
+        };
+    },
+    search() {
+        this.loadData();
+    },
+    reset() {
+        this.state.nameSearch = '';
+        this.state.releaseDate = [];
+        this.state.orderNoSearch=''
+        this.loadData();
+    },
+    //驳回
+    boHuiSubmit(e){
+        e.preventDefault();
+        if(!this.state.content){
+            message.warning('请填写驳回原因');
+            return false;
+        }
+        this.setState({
+            loading:true
+        })
+        $.ajax({
+            method: "POST",
+            dataType: "json",
+            crossDomain: false,
+            url: globalConfig.context + "/api/user/achievement/delete",
+            data: {
+                id: this.state.bohuiData.id,
+                content:this.state.content
+            }
+        }).done(function (data) {
+            if (!data.error.length) {
+                message.success('驳回成功!');
+                this.setState({
+                    loading: false
+                });
+                if((this.state.total)%10==1){
+                    this.loadData((this.state.page)-1);
+                }else{
+                    this.loadData(this.state.page);
+                }
+            } else {
+                message.warning(data.error[0].message);
+            };
+        }.bind(this));
+    },
+    searchSwitch() {
+        this.setState({
+            searchMore: !this.state.searchMore
+        });
+    },
+    render() { 
+        const rowSelection = {
+            selectedRowKeys: this.state.selectedRowKeys,
+            onChange: (selectedRowKeys, selectedRows) => {
+                this.setState({
+                    selectedRows: selectedRows.slice(-1),
+                    selectedRowKeys: selectedRowKeys.slice(-1)
+                });
+            }
+        };
+        const hasSelected = this.state.selectedRowKeys.length > 0;
+        const { RangePicker } = DatePicker;
+        const hasSelect = this.state.selectedRowKeys.length;
+        return ( <div className="user-content">
+            <div className="content-title">
+                    <span>派单管理</span>
+                </div>
+                <div className="user-search">
+                    <Input placeholder="客户名称"
+                        value={this.state.nameSearch}
+                        onChange={(e) => { this.setState({ nameSearch: e.target.value }); }} />
+                    <Input placeholder="订单编号"
+                        value={this.state.orderNoSearch}
+                        onChange={(e) => { this.setState({ orderNoSearch: e.target.value }); }} />
+                    <Button type="primary" onClick={this.search}>搜索</Button>
+                    <Button onClick={this.reset}>重置</Button>
+                    <span>更多搜索<Switch defaultChecked={false} onChange={this.searchSwitch.bind(this)} /></span>
+                    <div className="search-more" style={this.state.searchMore ? { display: 'none' } : {}}>
+                        <Input style={{width:140,marginRight:10}} value={this.state.employerNameSearch} onChange={(e)=>{this.setState({employerNameSearch:e.target.value})}} placeholder="客户名称"/>
+                        <span>订单时间 :</span>
+                        <RangePicker
+                            value={[this.state.releaseDate[0] ? moment(this.state.releaseDate[0]) : null,
+                            this.state.releaseDate[1] ? moment(this.state.releaseDate[1]) : null]}
+                            onChange={(data, dataString) => { this.setState({ releaseDate: dataString }); }} />
+                    </div>
+                </div>
+                <div className="patent-table">
+                    <Spin spinning={this.state.loading}>
+                        <Table columns={this.state.columns}
+                            dataSource={this.state.dataSource}
+                            rowSelection={rowSelection}
+                            pagination={this.state.pagination}
+                            onRowClick={this.tableRowClick.bind(this)} />
+                    </Spin>
+                </div>
+                <OrderDesc
+                    data={this.state.RowData}
+                    showDesc={this.state.showDesc}
+                    closeDesc={this.closeDesc.bind(this)}
+                />
+                <Assign
+                    selApi="/api/admin/order/appointSalesman"
+                    data={this.state.assignData}
+                    showDesc={this.state.assignVisible}
+                    closeDesc={this.closeAssign.bind(this)}
+                />
+                <Modal visible={this.state.boHuiVisible} 
+                        width="400px" 
+                        title="驳回备注"
+                        footer=''
+                        onOk={this.boHuiOk} 
+                        onCancel={this.boHuiCancel}
+                >
+                    <Form layout="horizontal" onSubmit={this.boHuiSubmit}>
+			                <Spin spinning={this.state.loading}>
+                                <FormItem labelCol={{ span: 5 }} wrapperCol={{ span: 16 }} label={<span><strong style={{color:'#f00'}}>*</strong>驳回原因</span>}>
+									<Input
+										type="textarea"
+										rows={4}
+										placeholder="请输入驳回原因"
+										value={this.state.content}
+										onChange={(e) => {
+											this.setState({ content: e.target.value });
+										}}
+									/>
+								</FormItem>   
+                                <FormItem wrapperCol={{ span: 12, offset:5 }}>  
+                                        <Button type="primary" htmlType="submit"  style={{marginRight:20}}>驳回</Button>
+                                        <Button type="default" onClick={()=>{this.boHuiCancel()}}>取消</Button>
+                                </FormItem>        
+                            </Spin>
+                        </Form>
+                </Modal>
+        </div> )
+    }
+})
+ 
+export default ShouKuang;

+ 98 - 0
js/component/manageCenter/financialManage/distribute/public.less

@@ -0,0 +1,98 @@
+.user-content {
+    background: #fff;
+    padding: 20px;
+    .content-title {
+        color: #333;
+        font-size: 16px;
+    }
+    .user-search {
+        margin-bottom: 10px;
+        >input {
+            width: 140px;
+        }
+        >input,
+        >button,
+        .ant-select {
+            margin-right: 10px;
+            margin-top: 10px;
+        }
+        .ant-switch {
+            margin-left: 10px;
+        }
+        
+        .search-more {
+            margin: 10px 0;
+            span {
+                margin-right: 10px
+            }
+        }
+    }
+}
+button:focus,button:active{
+    outline: none
+}
+.btnRight button{
+    margin-right: 10px;
+}
+.patent-addNew {
+    float: right;
+    margin-left: 20px;
+    button {
+        background: #ea0862;
+        color: #fff;
+        border: none;
+        border-radius: 4px;
+        padding: 6px 10px;
+        margin-left: 20px;
+    }
+    button:hover {
+        background: #ea0862;
+    }
+}
+
+#demand-form {
+    .half-item {
+        float: left;
+        width: 50%;
+        margin-bottom: 10px;
+    }
+    .item-title {
+        line-height: 30px;
+        font-size: 14px;
+        color: #666;
+    }
+    .form-title {
+        font-size: 16px;
+        color: #333;
+    }
+    .keyWord-tips {
+        >button {
+            vertical-align: middle;
+        }
+    }
+    .set-submit {
+        margin-right: 20px;
+    }
+    .demandDetailShow-upload {
+        .anticon-eye-o {
+            margin-left: -8px;
+        }
+        .anticon-delete {
+            display: none
+        }
+    }
+}
+
+.ant-modal-content {
+    .modal-submit {
+        margin-left: 20px;
+    }
+}
+
+.ant-table-thead {
+    .ant-table-selection-column {
+        .ant-checkbox-wrapper {
+            display: none;
+        }
+    }
+}

+ 15 - 0
js/component/manageCenter/financialManage/distribute/shouKuang.jsx

@@ -0,0 +1,15 @@
+import {Component} from 'react';
+
+class ShouKuang extends Component {
+    constructor(props) {
+        super(props);
+        this.state = {  }
+    }
+    render() { 
+        return ( <div className="admin-content">
+            ShouKuang
+        </div> );
+    }
+}
+ 
+export default ShouKuang;

+ 15 - 0
js/component/manageCenter/financialManage/distribute/tuiDan.jsx

@@ -0,0 +1,15 @@
+import {Component} from 'react';
+
+class TuiDan extends Component {
+    constructor(props) {
+        super(props);
+        this.state = {  }
+    }
+    render() { 
+        return ( <div className="admin-content">
+            TuiDan
+        </div> );
+    }
+}
+ 
+export default TuiDan;

+ 14 - 0
js/component/manageCenter/financialManage/flowWater/departWater.jsx

@@ -0,0 +1,14 @@
+import {Component} from 'react';
+class DepartWater extends Component {
+    constructor(props) {
+        super(props);
+        this.state = {  }
+    }
+    render() { 
+        return (<div className="admin-content">
+           DepartWater 
+        </div> );
+    }
+}
+ 
+export default DepartWater;

+ 15 - 0
js/component/manageCenter/financialManage/flowWater/myWater.jsx

@@ -0,0 +1,15 @@
+import {Component} from 'react';
+
+class MyWater extends Component {
+    constructor(props) {
+        super(props);
+        this.state = {  }
+    }
+    render() { 
+        return ( <div className="admin-content">
+            MyWater
+        </div> );
+    }
+}
+ 
+export default MyWater;

+ 58 - 0
js/component/manageCenter/financialManage/orderDetail/orderDesc.jsx

@@ -0,0 +1,58 @@
+import React from 'react';
+import { Modal, Spin } from 'antd';
+import OrderDetaiel from './orderDetail';
+
+class DemandDesc extends React.Component {
+	constructor(props) {
+		super(props);
+		this.state = {
+			loading: false,
+			showState:false
+		};
+	}
+	handleCancel() {
+		this.setState({
+			visible: false,
+		});
+		this.props.closeDesc(false, false);
+	}
+	handOk() {
+		this.setState({
+			visible: false,
+		});
+		this.props.closeDesc(false, true);
+	}
+	componentWillReceiveProps(nextProps) {
+		this.state.visible = nextProps.showDesc;
+	}
+	render() {
+		let data = this.props.data || {releaseStatus:0};
+		return (
+			<div className="patent-desc">
+				<Modal
+					maskClosable={false}
+					visible={this.state.visible}
+					onOk={this.handOk.bind(this)}
+					onCancel={this.handleCancel.bind(this)}
+					width="1000px"
+					title='订单详情'
+					footer=""
+					className="admin-desc-content"
+				>
+					<div>
+						<div>
+							<OrderDetaiel
+								closeDesc={this.handleCancel.bind(this)}
+								data={this.props.data}
+								visible={this.state.visible}
+								handOk={this.handOk.bind(this)}
+							/>
+						</div>
+					</div>
+				</Modal>
+			</div>
+		);
+	}
+}
+
+export default DemandDesc;

+ 347 - 0
js/component/manageCenter/financialManage/orderDetail/orderDetail.jsx

@@ -0,0 +1,347 @@
+import React from 'react';
+import $ from 'jquery/src/ajax';
+import {
+	Modal,
+	message,
+	Spin,
+	Upload,
+	Input,
+	Button,
+    Form,
+    Table
+} from 'antd';
+import {getOrderType} from '@/tools';
+
+import {  splitUrl } from '@/tools.js';
+const FormItem = Form.Item;
+
+const OrderDetail = Form.create()(React.createClass({
+    loadXmu(record) {
+        this.state.data = [];
+        this.setState({
+            loading: true
+        });
+        $.ajax({
+            method: "get",
+            dataType: "json",
+            crossDomain: false,
+            url: globalConfig.context + '/api/admin/order/getOrderCommodity',
+            data: {
+            	orderNo:record?record.orderNo:this.props.data.orderNo
+            },
+            success: function (data) {
+                let theArr = [];
+                if (!data.data) {
+                    if (data.error && data.error.length) {
+                        message.warning(data.error[0].message);
+                    };
+                } else {
+                    for (let i = 0; i < data.data.length; i++) {
+                        let thisdata = data.data[i];
+                        theArr.push({
+                             key: i,
+                             id:thisdata.id,
+                             orderNo:thisdata.orderNo,
+                             commodityName:thisdata.commodityName,
+                             commodityType:thisdata.commodityType,
+                             commodityMode:thisdata.commodityMode,
+                             commodityQuantity:thisdata.commodityQuantity,
+                             commodityPrice:thisdata.commodityPrice,
+                             discountPrice:thisdata.discountPrice,
+                             commodityFirstPayment:thisdata.commodityFirstPayment,
+                             createTimes:thisdata.createTimes,
+                             discountFirstPayment:thisdata.discountFirstPayment,
+                             remarks:thisdata.remarks,
+                             commodityId:thisdata.commodityId,
+                        });
+                    };
+                   }
+                this.setState({
+                    dataSource: theArr,
+                    pagination: false,
+                });
+            }.bind(this),
+        }).always(function () {
+            this.setState({
+                loading: false
+            });
+        }.bind(this));
+    },
+    getInitialState() {
+        return {
+            visible: false,
+            loading: false,
+            auditStatus: 0,
+            textFileList: [],
+            videoFileList: [],
+            pictureUrl: [],
+            pictureUrlMin:[],
+            columns: [
+				{
+                    title: '业务项目名称',
+                    dataIndex: 'commodityName',
+                    key: 'commodityName'
+                }, {
+                    title: '项目类别',
+                    dataIndex: 'commodityType',
+                    key: 'commodityType',
+                    render:(text)=>{
+                    	return (getOrderType(text))
+                    }
+                },{
+                    title: '项目数量',
+                    dataIndex: 'commodityQuantity',
+                    key: 'commodityQuantity'
+                }, {
+                    title: '服务市价(万元)',
+                    dataIndex: 'commodityPrice',
+                    key: 'commodityPrice'
+                }, {
+                    title: '实签价格(万元)',
+                    dataIndex: 'discountPrice',
+                    key: 'discountPrice'
+                }, {
+                    title: '下单时间',
+                    dataIndex: 'createTimes',
+                    key: 'createTimes'
+                }, {
+                    title: '项目说明',
+                    dataIndex: 'remarks',
+                    key: 'remarks',
+					render:(text)=>{
+						return (text&&text.length>8?text.substr(0,8)+'…':text)
+					}
+                }
+			],
+        };
+    },
+    loadData(id) {
+        this.setState({
+            loading: true
+        });
+        $.ajax({
+            method: "get",
+            dataType: "json",
+            crossDomain: false,
+            url: globalConfig.context +  '/api/admin/achievement/achievementDetail' ,
+            data: {
+                id: id
+            },
+            success: function (data) {
+                let thisData = data.data;
+                if (!thisData) {
+                    if (data.error && data.error.length) {
+                        message.warning(data.error[0].message);
+                    };
+                    thisData = {};
+                };
+                let publishPagesArr = [];
+                thisData.publishPages.map(item=>{
+					publishPagesArr.push(item.publishPage)
+                })
+                this.setState({
+                    id:thisData.id,
+                    publishPagesArr:publishPagesArr,
+					data: thisData,
+					isHot:thisData.isHot,
+					isUrgent:thisData.isUrgent,
+					status:thisData.status,
+					isHot:thisData.isHot,
+                    pictureUrl: thisData.technicalPictureUrl ? splitUrl(thisData.technicalPictureUrl, ',', globalConfig.avatarHost + '/upload') : [],
+                    pictureUrlMin: thisData.pictureUrlMin ? splitUrl(thisData.pictureUrlMin, ',', globalConfig.avatarHost + '/upload') : []
+                });
+            }.bind(this),
+        }).always(function () {
+            this.setState({
+                loading: false
+            });
+        }.bind(this));
+    },
+    getPictureUrl(e) {
+        this.setState({ pictureUrl: e });
+    },
+	cancelFun(){
+		this.props.closeDesc();
+    },
+    //审核通过/拒绝
+    updateFun(index){
+        this.setState({
+            loading:true
+        })
+        $.ajax({
+            method: "post",
+            dataType: "JSON",
+            crossDomain: false,
+            url: globalConfig.context +  '/api/admin/achievement/audit',
+            data: {
+                id: this.state.id,
+                auditResult:index,
+                auditInfo:this.state.refuseValue
+            }
+        }).done(function (data) {
+            if (!data.error.length) {
+                message.success('操作成功!');
+                this.setState({
+                    loading: false,
+                });
+                this.props.handOk()
+            } else {
+                message.warning(data.error[0].message);
+            };
+        }.bind(this));
+    },
+    //审核拒绝
+    refuse(){
+        this.setState({
+            refuseValue:'',
+            refuseVisible:true
+        })
+    },
+    refuseOk(){
+        if(!this.state.refuseValue){
+            message.warning('请填写拒绝原因。')
+            return;
+        }
+        this.setState({
+            refuseVisible:false
+        })
+        this.updateFun(0)
+    },
+    refuseCancel(){
+        this.setState({
+            refuseValue:'',
+            refuseVisible:false
+        })
+    },
+    componentWillMount() {
+        if (this.props.data.orderNo) {
+            this.loadData(this.props.data.id);
+            this.loadXmu(this.props.data.data);
+        } else {
+            this.state.data = {};
+        };
+    },
+    componentWillReceiveProps(nextProps) {
+        if (!this.props.visible && nextProps.visible) {
+            this.state.textFileList = [];
+            this.state.videoFileList = [];
+            if (nextProps.data.orderNo) {
+                this.loadData(nextProps.data.id);
+                this.loadXmu(nextProps.data);
+            } else {
+				this.state.data = {};
+                this.state.pictureUrl = [];
+                this.state.pictureUrlMin=[];
+            };
+            this.props.form.resetFields();
+        };
+    },
+    render() {
+        const theData = this.state.data || {};
+        const { getFieldDecorator } = this.props.form;
+        const FormItem = Form.Item
+        const formItemLayout = {
+            labelCol: { span: 6 },
+            wrapperCol: { span: 12 },
+        };
+        return (
+			<div className='login'>
+			<Form layout="horizontal" id="demand-form">
+				<Spin spinning={this.state.loading}>
+                    <div className="clearfix">
+						<FormItem className="half-item" {...formItemLayout} label="订单编号">
+							<span>{theData.name}</span>
+						</FormItem>
+                        <FormItem className="half-item" {...formItemLayout} label="签单时间">
+							<span>{theData.name}</span>
+						</FormItem>
+                        <FormItem className="half-item" {...formItemLayout} label="客户名称">
+							<span>{theData.name}</span>
+						</FormItem>
+                        <FormItem className="half-item" {...formItemLayout} label="流转状态">
+							<span>{theData.name}</span>
+						</FormItem>
+                        <FormItem className="half-item" {...formItemLayout} label="结算状态">
+							<span>{theData.name}</span>
+						</FormItem>
+                        <FormItem className="half-item" {...formItemLayout} label="已收款">
+							<span>{theData.name}</span>
+						</FormItem>
+                        <FormItem className="half-item" {...formItemLayout} label="订单类型">
+							<span>{theData.name}</span>
+						</FormItem>
+                        <FormItem className="half-item" {...formItemLayout} label="是否特批">
+							<span>{theData.name}</span>
+						</FormItem>
+					</div>
+                    <div className="clearfix">
+                        <FormItem labelCol={{ span: 3 }} wrapperCol={{ span: 18 }} label="合同扫描件">
+                            <Upload className="demandDetailShow-upload"
+                                listType="picture-card"
+                                fileList={this.state.pictureUrl}                               
+                                onPreview={(file) => {
+                                    this.setState({
+                                        previewImage: file.url || file.thumbUrl,
+                                        previewVisible: true,
+                                    });
+                                }} >
+                            </Upload>
+                            <Modal maskClosable={false} footer={null}
+                                visible={this.state.previewVisible}
+                                onCancel={() => { this.setState({ previewVisible: false }) }}>
+                                <img alt="" style={{ width: '100%' }} src={this.state.previewImage || ''} />
+                            </Modal>
+                        </FormItem>
+                    </div> 
+                    <div className="clearfix">
+                        <FormItem className="half-item" {...formItemLayout} label="合同编号">
+							<span>{theData.name}</span>
+						</FormItem>           
+                    </div>
+                    <div className="clearfix">
+						<FormItem labelCol={{ span: 3 }} wrapperCol={{ span: 18 }} label="订单留言">
+							<span>{theData.introduction}</span>
+						</FormItem>
+					</div>
+                    <div className="clearfix">
+						<FormItem labelCol={{ span: 3 }} wrapperCol={{ span: 18 }} label="收款节点">
+							<span>{theData.introduction}</span>
+						</FormItem>
+					</div>
+                    <div className="clearfix">
+						<FormItem className="half-item" {...formItemLayout} label="订单负责人">
+							<span>{theData.introduction}</span>
+						</FormItem>
+                        <FormItem className="half-item" {...formItemLayout} label="订单负责人电话">
+							<span>{theData.introduction}</span>
+						</FormItem>
+                        <FormItem className="half-item" {...formItemLayout} label="财务负责人">
+							<span>{theData.introduction}</span>
+						</FormItem>
+                        <FormItem className="half-item" {...formItemLayout} label="财务负责人电话">
+							<span>{theData.introduction}</span>
+						</FormItem>
+					</div>
+                    <div className="clearfix">
+                        <p style={{fontSize:18,marginLeft:20}}>项目业务</p>
+                        <div className="patent-table">
+                            <Spin spinning={this.state.loading}>
+                                <Table columns={this.state.columns}
+                                    dataSource={this.state.dataSource}
+                                    pagination={this.state.pagination}
+                                    onRowClick={this.tableRowClick} 
+                                    />
+                            </Spin>
+                        </div>    
+                    </div>
+				</Spin>
+			</Form>   
+		</div>
+        )
+    }
+}));
+export default OrderDetail;
+
+
+
+

+ 268 - 0
js/component/manageCenter/publicComponent/assign.jsx

@@ -0,0 +1,268 @@
+import React from 'react';
+import ajax from 'jquery/src/ajax/xhr.js';
+import $ from 'jquery/src/ajax';
+import { Form,Radio, Icon, Button, Input, Select, Spin, Table, Switch, message, DatePicker, Modal, Upload ,Popconfirm} from 'antd';
+import {orderState,orderChannel,orderType} from '@/dataDic.js';
+import {getOrderState,getOrderChannel,getPaymentState,getOrderType} from '@/tools.js';
+const Assign=React.createClass({
+    departmentList() {
+		this.setState({
+			loading: true
+		});
+		$.ajax({
+			method: "get",
+			dataType: "json",
+			crossDomain: false,
+			url: globalConfig.context + "/api/admin/organization/selectSuperId",
+			data: {
+				
+			},
+			success: function(data) {
+				let thedata = data.data;
+				let theArr=[];
+				if(!thedata) {
+					if(data.error && data.error.length) {
+						message.warning(data.error[0].message);
+					};
+					thedata = {};
+				}else{
+					thedata.map(function(item,index){
+						theArr.push({
+							key:index,
+							name:item.name,
+							id:item.id,
+						})
+					})
+				}
+				this.setState({
+					departmentArr:theArr,
+				})
+			}.bind(this),
+			}).always(function() {
+				this.setState({
+					loading: false
+				});
+			}.bind(this));
+	},
+    getInitialState() {
+        return {
+        	datauser:{},
+            selectedRowKeys: [],
+            releaseDate: [],
+            selectedRows: [],
+            searchMore: true,
+            loading: false,
+            distributionVisible:false,
+            visible:false,
+            showDesc:false,
+            pagination: {
+                defaultCurrent: 1,
+                defaultPageSize: 10,
+                showQuickJumper: true,
+                pageSize: 10,
+                onChange: function (page) {
+                    this.loadData(page);
+                }.bind(this),
+                showTotal: function (total) {
+                    return '共' + total + '条数据';
+                }
+            },
+            userList:[
+            	{
+                    title: '用户姓名',
+                    dataIndex: 'name',
+                    key: 'name'
+                },{
+                    title: '部门机构',
+                    dataIndex: 'departmentName',
+                    key: 'departmentName'
+                }, {
+                    title: '职务',
+                    dataIndex: 'position',
+                    key: 'position'
+                },{
+                    title: '联系手机',
+                    dataIndex: 'mobile',
+                    key: 'mobile'
+                }, {
+                    title: '操作',
+                    dataIndex: 'abc',
+                    key: 'abc',
+                    render:(text,record,index)=>{
+                    	return (
+                    	    <Popconfirm title={'您确认将订单 【'+this.props.data.orderNos+'】 分配给【'+record.departmentName+'-'+record.name+'】?'} onConfirm={(e)=>{this.confirmSelect(record)}} okText="确认" cancelText="取消">
+							    <Button style={{marginRight:'5px'}} type="primary">选定</Button>                 
+							</Popconfirm>
+							)
+                    }
+                }
+            ],
+            dataSource: [],
+        };
+    },
+    //操作分配
+    confirmDelet(index){
+    	this.setState({
+    		orderNos:index.orderNo,
+    	});
+    },
+    onCancel(){
+    	this.setState({
+    		visible:false
+        })
+        this.props.closeDesc(false,false);
+    },
+    onShow() {
+		this.setState({
+			visible: false,
+		});
+		this.props.closeDesc(false, true);
+	},
+    //分配对象列表
+    contactList(){
+        $.ajax({
+            method: "get",
+            dataType: "json",
+            crossDomain: false,
+            url: globalConfig.context + '/api/admin/superviser/adminList',
+            data: {
+                pageNo: 1,
+                pageSize: 99,
+                departmentId:this.state.departmenttList,
+                name:this.state.financeNameSearch,
+            },
+            success: function (data) {
+                let theArr = [];
+                if (!data.data) {
+                    if (data.error && data.error.length) {
+                        message.warning(data.error[0].message);
+                    };
+                } else {
+                    for (let i = 0; i < data.data.list.length; i++) {
+                        let thisdata = data.data.list[i];
+                        theArr.push({
+                             key: i,
+	                         id: thisdata.id,
+	                         userNo: thisdata.userNo,
+	                         name:thisdata.name,
+	                         departmentName:thisdata.departmentName,
+	                         departmentId:thisdata.departmentId,
+	                         position:thisdata.position,
+	                         mobile:thisdata.mobile,
+                        });
+                    };
+                };
+                this.setState({
+                    distributionList: theArr,
+                });
+            }.bind(this),
+        }).always(function () {
+            this.setState({
+                loading: false
+            });
+        }.bind(this));
+    },
+    //选定对象
+    confirmSelect(record){
+    	this.setState({
+            loading: true
+        });
+        console.log(this.props.data)
+        $.ajax({
+            method: "get",
+            dataType: "json",
+            crossDomain: false,
+            url: globalConfig.context +this.props.selApi,
+            data: {
+            	orderNo:this.props.data.orderNo,
+            	salesmanId:record.id
+            }
+        }).done(function (data) {
+            if (!data.error.length) {
+                message.success('派单成功');
+                this.onShow();
+                this.setState({
+                    loading: false,
+                });
+            } else {
+                message.warning(data.error[0].message);
+            };
+        }.bind(this));
+    },
+    searchOrder(){
+    	this.contactList();
+    },
+    resetOrder(){
+    	this.state.departmenttList=undefined;
+    	this.state.financeNameSearch='';
+    	this.setState({
+    		distributionList:[]
+    	});
+    },
+    componentWillMount() {
+        this.departmentList();
+    },
+    componentWillReceiveProps(nextProps) {
+        this.state.visible=nextProps.showDesc;
+    },
+    render() {
+        const rowSelection = {
+            selectedRowKeys: this.state.selectedRowKeys,
+            onChange: (selectedRowKeys, selectedRows) => {
+	                this.setState({
+	                    selectedRows: selectedRows.slice(-1),
+	                    selectedRowKeys: selectedRowKeys.slice(-1)
+	                }); 
+            },
+            onSelectAll: (selected, selectedRows, changeRows) => {
+			   this.setState({
+			   		selectedRowKeys:[]
+			   })
+			},
+        };
+        let departmentArr = this.state.departmentArr || [];
+        const hasSelected = this.state.selectedRowKeys.length > 0;
+        return (
+            <div className="user-content" >
+	            <Modal maskClosable={false} visible={this.state.visible}
+                        onOk={this.onShow} onCancel={this.onCancel}
+                        width='800px'
+                        title='派单'                     
+                        footer=''
+                        className="admin-desc-content">
+			            <Form layout="horizontal" onSubmit={this.handleSubmit} id="demand-form" style={{paddingBottom:'40px'}} >
+			                <Spin spinning={this.state.loading}>
+			                	<div>
+			                		<Select placeholder="订单部门"
+				                            style={{ width: 150 ,marginRight:'10px',marginLeft:'10px'}}
+				                            value={this.state.departmenttList}
+				                            onChange={(e) => { this.setState({ departmenttList: e }) }}>
+				                            {
+			                                    departmentArr.map(function (item) {
+			                                            return <Select.Option key={item.id} >{item.name}</Select.Option>
+			                                    })
+			                                }
+				                    </Select>
+				                    <Input placeholder="任务负责人" style={{width:'150px',marginLeft:'10px'}}
+				                        value={this.state.financeNameSearch}
+				                        onChange={(e) => { this.setState({ financeNameSearch: e.target.value }); }} />  
+				                    <Button type="primary" onClick={this.searchOrder} style={{marginLeft:'10px',marginRight:'10px'}}>搜索</Button>
+	                    			<Button onClick={this.resetOrder}>重置</Button>
+			                	</div>
+			                	 <div className="patent-table" style={{marginTop:'10px'}}>
+				                    <Spin spinning={this.state.loading}>
+				                        <Table columns={this.state.userList}
+				                            dataSource={this.state.distributionList}
+				                            pagination={false}
+				                             />
+				                    </Spin>
+				                </div>
+			                </Spin>
+			            </Form>
+			    </Modal>
+            </div>
+        );
+    }
+});
+
+export default Assign;

+ 55 - 0
js/component/manageCenter/publicComponent/picture.jsx

@@ -0,0 +1,55 @@
+
+import React from 'react';
+const PicturesWall = React.createClass({
+    getInitialState() {
+        return {
+            previewVisible: false,
+            previewImage: '',
+            fileList: [],
+        }
+    },
+    handleCancel() {
+        this.setState({ previewVisible: false })
+    },
+    handlePreview(file) {
+        this.setState({
+            previewImage: file.url || file.thumbUrl,
+            previewVisible: true,
+        });
+    },
+    handleChange(info) {
+        let fileList = info.fileList;
+        this.setState({ fileList });
+        this.props.fileList(fileList);
+    },
+    componentWillReceiveProps(nextProps) {
+        this.state.fileList = nextProps.pictureUrl;
+    },
+    render() {
+        const { previewVisible, previewImage, fileList } = this.state;
+        const uploadButton = (
+            <div>
+                <Icon type="plus" />
+                <div className="ant-upload-text">点击上传</div>
+            </div>
+        );
+        return (
+            <div className="clearfix">
+                <Upload
+                    action={globalConfig.context + this.props.data.url}
+                    data={{ 'sign': this.props.data.sign }}
+                    listType="picture-card"
+                    fileList={fileList}
+                    onPreview={this.handlePreview}
+                    onChange={this.handleChange} >
+                    {fileList.length >= this.props.data.number ? null : uploadButton}
+                </Upload>
+                <Modal maskClosable={false} visible={previewVisible} footer={null} onCancel={this.handleCancel}>
+                    <img alt="example" style={{ width: '100%' }} src={previewImage} />
+                </Modal>
+            </div>
+        );
+    }
+});
+ 
+export default PicturesWall;

+ 1 - 0
js/component/manageCenter/set/userManagementS/jurisdiction.jsx

@@ -19,6 +19,7 @@ const Jurisdiction = Form.create()(React.createClass({
 			crossDomain: false,
 			url: globalConfig.context + '/api/admin/permissions',
 			success: function(data) {
+				console.log(data)
 				if(!data.data || !data.data.one) {
 					if(data.error && data.error.length) {
 						message.warning(data.error[0].message);

+ 95 - 2
js/component/tools.js

@@ -77,7 +77,9 @@ import {
     slcRedit,
     dataGrade,
     level,
-    xiangmoState
+    xiangmoState,
+    newOrderStatus,refundStatus,approval,projectStatus,processStatus,liquidationStatus 
+
 } from './dataDic.js';
 
 import { provinceList} from './NewDicProvinceList.js';
@@ -1450,5 +1452,96 @@ module.exports = {
             });
             return theType;
         }
-	}
+    },
+    //订单状态 
+	getNewOrderStatus:function(e){
+        if (e||e==0) {
+            let str=e.toString()
+         let theType = '';
+         newOrderStatus.map(function (item) {
+             if (item.value == str) {
+                 theType = item.key;
+             };
+         });
+         return theType;
+        }
+    },
+     //退单状态 
+	getRefundStatus:function(e){
+        if (e||e==0) {
+            let str=e.toString()
+         let theType = '';
+            refundStatus.map(function (item) {
+                if (item.value == str) {
+                    theType = item.key;
+                };
+            });
+            return theType;
+        }
+    },
+     //退单状态 
+	getTaskStatus:function(e){
+        if (e||e==0) {
+            let str=e.toString()
+         let theType = '';
+         taskStatus.map(function (item) {
+                if (item.value == str) {
+                    theType = item.key;
+                };
+            });
+            return theType;
+        }
+    },
+     //特批状态 
+	getApproval:function(e){
+        if (e||e==0) {
+            let str=e.toString()
+         let theType = '';
+         approval.map(function (item) {
+                if (item.value == str) {
+                    theType = item.key;
+                };
+            });
+            return theType;
+        }
+    },
+     //项目状态  
+	getProjectStatus:function(e){
+        if (e||e==0) {
+            let str=e.toString()
+         let theType = '';
+         projectStatus.map(function (item) {
+                if (item.value == str) {
+                    theType = item.key;
+                };
+            });
+            return theType;
+        }
+    },
+     //流程状态  
+	getProcessStatus:function(e){
+        if (e||e==0) {
+            let str=e.toString()
+         let theType = '';
+         processStatus.map(function (item) {
+                if (item.value == str) {
+                    theType = item.key;
+                };
+            });
+            return theType;
+        }
+    },
+     //清算状态  
+	getLiquidationStatus:function(e){
+        if (e||e==0) {
+            let str=e.toString()
+         let theType = '';
+         liquidationStatus.map(function (item) {
+                if (item.value == str) {
+                    theType = item.key;
+                };
+            });
+            return theType;
+        }
+    },
 }