|
@@ -193,10 +193,11 @@
|
|
|
|
|
|
<div class="baseBtn">
|
|
|
<div class="BtnStyle">
|
|
|
- <el-button type="primary" @click="submit" size='small'>保存</el-button>
|
|
|
+ <el-button type="primary" v-show="tableData.state==0" @click="submit" size='small'>保存</el-button>
|
|
|
+ <el-button type="info" v-show="tableData.state==1 || tableData.state==2" disabled size='small'>保存</el-button>
|
|
|
<el-button type="primary" @click="getData" size='small'>重置</el-button>
|
|
|
<el-button v-if="tableData.state==0" type="primary" @click="processDialog = true" size='small'>立即审核</el-button>
|
|
|
- <el-button v-if="tableData.state==1" type="info" style="background-color: gray;" disabled size='small'>立即审核</el-button>
|
|
|
+ <el-button type="info" v-show="tableData.state==1 || tableData.state==2" disabled size='small'>立即审核</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -573,7 +574,6 @@ export default {
|
|
|
aId:this.$route.query["Id"]
|
|
|
}).then(res=>{
|
|
|
if(!res.data[0][0])return this.$message.error("错误")
|
|
|
- console.log(res)
|
|
|
let data = res.data[0][0];
|
|
|
data.begin_at = JSON.parse(data.begin_at);
|
|
|
data.course_teacher = JSON.parse(data.course_teacher);
|
|
@@ -581,6 +581,7 @@ export default {
|
|
|
data.reportFile = data.reportFile==''||data.reportFile==null?[]:JSON.parse(data.reportFile)
|
|
|
this.tableData = data;
|
|
|
this.oldMoney += Number(this.tableData.money)
|
|
|
+ console.log(this.tableData)
|
|
|
}).catch(err=>{
|
|
|
this.$message.error(err.message)
|
|
|
})
|