更新
This commit is contained in:
@@ -182,7 +182,6 @@ export default {
|
|||||||
this.time2 = response.data.rows[0].等待持续时间
|
this.time2 = response.data.rows[0].等待持续时间
|
||||||
this.time3 = response.data.rows[0].停机持续时间
|
this.time3 = response.data.rows[0].停机持续时间
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.sendMessage()
|
|
||||||
this.drawLine1()
|
this.drawLine1()
|
||||||
})
|
})
|
||||||
getData1(this.Time).then(response => {
|
getData1(this.Time).then(response => {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
size="small"
|
size="small"
|
||||||
icon="el-icon-search"
|
icon="el-icon-search"
|
||||||
style="margin-left:10px"
|
style="margin-left:10px"
|
||||||
@click="sendMessage()">通知</el-button>
|
@click="setting()">通知</el-button>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<el-card>
|
<el-card>
|
||||||
@@ -124,6 +124,26 @@
|
|||||||
<div style="min-height:500px;margin: 0px auto;width:800px;border:1px solid black" v-html="returns"/>
|
<div style="min-height:500px;margin: 0px auto;width:800px;border:1px solid black" v-html="returns"/>
|
||||||
|
|
||||||
<el-dialog :visible.sync="dialogVisible3" title="审核" center style="min-height: 300px;" width="370px">
|
<el-dialog :visible.sync="dialogVisible3" title="审核" center style="min-height: 300px;" width="370px">
|
||||||
|
<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||||
|
<el-form-item label="接收人" prop="接收人" center>
|
||||||
|
<el-select v-model="form.接收人" size="small">
|
||||||
|
<el-option
|
||||||
|
v-for="item in approval"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="内容" prop="内容">
|
||||||
|
<el-input v-model="form.内容" size="small"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<div slot="footer" class="dialog-footer">
|
||||||
|
<el-button size="small" @click="dialogFormVisible=false">取消</el-button>
|
||||||
|
<el-button type="primary" size="small" @click="submit('form')">确定</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
<el-dialog :visible.sync="dialogFormVisible" title="通知" center style="min-height: 300px;" width="370px">
|
||||||
<el-form ref="form2" :model="form2" :rules="rules2" label-position="left" label-width="110px" class="demo-ruleForm">
|
<el-form ref="form2" :model="form2" :rules="rules2" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||||
<el-form-item label="审核是否通过" prop="审核是否通过" center>
|
<el-form-item label="审核是否通过" prop="审核是否通过" center>
|
||||||
<el-select v-model="form2.审核是否通过" size="small">
|
<el-select v-model="form2.审核是否通过" size="small">
|
||||||
@@ -175,6 +195,7 @@ export default {
|
|||||||
tableData1: [],
|
tableData1: [],
|
||||||
loading1: false,
|
loading1: false,
|
||||||
dialogVisible3: false,
|
dialogVisible3: false,
|
||||||
|
dialogFormVisible: false,
|
||||||
returns: '',
|
returns: '',
|
||||||
tableData01: [],
|
tableData01: [],
|
||||||
submitDisable: true,
|
submitDisable: true,
|
||||||
@@ -225,6 +246,8 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
setting() {},
|
||||||
|
submit() {},
|
||||||
// 发送短信
|
// 发送短信
|
||||||
sendMessage() {
|
sendMessage() {
|
||||||
axios.get(`http://192.168.1.231:8411/submit/MESSendMessage.ashx?Uid=liuqinghua&Key=liuqinghua123456&smsMob=18340870479,15140619457&smsText=合同审批: 有合同需要您审批【meswork】`).then(data => {
|
axios.get(`http://192.168.1.231:8411/submit/MESSendMessage.ashx?Uid=liuqinghua&Key=liuqinghua123456&smsMob=18340870479,15140619457&smsText=合同审批: 有合同需要您审批【meswork】`).then(data => {
|
||||||
|
|||||||
Reference in New Issue
Block a user