|
@@ -41,6 +41,7 @@ import {
|
|
|
} from "@/tools";
|
|
|
import { ChooseList } from "../../../../component/manageCenter/order/orderNew/chooseList";
|
|
|
import ImgList from "../../../common/imgList";
|
|
|
+import {getProjectName} from "../../../tools";
|
|
|
const FormItem = Form.Item;
|
|
|
|
|
|
const approvedOutsourcing = React.createClass({
|
|
@@ -647,7 +648,7 @@ const approvedOutsourcing = React.createClass({
|
|
|
dataIndex: "projectStatus",
|
|
|
key: "projectStatus",
|
|
|
render: (text) => {
|
|
|
- return getProjectStatus(text);
|
|
|
+ return getProjectName(text);
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -710,7 +711,7 @@ const approvedOutsourcing = React.createClass({
|
|
|
dataIndex: "projectStatus",
|
|
|
key: "projectStatus",
|
|
|
render: (text) => {
|
|
|
- return getProjectStatus(text);
|
|
|
+ return getProjectName(text);
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -835,7 +836,7 @@ const approvedOutsourcing = React.createClass({
|
|
|
dataIndex: "projectStatus",
|
|
|
key: "projectStatus",
|
|
|
render: (text) => {
|
|
|
- return getProjectStatus(text);
|
|
|
+ return getProjectName(text);
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -1028,7 +1029,7 @@ const approvedOutsourcing = React.createClass({
|
|
|
dataIndex: "projectStatus",
|
|
|
key: "projectStatus",
|
|
|
render: (text) => {
|
|
|
- return getProjectStatus(text);
|
|
|
+ return getProjectName(text);
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -1162,7 +1163,7 @@ const approvedOutsourcing = React.createClass({
|
|
|
dataIndex: "projectStatus",
|
|
|
key: "projectStatus",
|
|
|
render: (text) => {
|
|
|
- return getProjectStatus(text);
|
|
|
+ return getProjectName(text);
|
|
|
},
|
|
|
},
|
|
|
],
|
|
@@ -1393,7 +1394,7 @@ const approvedOutsourcing = React.createClass({
|
|
|
dataIndex: "projectStatus",
|
|
|
key: "projectStatus",
|
|
|
render: (text) => {
|
|
|
- return getProjectStatus(text);
|
|
|
+ return getProjectName(text);
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -3606,7 +3607,7 @@ const approvedOutsourcing = React.createClass({
|
|
|
<FormItem className="half-item"
|
|
|
labelCol={{ span: 8 }}
|
|
|
wrapperCol={{ span: 14 }}
|
|
|
- label="上传协议文件" >
|
|
|
+ label="上传协议文件" >
|
|
|
<Upload header={{authorization: 'authorization-text'}} action={globalConfig.context + "/api/admin/outsourceOrg/uploadOutsourceFile"}
|
|
|
data={(e)=>{
|
|
|
return {
|
|
@@ -3614,7 +3615,7 @@ const approvedOutsourcing = React.createClass({
|
|
|
}
|
|
|
}}
|
|
|
fileList={this.state.attachmentUrl}
|
|
|
- showUploadList={{showRemoveIcon:false}}
|
|
|
+ showUploadList={{showRemoveIcon:false}}
|
|
|
onPreview={(e)=>{
|
|
|
let url = window.location.href.substring(7)
|
|
|
window.location.href="http://"+url.substring(0,url.indexOf("/"))+"/api/admin/outsourceOrg//downloadFile?path="+e.response.data
|