Commit 8af1899f by yanglang123

删除无用标签

parent e08fb120
File added
......@@ -404,13 +404,13 @@ class Survey extends Component {
>
调研明细导出
</div>
<div
{/* <div
className={styles.survey_list_btn}
style={{ cursor: "pointer", color: "#1890FF" }}
onClick={() => this.detil(record.id, 2)}
>
调研分析导出
</div>
</div> */}
</div>
) : null}
</div>
......
......@@ -25,8 +25,6 @@ import {
import Breadcrumb from "@/common/Breadcrumb";
const TabPane = Tabs.TabPane;
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 siteCode = location.pathname.split("/")[2];
......@@ -355,19 +353,6 @@ class Survey extends Component {
{action2}
</a>
</Popconfirm>
{record.visibleRange === 2 ? (
<span>
<ImportUsers
urlParameter="research"
scopeId={record && record.id}
/>
<ExportBtn
urlParameter="research"
scopeId={record && record.id}
/>
</span>
) : null}
{key == 2 ? (
<div>
<Popconfirm
......@@ -396,13 +381,13 @@ class Survey extends Component {
>
投票明细导出
</div>
<div
{/* <div
className={styles.survey_list_btn}
style={{ cursor: "pointer", color: "#1890FF" }}
onClick={() => this.detil(record.id, 2)}
>
投票分析导出
</div>
</div> */}
</div>
) : null}
</div>
......
......@@ -2,35 +2,17 @@ import React, { Component } from "react";
import {
Button,
Table,
Icon,
Select,
Input,
Modal,
Form,
Tabs,
Upload,
Radio,
DatePicker,
Divider,
message,
Transfer,
Tag,
Tooltip,
Spin,
} from "antd";
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 "./style/exam.less";
const Option = Select.Option;
const TabPane = Tabs.TabPane;
const FormItem = Form.Item;
const { TextArea } = Input;
const RadioGroup = Radio.Group;
const dic = {
draftExam: "1",
upExam: "2",
......@@ -44,8 +26,6 @@ import {
upExam,
downExam,
deleteExams,
examBasicInfo,
saveExamStrategy,
copyExam,
} from "./redux/actions";
......@@ -177,12 +157,6 @@ class Exam extends Component {
复制
</a>
{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>
),
},
......@@ -276,12 +250,6 @@ class Exam extends Component {
删除
</a>
{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>
),
},
......@@ -361,20 +329,13 @@ class Exam extends Component {
上架
</a>
<a
style={{ marginRight: 16 }}
style={{ marginRight: 16,marginLeft: 10 }}
href="javascript:void(0)"
onClick={() => this.deleteExam(text.id)}
style={{ marginLeft: 10 }}
>
删除
</a>
{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>
),
},
......
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