|
@@ -17,6 +17,9 @@
|
|
|
v-model="recordContent"
|
|
|
:rows="3"
|
|
|
/>
|
|
|
+ <div v-if="allowEdit" style="margin-top:10px">
|
|
|
+ <el-button type="primary" @click="addNewRecord">保存</el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="table-box">
|
|
|
<p class="label" >历史沟通</p>
|
|
@@ -50,14 +53,8 @@
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="foot-container">
|
|
|
- <template v-if="allowEdit">
|
|
|
- <el-button type="primary" @click="addNewRecord">保存</el-button>
|
|
|
- <el-button @click="closeDia">取 消</el-button>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <el-button type="primary" @click="closeDia">知道了</el-button>
|
|
|
- </template>
|
|
|
+ <div class="foot-container" v-if="!allowEdit">
|
|
|
+ <el-button type="primary" @click="closeDia">知道了</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
</template>
|