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