|
@@ -46,7 +46,10 @@
|
|
|
</div>
|
|
|
<div class="baseBtn">
|
|
|
<div class="blockWidth">
|
|
|
- <el-button type="primary" @click="audit">立即修改</el-button>
|
|
|
+ <el-button type="primary" v-show="isUpload==0" @click="audit">立即修改</el-button>
|
|
|
+ <el-button type="primary" v-show="isUpload==1" @click="audit">立即修改</el-button>
|
|
|
+ <el-button type="primary" style="background: #ccc !important;border: none;" v-show="isUpload==2" @click="$message.error('项目已结项,不可再修改')">立即修改</el-button>
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 修改对话框开始 -->
|
|
@@ -76,6 +79,7 @@ import { VueEditor } from "vue2-editor";
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ isUpload:'',
|
|
|
data:[["","","","",""],[]],
|
|
|
submitHint:false,
|
|
|
customToolbar: [
|
|
@@ -123,9 +127,10 @@ import { VueEditor } from "vue2-editor";
|
|
|
this.ajax
|
|
|
.get(this.$store.state.api+'/GetProjectDetailMessage',param)
|
|
|
.then(res=>{
|
|
|
- // console.log(res);
|
|
|
+ // console.log(res.data[0][0].isupload);
|
|
|
+ this.isUpload=res.data[0][0].isupload;
|
|
|
let GetData=JSON.parse(res.data[0][0].chapters)
|
|
|
- console.log(GetData);
|
|
|
+ // console.log(GetData);
|
|
|
this.data=GetData
|
|
|
},err=>{
|
|
|
console.log(err);
|