|
@@ -2,7 +2,7 @@
|
|
|
* @Author : yuanrunwei
|
|
|
* @Date : 2021-12-04 14:23:58
|
|
|
* @LastEditors: daiqisheng
|
|
|
- * @LastEditTime: 2022-04-07 23:03:47
|
|
|
+ * @LastEditTime: 2022-04-08 14:20:42
|
|
|
* @FilePath : \spfm-market-front\src\pages\main\performance\components\sheet.vue
|
|
|
-->
|
|
|
<template>
|
|
@@ -11,7 +11,10 @@
|
|
|
<span class="margin-right-10 font-size-16"
|
|
|
><span class="sheet-container-require">*</span>模板类型:</span
|
|
|
>
|
|
|
- <el-input v-model="templateType" :disabled="type === 'view'"></el-input>
|
|
|
+ <el-input
|
|
|
+ v-model="templateType"
|
|
|
+ :disabled="type === 'view' || (type === 'edit' && attribute === 'file')"
|
|
|
+ ></el-input>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
@click="handleVisible"
|
|
@@ -707,7 +710,7 @@ export default {
|
|
|
});
|
|
|
reqdata.principalId = principalId.join(",");
|
|
|
reqdata.principalName = principalName.join(",");
|
|
|
- reqdata.principalMent = principalName.join(",");
|
|
|
+ reqdata.principalMent = principalMent.join(",");
|
|
|
} else {
|
|
|
const { charge } = this.form;
|
|
|
// 特殊权限
|
|
@@ -1147,6 +1150,8 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
+ console.log(this.attribute, "attribute");
|
|
|
+ console.log(this.type, "type");
|
|
|
this.handleInit();
|
|
|
this.handleChargeList();
|
|
|
},
|