|
@@ -213,6 +213,17 @@
|
|
</el-select>
|
|
</el-select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="canEditFileName" style="margin-bottom: 9px;" v-if="fileDetail.juri == 3">{{ lang.PublicPermissions }}</div>
|
|
|
|
+
|
|
|
|
+ <div class="tag" v-if="fileDetail.juri == 3">
|
|
|
|
+ <div class="tag_check">
|
|
|
|
+ <el-radio-group v-model="fileDetail.juri2" >
|
|
|
|
+ <el-radio label="1">cn</el-radio>
|
|
|
|
+ <el-radio label="2">hk</el-radio>
|
|
|
|
+ <el-radio label="3">com</el-radio>
|
|
|
|
+ </el-radio-group>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
<!-- disabled @change="updateFolder()" -->
|
|
<!-- disabled @change="updateFolder()" -->
|
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -396,13 +407,14 @@ export default {
|
|
t: this.fileDetailCheck3.join(","),
|
|
t: this.fileDetailCheck3.join(","),
|
|
j: this.fileDetail.juri,
|
|
j: this.fileDetail.juri,
|
|
j2: this.fileDetail.juri == 2 ? this.generateResultInfo() : "",
|
|
j2: this.fileDetail.juri == 2 ? this.generateResultInfo() : "",
|
|
- folderid: this.folderid
|
|
|
|
|
|
+ folderid: this.folderid,
|
|
|
|
+ j2: this.fileDetail.juri2,
|
|
};
|
|
};
|
|
// t: this.fileDetailCheck3.join(","),
|
|
// t: this.fileDetailCheck3.join(","),
|
|
// return console.log('params2',params);
|
|
// return console.log('params2',params);
|
|
|
|
|
|
this.ajax
|
|
this.ajax
|
|
- .post(this.$store.state.fileApi + "updateFolder2", [params])
|
|
|
|
|
|
+ .post(this.$store.state.fileApi + "updateFolder3", [params])
|
|
.then(res => {
|
|
.then(res => {
|
|
this.$message.success(this.lang.updateSuccess);
|
|
this.$message.success(this.lang.updateSuccess);
|
|
this.canEdit=false
|
|
this.canEdit=false
|
|
@@ -456,7 +468,7 @@ export default {
|
|
for (var i = 0; i < this.options.length; i++) {
|
|
for (var i = 0; i < this.options.length; i++) {
|
|
array.push(this.options[i].id)
|
|
array.push(this.options[i].id)
|
|
}
|
|
}
|
|
- teacherOffice = this.arrayToArray(this.data.teacherJuri.split(','), array)
|
|
|
|
|
|
+ teacherOffice = this.arrayToArray(this.data.teacherJuri ? this.data.teacherJuri.split(',') : [], array)
|
|
console.log(this.data.teacherJuri);
|
|
console.log(this.data.teacherJuri);
|
|
let count = 0
|
|
let count = 0
|
|
this.teaType.forEach(e =>{
|
|
this.teaType.forEach(e =>{
|
|
@@ -464,7 +476,7 @@ export default {
|
|
for (var i = 0; i < e.child.length; i++) {
|
|
for (var i = 0; i < e.child.length; i++) {
|
|
array2.push(e.child[i].id)
|
|
array2.push(e.child[i].id)
|
|
}
|
|
}
|
|
- e.value = this.arrayToArray(this.data.teacherJuri.split(','), array2)
|
|
|
|
|
|
+ e.value = this.arrayToArray(this.data.teacherJuri ? this.data.teacherJuri.split(',') : [], array2)
|
|
if(e.value.length){
|
|
if(e.value.length){
|
|
count++
|
|
count++
|
|
}
|
|
}
|