Commit 8af1899f by yanglang123

删除无用标签

parent e08fb120
File added
...@@ -404,13 +404,13 @@ class Survey extends Component { ...@@ -404,13 +404,13 @@ class Survey extends Component {
> >
调研明细导出 调研明细导出
</div> </div>
<div {/* <div
className={styles.survey_list_btn} className={styles.survey_list_btn}
style={{ cursor: "pointer", color: "#1890FF" }} style={{ cursor: "pointer", color: "#1890FF" }}
onClick={() => this.detil(record.id, 2)} onClick={() => this.detil(record.id, 2)}
> >
调研分析导出 调研分析导出
</div> </div> */}
</div> </div>
) : null} ) : null}
</div> </div>
......
...@@ -25,8 +25,6 @@ import { ...@@ -25,8 +25,6 @@ import {
import Breadcrumb from "@/common/Breadcrumb"; import Breadcrumb from "@/common/Breadcrumb";
const TabPane = Tabs.TabPane; const TabPane = Tabs.TabPane;
import styles from "./style/index.less"; import styles from "./style/index.less";
import ExportBtn from "@/common/LinkUsers/exportUsers";
import ImportUsers from "@/common/LinkUsers/importUsers";
var companyCode = location.pathname.split("/")[1]; var companyCode = location.pathname.split("/")[1];
var siteCode = location.pathname.split("/")[2]; var siteCode = location.pathname.split("/")[2];
...@@ -355,19 +353,6 @@ class Survey extends Component { ...@@ -355,19 +353,6 @@ class Survey extends Component {
{action2} {action2}
</a> </a>
</Popconfirm> </Popconfirm>
{record.visibleRange === 2 ? (
<span>
<ImportUsers
urlParameter="research"
scopeId={record && record.id}
/>
<ExportBtn
urlParameter="research"
scopeId={record && record.id}
/>
</span>
) : null}
{key == 2 ? ( {key == 2 ? (
<div> <div>
<Popconfirm <Popconfirm
...@@ -396,13 +381,13 @@ class Survey extends Component { ...@@ -396,13 +381,13 @@ class Survey extends Component {
> >
投票明细导出 投票明细导出
</div> </div>
<div {/* <div
className={styles.survey_list_btn} className={styles.survey_list_btn}
style={{ cursor: "pointer", color: "#1890FF" }} style={{ cursor: "pointer", color: "#1890FF" }}
onClick={() => this.detil(record.id, 2)} onClick={() => this.detil(record.id, 2)}
> >
投票分析导出 投票分析导出
</div> </div> */}
</div> </div>
) : null} ) : null}
</div> </div>
......
...@@ -2,35 +2,17 @@ import React, { Component } from "react"; ...@@ -2,35 +2,17 @@ import React, { Component } from "react";
import { import {
Button, Button,
Table, Table,
Icon,
Select,
Input, Input,
Modal,
Form, Form,
Tabs, Tabs,
Upload,
Radio,
DatePicker,
Divider, Divider,
message, message,
Transfer,
Tag,
Tooltip,
Spin, Spin,
} from "antd"; } from "antd";
import Breadcrumb from "@/common/Breadcrumb"; import Breadcrumb from "@/common/Breadcrumb";
// import CreateExam from './createExam/index.jsx';
// import LookExam from './lookExam/index.jsx';
import ExportBtn from "@/common/LinkUsers/exportUsers";
import ImportUsers from "@/common/LinkUsers/importUsers";
import func from "@/util/commonFunc.js"; import func from "@/util/commonFunc.js";
import "./style/exam.less"; import "./style/exam.less";
const Option = Select.Option;
const TabPane = Tabs.TabPane; const TabPane = Tabs.TabPane;
const FormItem = Form.Item;
const { TextArea } = Input;
const RadioGroup = Radio.Group;
const dic = { const dic = {
draftExam: "1", draftExam: "1",
upExam: "2", upExam: "2",
...@@ -44,8 +26,6 @@ import { ...@@ -44,8 +26,6 @@ import {
upExam, upExam,
downExam, downExam,
deleteExams, deleteExams,
examBasicInfo,
saveExamStrategy,
copyExam, copyExam,
} from "./redux/actions"; } from "./redux/actions";
...@@ -177,12 +157,6 @@ class Exam extends Component { ...@@ -177,12 +157,6 @@ class Exam extends Component {
复制 复制
</a> </a>
{text.visibleRange === 2 ? <Divider type="vertical" /> : null} {text.visibleRange === 2 ? <Divider type="vertical" /> : null}
{text.visibleRange === 2 ? (
<span>
<ImportUsers urlParameter="exam" scopeId={text.id} />
<ExportBtn urlParameter="exam" scopeId={text.id} />
</span>
) : null}
</div> </div>
), ),
}, },
...@@ -276,12 +250,6 @@ class Exam extends Component { ...@@ -276,12 +250,6 @@ class Exam extends Component {
删除 删除
</a> </a>
{text.visibleRange === 2 ? <Divider type="vertical" /> : null} {text.visibleRange === 2 ? <Divider type="vertical" /> : null}
{text.visibleRange === 2 ? (
<span>
<ImportUsers urlParameter="exam" scopeId={text.id} />
<ExportBtn urlParameter="exam" scopeId={text.id} />
</span>
) : null}
</div> </div>
), ),
}, },
...@@ -361,20 +329,13 @@ class Exam extends Component { ...@@ -361,20 +329,13 @@ class Exam extends Component {
上架 上架
</a> </a>
<a <a
style={{ marginRight: 16 }} style={{ marginRight: 16,marginLeft: 10 }}
href="javascript:void(0)" href="javascript:void(0)"
onClick={() => this.deleteExam(text.id)} onClick={() => this.deleteExam(text.id)}
style={{ marginLeft: 10 }}
> >
删除 删除
</a> </a>
{text.visibleRange === 2 ? <Divider type="vertical" /> : null} {text.visibleRange === 2 ? <Divider type="vertical" /> : null}
{text.visibleRange === 2 ? (
<span>
<ImportUsers urlParameter="exam" scopeId={text.id} />
<ExportBtn urlParameter="exam" scopeId={text.id} />
</span>
) : null}
</div> </div>
), ),
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment