Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
京
京能客户端
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王亚宁
京能客户端
Commits
6893c115
Commit
6893c115
authored
Aug 14, 2024
by
liangyb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#20240814 屏蔽查看供应商按钮ai查重按钮
parent
e06700ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
52 deletions
+27
-52
BID-EVALUATION-STEP/src/com/gx/obe/evaluation/step/composite/FactorEvaluationComposite.java
.../evaluation/step/composite/FactorEvaluationComposite.java
+27
-52
No files found.
BID-EVALUATION-STEP/src/com/gx/obe/evaluation/step/composite/FactorEvaluationComposite.java
View file @
6893c115
...
@@ -240,7 +240,7 @@ public class FactorEvaluationComposite extends EvaluationView {
...
@@ -240,7 +240,7 @@ public class FactorEvaluationComposite extends EvaluationView {
private
Map
<
String
,
String
>
supplierNameMap
=
new
HashMap
<
String
,
String
>();
private
Map
<
String
,
String
>
supplierNameMap
=
new
HashMap
<
String
,
String
>();
private
Composite
buttonComposite
;
private
Composite
buttonComposite
;
private
TemplateTableListComposite
templateTableListComposite
;
private
TemplateTableListComposite
templateTableListComposite
;
private
AiEvalLeftButton
viewAI_btn
;
//
private AiEvalLeftButton viewAI_btn;
private
ShowAiProcessShell
showAiProcessShell
;
private
ShowAiProcessShell
showAiProcessShell
;
// private ELink viewRiskSupplier_link;
// private ELink viewRiskSupplier_link;
private
ViewRiskComposite
viewRiskComposite
;
private
ViewRiskComposite
viewRiskComposite
;
...
@@ -390,42 +390,17 @@ public class FactorEvaluationComposite extends EvaluationView {
...
@@ -390,42 +390,17 @@ public class FactorEvaluationComposite extends EvaluationView {
menuFunctionUtils
.
addFunction
(
moreTools
,
"EVALUATION_VIEW_MORE"
);
menuFunctionUtils
.
addFunction
(
moreTools
,
"EVALUATION_VIEW_MORE"
);
viewAI_btn
=
new
AiEvalLeftButton
(
left_tool_composite
,
SWT
.
NONE
,
curTender
);
// viewAI_btn = new AiEvalLeftButton(left_tool_composite, SWT.NONE,curTender);
// viewAI_btn.addFocusListener(new FocusAdapter() {
// @Override
// public void focusLost(FocusEvent e) {
//TODO
// if(null != showAiProcessShell && !showAiProcessShell.isDisposed()) {
// showAiProcessShell.close();
// }
//
//
//
}
//
viewAI_btn.setImage(ResourceManager.getPluginImage(IconsActivator.PLUGIN_ID, "icons/btn/white/view.png"));
//
}
);
//
viewAI_btn.setText(""
);
// viewAI_btn.
addMouseTrackListener(new MouseTrackAdapter() {
// viewAI_btn.
setToolTipText("标书查重");
//
@Override
//
viewAI_btn.addMouseListener(new MouseAdapter() {
// public void mouse
Enter
(MouseEvent e) {
// public void mouse
Up
(MouseEvent e) {
// viewAiAction();
// viewAiAction();
// }
// }
//
// @Override
// public void mouseExit(MouseEvent e) {
// if(null != showAiProcessShell && !showAiProcessShell.isDisposed()) {
// showAiProcessShell.close();
// showAiProcessShell.dispose();
// }
// }
//
// });
// });
viewAI_btn
.
setImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/btn/white/view.png"
));
viewAI_btn
.
setText
(
""
);
viewAI_btn
.
setToolTipText
(
"标书查重"
);
viewAI_btn
.
addMouseListener
(
new
MouseAdapter
()
{
public
void
mouseUp
(
MouseEvent
e
)
{
viewAiAction
();
}
});
// viewAI_btn.setVisible(false);
// menuFunctionUtils.addFunction(viewAI_btn, "EVALUATION_VIEW_AI");
ESepator
toolv_sepator
=
new
ESepator
(
this
,
SWT
.
VERTICAL
);
ESepator
toolv_sepator
=
new
ESepator
(
this
,
SWT
.
VERTICAL
);
toolv_sepator
.
setLayoutData
(
new
GridData
(
SWT
.
LEFT
,
SWT
.
FILL
,
false
,
true
,
1
,
1
));
toolv_sepator
.
setLayoutData
(
new
GridData
(
SWT
.
LEFT
,
SWT
.
FILL
,
false
,
true
,
1
,
1
));
...
@@ -876,7 +851,7 @@ public class FactorEvaluationComposite extends EvaluationView {
...
@@ -876,7 +851,7 @@ public class FactorEvaluationComposite extends EvaluationView {
ImageButton
fileButton
=
createShowButton
(
ShowType
.
FILE
);
ImageButton
fileButton
=
createShowButton
(
ShowType
.
FILE
);
// ImageButton opinionButton = createShowButton(ShowType.OPINION);
// ImageButton opinionButton = createShowButton(ShowType.OPINION);
ImageButton
comparisonTableButton
=
createShowButton
(
ShowType
.
COMPARISON_TABLE
);
ImageButton
comparisonTableButton
=
createShowButton
(
ShowType
.
COMPARISON_TABLE
);
ImageButton
viewSupplierRiskBtn
=
createShowButton
(
ShowType
.
VIEW_SUPPLIER_RISK
);
//
ImageButton viewSupplierRiskBtn = createShowButton(ShowType.VIEW_SUPPLIER_RISK);
// ImageButton structButton = createShowButton(ShowType.STRUCT);
// ImageButton structButton = createShowButton(ShowType.STRUCT);
switch
(
showType
)
{
switch
(
showType
)
{
...
@@ -889,11 +864,11 @@ public class FactorEvaluationComposite extends EvaluationView {
...
@@ -889,11 +864,11 @@ public class FactorEvaluationComposite extends EvaluationView {
case
COMPARISON_TABLE:
case
COMPARISON_TABLE:
curShowButton
=
comparisonTableButton
;
curShowButton
=
comparisonTableButton
;
break
;
break
;
case
VIEW_SUPPLIER_RISK:
//
case VIEW_SUPPLIER_RISK:
curShowButton
=
viewSupplierRiskBtn
;
//
curShowButton = viewSupplierRiskBtn;
break
;
//
break;
}
}
curShowButton
.
setSelection
(
true
);
//
curShowButton.setSelection(true);
}
}
/**
/**
...
@@ -1542,13 +1517,13 @@ public class FactorEvaluationComposite extends EvaluationView {
...
@@ -1542,13 +1517,13 @@ public class FactorEvaluationComposite extends EvaluationView {
opinionStackLayout
.
topControl
=
templateTableListComposite
;
opinionStackLayout
.
topControl
=
templateTableListComposite
;
templateTableListComposite
.
refresh
(
curTender
.
getId
(),
curEvaluationFactor
.
getFactorCode
(),
supplierList
);
templateTableListComposite
.
refresh
(
curTender
.
getId
(),
curEvaluationFactor
.
getFactorCode
(),
supplierList
);
break
;
break
;
case
VIEW_SUPPLIER_RISK:
//
case VIEW_SUPPLIER_RISK:
//
opinionStackLayout
.
topControl
=
viewRiskComposite
;
//
opinionStackLayout.topControl = viewRiskComposite;
viewRiskComposite
.
refresh
(
curTender
);
//
viewRiskComposite.refresh(curTender);
// showStackLayout.topControl = structComposite;
//
//
showStackLayout.topControl = structComposite;
// showStructTableAction();
//
//
showStructTableAction();
break
;
//
break;
}
}
opinionComposite
.
layout
();
opinionComposite
.
layout
();
}
}
...
@@ -2727,10 +2702,10 @@ public class FactorEvaluationComposite extends EvaluationView {
...
@@ -2727,10 +2702,10 @@ public class FactorEvaluationComposite extends EvaluationView {
}
else
{
}
else
{
String
progress
=
httpResponse
.
getDataParam
(
"progress"
);
//
String progress = httpResponse.getDataParam("progress");
String
waitTime
=
httpResponse
.
getDataParam
(
"waitTime"
);
//
String waitTime = httpResponse.getDataParam("waitTime");
showAiProcessShell
=
new
ShowAiProcessShell
(
getShell
(),
viewAI_btn
,
ObjectUtils
.
getIntValue
(
progress
,
0
),
waitTime
);
//
showAiProcessShell = new ShowAiProcessShell(getShell(), viewAI_btn, ObjectUtils.getIntValue(progress, 0), waitTime);
showAiProcessShell
.
open
();
//
showAiProcessShell.open();
// ShowViewAiProcessDialog showViewAiProcessDialog = new ShowViewAiProcessDialog(getShell(), ObjectUtils.getIntValue(progress, 0), waitTime);
// ShowViewAiProcessDialog showViewAiProcessDialog = new ShowViewAiProcessDialog(getShell(), ObjectUtils.getIntValue(progress, 0), waitTime);
// showViewAiProcessDialog.open();
// showViewAiProcessDialog.open();
// callBackMsg(false, "获取下载地址失败!");
// callBackMsg(false, "获取下载地址失败!");
...
@@ -2749,8 +2724,8 @@ public class FactorEvaluationComposite extends EvaluationView {
...
@@ -2749,8 +2724,8 @@ public class FactorEvaluationComposite extends EvaluationView {
// unZipFile(savePath, FileConstants.getBiddingFilePath(curTender.getId()));
// unZipFile(savePath, FileConstants.getBiddingFilePath(curTender.getId()));
Display
.
getDefault
().
syncExec
(
new
Runnable
()
{
Display
.
getDefault
().
syncExec
(
new
Runnable
()
{
public
void
run
()
{
public
void
run
()
{
viewAI_btn
.
setVisible
(
true
);
//
viewAI_btn.setVisible(true);
viewAI_btn
.
getParent
().
layout
();
//
viewAI_btn.getParent().layout();
// viewAI_btn.setEnabled(true);
// viewAI_btn.setEnabled(true);
}
}
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment