提交 73626ab8 编写于 作者: 刘英杰's avatar 刘英杰

V20240814 优化

上级 3eaf5d8a
.searchDiv .ivu-form-item[data-v-45d49b8a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-45d49b8a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-45d49b8a]{margin-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-e4e4b020]{padding-right:15px}.fileRow[data-v-e4e4b020]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-e4e4b020]{color:#ed4014}.fileRow .delIcon[data-v-e4e4b020]:hover{color:#f16643;cursor:pointer}.demo-split[data-v-2077d7a0]{height:calc(100vh - 112px)}.demo-split .demo-split-pane-L[data-v-2077d7a0]{padding:10px;height:100%;background-color:#fff}.demo-split .demo-split-pane-R[data-v-2077d7a0]{padding-left:8px}
\ No newline at end of file
.demo-split[data-v-2077d7a0]{height:calc(100vh - 112px)}.demo-split .demo-split-pane-L[data-v-2077d7a0]{padding:10px;height:100%;background-color:#fff}.demo-split .demo-split-pane-R[data-v-2077d7a0]{padding-left:8px}
\ No newline at end of file
[data-v-59f3210f] .ivu-form-item-content{position:relative;font-size:14px}[data-v-59f3210f] .ivu-divider-horizontal{display:block;height:1px;width:100%;min-width:100%;margin:0;clear:both}.ivu-form-item[data-v-59f3210f]{padding-right:15px}.fileRow[data-v-59f3210f]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-59f3210f]{color:#ed4014}.fileRow .delIcon[data-v-59f3210f]:hover{color:#f16643;cursor:pointer}
\ No newline at end of file
.container[data-v-a00459be]{text-align:center}.container .img-bg[data-v-a00459be]{width:300px;text-align:center}
\ No newline at end of file
.container[data-v-72547644]{text-align:center}.container .img-bg[data-v-72547644]{width:300px;text-align:center}
\ No newline at end of file
.ivu-form-item[data-v-e4e4b020]{padding-right:15px}.fileRow[data-v-e4e4b020]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-e4e4b020]{color:#ed4014}.fileRow .delIcon[data-v-e4e4b020]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-45d49b8a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-45d49b8a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-45d49b8a]{margin-left:8px}
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><title>值班管理</title><link href=css/chunk-vendors.cc1990b1.css rel=stylesheet><link href=css/app.a786022a.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 值班管理。</strong></noscript><div id=app></div><script src=js/chunk-vendors.9ae50470.js></script><script src=js/app.d32d3ec8.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><title>值班管理</title><link href=css/chunk-vendors.cc1990b1.css rel=stylesheet><link href=css/app.a786022a.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 值班管理。</strong></noscript><div id=app></div><script src=js/chunk-vendors.9ae50470.js></script><script src=js/app.d4f24ede.js></script></body></html>
\ No newline at end of file
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3b2f3c45"],{"25b06":function(t,e,a){"use strict";a.r(e);a("28a5"),a("ac6a"),a("456d"),a("7f7f");var n=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"demo-split"},[e("Split",{scopedSlots:t._u([{key:"left",fn:function(){return[e("div",{staticClass:"demo-split-pane-L"},[t.treePanelLoading?e("Spin",{attrs:{size:"large",fix:""}}):t._e(),e("Tree",{attrs:{data:t.typeTree},on:{"on-select-change":t.treeNodeChange}})],1)]},proxy:!0},{key:"right",fn:function(){return[e("div",{staticClass:"demo-split-pane-R"},[e("Card",{ref:"card",attrs:{"dis-hover":""}},[e("Input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入关键词",clearable:""},model:{value:t.params.name,callback:function(e){t.$set(t.params,"name",e)},expression:"params.name"}}),e("Button",{staticClass:"ivu-ml-8",attrs:{type:"primary"},on:{click:t.doSearch}},[t._v("查找")]),e("Button",{staticClass:"ivu-ml-8",attrs:{type:"primary",ghost:"",disabled:0==Object.keys(t.currentTreeNode).length},on:{click:t.add}},[e("Icon",{attrs:{type:"md-add"}}),t._v("新增分类\n ")],1),e("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tableData,loading:t.tableLoading,size:"small"},scopedSlots:t._u([{key:"is_enable",fn:function(a){var n=a.row,i=a.index;return[e("i-switch",{attrs:{size:"large","true-value":1,"false-value":0},on:{"on-change":function(e){return t.switchChange(e,n,i)}},model:{value:n.is_enable,callback:function(e){t.$set(n,"is_enable",e)},expression:"row.is_enable"}},[e("span",{attrs:{slot:"open",type:"md-checkmark"},slot:"open"},[t._v("启用")]),e("span",{attrs:{slot:"close",type:"md-close"},slot:"close"},[t._v("停用")])])]}},{key:"action",fn:function(a){var n=a.row;return[e("div",{on:{click:function(t){t.stopPropagation(),t.preventDefault()}}},[e("a",{attrs:{type:"text"},on:{click:function(e){return t.handleEdit(n)}}},[t._v("编辑")]),e("Divider",{attrs:{type:"vertical"}}),e("a",{attrs:{type:"text"},on:{click:function(e){return t.handleDelete(n.id)}}},[t._v("删除")])],1)]}}])}),e("div",{staticClass:"ivu-mt ivu-text-center"},[e("Page",{attrs:{total:t.dataCount,current:t.params.page_index,"show-total":"","show-sizer":"","show-elevator":"","page-size":t.params.page_size,"page-size-opts":[10,30,50,100]},on:{"update:current":function(e){return t.$set(t.params,"page_index",e)},"on-change":t.handleChangePage,"on-page-size-change":t.handleChangePageSize}})],1)],1)],1)]},proxy:!0}]),model:{value:t.split,callback:function(e){t.split=e},expression:"split"}})],1),e("CEditModal",{ref:"ceditmodal",attrs:{formItem:t.formItem,loading:t.editModalLoading,formLabelWidth:100,width:800},on:{onClose:function(e){t.editModalshow=!1},onSubmit:t.modalSubmit},model:{value:t.editModalshow,callback:function(e){t.editModalshow=e},expression:"editModalshow"}})],1)},i=[],r=(a("8e6e"),a("20d6"),a("ade3")),s=(a("96cf"),a("1da1")),o=a("967e"),c=a.n(o),l=a("b6bd");function d(t){return Object(l["a"])({url:"/api/DutyClassify/GetClassifyTree",method:"get",params:t})}function u(t){return Object(l["a"])({url:"/api/DutyClassify/QueryDutyClassify",method:"get",params:t})}function p(t){return Object(l["a"])({url:"/api/DutyClassify/ModifyDutyStatus",method:"get",params:t})}function f(t){return Object(l["a"])({url:"/api/DutyClassify/DeleteDuty",method:"get",params:t})}function h(t){return Object(l["a"])({url:"/api/DutyClassify/AddDutyType",method:"post",data:t})}function m(t){return Object(l["a"])({url:"/api/Common/GetDutyConfigSelect",method:"get",params:t})}function g(t){return Object(l["a"])({url:"/api/DutyClassify/UpdateDutyType",method:"post",data:t})}var b=a("12cb");function y(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function v(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?y(Object(a),!0).forEach((function(e){Object(r["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var _={components:{CEditModal:b["a"]},data:function(){return{split:"250px",treePanelLoading:!1,typeTree:[],currentTreeNode:{},tableLoading:!1,tableData:[],dataCount:0,columns:[{type:"index",title:"序号",align:"center",width:60},{title:"名称",key:"name"},{title:"启用",slot:"is_enable"},{title:"操作",slot:"action",align:"center",fixed:"right",width:150}],params:{page_index:1,page_size:10,parent_id:"1",name:""},editModalshow:!1,editModalLoading:!1,isEdit:!1,formItem:[{id:"name",name:"分类名称",type:"input",disabled:!1,require:!1,optList:[]},{id:"config_id",name:"配置类型",type:"multipleselect",disabled:!1,require:!1,optList:[]}],defaultFormData:{id:"",name:"",parent_id:"",config_id:[]},configList:[]}},mounted:function(){this.getTreeData(),this.getData(),this.GetDutyConfigSelect()},methods:{getTreeData:function(){var t=Object(s["a"])(c.a.mark((function t(){var e=this;return c.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.treePanelLoading=!0,this.currentTreeNode={},d().then((function(t){e.typeTree=e.treeFormat(t),e.treePanelLoading=!1}));case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),treeNodeChange:function(t,e){e.expand=!0,e.selected?(this.currentTreeNode=e,this.params.parent_id=e.id):(this.currentTreeNode={},this.params.parent_id="1"),this.getData()},treeFormat:function(t){var e=this;return t.map((function(t){return t.children&&0!=t.children.length&&(t.children=e.treeFormat(t.children)),v(v({},t),{},{title:t.name,expand:"1"==t.id,selected:!1})}))},GetDutyConfigSelect:function(){var t=this;m().then((function(e){var a=t.formItem.findIndex((function(t){return"config_id"==t.id}));t.formItem[a].optList=e.map((function(t){return v(v({},t),{},{label:t.name,value:t.id})}))}))},getData:function(){var t=this;this.tableLoading=!0,u(this.params).then((function(e){t.tableData=e.data,t.dataCount=e.data_count,t.tableLoading=!1}))},switchChange:function(t,e,a){var n=this;this.tableData[a].is_enable=t,p({id:e.id,is_enable:t}).then((function(t){n.$Message.success(t)})).catch((function(){n.tableData[a].is_enable=0==t?1:0,n.$Message.error(res.msg_detail)}))},handleChangePage:function(t){this.params.page_index=t,this.getData()},handleChangePageSize:function(t){this.params.page_size=t,1==this.params.page_index&&(this.params.page_index=t,this.getData())},doSearch:function(){this.params.page_size=1,this.getData()},handleEdit:function(t){this.editModalshow=!0,this.isEdit=!0,this.$refs.ceditmodal.modalInit("edit",v(v({},t),{},{config_id:t.config_id.split(";")}),"编辑分类")},handleDelete:function(t){var e=this;this.$Modal.confirm({title:"确定要删除吗?",loading:!0,onOk:function(){var a={id:t};f(a).then((function(){e.$Modal.remove(),e.$Message.success("删除成功"),e.getData()}))}})},add:function(){this.editModalshow=!0,this.isEdit=!1,this.$refs.ceditmodal.modalInit("add",this.defaultFormData,"新增分类")},modalSubmit:function(t){var e=this;console.log("modal提交",t);var a=0!=Object.keys(this.currentTreeNode).length;t.parent_id=a?this.currentTreeNode.id:"1",t.config_id=t.config_id.join(";"),console.log(t),this.$Modal.confirm({title:"提示",content:"是否确定提交?",loading:!0,onOk:function(){var a=Object(s["a"])(c.a.mark((function a(){var n;return c.a.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!e.isEdit){a.next=6;break}return a.next=3,g(t);case 3:a.t0=a.sent,a.next=9;break;case 6:return a.next=8,h(t);case 8:a.t0=a.sent;case 9:n=a.t0,e.$Message.success(n),e.editModalshow=!1,e.getData(),e.getTreeData(),e.$Modal.remove();case 15:case"end":return a.stop()}}),a)})));function n(){return a.apply(this,arguments)}return n}()})}}},D=_,w=(a("4fa3"),a("2877")),C=Object(w["a"])(D,n,i,!1,null,"2077d7a0",null);e["default"]=C.exports},"4fa3":function(t,e,a){"use strict";a("e916")},e916:function(t,e,a){}}]);
\ No newline at end of file
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5a7c757d"],{"166b":function(t,n,o){},"6d24":function(t,n,o){"use strict";o("166b")},8354:function(t,n,o){t.exports=o.p+"img/功能调整中.44ca9bae.png"},"9d03":function(t,n,o){"use strict";o.r(n);var s=function(){var t=this;t._self._c;return t._m(0)},a=[function(){var t=this,n=t._self._c;return n("div",{staticClass:"container"},[n("img",{staticClass:"img-bg",attrs:{src:o("8354")}}),n("strong",{staticStyle:{"font-size":"20px",display:"block","margin-top":"16px"}},[t._v("功能调整中")])])}],c={data:function(){return{}},methods:{go2Flow:function(){var t=idt.getToken();window.open("https://asc.hnasct.cn/#/et?token=".concat(t,"&links=startInfo&templateId=1765383350454104064&formName=表单测试&type=start"),"_blank")}},mounted:function(){this.go2Flow()}},i=c,e=(o("6d24"),o("2877")),r=Object(e["a"])(i,s,a,!1,null,"a00459be",null);n["default"]=r.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8faf3332"],{5718:function(t,n,o){},8354:function(t,n,o){t.exports=o.p+"img/功能调整中.44ca9bae.png"},"93e9":function(t,n,o){"use strict";o("5718")},"9d03":function(t,n,o){"use strict";o.r(n);var s=function(){var t=this;t._self._c;return t._m(0)},e=[function(){var t=this,n=t._self._c;return n("div",{staticClass:"container"},[n("img",{staticClass:"img-bg",attrs:{src:o("8354")}}),n("strong",{staticStyle:{"font-size":"20px",display:"block","margin-top":"16px"}},[t._v("外接流程")])])}],i={data:function(){return{}},methods:{go2Flow:function(){window.open("http://192.168.1.75:8081/#/et?token=test&links=startInfo&templateId=1765383350454104064&formName=表单测试&type=start","_blank")}},mounted:function(){this.go2Flow()}},a=i,c=(o("93e9"),o("2877")),r=Object(c["a"])(a,s,e,!1,null,"72547644",null);n["default"]=r.exports}}]);
\ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
......@@ -110,51 +110,69 @@
<Button ghost type="primary" @click="setMap">{{ ['配置坐标', '更改坐标'][regionDot] }}</Button>
<div v-for="(item,index) in formData['attandence_area']" v-if="formData['attandence_area'].length >0"
:key="index"
style="width: 100%;min-height: 20px;display: flex;border-radius: 10px;padding: 5px;border:1px solid #6cb4fd;margin: 5px 0;">
<div style="width: 85%;height: 100%;background-color:#ffffff ;">
<div style="width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px">
地址{{ index + 1 }}:{{ item.address }}(范围:{{ item.offset }}米)
>
<div style="width: 100%;min-height: 20px;display: flex;padding: 5px;margin: 5px 0;">
<div style="width: 85%;height: 100%;background-color:#ffffff ;">
<div style="width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px">
<Icon style="margin-right: 8px" type="ios-pin-outline"/>
{{ item.address }}(范围:{{ item.offset }}米)
</div>
</div>
<div
style="cursor: pointer; width:15%;height: 100%;background-color:#ffffff ;display: flex;align-items: center;justify-content: center">
<Poptip confirm title="是否确认删除?" transfer
@on-ok="()=>formData['attandence_area'].splice(index,1)">
<Icon color="#A3A3A3" size="20" type="md-close"/>
</Poptip>
</div>
</div>
<div
style="width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
@click="()=>formData['attandence_area'].splice(index,1)">
<Icon color="#A3A3A3" size="20" type="md-close"/>
</div>
<divider></divider>
</div>
</div>
<div v-else-if="item.type == 'areaTime1'">
<Button ghost type="primary" @click="setTime1">{{ ['配置时间', '更改时间'][regionDot] }}</Button>
<div v-for="(item,index) in formData['sign_daytime']" v-if="formData['sign_daytime'].length >0"
:key="index"
style="width: 100%;min-height: 20px;display: flex;border-radius: 10px;padding: 5px;border:1px solid #6cb4fd;margin: 5px 0;">
<div style="width: 85%;height: 100%;background-color:#ffffff ;">
<div style="width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px">
{{ item.begin + '~' + item.end }}
>
<div style="width: 100%;min-height: 20px;display: flex;padding: 5px;margin: 5px 0;">
<div style="width: 85%;height: 100%;background-color:#ffffff ;">
<div style="width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px">
<Icon style="margin-right: 8px" type="ios-alarm-outline"/>
{{ item.begin + '~' + item.end }}
</div>
</div>
<div
style="cursor: pointer;width:15%;height: 100%;background-color:#ffffff ;display: flex;align-items: center;justify-content: center">
<Poptip confirm title="是否确认删除?" transfer
@on-ok="()=>formData['sign_daytime'].splice(index,1)">
<Icon color="#A3A3A3" size="20" type="md-close"/>
</Poptip>
</div>
</div>
<div
style="width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
@click="()=>formData['sign_daytime'].splice(index,1)">
<Icon color="#A3A3A3" size="20" type="md-close"/>
</div>
<divider></divider>
</div>
</div>
<div v-else-if="item.type == 'areaTime2'">
<Button ghost type="primary" @click="setTime2">{{ ['配置时间', '更改时间'][regionDot] }}</Button>
<div v-for="(item,index) in formData['sign_night_time']" v-if="formData['sign_night_time'].length >0"
:key="index"
style="width: 100%;min-height: 20px;display: flex;border-radius: 10px;padding: 5px;border:1px solid #6cb4fd;margin: 5px 0;">
<div style="width: 85%;height: 100%;background-color:#ffffff ;">
<div style="width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px">
{{ item.begin + '~' + item.end }}
>
<div style="width: 100%;min-height: 20px;display: flex;padding: 5px;margin: 5px 0;">
<div style="width: 85%;height: 100%;background-color:#ffffff ;">
<div style="width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px">
<Icon style="margin-right: 8px" type="ios-alarm-outline"/>
{{ item.begin + '~' + item.end }}
</div>
</div>
<div
style="cursor: pointer;width:15%;height: 100%;background-color:#ffffff ;display: flex;align-items: center;justify-content: center">
<Poptip confirm title="是否确认删除?" transfer
@on-ok="()=>formData['sign_night_time'].splice(index,1)">
<Icon color="#A3A3A3" size="20" type="md-close"/>
</Poptip>
</div>
</div>
<div
style="width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
@click="()=>formData['sign_night_time'].splice(index,1)">
<Icon color="#A3A3A3" size="20" type="md-close"/>
</div>
<divider></divider>
</div>
</div>
</FormItem>
......@@ -207,19 +225,31 @@
<span v-if="item.type == 'areaTime1'">
<div v-for="(item,index) in formData['sign_daytime']" v-if="formData['sign_daytime'].length >0"
:key="index"
> {{ item.begin + '~' + item.end }} </div>
>
<div style="width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px">
<Icon style="margin-right: 8px" type="ios-alarm-outline"/>{{ item.begin + '~' + item.end }}
</div>
</div>
</span>
<span v-if="item.type == 'areaTime2'">
<div v-for="(item,index) in formData['sign_daytime']" v-if="formData['sign_daytime'].length >0"
:key="index"
>
{{ item.begin + '~' + item.end }}
<div style="width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px">
<Icon style="margin-right: 8px" type="ios-alarm-outline"/>{{ item.begin + '~' + item.end }}
</div>
</div>
</span>
<span v-if="item.type == 'area'">
<div v-for="(item,index) in formData['attandence_area']" v-if="formData['attandence_area'].length >0"
:key="index"
> 地址{{ index + 1 }}:{{ item.address }}(范围:{{ item.offset }}米) </div>
> <div style="width: 85%;height: 100%;background-color:#ffffff ;">
<div style="width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px">
<Icon style="margin-right: 8px" type="ios-pin-outline"/>{{ item.address }}(范围:{{
item.offset
}}米)
</div>
</div> </div>
</span>
<!-- 存在问题:性别项,有时返回值为null,select的“不限”值为空字符串,会报错 -->
<span v-if="item.type == 'select'">
......@@ -457,6 +487,21 @@ export default {
</script>
<style lang="less" scoped>
/deep/ .ivu-form-item-content {
position: relative;
/* line-height: 32px; */
font-size: 14px;
}
/deep/ .ivu-divider-horizontal {
display: block;
height: 1px;
width: 100%;
min-width: 100%;
margin: 0;
clear: both;
}
.ivu-form-item {
padding-right: 15px;
}
......
......@@ -274,7 +274,7 @@ export default {
{key: 'name', title: '值班配置值班', align: 'center', minWidth: 150, show: true},
{key: 'day_time', title: '一天值班时间段', align: 'center', minWidth: 150, show: false},
{key: 'effect_begin', title: '配置生效开始时间', align: 'center', minWidth: 150, show: true},
{key: 'effect_end', title: '配置生效结束时间', align: 'center', minWidth: 80, show: true},
{key: 'effect_end', title: '配置生效结束时间', align: 'center', minWidth: 150, show: true},
{slot: 'log_content', title: '值班日志', align: 'center', minWidth: 150, show: true},
{slot: 'generalSwitch', title: '启用', align: 'center', minWidth: 150, show: true},
{slot: 'actionAndDetails', title: '操作', align: 'center', minWidth: 160, show: true, fixed: 'right'},
......@@ -458,9 +458,7 @@ export default {
this.dataCount = res.data_count
this.tableLoading = false
})
},
// 改变开关
switchChange(val, row, index) {
api.getApiDutyConfigModifyDutyConfigStatus({id: row.id, is_enable: val}).then(res => {
......@@ -535,12 +533,12 @@ export default {
}
}),
attandence_area: JSON.parse(res.attendance_area),
duty_daytime: res.duty_daytime.split('~'),
duty_night_time: res.duty_night_time.split('~'),
day_time: res.day_time.split('~'),
duty_daytime: res.duty_daytime.split('~'), //白天
duty_night_time: res.duty_night_time.split('~'), //晚上
day_time: res.day_time.split('~'),//一天
effect_beginAndEffect_end: [
dayjs(row.effect_begin).format('YYYY-MM-DD hh:mm'),
dayjs(row.effect_end).format('YYYY-MM-DD hh:mm'),
dayjs(res.effect_begin).format('YYYY-MM-DD hh:mm'),
dayjs(res.effect_end).format('YYYY-MM-DD hh:mm'),
]
})
this.editModalLoading = false
......@@ -577,7 +575,6 @@ export default {
let strategy = {
'add': () => {
//新增值班配置
this.$Modal.confirm({
title: '提示',
content: '是否确定提交?',
......@@ -612,7 +609,6 @@ export default {
}
}
strategy[this.flag]()
},
// 删除
rowDelete(row) {
......
<template>
<div class="container">
<img src="@/assets/images/功能调整中.png" class="img-bg" />
<strong style="font-size:20px;display: block;margin-top:16px">功能调整中</strong>
<strong style="font-size:20px;display: block;margin-top:16px">外接流程</strong>
</div>
</template>
......@@ -14,8 +14,9 @@ export default {
},
methods:{
go2Flow(){
let token = idt.getToken()
window.open(`https://asc.hnasct.cn/#/et?token=${token}&links=startInfo&templateId=1765383350454104064&formName=表单测试&type=start`,'_blank')
// let token = idt.getToken()
window.open('http://192.168.1.75:8081/#/et?token=test&links=startInfo&templateId=1765383350454104064&formName=表单测试&type=start','_blank')
// window.open(`https://asc.hnasct.cn/pcflow/#/et?token=test&links=startInfo&templateId=1765383350454104064&formName=表单测试&type=start`,'_blank')
}
},
mounted() {
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或