Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
闫晓茹 2024-06-13 15:40:51 +08:00
commit b0ea5cc041
2 changed files with 85 additions and 47 deletions

View File

@ -678,10 +678,7 @@
<img :src="baseUrl + formview.propagandaCoverPath" alt="" />
<div class="know">知识卡片</div>
<div class="knowlist">
<Editorxj
v-model="formview.propagandaContent"
:min-height="192"
/>
<Editorxj v-model="formview.propagandaContent" :min-height="192" />
</div>
</div>
</div>
@ -868,6 +865,10 @@ export default {
//
querydepartmen: {
departmentName: "",
materialsType: null,
materialsName: null,
materialsStatus: null,
createTime: null,
// pageNum: 1,
// pageSize: 10,
@ -1425,6 +1426,11 @@ export default {
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
this.querydepartmen.createTimeStart = this.queryParams.createTimeStart
this.querydepartmen.createTimeEnd = this.queryParams.createTimeEnd
this.querydepartmen.propagandaType = this.queryParams.propagandaType
this.querydepartmen.hospitalAgencyId = this.queryParams.hospitalAgencyId
this.querydepartmen.propagandaStatus = this.queryParams.propagandaStatus
this.Departmentlist();
},
handleQuerysc() {

View File

@ -190,6 +190,22 @@
@click="handlesee(scope.row)"
>预览</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-search"
@click="see(scope.row)"
>话术</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-search"
@click="seescript(scope.row)"
>话术预览</el-button
>
<el-button
size="mini"
type="text"
@ -536,10 +552,11 @@
</el-dialog>
</div>
</template>
<script>
import { listScript, getScript, delScript, addScript, updateScript, departmentDisease, department, listDisease, listScriptNum } from "@/api/manage/script";
import stationAcatar from "../../system/stationAvatar/index.vue";
import Cookies from 'js-cookie'
export default {
components: { stationAcatar },
name: "Script",
@ -553,11 +570,6 @@ export default {
departmentId: null,
count: '',//
sumcount: '',
innerVisibleshow: false, //
//
informationqueryParams: {
@ -769,6 +781,26 @@ export default {
imgUrl(imgUrl) {
this.form.scriptFilePath = imgUrl;
},
//
see(row){
Cookies.set("id",row.id)
this.$router.push({
path: "/knowledge/preview",
query: {
id: row.id,
},
});
},
seescript(row){
this.$router.push({
path: "/knowledge/Scriptpreview",
query: {
id: row.id,
},
});
},
//
handlesee(row) {