mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
测评上传
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" id="talbeList">
|
<div class="content">
|
||||||
<a-table
|
<a-table
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:data-source="tableData"
|
:data-source="tableData"
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
<span class="download"></span>
|
<span class="download"></span>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-dropdown :getPopupContainer='triggerNode=> triggerNode.parentNode' :trigger="['click']">
|
<a-dropdown :getPopupContainer="(triggerNode)=> triggerNode.parentNode" :trigger="['click']">
|
||||||
<a class="ant-dropdown-link" @click.prevent>
|
<a class="ant-dropdown-link" @click.prevent>
|
||||||
更多
|
更多
|
||||||
<DownOutlined />
|
<DownOutlined />
|
||||||
@@ -514,7 +514,7 @@
|
|||||||
<a-button type="link" @click="powerSetting(record)">
|
<a-button type="link" @click="powerSetting(record)">
|
||||||
<span>权限配置</span>
|
<span>权限配置</span>
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button type="link" :disabled="record.status==0||record.statusList == 0" @click="textEnableAdd(record)">
|
<a-button type="link" :disabled="record.statusList == 0" @click="textEnableAdd(record)">
|
||||||
<span>启用</span>
|
<span>启用</span>
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button type="link" @click="textDeleteAdd(record,index)">
|
<a-button type="link" @click="textDeleteAdd(record,index)">
|
||||||
@@ -1197,7 +1197,7 @@ import { message } from "ant-design-vue";
|
|||||||
const beforeUpload = (file) => {
|
const beforeUpload = (file) => {
|
||||||
console.log(file,'file')
|
console.log(file,'file')
|
||||||
const isJpgOrPng =
|
const isJpgOrPng =
|
||||||
file.type === "image/jpg" ||
|
file.type === "image/jpeg" ||
|
||||||
file.type === "image/png"
|
file.type === "image/png"
|
||||||
if (!isJpgOrPng) {
|
if (!isJpgOrPng) {
|
||||||
message.error("仅支持jpg、png格式!");
|
message.error("仅支持jpg、png格式!");
|
||||||
@@ -1541,7 +1541,7 @@ import { message } from "ant-design-vue";
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
const textEnableAdd = async (record) => {
|
const textEnableAdd = async (record) => {
|
||||||
record.statusList = 0
|
record.statusList = 0
|
||||||
if(state.powerStatus.id === record.id){
|
if(state.powerStatus.id === record.id){
|
||||||
state.powerStatus.permissionStatus = 0
|
state.powerStatus.permissionStatus = 0
|
||||||
state.saveList.push(state.powerStatus)
|
state.saveList.push(state.powerStatus)
|
||||||
@@ -1640,7 +1640,7 @@ import { message } from "ant-design-vue";
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
::v-deep .ant-dropdown{
|
::v-deep .ant-dropdown{
|
||||||
left: 144px !important;
|
left: 120px !important;
|
||||||
}
|
}
|
||||||
.evaluationUpload{
|
.evaluationUpload{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user