提交代码
This commit is contained in:
parent
ebba5e851e
commit
cd0f4d9f3d
|
|
@ -65,7 +65,7 @@ export default {
|
||||||
if (!instance.inputValue) {
|
if (!instance.inputValue) {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'error',
|
type: 'error',
|
||||||
message: '驳回原因不能为空'
|
message: '不通过原因不能为空'
|
||||||
});
|
});
|
||||||
return; // 阻止关闭弹框
|
return; // 阻止关闭弹框
|
||||||
}
|
}
|
||||||
|
|
@ -86,7 +86,7 @@ export default {
|
||||||
fileId: Number(this.id),
|
fileId: Number(this.id),
|
||||||
auditFailedReason: value
|
auditFailedReason: value
|
||||||
}).then(response => {
|
}).then(response => {
|
||||||
this.$modal.msgSuccess('已提交不同意原因');
|
this.$modal.msgSuccess('已提交不通过原因');
|
||||||
this.index++; // 更新索引
|
this.index++; // 更新索引
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
|
|
||||||
|
|
@ -51,13 +51,6 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="描述" show-overflow-tooltip align="center" prop="datasetDesc" />
|
<el-table-column label="描述" show-overflow-tooltip align="center" prop="datasetDesc" />
|
||||||
<el-table-column label="是否公开" show-overflow-tooltip align="center" prop="createBy" >
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<el-switch v-model="scope.row.isPublic" active-value="1" inactive-value="0"
|
|
||||||
@change="change(scope.row)"
|
|
||||||
></el-switch>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<pagination
|
<pagination
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue