修改
This commit is contained in:
parent
3b86ae2beb
commit
fb8295d51f
@ -17,7 +17,7 @@ const service = axios.create({
|
|||||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||||
baseURL: process.env.VUE_APP_BASE_API,
|
baseURL: process.env.VUE_APP_BASE_API,
|
||||||
// 超时
|
// 超时
|
||||||
timeout: 10000
|
timeout: 300000
|
||||||
})
|
})
|
||||||
|
|
||||||
// request拦截器
|
// request拦截器
|
||||||
|
|||||||
@ -859,6 +859,12 @@ export default {
|
|||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
const loading = this.$loading({
|
||||||
|
lock: true,
|
||||||
|
text: '保存中,请稍等!',
|
||||||
|
spinner: 'el-icon-loading',
|
||||||
|
background: 'rgba(0, 0, 0, 0.7)'
|
||||||
|
});
|
||||||
this.updata.routeNodeList = this.list;
|
this.updata.routeNodeList = this.list;
|
||||||
var newObj = JSON.parse(JSON.stringify(this.updata));
|
var newObj = JSON.parse(JSON.stringify(this.updata));
|
||||||
const invalidTimes = [];
|
const invalidTimes = [];
|
||||||
@ -887,10 +893,11 @@ export default {
|
|||||||
})
|
})
|
||||||
console.log(invalidTimes, 'invalidTimes')
|
console.log(invalidTimes, 'invalidTimes')
|
||||||
if(invalidTimes.length>0){
|
if(invalidTimes.length>0){
|
||||||
|
loading.close();
|
||||||
this.$message.error("时间点在8:00到20:00之间,请修改时间点");
|
this.$message.error("时间点在8:00到20:00之间,请修改时间点");
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
signrouteadd(newObj).then((res) => {
|
signrouteadd(newObj).then((res) => {
|
||||||
|
loading.close();
|
||||||
var message = ''
|
var message = ''
|
||||||
if (this.$route.query.path == "/patient/signRecord") {
|
if (this.$route.query.path == "/patient/signRecord") {
|
||||||
message = '保存成功,即将返回签约患者列表'
|
message = '保存成功,即将返回签约患者列表'
|
||||||
|
|||||||
@ -1160,9 +1160,6 @@
|
|||||||
import { getQuestion, addQuestion, updateQuestion, selectUserDepartment, diseaseList } from "@/api/system/question";
|
import { getQuestion, addQuestion, updateQuestion, selectUserDepartment, diseaseList } from "@/api/system/question";
|
||||||
import draggable from 'vuedraggable'
|
import draggable from 'vuedraggable'
|
||||||
import scripts from "../components/script.vue";
|
import scripts from "../components/script.vue";
|
||||||
import { cloneDeep } from 'lodash';
|
|
||||||
|
|
||||||
import { faL } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
export default {
|
export default {
|
||||||
name: "addQuestionnaire",
|
name: "addQuestionnaire",
|
||||||
dicts: ['scoring_method'],
|
dicts: ['scoring_method'],
|
||||||
|
|||||||
@ -104,9 +104,8 @@
|
|||||||
<propaganda @on-template="propagandaontemplate" :templateId="form.templateId"
|
<propaganda @on-template="propagandaontemplate" :templateId="form.templateId"
|
||||||
:templateName="form.templateName"></propaganda>
|
:templateName="form.templateName"></propaganda>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<span style="display: inline-block; width: 10px" v-if="
|
<span style="display: inline-block; width: 10px"
|
||||||
form.taskNodeType == 'PROPAGANDA_ARTICLE' && form.templateId
|
v-if="form.taskNodeType == 'PROPAGANDA_ARTICLE' && form.templateId">
|
||||||
">
|
|
||||||
<el-button @click="imagepreviews">预览</el-button>
|
<el-button @click="imagepreviews">预览</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-form>
|
</el-form>
|
||||||
@ -905,6 +904,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 切换节点
|
// 切换节点
|
||||||
async bottomclickevent(uitem, index, uindex) {
|
async bottomclickevent(uitem, index, uindex) {
|
||||||
|
this.form = uitem;
|
||||||
await this.onemit();
|
await this.onemit();
|
||||||
const loading = this.$loading({
|
const loading = this.$loading({
|
||||||
lock: true,
|
lock: true,
|
||||||
@ -941,7 +941,6 @@ export default {
|
|||||||
if (uitem.taskType) {
|
if (uitem.taskType) {
|
||||||
this.changeTaskType(uitem.taskType, uitem.taskSubdivision);
|
this.changeTaskType(uitem.taskType, uitem.taskSubdivision);
|
||||||
}
|
}
|
||||||
this.form = uitem;
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
loading.close();
|
loading.close();
|
||||||
}, 1200);
|
}, 1200);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user